Hi again, ok, still same problem:
a) >%JAVA_HOME%/bin/javac.exe Usage: javac <options> <source files> where possible options include: ... so, JAVA_HOME is set correctly b) one of the lines [javac] foobar.java added as foobar.class doesn't exist. --> javac.exe foobar.java Note: com\eh\applets\tankgrpgraphical\TankGrpGraphical.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. only warnings, no errors. the warnings are because I call unchecked in some cases (two cases here). But this shouldn't be a problem considering ant, because -> no errors c) This one someone has to explain to me. shouldn't throw ant an error if s.th. like this is happening? (or javac should throw an error which ant displays in the build-log Regards Matthias -------- Original-Nachricht -------- > Datum: Wed, 6 Aug 2008 11:37:30 -0400 > Von: Martin Gainty <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: RE: javac .. java added as class does not exist > > one of 3 possible errors > > a)you didnt use the right javac.exe compiler as verified by running > $JAVA_HOME/bin/javac.exe > b)the java source file contains errors which caused it not to compile > c)the JVM java.exe cannot locate the class to run because the class is not > located on the classpath > > Martin > ______________________________________________ > Disclaimer and confidentiality note > Everything in this e-mail and any attachments relates to the official > business of Sender. This transmission is of a confidential nature and Sender > does not endorse distribution to any party other than intended recipient. > Sender does not necessarily endorse content contained within this > transmission. > > > > Date: Wed, 6 Aug 2008 16:41:18 +0200 > > From: [EMAIL PROTECTED] > > Subject: javac .. java added as class does not exist > > To: user@ant.apache.org > > > > Hi everybody, > > > > I have a build logfile, which contains a lot of these messages: > > > > [javac] HelloWorld.java added as HelloWorld.class doesn't exist. > > > > The files are definitely there, but somehow ant does not find them. I've > set a correct JAVA_HOME and ANT_HOME and unset CLASSPATH (i'm using > windows xp sp2) > > > > at the end the build is successful, but the files with ".. doesn't > exist" are missing, so that the jar I created does not work at all. I googled > for a solution, but I didn't find any, so I hope this mailinglist can help > me. > > > > regards > > matthias > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > Get more from your digital life. Find out how. > http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]