I'm not on this list. I've unsubscribed 3 times already in the past 2 weeks.
Anyone have a clue wtf is up?
From: "EJ Ciramella" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: RE: calling maven2 files from ant
Date: Tue, 6 Jun 2006 09:59:02 -0400
I've used the sc
I am sure this question has been asked before, and I could not see any
reasonable answer in the archives. How can I implement a loop in ANT
without using scripts? For example, if I want to call a certain target
N times, how can I do it?
Using ant-contrib is OK. Of course, something like lis
Ant-Contrib's accepts any type which exposes an iterator()
method I believe, so you'd have to write a Java task or to
create such an type.
You could also try a recursive or (with proper
stopping condition ;-) that writes the numbers to a file, and then
it.
Using a little
google antcontrib
Jeffrey E. (Jeff) Care
[EMAIL PROTECTED]
IBM WebSphere Application
Server Development
WAS Pyxis Lead
Release Engineer
Guru Balse <[EMAIL PROTECTED]> wrote on
06/07/2006
Hello Deep,
if you can fiddle with your weblogic.jar, remove the following entry from it :
META-INF\services\javax.xml.transform.TransformerFactory
this is a tiny file containing :
weblogic.xml.jaxp.RegistrySAXTransformerFactory
I also have problems with the weblogic transformation implementat
I have a task I wrote and I am trying to get it built into my ant setup. I
would like to run it like this...
ant -f executor.xml xml.beautify -Dxml.include=**\test.xml
Ant should resolve **\test.xml to a full path.
My target looks like this:
ant -f executor.xml xml.beautify -Dxml.include=**\test.xml
Try with forward slash, instead of back slash. --DD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello
I am trying to implement an ant task, which founds in a directory some
files, parses them and pass this converted Strings to the ExexTask as
arguments.
So for me it's not clear now, if the executable command and the
arguments should be set in the class ExecTask or in the (inner) field
Guru:
You should be able to do this like:
Of course, assuming u do something like:
ant -DN=5 -f
So, I wrote a simple test script as follows:
When running I did/got this:
/home/sfloess/development/help/ant/guru> ant *-DN=9*
Buildfile: build.xml
[echo] va
Sorry, my boldfaced was turned into *YYY*
Let me repost:
Command line:
ant -DN=9
Buildfile: build.xml
[echo] val = 1
[echo] val = 2
[echo] val = 3
[echo] val = 4
[echo] val = 9
BUILD SUCCESSFUL
Total time: 2 seconds
Scot P. Floess wrote:
Thanks, Scot. You illustrate the problem quite well. The problem is
that N is defined as 9, but the loop only goes through 5 iterations :-(
Therefore unless we create a string on the fly using ${N} i.e. we create
${list} as "1,2,3,4,5,6,7,8,9" using java script (or other means) and
then use
We had the same requirement at my client site and so I created a slighly
modified version of the ant-contrib (or was it ) that accepts
two optional attributes a listBegin and listEnd and then it constructs a string
"list" that is uses for the iteration.
I can send you a copy of it (and test c
12 matches
Mail list logo