ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burgess, Benjamin" <BBurg...@tiaa-cref.org>
Subject RE: Multiple .properties in the same ANT
Date Mon, 14 Aug 2006 15:15:10 GMT
I think Ant-Contrib would be the best answer here.  A fileset containing
the properties files would be passed to the 'for' task which would do
the appropriate thing.

Ben

-----Original Message-----
From: LIRA Olavo [mailto:Olavo.LIRA@gemalto.com] 
Sent: Monday, August 14, 2006 10:34 AM
To: Ant Users List
Subject: RE: Multiple .properties in the same ANT


Hi Ben, 

	Did you had a chance to look into my Build.xml? I understand
what you have said about passing the .properties dynamically, this I can
do, what I don't know how to do is to run "n" times the same ANT with
different .properties each time...
	Is it possible? In Eclipse for instance, I can specify the
.properties I'm passing to my Build.xml, put they are all passed in one
shot, what I'd like (if it's not clear yet) is to execute ANT as many
times as I have .properties and each time ANT take into account just one
of them.

	Please let me know if it's not clear or if you need more
precisions. Thanks!!

========================================
Olavo Lira

-----Original Message-----
From: Burgess, Benjamin [mailto:BBurgess@tiaa-cref.org] 
Sent: Thursday, August 10, 2006 1:34 PM
To: Ant Users List
Subject: RE: Multiple .properties in the same ANT

You will have to give more information (such as the contents of your
build.xml).

Can you use a macrodef to define the target and have it take in the name
of the properties file as an argument?  Then the macrodef can load the
properties with a prefix based on the argument.

Ben

-----Original Message-----
From: LIRA Olavo [mailto:Olavo.LIRA@gemalto.com] 
Sent: Thursday, August 10, 2006 12:07 PM
To: Ant Users List
Subject: Multiple .properties in the same ANT

Sorry I forgot to change the subject

.....

Hello everyone, 

	I'm new in here and I know the basic of ANT. I use it for
compiling javacard applets. Well my problem is that I would like to know
if it is possible with ANT to run the same ANT with multiple different
.properties that I pass in my init target? Now I'm using one ANT for
each applet that I have to create, but I think it should have a more
efficient way...
	Is there anyone who could help me out with this? Thanks in
advance.

Olavo Lira


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



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



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


Mime
View raw message