Am Donnerstag, 25. August 2005 18:30 schrieb Remy Maucherat: > On 8/25/05, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, 25. August 2005 17:57 schrieb Allistair Crossley: > > > Thanks, that's good to know, it must be something to do with my > > > environment. Are you saying then that you did not have to copy any JDT > > > jars into your deployer? > > > > No, I didn't have to copy any jars since ant uses sun's javac from > > tools.jar in JAVA_HOME by default. If it doesn't for you, then there's > > something wrong. > > Yes, if you set JAVA_HOME "correctly", then Ant should find javac, and > you don't need to add the other compiler. > > > > How have you setup Ant? In any specific manner? > > > > I extracted the zip, set ANT_HOME accordingly and added %ANT_HOME%\bin to > > PATH. > > I'm on Windows too. > > Maybe the space in the path for JAVA_HOME is causing problems (mine is > c:\java\jdk1.5.0), but overall the Ant script is hack free, and > there's no .bat to introduce bad behavior (except the Ant one, but > hopefully it is properly done).
I don't think it's the space. I just copied my Java SDK-dir to a location with a space in the path and set JAVA_HOME to point to the copy. It still worked. Another wild guess: Maybe Allistair has CLASSPATH set somehow and it f.... up the whole thing. Or maybe his JDK installation is broken somehow. Or his ant installation. Or... OK, I don't have a clue. Regards mks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
