F
flupke
Hi,
i've created my own package and put the source tree under sources.
(i'm using windows)
Then i run a bat file with this content
dir sources /s /b /a -D *.java > srcfiles.txt
javac -d classes -cp
..;"..\lib\log4j-1.2.8.jar";"..\lib\dom4j-1.5-beta-2.jar" @srcfiles.txt
I then end up with a classes dir that i can use to make a jar.
Is there a better way of doing this? At home i also run linux so the dir
sollution
will not work. Is there another way of easily doing this?
Is suspect that i can also use ant to do this?
Thanks
i've created my own package and put the source tree under sources.
(i'm using windows)
Then i run a bat file with this content
dir sources /s /b /a -D *.java > srcfiles.txt
javac -d classes -cp
..;"..\lib\log4j-1.2.8.jar";"..\lib\dom4j-1.5-beta-2.jar" @srcfiles.txt
I then end up with a classes dir that i can use to make a jar.
Is there a better way of doing this? At home i also run linux so the dir
sollution
will not work. Is there another way of easily doing this?
Is suspect that i can also use ant to do this?
Thanks