ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: whitespace in comma-separated depends list?
Date Fri, 16 Jan 2004 13:50:04 GMT
Very simple: have you tried?

<project default="main">
    <target name="main" depends="one, two"/>
    <target name="one"/>
    <target name="two"/>
</project>
  

Buildfile: build.xml

one:

two:

main:

BUILD SUCCESSFUL
Total time: 0 seconds


Jan

> -----Original Message-----
> From: Daniel M. Bikel [mailto:dbikel@linc.cis.upenn.edu]
> Sent: Friday, January 16, 2004 2:44 PM
> To: user@ant.apache.org
> Subject: whitespace in comma-separated depends list?
> 
> 
> Here is a simple question whose answer does not seem to be in the Ant
> manual.  Can there be whitespace in the comma-separated list 
> of dependent
> targets (the depends attribute)?  I have some targets with a 
> long list of
> depends, and I'd rather have each dependent target on its own 
> line, to make
> my build file more readable (I know, I know: if I were really 
> fancy I'd use
> an XML editor to read/edit my build file).
> 
> --Dan.
> 
> P.S.: Thanks to all who answered my "variable license file" question.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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