Package names

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
kranberry

Package names

Post by kranberry »

In setting up the Run Java Application Tool, I have the following:

Command: java.exe
Parameters: -classpath C:\ package.$BaseName
Initial Folder: $FileDir

When I select Tools -> Run Java Application, it prompts me and I change "package" to the package name in my Java source file.

Is there a way to automate this? What I would really like is a Tool Parameter Macro that would just return the name of the current directory - nothing else.

I can't find such a thing. Am I missing something or is there another way to get the package name in the Tool that would eliminate this manual entry?

Any help would be greatly appreciated.

Kran Berry
Post Reply