On 2017-08-17, Al Le wrote:
> How can I achieve that some system properties are passed to the JVM
> started by the 'java' task with the 'fork=true' option without
> specifying them explicitly in the script?
Setting clonevm to true will copy over all system prop
Hello,
I'd need an advice from the experts.
In my ant script, I run a java program several times (up to 20) via the
'java' task. The program opens a connection to some server and uses the
IAIK library for this (some Java security stuff).
The server requires a certain level
Yes, it works! Thank you!
> Gesendet: Montag, 29. Mai 2017 um 12:16 Uhr
> Von: "Stefan Bodewig"
> An: user@ant.apache.org
> Betreff: Re: macrodef with parameters to pass to java task
>
> On 2017-05-29, Al Le wrote:
>
> > in my ant script I'd like to
he.org]
> Gesendet: Montag, 29. Mai 2017 12:17
> An: user@ant.apache.org
> Betreff: Re: macrodef with parameters to pass to java task
>
> On 2017-05-29, Al Le wrote:
>
> > in my ant script I'd like to define a macro (via macrodef) which
> would call the 'java' task
On 2017-05-29, Al Le wrote:
> in my ant script I'd like to define a macro (via macrodef) which would call
> the 'java' task as a part of its body/implementation.
> In the java task call in the macro, I want to just specify the main class
> name and the classpath
I'm sorry, the last closing tag in the example should of course be
"".
> Gesendet: Montag, 29. Mai 2017 um 12:04 Uhr
> Von: "Al Le"
> An: user@ant.apache.org
> Betreff: macrodef with parameters to pass to java task
>
> Hello,
>
> in my an
Hello,
in my ant script I'd like to define a macro (via macrodef) which would call the
'java' task as a part of its body/implementation.
In the java task call in the macro, I want to just specify the main class name
and the classpath. The parameters (which are usually specified
]
> Gesendet: Samstag, 25. Februar 2017 15:34
> An: user@ant.apache.org
> Betreff: Re: How to specify a password parameter in Java task
>
> On 2017-02-24, Al Le wrote:
>
> > When I run the script with the "-v" option that parameter is also
> > written out to
On 2017-02-24, Al Le wrote:
> When I run the script with the "-v" option that parameter is also
> written out to console, in clear text. Is it possible to tell ant to
> not write out the value in clear text but rather to display it as,
> say, '***'.
> Something like
No there is no such capabili
Hello,
in my ant script, I have a call to the "java" task. The parameters are
specified via nested "arg" elements.
One of the parameters is a password; its value is not stored in the script but
is calculated by a javascript and saved to an ant property.
When I run the
Hi
I'm starting a process by configuring and executing Ant Java task from
my software, see:
https://maven-play-plugin.googlecode.com/svn/mavensite/1.0.0-beta5/play-maven-plugin/xref/com/google/code/play/AbstractAntJavaBasedPlayMojo.html
https://maven-play-plugin.googlecode.com/svn/mavensite/
Hi,
I am trying to enable assertions in my target that invokes the java
task.
The class AssertionTest works perfectly when compiling it from shell
with javac (=source 1.6) and than running it with the command
java -ea:AssertionTest AssertionTest
but with Ant it looks like assertions are
Hi,
I'm writing a Web Service client (with Axis2 1.6.0), using Ant (1.8.1,
packaged by Gentoo) and noticing that Ant not only reads build.xml, but writes
it back, discarding my whitespace and triggering a warning from my editor. The
behavior is 100% reproducible - build.xml with just a basic co
hi
am using core ant java task to start application.It is not allowing for
remote debugging.plz giv me some suggestions.
code
Reply With Quote
--
View this message in context:
http://ant.1045680.n5.nabble.com/ant-java-task-debugging-problem-tp4574739p4574739.html
On Mar 23, 2011, at 1:57 PM, Nicolas Lalevée wrote:
> I can reproduce it locally. Could you please fill a bugzilla bug report [1],
> I'll look deeper into it.
>
> Nicolas
Thanks. Bugzilla bug report 50960 has been filed.
-- Ron --
--
Le 23 mars 2011 à 07:13, Ron Goldman a écrit :
> I just started using Ant 1.8.2 as it was installed along with the latest Java
> Update for the Mac (JavaForMacOSX10.6Update4). Projects that worked fine with
> Ant 1.8.1 no longer work in 1.8.2. The problem seems to be that a Java tas
I just started using Ant 1.8.2 as it was installed along with the latest Java
Update for the Mac (JavaForMacOSX10.6Update4). Projects that worked fine with
Ant 1.8.1 no longer work in 1.8.2. The problem seems to be that a Java task
that forks a jvm hangs when it tries to read from System.in
Subject: Re: Wierdness With Java Task
When I run this from the command line with the arguments shown:
[java] Executing 'C:\IBM\WebSphere\AppServer\java\bin\java.exe' with
arguments:
[java] '-Xmx512m'
[java] '-classpath'
[java] 'C:\Ve
Now I'm even more confused...
Could there be some minor difference in Ant on the 2 machines that is
interpreting the return differently?
From: Eric Fetzer
To: Ant U
I have a task that I'm using as such on two separate machines:
Up until this point, the log shows identical (version of ant, version of
Nadun Herath schrieb:
...
> I have to run a Java program Called MiniJavaParser using different file
> names as arguements several
> times using Java Task. When it runs it gives the message
>
> "MiniJava program parsed successfully" or Encountered errors
iJava program parsed
succesfully.
Mind you there are number of Java tasks define in the build file.
www.nadunh.blogspot.com
From: Avlesh Singh
To: Ant Users List
Sent: Thursday, August 27, 2009 9:46:54 AM
Subject: Re: Help needed regarding Java task
As such
___
> From: Avlesh Singh
> To: Ant Users List
> Sent: Thursday, August 27, 2009 9:25:21 AM
> Subject: Re: Help needed regarding Java task
>
> See, if this usage helps:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
&
t.com
From: Avlesh Singh
To: Ant Users List
Sent: Thursday, August 27, 2009 9:25:21 AM
Subject: Re: Help needed regarding Java task
See, if this usage helps:
This is being used in the following manner - "ant search -Dkeyword=obama
Cheers
Avle
l is like this.
>
> append="true">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>I have to run a Java program Called MiniJavaParser using different file
> names as arguements several
>times using Java
I am new to apache Ant.
Some part of my build.xml is like this.
I have to run a Java program Called MiniJavaParser using different file
names as arguements several
times using Java Task. When it runs it gives
: 'Ant Users List'
Betreff: RE: setup environment for java task
Thanks for the suggestion, but here is my problem:
1. These batch files are used at runtime from an end user after installing
the product with an installer.
2. Therefore, these batch files cannot be converted to ANT as
7;
Betreff: RE: setup environment for java task
Thanks for the suggestion, but here is my problem:
1. These batch files are used at runtime from an end user after installing the
product with an installer.
2. Therefore, these batch files cannot be converted to ANT as that would
duplicate the
AM
To: Ant Users List
Subject: AW: setup environment for java task
Hello,
I would translate the "bat" files to ANT-Tasks.
This is a lot of work, but than your Antfile can decide what bat-jobs you run
and when.
Another way is to run the bat-files itself inside Ant using the exec-task,
on: Shawn Castrianni [mailto:shawn.castria...@halliburton.com]
Gesendet: Freitag, 13. Februar 2009 08:27
An: 'Ant Users List'
Betreff: setup environment for java task
Let's say I have a series of setupEnv.bat files in my source repository that I
need to execute as part of setting up my runti
Let's say I have a series of setupEnv.bat files in my source repository that I
need to execute as part of setting up my runtime environment before executing
my java code with the java task. I don't see an elegant way of doing this. I
could execute these bat files as part of my
I am having issues with the basedir not being correct in SubAnt
again. This time it's because it seems that the java task does not
seem to respect the basedir. I have the following structure:
My-Project/
build.xml
Tools/
Tool1/
build.xml
Thanks. I could not see it
--
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 6. Juni 2008 17:55
An: Ant Users List
Betreff: Re: Current dir of ant-Build / Java-Task
> Or do I have to change the working dir of
> Or do I have to change the working dir of my build before I start this task?
>From the doc for :
dir The directory to invoke the VM in. (ignored if fork is disabled)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Hello,
I want to start an application using the java-Task.
My application writes files relative to the path I start it from.
The application is starting fine and writing files relative to the path of my
Batchfile, that starts the buildfile.
How can I set the working dir for my java-task, so
Hi Steve,
Thanks for the explanation. It still would save some head scratching
and $$$ (I spent almost a whole day trying to get my ant file running)
if the fork option documentation was a bit expanded.
Cheers,
Fred
--- Steve Loughran <[EMAIL PROTECTED]> wrote:
> Fred Janon wrote:
> > Hi Garre
Fred Janon wrote:
Hi Garrett,
Thanks for the answer, the TopAntTips got the ansmwer for my problem.
Following up on my ant java target question, the "fork" option for
those who use ant to run java apps seem to be important when specifying
the classpath:
with fork='true' in the java target, her
; On Tue, Feb 26, 2008 at 6:38 PM, Fred Janon <[EMAIL PROTECTED]> wrote:
> > Is there anything to display the classpath that Ant is using to
> launch
> > a java task besides the verbose and debug ant options that don't
> > display it?
> >
> This might n
launch the java
task?
Is there anything to display the classpath that Ant is using to launch
a java task besides the verbose and debug ant options that don't
display it?
How can I debug Ant file in general? I check the Ant manual left and
right and didn't find anything.
Th
On Tue, Feb 26, 2008 at 6:38 PM, Fred Janon <[EMAIL PROTECTED]> wrote:
> Is there anything to display the classpath that Ant is using to launch
> a java task besides the verbose and debug ant options that don't
> display it?
>
This might not be the answer to what you
to get printed
>
>
>
>
> ${prop}
>
> (or)
>
>
> ${java.class.path}
>
>
> Let me know if i am wrong
>
>
> On Wed, Feb 27, 2008 at 8:08 AM, Fred Janon <[EMAIL PROTECTED]> wrote:
>
> > Is there anything to display the classpath
is using to launch
> a java task besides the verbose and debug ant options that don't
> display it?
>
> How can I debug Ant file in general? I check the Ant manual left and
> right and didn't find anything.
>
> Thanks
>
> Fred
>
>
> ---
gt; An: user@ant.apache.org
> Betreff: How to display the classpath that Ant is using to
> launch the java task?
>
> Is there anything to display the classpath that Ant is using to launch
> a java task besides the verbose and debug ant options that don't
> display it?
>
> How
Is there anything to display the classpath that Ant is using to launch
a java task besides the verbose and debug ant options that don't
display it?
How can I debug Ant file in general? I check the Ant manual left and
right and didn't find anything.
Th
Luciano Resende wrote:
Thanks Martin, but all the necessary jars are in the CLASSPATH, and as
mentioned on the e-mail, the program runs ok (no issues with
noClassDefFoundError)... the noClassDefFoundError just start after
adding the ... it seems that it loose the ability to read
the classpath or
Luciano Resende" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, January 08, 2008 2:11 PM
> Subject: java.lang.NoClassDefFoundError after adding e
assDefFoundError after adding element
to a java task
> I have the following ant task :
>
>
>
>
>
>
>
>
>
>
>
>
>
> When I ru
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.close(DefaultSCADomain.java:264)
[java] at helloworld.BPELClient.main(BPELClient.java:39)
After I fix the security problem by adding the permissions element to
the java task
I start getting
Hi Peter,
Thanks for your answer. And sorry for late reply, I was on vacation.
Peter Reilly wrote:
The task does strange things with the classloader.
My advice would be to use fork="yes" unless there
is a reason not to.
Yes, I see. fork="yes" solved the problem.
As regards the exception y
sk:
>
>
>
>
>
> gives:
>
>java.lang.NoSuchMethodException: (...)ContextFactory.main
>
> Which is what I expected. ContextFactory is class in JRE's lib rt.jar,
> java task can find it, but it does not have main method. However, this task:
>
Hi,
Can someone try to explain this behavior of java ant task:
gives:
java.lang.NoSuchMethodException: (...)ContextFactory.main
Which is what I expected. ContextFactory is class in JRE's lib rt.jar,
java task can find it, but it does not have main method. However, this
I run a Java task from my ant script. That task does some various
Logger.global.log(Level.INFO, "message") calls.
The problem is that these are registered as warnings in my ant log. Is there
something that can be done about this?
I use Ant 1.7.0 and JDK 1.6
--
View this message
't think you need to go through all the code you wrote (though it is
wonderfully written)
Good Luck
Ninju
- Original Message
From: "Balasubramanian, Ravi Shankar" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Friday, April 13, 2007 3:21:43 AM
Subject: Problems wi
Hi ,
I am using ant 1.6.5 and
My ant script is as follows:
"
"
I am trying to call this target programmatically from a java appli
Hi,
This task has been working fine until I recently upgraded to 1.7.0:
In 1.7.0, I get the "exitVM disallowed" error. So I changed it to:
and got:
java.lang.SecurityException: Permission
(java.util.PropertyPermission ant.
essage as:
Could not find jse.core.HelloWorld. Make sure you have it in your classpath
I see that java task has a classpath attribute, but I am not sure how to use
it. Please advice.
Thanks.
In your case you compile to the basedir, so the
looks like this:
Normally, one has a source dir
. Make sure you have it in your classpath
I see that java task has a classpath attribute, but I am not sure how to use
it. Please advice.
Thanks.
-
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
On 10/27/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
> The reason I don't want to use is that I have to qualify the
> executable path. Otherwise, for some yet unknown reason, ant executes
> /usr/bin/java rather than the one in the PATH. And
Yes, java.home works. I see that I am definitely not the first person to
experience it.
Thanks, Dom.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 4:15 PM
To: Ant Users List
Subject: Re: java task question for ant 1.6.5
On 10/27/06
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
The reason I don't want to use is that I have to qualify the
executable path. Otherwise, for some yet unknown reason, ant executes
/usr/bin/java rather than the one in the PATH. And, of course,
/usr/bin/java, is not appropriate.
Both and have
looked but didn't
see where I had to change anything else. I just assumed jre is a built
in property namespace. Bad assumption?
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 3:24 PM
To: Ant Users List
Subject: Re: java task questio
On 10/27/06, Jeff Holt <[EMAIL PROTECTED]> wrote:
To make my build script a bit less susceptible to environmental errors,
I'd like to rewrite the following task:
Simply replace ${env.JAVA_HOME} by ${jre.home}, and it will use the
same JRE or JDK used by Ant itself. is better than
+ in this c
Ah, yes. I forgot all about that one. It probably will do the trick.
Thanks, Matt.
-Original Message-
From: Matt Benson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 2:57 PM
To: Ant Users List
Subject: Re: java task question for ant 1.6.5
You might look at using ant-contrib
You might look at using ant-contrib's task with
.
-Matt
--- Jeff Holt <[EMAIL PROTECTED]> wrote:
> To make my build script a bit less susceptible to
> environmental errors,
> I'd like to rewrite the following task:
>
>
>
>
>
>
>
>
>
>
>
>
To make my build script a bit less susceptible to environmental errors,
I'd like to rewrite the following task:
Here is something that probably conveys what I want:
On Thursday September 28, 2006 13:31, [EMAIL PROTECTED] wrote:
> The %ERRORLEVEL% value is 0, so I'm really no closer to
> understanding why the execution of the class works at the command
> line and fails in Ant.
>
> Is there a way to get more information from Ant?
You can use the -v/-verbose or
I found a typo was causing my error. Thanks.
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: [EMAIL PROTECTED]
Sent: Thu, 28 Sep 2006 13:31:16 -0400
To: user@ant.apache.org
Subject: RE: Re: How to get debug info on java task failure
The %ERRORLEVEL
eilly <[EMAIL PROTECTED]>
Sent: Thu, 28 Sep 2006 18:17:13 +0100
To: "Ant Users List"
Subject: Re: How to get debug info on java task failure
"Java returned: 1" means that the java program called System.exit(1) to
finish its execution. This return code is not shown
"Java returned: 1" means that the java program called System.exit(1) to
finish its execution. This return code is not shown when you
call from the command line, it is placed in the env variable %ERRORLEVEL% on
dos,
so after calling the java program call
echo %ERRORLEVEL%
Peter
On 9/28/06, [EMAIL
I am executing a single task. I have the failonerror attribute set to
"true". It fails, but I don't have any information to work with. This is the
target.
SQL string is ${sql.string}
The output I get is: "BUILD FAILED H:\dev\java\buildj.xml:46
2ee.rmi.RMIInitialContextFactory as the initail context
>> factory.
>> I have done everything obvious to solve this problem but to no avail.
Has
>> anybody had any similar experiences and if so, how did they resolve
them?
>>
>> Thanks
>>
>> Angus
>>
t; factory.
>> I have done everything obvious to solve this problem but to no avail. Has
>> anybody had any similar experiences and if so, how did they resolve them?
>>
>> Thanks
>>
>> Angus
>> --
&
nce
of oracle.j2ee.rmi.RMIInitialContextFactory as the initail context
factory.
I have done everything obvious to solve this problem but to no avail. Has
anybody had any similar experiences and if so, how did they resolve them?
Thanks
Angus
--
View this message in context:
http://www.nabble.com/Java-task-classpath-p
://www.nabble.com/Java-task-classpath-problem-tf2026624.html#a5573041
Sent from the Ant - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to access env vars
(http://ant.apache.org/manual/index.html)
and then echo out.
though its best to leave nothing to chance and completely control either
via a batch script that runs Ant or definition in ant build file things
like PATH, etc...
gl, Jim Fuller
---
HE ANT CODE. NOTHING FOLLOWS; PLEASE EMAIL ME IF YOU WOULD
> LIKE TO HELP AND HAVE SOME IDEA. I CANNOT LIST EVERYTHING I HAVE
> TRIED, BUT BELIEVE ME I HAVE TRIED EVERYTHING I COULD FIND WHILE
> RESEARCHING THE PROBLEM ON THE INTERNET. I EVEN WOULD BE GREATFUL
> FOR SOME IDEA HOW TO
VERYTHING I COULD FIND WHILE
> RESEARCHING THE PROBLEM ON THE INTERNET. I EVEN WOULD BE GREATFUL
> FOR SOME IDEA HOW TO PRINT THE CLASSPATH THE java TASK IS USING. I
> FOUND MANY WAYS TO DO THIS, BUT NONE, NONE OF THEM WORKED FOR ME.
> THIS HAS BEEN A REALLY UGLY DAY, AND ON TOP OF
E
INTERNET. I EVEN WOULD BE GREATFUL FOR SOME IDEA HOW TO PRINT THE CLASSPATH THE
java TASK IS USING. I FOUND MANY WAYS TO DO THIS, BUT NONE, NONE OF THEM WORKED
FOR ME. THIS HAS BEEN A REALLY UGLY DAY, AND ON TOP OF IT I READ SOME REALLY
DISTURBING REPLIES FROM THE DEVELOPER'S AT ANT, RE
CLASSPATH THE
java TASK IS USING. I FOUND MANY WAYS TO DO THIS, BUT NONE, NONE OF THEM WORKED
FOR ME. THIS HAS BEEN A REALLY UGLY DAY, AND ON TOP OF IT I READ SOME REALLY
DISTURBING REPLIES FROM THE DEVELOPER'S AT ANT, REPLIES TO OTHER PEOPLE HAVING
SIMILAR PROBLEMS. MANY TH
Vincent Massol wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: mardi 27 juin 2006 18:27
To: user@ant.apache.org
Subject: AW: Logging output from the Java task?
If you dont set these properties, logs should go to Ant's
log - means
to Ca
Vincent Massol wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: mardi 27 juin 2006 17:52
To: user@ant.apache.org
Subject: AW: Logging output from the Java task?
Do you get the output of when using "Ant alone"?
No. When using there
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mardi 27 juin 2006 18:27
> To: user@ant.apache.org
> Subject: AW: Logging output from the Java task?
>
> >> If you dont set these properties, logs should go to Ant'
>> If you dont set these properties, logs should go to Ant's
>log - means
>> to Cargo's
>
>Rah! So simple... Over all those years I've never realized
>that not specifying an output would make Ant log the process's
>output... Dunno why I didn't think about it...
>
>Thanks a lot Jan. I'm real
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mardi 27 juin 2006 17:52
> To: user@ant.apache.org
> Subject: AW: Logging output from the Java task?
>
> >> Do you get the output of when using "Ant alone"?
>
>> Do you get the output of when using "Ant alone"?
>
>No. When using there's an "output" attribute to collect
>the process's output but it points to a file. AFAIK there's no
>way to have the task's output logged when using Ant
>1.5.x but that's what I would like to confirm... :-)
If you don
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mardi 27 juin 2006 17:39
> To: user@ant.apache.org
> Subject: AW: Logging output from the Java task?
>
> >Thanks Jan. Actually you're right! We're already using a build
&g
>Thanks Jan. Actually you're right! We're already using a build
>listener to catch Ant's logs so I guess simply using a
>redirector with the alwayslog attribute set to true should do
>the trick. Is that correct?
Do you get the output of when using "Ant alone"?
Then you should get the output vi
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: mardi 27 juin 2006 17:21
> To: user@ant.apache.org
> Subject: AW: Logging output from the Java task?
>
> I think upgrading Ant is a good idea ;-)
> Ant 1.6.5 is current, 1.7 is on th
mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 27. Juni 2006 17:08
>An: user@ant.apache.org
>Betreff: Logging output from the Java task?
>
>Hi,
>
>I'm using Ant programatically in Cargo (to start J2EE
>containers) and I'd like to be able to log Ant's Java task
Hi,
I'm using Ant programatically in Cargo (to start J2EE containers) and I'd
like to be able to log Ant's Java task output to Cargo's logging system.
We're currently using Ant 1.5.x but I've seen that there's now an I/O
redirector in Ant 1.6.2 which ma
Thanks to all who replied. That's the answer I needed.
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Grant Lewis <[EMAIL PROTECTED]>
Sent: Fri, 12 May 2006 21:01:35 -0400
To: Ant Users List
Subject: Re: Iterate over "filelist&quo
I generally define macrodef under project but it's also legal under
target. Where you put the definition defines the scope of the macro. If
you so choose, you can define macros in a project by themselves and use
the import task to pull them into the current build file. Import and
macros are a power
RE: Re: Iterate over "filelist" with java task?
>
> Thanks, I am using 1.6.5. I'v checked the docs but there's something
> missing. What is/are the parent element/s of the and the
> resulting task?
> --
> Charles Knell
> [EMAIL PROTECTED] - email
>
>
&
Once you define the macrodef...you can use it like any other target...
For instance - if you define a macrodef named foo, you can
use it like
This of course is dependent upon attributes (if you define them) and
default values...
[EMAIL PROTECTED] wrote:
Thank you for your reply, but it
ECTED] - email
-Original Message-
From: Grant Lewis <[EMAIL PROTECTED]>
Sent: Fri, 12 May 2006 19:16:38 -0400
To: Ant Users List
Subject: Re: Iterate over "filelist" with java task?
A macrodef can pretty much include any other ant task between its
sequent
A macrodef can pretty much include any other ant task between its
sequential tag. Below is an example from the docs showing the macro
definition and a call to the macro. Pay close attention to the
tag and replace it with a tag named and you
get the general idea of a macro. When the macro is exec
ay 2006 15:35:37 -0400
To: Ant Users List
Subject: Re: Iterate over "filelist" with java task?
If you are using 1.6.x, define a macro using macrodef and call the macro
with each file. I used a similar approach to automate xdoclet tasks for
differe
If you are using 1.6.x, define a macro using macrodef and call the macro
with each file. I used a similar approach to automate xdoclet tasks for
different groups of files.
Grant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
that requires me to do post-processing after an XSLT transformation on a list of
files. I accomplish this (for a single file) by defining a "target" for each
post-processing step. Each target contains a "java" task that performs the processing.
Will it be necessary for me to c
I have a project that requires me to do post-processing after an XSLT
transformation on a list of files. I accomplish this (for a single file) by
defining a "target" for each post-processing step. Each target contains a
"java" task that performs the processing.
Will it be
1 - 100 of 177 matches
Mail list logo