Hi
In a target, I have
Test case @{files}
But I keep getting this error
C:\A.xml:9: C:\Documents\${test_dir} not found.
Warmup.jmx and CI.jmx files are stored on a network folder in
\\foo\testdirectory.
How can I change this ${test_dir} to point to \\foo\test
to
Hi Uday,
Here are 2 solutions for an if-else in Ant:
1) Using you just use plain Ant 1.7, you can use the task,
combining 'if' and 'unless' target attributes with target dependencies,
as follows:
...
...
2) The
Hi,
I am trying to use the if else condition in ANT, can someone gimme an
example as to how this can be used.
Here's what I am trying to do
--> Search for a String in a text file
--> If found --do target A
--> Else -- do target B
Thanks,
Uday
-
Hi,
I am trying to use the if else condition in ANT, can someone gimme an example
as to how this can be used.
Here's what I am trying to do
--> Search for a String in a text file
--> If found --do target A
--> Else -- do target B
Thanks,
Uday
Thanks i can resolve this problem
thanks
On Feb 4, 2008 2:56 PM, David Weintraub <[EMAIL PROTECTED]> wrote:
> Looks like you have spaces in your -lib:
>
> -C:\Archivos de programa\Java\jre1.6.0_02\lib\ext
>
> Ant sees the -lib ending at "C:\Archivos" and "de" as your target.
>
> Your best be
Hi
I have a properties file with property values set to different files.
Eg:
A.properties
-
File_Orange=Orange.jmx
File_Cherry=Cherry.jmx
In the buildfile, could someone give examples on
1- how the build.xml could select a file to run with, ie build.xml picks
Orange.jmx or Cherr
Greetings -
I am using Eclipse for a Java development project and Ant to build it.
The javadoc command for the project is rather lengthy so useexternalfile
is used.With Eclipse 3.2.2 and Ant 1.6.5 javadoc runs successfully, but
with Eclipse 3.3.1.1 and Ant 1.7.0 javadoc fails with the followi
You could set the basedir property:
ant -f a/b/thebuild.xml -Dbasedir=
On a unix shell you could use:
ant -f a/b/thebuild.xml -Dbasedir=$(pwd)
The system indipendent way would of course be placing an antfile in the
top dir that calls a/b/thebuild.xml using the ant task.
This is what David Bro
Hello Sam,
have you thought of using the sql
task(http://ant.apache.org/manual/CoreTasks/sql.html) to write to the
database directly?
That would avoid generating the csv.
Best regards,
Martin
Sam Hamilton schrieb:
> Hi All,
>
> I would like to generate a CSV file from my Ant script which will th
Hello,
I am trying to use target from ANT v 1.6.2 and am getting this
error.
taskdef A class needed by class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found:
junit/framework/Test
I have read the solution on the ant website under faq and tried to taskdef
my junit
and incl
basedir is set in the attribute in the build.xml file. Try
setting it on the command line:
$ ant -Dbasedir=$PWD -f /a/b/build.xml
That *should* override the setting.
On Feb 3, 2008 6:14 PM, Francisco Tolmasky <[EMAIL PROTECTED]> wrote:
> I'm trying to use a build file that is located in a d
Looks like you have spaces in your -lib:
-C:\Archivos de programa\Java\jre1.6.0_02\lib\ext
Ant sees the -lib ending at "C:\Archivos" and "de" as your target.
Your best bet is to install Java in a directory with no spaces in it.
Something like "C:\Java".
On Feb 4, 2008 1:38 AM, Armin Garcia <[EM
Combine the date selector with the task. In , you can
specify the offset and a property. For example:
This will set the ${delete.date} to ten days before today in the
format the date selector likes.
Then, using the selector:
And, all files in ${some.dir} older th
Please try this
javac src="${src}" destdir="${dest}"
On Feb 4, 2008 7:30 AM, san84 <[EMAIL PROTECTED]> wrote:
>
> hi all,
> am beginner to ant tool.
> am trying to record the compile task using ant as follows
>
>
>
>
> but nothing is getting recorded
> plz help me out
You looking for something more complex than :-
${user.name},${the.date},${revision.no}
- Original Message -
From: Sam Hamilton
To: user@ant.apache.org
Sent: Monday, February 04, 2008 5:31 PM
Subject: Generating a CSV file
Hi All,
I would like to generate a CSV file fr
Hi All,
I would like to generate a CSV file from my Ant script which will then be
entered into a database to I can keep tabs on when the script was run and
who it was run by. I have read the manuals and I can see that you can create
a properties file in Ant but what I am looking for is a file whi
I keep getting the following error when I try to resolve my dependencies.
Does anyone have any suggestions?
Thanks,
Neil
[ivy:retrieve] == resolving dependencies for
atgw#mas-btm;[EMAIL PROTECTED] [interface]
[ivy:retrieve] == resolving dependencies
atgw#mas-btm;[EMAIL PROTECTED]>log4j#log4j;1.2
I have several different modules each with their own independent branching
schemes. I have setup module specific settings in my settings file to specify
which branch of which module to use. The problem is in the published modules
ivy files. These resolved ivy files do not specify which branch
Thanks CHarbel
But it looks we need to keep the date static ..My script runs daily... And i
wanted to delete folders older than the specific date which varies daily (
eg.current date).
Only the reports for the last 10 days should be in my m/c
On Feb 4, 2008 5:14 AM, Charbel BITAR <[EMAIL PROTECTE
hi all,
am beginner to ant tool.
am trying to record the compile task using ant as follows
but nothing is getting recorded
plz help me out.
--
View this message in context:
http://www.nabble.com/how-to-record-javac-task--tp15268113p15268113.html
Sent from the Ant - Users mailing
Armin Garcia wrote:
hi there i have problems with ANT on windows...
take a look at http://wiki.apache.org/ant/InstallTroubleshooting
i download and try to use the apache-ant-1.7.0 and apache-ant-1.6.5
I configured the system variables
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk-1.5.0.05
set PAT
21 matches
Mail list logo