ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Row M, Vishal" <vishal-m....@hp.com>
Subject Include comma seperated
Date Tue, 11 Apr 2006 10:25:42 GMT
The manual says we can pass the comma seperated values but it doesn't
accept that  
Any ideas as to why it is not accepting that

vishal 

-----Original Message-----
From: Greg Irvine [mailto:greg.irvine@thalesatm.com] 
Sent: Tuesday, April 11, 2006 4:27 AM
To: 'Ant Users List'
Subject: RE: Property problem in 1.6.5

Hi Ben.

Correct you are.  I discovered the err of my ways a few days ago (and
forgot to repost to the group). 

Thanks.

Greg.



-----Original Message-----
From: Burgess, Benjamin [mailto:BBurgess@tiaa-cref.org]
Sent: Tuesday, 11 April 2006 1:04 AM
To: Ant Users List
Cc: greg.irvine@thalesatm.com
Subject: RE: Property problem in 1.6.5

FYI, this is a common mistake made; people use antcall incorrectly when
what they needed was the project depends attribute.

Ben

-----Original Message-----
From: Greg Irvine [mailto:greg.irvine@thalesatm.com]
Sent: Thursday, April 06, 2006 7:11 PM
To: 'Ant Users List'
Subject: Property problem in 1.6.5

Hi all.

I'm having a problem with property values not existing outside of the
target they're created/set in.

For example (see below), I have a "jar" target that calls an "update"
target.  The update calls svn status to populate a property with the
current svn version number and then I echo the property.  Control then
returns to "jar" where I attempt to echo the property again.
The property echoes correctly within the "update" target (e.g.) "11134",
but displays as "${repository.revision} in the "jar" echo.

Any ideas?

Please CC me in the response for faster delivery.

Thanks and regards,

Greg.



<target name="jar">
    <antcall target="update>
    <echo>REVISION=${ repository.revision }</echo> </target>

<target name="update">
    <svn>
        <status path="." revisionProperty="repository.revision"/>
    </svn>
    <echo>REVISION=${ repository.revision }</echo> </target>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org



**************************************************************
This message, including any attachments, contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, please contact
sender immediately by reply e-mail and destroy all copies.  You are
hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly
prohibited.
TIAA-CREF
**************************************************************



---------------------------------------------------------------------
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


Mime
View raw message