Re: jar update does not work

2005-12-04 Thread Anand Krishniyer
Thanks Dominique I was trying not to change the time-stamp of the jar files. If there is no way around I would have to go with the 'touch' option only I suppose. Anand Dominique Devienne wrote: When I manually run jar ufM ${my.location}/applications/a.ear myclient.jar The command l

jar update does not work

2005-12-02 Thread Anand Krishniyer
Hi I am trying to update an ear file using jar update. includes="myclient.jar" update="true"/> Now here is the background. a.ear may already contain myclient.jar(along with other jar files) and could be newer, but I want the jar task to update the ear with myclient.jar fro

set a property if files of a particular type are present

2005-09-27 Thread Anand Krishniyer
Hi I need to set a property if files of a particular type (extension) are present in a particular dir. Is there a simple way of doing it. pl note I don't know the names of the files, only the extension. Thanks in advance Anand ---

Re: how to resolve a path from a XML file (XMLTask)

2005-08-18 Thread Anand Krishniyer
ile 'as is'. However you can solve the below using xmltask using something like (and I haven't tested this but it should give you an idea): and so on, prior to using the instruction. Anand Krishniyer wrote: Hi I am trying to read a path from an XML file. For e.g here is an

Re: how to resolve a path from a XML file (XMLTask)

2005-08-18 Thread Anand Krishniyer
it possible to use a variable in the XML and resolve the entire path after getting the path from the XML. Any pointers would be helpful. Anand Anand Krishniyer wrote: Hi I am trying to read a path from an XML file. For e.g here is an XML And the section of the ant build file

how to resolve a path from a XML file (XMLTask)

2005-08-18 Thread Anand Krishniyer
Hi I am trying to read a path from an XML file. For e.g here is an XML And the section of the ant build file looks like this inheritAll="true" inheritRefs="true"> The values of the variables myapp1.dir,

zip task to include all files under all subdirs

2005-08-03 Thread Anand Krishniyer
Hi I am using zip task to make a zip of a dir. the user inputs the dir name and the target needs to zip the entire contents of the dir. Pl note there could be empty dir/sub dir and several levels of nesting in the sub dirs. I am using the zip task like this

Re: xmltask question failWithMatch?

2005-06-29 Thread Anand Krishniyer
lWithoutMatch attribute in the Xmltask). Thanks Anand Brian Agnew wrote: Cool. Thx for the update. Anand Krishniyer wrote: Hi Brian Found the problem I was having. The locations in the XML had quotes in them, thats why I was getting the as string. Removed the quotes and it works fine.

xmltask question

2005-06-28 Thread Anand Krishniyer
Hi I have an xml file that has different paths for each file. Something like this "c:/1" "c:/2" "e:/1" "e:/2" "e:/3" I use XmlTask to iteratively get each location for each file (I use "call" to call another target for each location for each file). The pr

parse XML file problem

2005-03-10 Thread Anand Krishniyer
Hi I have an xml file similar to this "c:/1" "c:/2" "e:/1" "e:/2" "e:/3" Based on the file name and type I need to perform certain operations on the file. How do I iterate through this xml and retrieve a set of "locations" for a particular file i.e fo