ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sanchez Gonzalez" <dsanc...@at4wireless.com>
Subject RE: Ant, Eclipse & CVS problem adding a file
Date Mon, 17 Mar 2008 07:25:10 GMT
Ok. I'm new in using ant, so maybe this is a stupid mistake. The problem
was that I was using absolute path:


<project default="inicio" name="compilar" basedir="..">

	.......

	<target name="commit_cvs_jar">
		<cvs cvsRoot="${cvs.root}" 
			command="add
${basedir}/../builds/lib/${componente.nombre}/${componente.nombre}.${eti
queta.version}.jar"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="commit -m'${etiqueta.version}'
${basedir}/../builds/lib/${componente.nombre}/${componente.nombre}.${eti
queta.version}.jar"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="add
${basedir}/../builds/lib/${componente.nombre}/${componente.nombre}.${eti
queta.version}.jar.md5"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="commit -m'${etiqueta.version}'
${basedir}/../builds/lib/${componente.nombre}/${componente.nombre}.${eti
queta.version}.jar.md5"
			quiet="false"/>
	</target>
....


And this is the solution: 


<project default="inicio" name="compilar" basedir="..">

	.......

	<target name="commit_cvs_jar">
		<cvs cvsRoot="${cvs.root}" 
			command="add
./../builds/lib/${componente.nombre}/${componente.nombre}.${etiqueta.ver
sion}.jar"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="commit -m'${etiqueta.version}'
./../builds/lib/${componente.nombre}/${componente.nombre}.${etiqueta.ver
sion}.jar"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="add
./../builds/lib/${componente.nombre}/${componente.nombre}.${etiqueta.ver
sion}.jar.md5"
			quiet="false"/>
		
		<cvs cvsRoot="${cvs.root}" 
			command="commit -m'${etiqueta.version}'
./../builds/lib/${componente.nombre}/${componente.nombre}.${etiqueta.ver
sion}.jar.md5"
			quiet="false"/>
	</target>


Thank you very much
	

-----Mensaje original-----
De: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
Enviado el: lunes, 17 de marzo de 2008 8:12
Para: Ant Users List
CC: Daniel Sanchez Gonzalez
Asunto: RE: Ant, Eclipse & CVS problem adding a file

 

-----Original Message-----
From: Daniel Sanchez Gonzalez [mailto:dsanchez@at4wireless.com]
Sent: Monday, March 17, 2008 8:05 AM
To: Ant Users List
Subject: RE: Ant, Eclipse & CVS problem adding a file

/*
 Finally it works. Thank you very much. 
*/

Posting the solution, that fixed your problems would be nice.

1. Other may learn from
2. it helps others with the same / a similar problem, when searching the
    ant user list archive

Regards, Gilbert



-- 


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


Mime
View raw message