ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hind.lwahh...@accenture.com>
Subject RE: cc task(bis)
Date Thu, 09 Jun 2005 11:30:25 GMT
Hello gentle people!
I just found out that there are c/c++ tasks in the ant-contrib project.(and by the way is
the sourceforge server down)
Is there another resource for such a task?
If someone already tried this non-java gymnastic please help.
Many thanks.

-----Original Message-----
From: hind.lwahhabi@accenture.com [mailto:hind.lwahhabi@accenture.com]
Sent: Wed 6/8/2005 11:36 AM
To: user@ant.apache.org
Subject: cc task
 
Hello gentle people!
I just found out that there are c/c++ tasks in the ant-contrib project.
Is there another resource for such a task?
If someone already tried this non-java gymnastic please help.
Many thanks.



-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]
Sent: Wed 6/8/2005 10:14 AM
To: user@ant.apache.org
Subject: [antcontrib] foreach problem
 

Hi,

i have some strange behaviour with antcontrib's foreach task.

I have a propertyfile like this :

modul.1=Project1:v_1_2_4_25
modul.2=Project with spaces:thi_1_2_4_25

modul.list=${modul.1},${modul.2},


My buildscript :

<target name="init">

<foreach list="${modul.list}"
	delimiter=","
	param="modul"
	target="checkout"
	trim="true"
	inheritall="true" />
	</target>

<target name="checkout">

<!-- Modulname -->
	<propertyregex property="module"
		         	 input="${modul}"
		             regexp="(.*):(.*)"
		             select="\1"
		             casesensitive="false" />

<!-- Versiontag -->
	<propertyregex property="tag"
		               input="${modul}"
		               regexp="(.*):(.*)"
		               select="\2"
		               casesensitive="false" />


	<!--<cvs cvsroot="${cvsroot}"
	     dest="../.."
	     package="'${module}'"
	     tag="${tag}"
	     command="checkout" />-->

	<!-- for testing -->
	<echo>Modul = ${module} in Version = ${tag}</echo>


gives me =


checkout:
     [echo] Modul = Project1 in Version = v_1_2_4_25
checkout:
     [echo] Modul = Project with space in Version = v_1_2_4_25
checkout:
     [echo] Modul = ${module} in Version = ${tag}


Question :

where comes the third line from ?! How to get rid of that ?

Thanks for any advice !!

Gilbert

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




This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.




This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.

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


Mime
View raw message