hmm. you may have found a bug. File it on bugzilla, is my recommendation. Also, try fork=false (losing the memory size), or running with jikes, just to see if they behave differently.
----- Original Message ----- From: "John Lindwall" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 11:37 AM Subject: javac task: Spaces in dir name MORE INFO > Here's my javac invocation: > > <!-- Compilation step --> > <target name="compile" depends="init"> > <echo message="Compiling all source trees..."/> > <javac destdir="${buildDst}" > debug="${debug}" > optimize="${optimize}" > failonerror="${stopOnError}" > deprecation="${deprecation}" > fork="yes" > memoryMaximumSize="200m" > excludes="com/mbasys/mars/security/rdbmsrealm/TestRDBMSRealm.java, > com/mbasys/mars/hl7/**, > ClnBalHistSeeder.java, > com/mbasys/mars/conversion/unilab/**"> > <src path="${classSrc}"/> > <src path="${ejbSrc}"/> > <src path="${servletSrc}"/> > <src path="${testSrc}"/> > <src path="${testDriverSrc}"/> > <classpath refid="class.path"/> > </javac> > </target> > > > -----Original Message----- > > From: John Lindwall [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 16, 2002 11:18 AM > > To: 'Ant Users List' > > Subject: javac task: Spaces in dir name > > > > > > Oour source tree has spaces in a directory name. Do I need > > to do something special for the javac task to be able to cope > > with a directory like this? > > > > One of the src trees is > > "/u/home/build/builds/Mars-Mars2r1/Include in next > > build/Java/Classes". > > > > I'm running ant 1.4.1 on Solaris. > > > > Thanks! > > > > compile: > > [echo] Compiling all source trees... > > [javac] Warning: > > com/mbasys/mars/servlets/EOMClosingPkgServlet.java modified > > in the future. > > [javac] Since fork is true, ignoring build.compiler setting. > > [javac] Compiling 2372 source files to > > /u/home/build/builds/Mars-Mars2r1/Include in next > > build/Mars2r1/Java/Out > > [javac] javac: invalid argument: > > /u/home/build/builds/Mars-Mars2r1/Include > > [javac] Usage: javac <options> <source files> > > [javac] where possible options include: > > [javac] -g Generate all debugging info > > [javac] -g:none Generate no debugging info > > [javac] -g:{lines,vars,source} Generate only some > > debugging info > > [javac] -O Optimize; may hinder > > debugging or enlarge class file > > [javac] -nowarn Generate no warnings > > [javac] -verbose Output messages about > > what the compiler is doing > > [javac] -deprecation Output source > > locations where deprecated APIs are used > > [javac] -classpath <path> Specify where to find > > user class files > > [javac] -sourcepath <path> Specify where to find > > input source files > > [javac] -bootclasspath <path> Override location of > > bootstrap class files > > [javac] -extdirs <dirs> Override location of > > installed extensions > > [javac] -d <directory> Specify where to > > place generated class files > > [javac] -encoding <encoding> Specify character > > encoding used by source files > > [javac] -target <release> Generate class files > > for specific VM version > > [javac] > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>