Compiling from within TextPad appears to be somewhat limited. If I'm trying to create a package, files within the package but that are in the same dir are not recognized. Do I need to specify all package paths, even the current one, in my CLASSPATH?
Thanks!
Ronnie
Compiling from TextPad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Compiling from TextPad
Create a tool that compiles $FileDir\*.java (I don't have TextPad in front of me, so the syntax might be off), and then associate it to a key command. This will compile all files in the current directory.
If you want to compile more than just that, use the @file command, of the javac command. Here's documentation from Sun:
http://java.sun.com/j2se/1.3/docs/toold ... ineargfile
Combine this with Workspaces, as other threads have alluded to, and you got pretty good flexibility.
:' )
Jeff
http://www.jeffyjeffy.com/textpad
If you want to compile more than just that, use the @file command, of the javac command. Here's documentation from Sun:
http://java.sun.com/j2se/1.3/docs/toold ... ineargfile
Combine this with Workspaces, as other threads have alluded to, and you got pretty good flexibility.
:' )
Jeff
http://www.jeffyjeffy.com/textpad