ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lindwall <JLindw...@Xifin.com>
Subject RE: javac task: Spaces in dir name MORE INFO
Date Wed, 17 Jul 2002 22:58:28 GMT
My platform is Solaris so the ~1 trick won't help.
 
If I did that command-line by hand I would know to put quotes around the problematic path
and it would work.  Ant should do the equivalent IMO.
 
John

-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Tuesday, July 16, 2002 2:46 PM
To: ant-user@jakarta.apache.org
Cc: JLindwall@Xifin.com
Subject: Re: javac task: Spaces in dir name MORE INFO



Assuming you setup classpath(s) ok and 
If you compile standalone
javac.exe -sourcepath ProblematicSourcePathGoesHere
does the source at least compile???

Martin Gainty


	

	______________________________________________

	Disclaimer and confidentiality note

	Everything in this e-mail and any attachments relating to the official business of Laconia
Data Systems (LDS) is proprietary to the company. It is confidential, legally privileged and
protected by law. LDS does not own and endorse any other content. Views and opinions are those
of the sender unless clearly stated as being that of LDS. 

	The person addressed in the e-mail is the sole authorised recipient. Please notify the sender
immediately if it has unintentionally reached you and do not read, disclose or use the content
in any way.

	

	LDS can not assure that the integrity of this communication has been maintained nor that
it is free of errors, virus, interception or interference.

	

             _______________________________________________

 

>From: John Lindwall 
>Reply-To: "Ant Users List" 
>To: 'Ant Users List' 
>Subject: javac task: Spaces in dir name MORE INFO 
>Date: Tue, 16 Jul 2002 11:37:10 -0700 
>MIME-Version: 1.0 
>Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id MHotMailBEFDB3B600764136E809C0123183D60E0;
Tue, 16 Jul 2002 11:40:55 -0700 
>Received: (qmail 5589 invoked by uid 97); 16 Jul 2002 18:40:58 -0000 
>Received: (qmail 5574 invoked by uid 98); 16 Jul 2002 18:40:57 -0000 
>>From ant-user-return-22837-mgainty Tue, 16 Jul 2002 11:41:07 -0700 
>Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm 
>Precedence: bulk 
>List-Unsubscribe: 
>List-Subscribe: 
>List-Help: 
>List-Post: 
>List-Id: "Ant Users List" 
>Delivered-To: mailing list ant-user@jakarta.apache.org 
>X-Antivirus: nagoya (v4198 created Apr 24 2002) 
>Message-ID: 
>X-Mailer: Internet Mail Service (5.5.2653.19) 
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 
> 
>Here's my javac invocation: 
> 
> 
> 
> 
> > 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/**"> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> > -----Original Message----- 
> > From: John Lindwall [mailto:JLindwall@Xifin.com] 
> > 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 
> > [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 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] -target Generate class files 
> > for specific VM version 
> > [javac] 
> > 

  _____  

Join the world's largest e-mail service with MSN Hotmail. Click  <http://g.msn.com/1HM1ENUS/c157??PI=44364>
Here



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message