Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88598 invoked from network); 5 Jan 2004 05:38:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Jan 2004 05:38:09 -0000 Received: (qmail 48585 invoked by uid 500); 5 Jan 2004 05:37:40 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 48445 invoked by uid 500); 5 Jan 2004 05:37:39 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 48424 invoked from network); 5 Jan 2004 05:37:39 -0000 Received: from unknown (HELO ntsvr01.ids.com.au) (210.193.223.133) by daedalus.apache.org with SMTP; 5 Jan 2004 05:37:39 -0000 To: "Ant Users List" Subject: RE: whitespace for javac task X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: From: JHead@ids.com.au Date: Mon, 5 Jan 2004 16:45:33 +1100 X-MIMETrack: Serialize by Router on IDSNOTES/Integrated Design Services(Release 5.0.11 |July 24, 2002) at 05/01/2004 04:45:36 PM, Serialize complete at 05/01/2004 04:45:36 PM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N No luck there. BUILD FAILED file:C:/ant-play/dmslite/build.xml:118: srcdir "C:\ant-play\dmslite\"Java Source"" does not exist! thanks anyhow, I'll keep scratching my head. James Head. "Al Caponi" 05/01/2004 04:23 PM Please respond to "Ant Users List" To: "Ant Users List" cc: Subject: RE: whitespace for javac task Try using the following property for source directory: I guess that would pass "Java Source" (with the double-quotes) to javac. Let us know if it works. -----Original Message----- From: JHead@ids.com.au [mailto:JHead@ids.com.au] Sent: Monday, January 05, 2004 10:10 AM To: user@ant.apache.org Subject: whitespace for javac task Hi Guys, I have a white space character in my source directory name. This is causing problems for my javac task. Here is the relevant build file snippet: compile required java source files... here are my results: C:\xxxxx>ant deploy Buildfile: build.xml compile: [echo] compile required java source files... [javac] Compiling 1695 source files to C:\xxxxx\build\classes [javac] javac: invalid flag: C:\xxxxx\Java [javac] Usage: javac [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] -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 Specify where to find user class files [javac] -sourcepath Specify where to find input source files [javac] -bootclasspath Override location of bootstrap class files [javac] -extdirs Override location of installed extensions [javac] -d Specify where to place generated class files [javac] -encoding Specify character encoding used by source files [javac] -source Provide source compatibility with specified release [javac] -target Generate class files for specific VM version [javac] -help Print a synopsis of standard options BUILD FAILED file:C:/xxxxx/build.xml:118: Compile failed; see the compiler error output for details. Total time: 3 seconds Ofcourse the simplest solution would be to rename my "Java Source" direct to something more sensible like "src", - but the project has a certain amount of inertia, - just wondering if I can get this working without changing one of the clearcase second-from-root directories... Can I make the javac ant task not barf on whitespace? thanks! James Head --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org