ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Vervelle <nicolas.verve...@steria.com>
Subject Removing paths from property file
Date Fri, 29 Apr 2005 19:06:07 GMT
Hi,

To optimize the upload of a lot of files on a website, I am using 
<modified> to upload only the modified files. <modified> creates a 
property file like this :

#Thu Apr 28 20:00:01 CEST 2005
E\:\\Java\\Jmol-
web\\build\\html\\fah\\projects\\p934.xyz.gz=81545359e168268a133071d58e7
bcfa7
E\:\\Java\\Jmol-
web\\build\\html\\fah\\projects\\p1024.xyz.gz=c15c7831cc301decb7ef34074c
102fed

The project is under CVS and I would like to add the property file 
under CVS so that everyone will upload only the modifications, but I 
have a problem with the path in the values of the property file.
How can I get remove/add the path in the property file ? I would like 
to put under CVS this content :
#Thu Apr 28 20:00:01 CEST 2005
fah/projects/p934.xyz.gz=81545359e168268a133071d58e7bcfa7
fah/projects/p1024.xyz.gz=c15c7831cc301decb7ef34074c102fed

In the above example, the root of ant build is E:\Java\Jmol-web 
(different for every developer) to which I am adding build/html (fixed).
The upload can be done under Windows or under Linux, so I also have to 
remove/add the path separators.

Anyone can help me do this ?

The build file I am currently using can be seen at 
http://cvs.sourceforge.net/viewcvs.py/jmol/Jmol-web/build-deploy.xml?
rev=1.6&view=markup


Thanks in advance
Nicolas






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


Mime
View raw message