ANT Section Index
How to make ANT keep source line numbers When I build with ANT 1.3, exceptions show source code line numbers.
How to make ANT keep source line numbers
When I build with ANT 1.3, exceptions show source code line numbers. For example:
java.lang.Exception: com.ge.med.gemsit.rs.dise.app_server_not_available
...more
How to configure ANT such that some specific user messages are directed to file and not console output? I would like to configure some of my echo statements such that they point to a file and write to a file and not to console.
<echo file="..." append="true"/>, it´s described in the manual.
Can junit task take command-line arguments?
Can junit task take command-line arguments?
I am trying to run junit tests with Ant's <junit> task. The problem is that my tests takes in some sample data and sample outout as arguments to ...more
Evaluating properties based on other properties
Evaluating properties based on other properties
Hi all
My question involves a little explanation, so I hope it makes sense...
I have a properties file that defines a comma-delimited list of na...more
Problem with a simple delete task
Problem with a simple delete task
I'm trying to do a very simple Ant equivalent of "make clean" where I delete Emacs temp file (e.g. rm -f *~) but I can't get Ant to find those files. Here is my ...more
Configurating datasources with ant?
Configurating datasources with ant?
Is there a way to configure a datasource using ant that will result in the server.xml updated to give me datasources? I can delete, update and deploy application...more
How to generate IBM WAS 5 binding files with Ant?
How to generate IBM WAS 5 binding files with Ant?
Hello,
Do you know if there are some Ant tasks that generate WAS 5 binding files for an EAR module, WAR module and EJB modules? If there are, coul...more
how to build a property from several other properties?
how to build a property from several other properties?
I have a property file called abs.properties containing the property definition as:
myapp.internet.prod.acl.enforcement=on
Now, I want to d...more
How do I describe a make-like file based dependency?
How do I describe a make-like file based dependency?
How do I write ant rules that corresponds to a Mekefile rule like:
foo.txt: bar.txt
dosomething bar.txt foo.txt
?
Note there is no ge...more
Idiom for setting a property from an environment variable, or default?
Idiom for setting a property from an environment variable, or default?
I want to take the value of a property from an environment variable. First, I was hardwiring the property with this:
<pro...more
Pass command line argument to build file
Pass command line argument to build file
Hi All,
Here is what I intend to do:
I need to set a property value which is passed by a command line argument.
As in java we do,
java myclass a...more
How to give a value with spaces to a property from Command prompt?
How to give a value with spaces to a property from Command prompt?
how can i pass value to a property from comand prompt.
Thev value has spaces, eg ant -Dcmd=update -d
Reading multiple property files using wildcards (*.properties)
Reading multiple property files using wildcards (*.properties)
Hi Gurus
can anyone give me a hint on how i can import all property files in a specific directory using wildcards ?
Example:
A direct...more
Is there a way i can get substring value of property/param value...I am using foreach custom task to get a list of files..but it is returning the complete path of the file..I want only the file name.Is there a way i can do it..thanks in advance..
Is there a way i can get substring value of property/param value..
Is there a way i can get substring value of property/param value...I am using foreach custom task to get a list of files..but it i...more
Dry run for ant.
Dry run for ant.
Is there a way to tell ant not to actually build the targets and just show how it will? Something similar to gmake -n?
thanks,
Kedar