If your intention is to call a new build.xml rather than just calling
another target use
To quote Ant doc for task
inheritAll attribute to false and only "user" properties (i.e., those passed
on the command-line) will be passed to the new project.
You can also set properties in the new project fr
The agreed upon way for one build.xml to call any other Ant target is
Antcall
Concerning params
I would inquire on params (which are based on properties -file based or
otherwise ) from Antcall
http://ant.apache.org/manual/CoreTasks/antcall.html
HTH,
Martin-
- Original Message -
From: "Ers
Actually, to call a new version of Ant with a new build file, it is
but it does not allow me to add extra jar files so that I can have different
versions of common jar files for each project.
Chris Erskine
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO 80919
Is there a way within Ant to find the arguments that were supplied so that I
can call a new version of Ant through the Exec task?
Chris Erskine
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO 80919
Phone: 719-535-6064
> -Original Message-
> From: R
It works like a charm...Thanks a lot. :)
ajaya
-Original Message-
From: Sadaf_Choudhry [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:11 PM
To: Ant Users List
Subject: RE: junitreport task error
This is what I use:
This is what I use:
Sadaf
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 1:38 AM
To: [EMAIL PROTECTED]
Subject: RE: junitreport task
How do I define a junitreport task?
-Original Message-
From: Sadaf_Choudhry [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 3:05 PM
To: Ant Users List
Subject: RE: junitreport task error
Ok,
I see from your build file that you have not defined the junitreport
task itself. You n
Ok,
I see from your build file that you have not defined the junitreport
task itself. You need to do that, unless you have ant-trax.jar and
junit.jar in the same directory.
Sadaf
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 1:10
I have ant-trax.jar under apache-ant-1.6.2\lib directory.
Ajaya
-Original Message-
From: Sadaf_Choudhry [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 2:01 PM
To: Ant Users List
Subject: RE: junitreport task error
Hi,
You might not have ant-trax.jar
Sadaf
-Original Mess
Hi,
You might not have ant-trax.jar
Sadaf
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 11, 2004 12:28 AM
To: Ant Users List
Subject: Re: junitreport task error
Hello,
you might need to put xalan.jar under $JAVA_HOME/jre/lib/endorsed or
Hello,
you might need to put xalan.jar under $JAVA_HOME/jre/lib/endorsed or to
make sure the java command starting ant has a
-Djava.endorsed.dirs=path.of.xalan
not sure, just a guess.
Antoine
[EMAIL PROTECTED] wrote:
I am running ant1.6.2. I have downloaded xalan-j_2_6_0-bin.zip. Extracted
xalan
I have tried with -Djava.endorsed.dirs=path.of.xalan and I still get the
same error.
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 1:58 PM
To: Ant Users List
Subject: Re: junitreport task error
Hello,
you might need to put xalan.j
I am running ant1.6.2. I have downloaded xalan-j_2_6_0-bin.zip. Extracted
xalan.jar into apache-ant-1.6.2\lib directory. I am running the following
script:
Hi Chris,
You could try using the task and specifying the -lib switch.
Regs,
/t
>-Original Message-
>From: Erskine, Chris [mailto:[EMAIL PROTECTED]
>Sent: Friday, December 10, 2004 7:23 PM
>To: Ant Users List
>Subject: RE: Ant library paths
>
>I am planning on version controlling them
I am planning on version controlling them as part of the project. The issue
is that I need an Ant task from within Ant that will allow me to add the
jars to the top level classloader when I spawn ant to the new build file.
The jars may not be around on the first pass or will at least be nuked and
Well, you could version-control your libraries and get them out based on
version and project..
ant lets you specify wildcards, you could simply get out all your
libraries, and include them with a mask like:
../lib/*.zip
../lib/*.jar
Edward Wittmann
"Erskine, Chris" <[EMAIL PROTECTED]
I have seen a number of mails about the ant runtime path for items like the
optional jar files. The environment that I am working with is running under
CruiseControl, I am calling a build file that will delete the project
directory and then recreate it. In this project, I want to have an ant lib
Quoting [EMAIL PROTECTED]:
> sure, but there are problems if you call it multiple times.
> - properties are immutable and is logged
> - overriding paths results in a log message
>
Hi Jan,
I recall conversations about turning off logging for overridden paths, since it
is a pretty useful design pa
FileSet is also a SelectorContainer, so it should be able to do what you
want. See here: http://ant.apache.org/manual/CoreTypes/fileset.html and
here: http://ant.apache.org/manual/CoreTypes/selectors.html
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tool
I would like to know if there is a way in Ant to duplication the unix 'find'
command, especially to find a file older than time for example.
Fileset doesn't seem to be powerful enough.
I'm also interested if grep can be done.
The obvious seems to be to write a custom task but I don't want
Hi, Jan
thanks - works :)
Gilbert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 11:51 AM
To: [EMAIL PROTECTED]
Subject: AW: Syntax error messagefile ?!
Manual sais "messagefile" is not a nested tag, it´s an attribute.
Therefore y
Another Ant tie-in that I overlooked - there is detailed coverage of
the Ant task (which resides in the Lucene Sandbox CVS
repository). I wrote this task for JDwA, use it to build the index
that powers my blog (http://www.blogscene.org/erik), and we use it to
index the sample data for the boo
Ivan Ivanov wrote:
Dear Colleagues,
I am currently writing some macrodef that will be used
in our team and I wonder abouth the follwing
situation: let's have
My question is: if the above macrodef is called
sevetal times, will the taskdef will be "instantiated"
ever
Gilbert
the right way of handling is to use pathconvert for the OS you are using
temp.home.converted is ${temp.home.converted}
(and then later on refer to temp.home.converted)
OR
you could just substitute \\ so your parser doesnt think you are trying to
use a single escape \ character
ObAnt: I packaged the source code distribution of Lucene in Action
(available from the site listed below) with a slick build file using
Ant 1.6 features including a couple of 's. It leverages the
spawn feature of in some places, as well as to
demonstrate remote and multiple index searching.
On Thu, 09 Dec 2004, Peter Reilly <[EMAIL PROTECTED]> wrote:
> When update is "false", the user wants the set the zip file to the
> contents of the zip command.
I agree with you, the current behavior is a bug. I even vaguely
recall a bugzilla report about it.
Stefan
---
Manual sais "messagefile" is not a nested tag, it´s an attribute.
Therefore you have to write
-Ursprüngliche Nachricht-
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 10. Dezember 2004 11:49
> An: Ant Users List
> Betreff: RE: Syntax error messagefile ?!
>
> H
Hi, Jan
didn't find an example in the Ant Manual.
do i have to write ?
Gilbert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: AW: Syntax error messagefile ?!
Which attribute of that neste
Which attribute of that nested tag do you want to set?
Jan
> -Ursprüngliche Nachricht-
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 10. Dezember 2004 11:44
> An: ant_user (E-Mail)
> Betreff: Syntax error messagefile ?!
>
>
> Hi, what's wrong about :
>
>
Hi, what's wrong about :
gives me :
Element type "messagefile" must be followed by either attribute specifications,
">" or "/>".
What's wrong here ??
Gilbert
-
To unsubscribe, e-mail
Velagapudi, Murali,您好!
please use ant 1.6.2+
=== 2004-12-10 04:12:56 您在来信中写道:===
>Hi,
>
> I am able to get the latest version from VSS by a label and compile and
> finish all the tasks,
>but if I need build the project from "Base version" (clearing the old classes
>directory,
And taskdefs are recreated when the macrodef is called
multiple times as I debugged it yesterday.
Ivan
--- [EMAIL PROTECTED] wrote:
> sure, but there are problems if you call it multiple
> times.
> - properties are immutable and is logged
> - overriding paths results in a log message
>
> Jan
>
32 matches
Mail list logo