I have this target: <target name="buildhello" depends="initprops"> <javac srcdir="${basedir}" destdir="${basedir}" debuglevel="lines,vars,source"> <include name="Hello.java"/> </javac> </target>
and I run: $>ant buildhello -verbose Apache Ant version 1.5.1beta1 compiled on August 19 2002 Buildfile: build.xml Detected Java version: 1.4 in: c:\java\java141\jre Detected OS: Windows 2000 parsing buildfile build.xml with URI = file:Q:/AutomationFramework/build.xml Project base dir set to: Q:\AutomationFramework Build sequence for target `buildhello' is [initprops, buildhello] Complete build sequence is [initprops, buildhello, javac, rmic, build, run, doal l, shutdown, cleanclasses, runworker, cleanbuild, clean, runadmin, anttest, runa ll, runmanager] initprops: buildhello: [javac] Hello.java added as Q:\AutomationFramework\Hello.class doesn't exist . [javac] Compiling 1 source file to Q:\AutomationFramework [javac] Using modern compiler [javac] Compilation arguments: [javac] '-d' [javac] 'Q:\AutomationFramework' [javac] '-classpath' [javac] 'Q:\AutomationFramework;C:\java\java141\lib\tools.jar;K:\lib\java\an t1.5.1b\lib\NetComponents.jar;K:\lib\java\ant1.5.1b\lib\xml-apis.jar;K:\lib\java \ant1.5.1b\lib\xercesImpl.jar;K:\lib\java\ant1.5.1b\lib\optional.jar;K:\lib\java \ant1.5.1b\lib\ant.jar;K:\lib\java\NetComponents\NetComponents.jar' [javac] '-sourcepath' [javac] 'Q:\AutomationFramework' [javac] '-g:none' [javac] [javac] The ' characters around the executable and arguments are [javac] not part of the command. [javac] File to be compiled: [javac] Q:\AutomationFramework\Hello.java BUILD SUCCESSFUL Total time: 4 seconds should that say -g:lines,vars,source? Klara