ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris" <ct...@virginia.edu>
Subject RE: Concatenate strings?
Date Fri, 23 Jul 2004 17:19:35 GMT
Heh thanks I guess I haven't had enough coffee to get my brain in gear.
One last question.  Is there a property like ant.project.name that
returns the name of the current target?

-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
Sent: Friday, July 23, 2004 10:09 AM
To: Ant Users List
Subject: RE: Concatenate strings?


--- Chris <ctc3m@virginia.edu> wrote:
> I wanted to concatenate 2 strings and use the result
> as the target in an
> <ant> call.

Assuming the strings are in properties or something,
it should be as simple as:

<ant target="${prop1}${prop2}" />

-Matt


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.722 / Virus Database: 478 - Release Date: 7/18/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.722 / Virus Database: 478 - Release Date: 7/18/2004
 


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


Mime
View raw message