Problem with propertyref's "regexp" attribute

2005-03-21 Thread Swathi Rao
Hi, I tried to set properties using the "propertyset" task and the "propertyref" nested element. The ant manual (http://ant.apache.org/manual/CoreTypes/propertyset.html) states that "regexp" is a valid attribute of the task "propertyref". However when I use it in my code, it throws the following er

Problems with copying and renaming files

2005-01-30 Thread Swathi Rao
Hi, I have some files which get generated as intermediate files while running a process. However I need to use these files in the further steps. But the names for the files are generated randomly...except for the suffix and extension. I need to copy these files and rename them before using them.

Setting variable classpath based on user input

2005-01-15 Thread Swathi Rao
Hello, While defining a macrodef, I needed the Classpath refid to take 2 different values based on an option which is set by the user. For ex: if the user sets the option as Opt1, then I wanted the classpath refid to be classpath1 else if the user sets the option as Opt2 then I wanted the classpath