macrodef, runtarget, antcall

2011-07-08 Thread Steve Amerige
Hi Dominique and all, You've spotted exactly the issue at hand. :-) Please accept for purposes of discussion the requirement that Ant MUST be used in a procedural manner. Plans to use scriptdef and Groovy are in the works, but that's not now. So, the question is what are the best set of prac

Re: Equivalent: antcall with inheritrefs vs. runtarget

2011-07-08 Thread Steve Amerige
Thanks, Nathan. So, aside from performance and implementation issues, are they equivalent? That is, is there anything observable in a script as a practical matter between these two idioms? If not, I'd think I'd usually want runtarget instead of antcall with inheritrefs=true. On 7

RE: antcall

2010-10-25 Thread Jonathan Rosenberg
t: Monday, October 25, 2010 11:49 AM To: user@ant.apache.org Subject: RE: antcall ant test-1 > -Original Message- > From: ext Jonathan Rosenberg [mailto:j...@tabbysplace.org] > Sent: 25 October 2010 16:45 > To: 'Ant Users List' > Subject: RE: antcall

RE: antcall

2010-10-25 Thread ext-simon.steiner
ant test-1 > -Original Message- > From: ext Jonathan Rosenberg [mailto:j...@tabbysplace.org] > Sent: 25 October 2010 16:45 > To: 'Ant Users List' > Subject: RE: antcall > > How are you "calling" test-1? > > -- > Jonathan Rosenberg &g

RE: antcall

2010-10-25 Thread Jonathan Rosenberg
.apache.org Subject: antcall Hi, How come if I call test-1, test-3 doesn't print ref2? ${toString:ref1} Thanks

antcall

2010-10-25 Thread ext-simon.steiner
Hi, How come if I call test-1, test-3 doesn't print ref2? ${toString:ref1} Thanks - To unsubscribe, e-m

Re: Problem regarding adding antcall task to some target via JavaScript and script task

2009-10-19 Thread Christian Möller
y) depending on > > environmental properties (not shown here for simplicity). > > > But unfortunalety this does not work as expected: > > Your macro (which looks fine, that's why I snipped it) adds a new task > to a target in the currently executing Project instance. In

Re: Problem regarding adding antcall task to some target via JavaScript and script task

2009-10-15 Thread Stefan Bodewig
which looks fine, that's why I snipped it) adds a new task to a target in the currently executing Project instance. In your test you try to validate that it worked via antcall which creates a new Project instance and re-parses the build file for that new instance - your macro has never been execut

Problem regarding adding antcall task to some target via JavaScript and script task

2009-10-12 Thread Christian Möller
Hi, I have a problem with the following build script: = <![CDATA[ targetName = "@{target}" toTargetName = "@{toTarget}" toTarget = project.getTargets().get(toTargetName) antca

Re: use variable params in an antcall

2009-09-18 Thread EetieD
Ah thanks! That was an useful answer! EetieD wrote: > > I would like to put a variable set of params into a antcall, but > unfortunately, I got the message 'antcall doesn't support the nested "for" > element.' :-( I put my code below... > > Is

Re: use variable params in an antcall

2009-09-18 Thread Francis GALIEGUE
On Fri, Sep 18, 2009 at 10:52, EetieD wrote: > > I would like to put a variable set of params into a antcall, but > unfortunately, I got the message 'antcall doesn't support the nested "for" > element.' :-(  I put my code below... > > Is there an other

use variable params in an antcall

2009-09-18 Thread EetieD
I would like to put a variable set of params into a antcall, but unfortunately, I got the message 'antcall doesn't support the nested "for" element.' :-( I put my code below... Is there an other way to add a variable set of params into an antcall? I hope

AW: AW: ant 1.7.1 bug in with antcall !?

2009-06-12 Thread Grimm, Markus
Nachricht- Von: Gilbert Rebhan [mailto:a...@schillbaer.de] Gesendet: Mittwoch, 10. Juni 2009 22:07 An: Ant Users List Betreff: Re: AW: ant 1.7.1 bug in with antcall !? Hi Markus, Grimm, Markus schrieb: > Hi Gilbert, > > at that time I found a workaround for my problem at > http:/

Re: AW: ant 1.7.1 bug in with antcall !?

2009-06-10 Thread Gilbert Rebhan
Hi Markus, Grimm, Markus schrieb: > Hi Gilbert, > > at that time I found a workaround for my problem at > http://marc.info/?l=ant-user&m=123900769210029&w=2 > > If we look at the same sample script, so you have to open the log-file in the > first target, that is > executed and close it in the

AW: ant 1.7.1 bug in with antcall !?

2009-06-09 Thread Grimm, Markus
bugtracker ... Thanks, Markus -Ursprüngliche Nachricht- Von: Gilbert Rebhan [mailto:a...@schillbaer.de] Gesendet: Dienstag, 9. Juni 2009 21:48 An: Ant Users List; Ant Developers List Betreff: ant 1.7.1 bug in with antcall !? Hi, after (finally) upgrading from ant 1.6.5 to ant

ant 1.7.1 bug in with antcall !?

2009-06-09 Thread Gilbert Rebhan
Hi, after (finally) upgrading from ant 1.6.5 to ant 1.7.1 a teammate discovered some strange behaviour = He makes heavy use of antcall and uses the task. Now with ant 1.7.1 there are a lot of 0 byte lines in the logs, his editor jumps automatically in hexmode when opening such a logfile

[Ant 1.7.1] Problem with records task logging different targets via antcall

2009-04-06 Thread Grimm, Markus
Hi all, I upgraded my ant installation from 1.6.5 to 1.7.1 now I've got the follwing problem with the record-task. Look at this sample script:

[Fwd: antcall and ]

2009-02-15 Thread Stefan Krause
Sorry for the noise, the if-parameter must be Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

antcall and

2009-02-15 Thread Stefan Krause
nerate_foo, ] init: Property "build_bar" has not been set [echo] ... property build_bar: ${build_bar} Property "build_bar" has not been set [echo] ... property build_foo: true generate: [echo] generate ... Project base dir set to: C:\temp [antcall] call

RE: How do I call antcall once per line of file using line value as parameter?

2009-01-15 Thread Rebhan, Gilbert
-Original Message- From: samcollins [mailto:sam...@gmail.com] Sent: Wednesday, January 14, 2009 8:37 PM To: user@ant.apache.org Subject: Re: How do I call antcall once per line of file using line value as parameter? /* Hey, I have a question on this. If I want to grab the value of

Re: How do I call antcall once per line of file using line value as parameter?

2009-01-14 Thread samcollins
> > I push for an update to ant 1.7.x all the time, hope i'll > get my update soon :-) > > I see 1.7.1 is nearly out ... > > Regards, Gilbert > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional

Re: Ant 1.7 doesn't like antcall with inheritrefs

2008-12-17 Thread Mitch Gitman
Disregard this post. Turns out in the Ant target called by *antcall*, I was using refid below, not torefid: In other words, my mistake. And that warning was what was catching it. This is one case where I'm happy to be embarrassed. On Wed, Dec 17, 2008 at 8:41 PM, Mitch G

Ant 1.7 doesn't like antcall with inheritrefs

2008-12-17 Thread Mitch Gitman
which this warning arises has been invoked by the *antcall *task with inheritrefs="true". This is a perfectly legitimate case of passing references to a target where the references *have *been set, just not by that sub-build. I'm wondering now, is there any way to call *antcall *wi

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Gilbert Rebhan
Hi, Matt Matt Benson schrieb: Trying to catch up on this thread. Are you saying you want to do something for each line of a file? No problem. The ResourceCollection API was designed to return an Iterator partly with the aim of maintaining compatibility with antcontrib's for and foreach task

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Matt Benson
Trying to catch up on this thread. Are you saying you want to do something for each line of a file? No problem. The ResourceCollection API was designed to return an Iterator partly with the aim of maintaining compatibility with antcontrib's for and foreach tasks. Simply use the ResourceCollect

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Gilbert Rebhan
Paul Taylor schrieb: I dont understand Ruby so this wouldnt be an option for me. It just seems that this is such a common problem that it shoulg go into ant proper As you already noticed, (core) ant has it limits. OK, to be fair, it was never meant as a scripting language, but is often used lik

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Steven Guitar
i have used regular expressions to either take multilines and format them to one line with comma delimited entries for the ant contrib foreach On Jul 2, 2008, at 12:54 AM, Roman Kennke wrote: Hi, The foreach task from ant-contrib could help: http://ant-contrib.sourceforge.net/tasks/tasks

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Paul Taylor
Users List Subject: Re: How do I call antcall once per line of file using line value as parameter? /* I did it using Ant-contrib as follows param="param1"/> */ also possible without antcontrib = <![CDATA[ echoTask = $project.createTask 'echo' IO.readlines(&quo

RE: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Rebhan, Gilbert
-Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2008 10:30 AM To: Ant Users List Subject: Re: How do I call antcall once per line of file using line value as parameter? /* I did it using Ant-contrib as follows */ also possible without

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-02 Thread Paul Taylor
I did it using Ant-contrib as follows param="param1"/> thanks Paul (BTW why dont they merge things like foreach into the main ant project, its very useful) Paul Taylor wrote: Hi, sure simple enough, but cant work out to iterate through lines of file, i,e how do I implement the for lo

Re: How do I call antcall once per line of file using line value as parameter?

2008-07-01 Thread Roman Kennke
Hi, The foreach task from ant-contrib could help: http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html Dunno how to get the lines of a file in a list though. I'm sure it is possible. /Roman Am Mittwoch, den 02.07.2008, 00:20 +0100 schrieb Paul Taylor: > Hi, sure simple enough, but cant

How do I call antcall once per line of file using line value as parameter?

2008-07-01 Thread Paul Taylor
Hi, sure simple enough, but cant work out to iterate through lines of file, i,e how do I implement the for loop in pseudo code below for line in file rof thanks Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Default changed for antcall inheritrefs in 1.7.0?

2007-03-23 Thread Brown, Carlton
I just upgrded to Ant 1.7.0 and noticed that in many places I now must explicitly set inheritrefs="true" for my tasks. What's changed in this regard? As just a side note, it's somewhat irritating that Ant manual link now points directly to 1.7.0, and if there's a link to the previous Ant manu

Re: Using antcall but not re-running dependent targets

2007-01-21 Thread Cameron McCormack
Jacob Kjome: > Versions matter. I have BSF-2.3.0.jar and > js-1.5R3.jar in ${user.home}/.ant/lib. Using a > later version of js.jar with BSF-2.3.0 won't > work. If you want to use a newer version of > javascript, then upgrade to BSF-2.4.0 and grab > the latest js.jar. Of course, BSF-2.4.0

Re: Using antcall but not re-running dependent targets

2007-01-20 Thread Jacob Kjome
At 09:49 PM 1/20/2007, you wrote: >Jacob Kjome: >> I added my own twist on it and made dependency >> following configurable (follows dependencies by >> default if not specified) along with optional >> "if" and "unless" attributes. Actually, all the >> attributes are optional, even "target". If >

Re: Using antcall but not re-running dependent targets

2007-01-20 Thread Cameron McCormack
Hi Ninju. Ninju Bohra: > The behavior you see is correct...there is an inherent limition of the > task becuase it starts a new ANT "cycle" and knowlegde of > previous run targets (like your "init" target) are not retained. > > You can try many different solutions: > > First solution: > 1) Crea

Re: Using antcall but not re-running dependent targets

2007-01-20 Thread Ninju Bohra
e target: . (really delicate stuff that can only be run once) . - Original Message From: Cameron McCormack <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Saturday, January 20, 2007 4:59:26 AM Subject: Using antcall but not re-running

Re: Using antcall but not re-running dependent targets

2007-01-20 Thread Cameron McCormack
Jacob Kjome: > I added my own twist on it and made dependency > following configurable (follows dependencies by > default if not specified) along with optional > "if" and "unless" attributes. Actually, all the > attributes are optional, even "target". If > "target" is either not defined or d

Re: Using antcall but not re-running dependent targets

2007-01-20 Thread Jacob Kjome
> > > > > > >If I run "ant one" I get: > > jet:/tmp $ ant one > Buildfile: build.xml > > init: > [echo] something > > something: > > one: > > init: > [echo] something > > two-other: > > BU

Using antcall but not re-running dependent targets

2007-01-20 Thread Cameron McCormack
two-other: BUILD SUCCESSFUL but I want it so that the init target doesn’t get run again, because it has already been run. Is that just a limitation of antcall (that it forgets which dependencies have already been run)? If so, how I else can I get this sort of flow control? Thanks, Cameron -

filter and antcall

2006-12-28 Thread jm
Hi, I noticed that if I specify a filter, and call antcall on another target, the filter is previously defined is not enabled in the new target, even with inheritRefs=true. I could not find anything in the docs, so I suggest adding something on the filter or antcall will be helpfull. javier

Re: antcall / depends

2006-10-24 Thread Peter Reilly
On 10/24/06, Markus M. May <[EMAIL PROTECTED]> wrote: So, after I did some restructuring (we throw out some depend-attributes on targets that get called via antcall) and after the recompilation of ANT the build runs fine, even with CruiseControl. The build was running, after the rest

Re: antcall / depends

2006-10-24 Thread Markus M. May
So, after I did some restructuring (we throw out some depend-attributes on targets that get called via antcall) and after the recompilation of ANT the build runs fine, even with CruiseControl. The build was running, after the restructre, smoothly, but when we run the build via CC we still got

Re: antcall / depends

2006-10-19 Thread Markus M. May
; > This change is in the svn version of ant, but was done after > the release of ant 1.7.0beta3. > > peter > > > > > > > > Original-Nachricht > > Datum: Thu, 19 Oct 2006 16:04:06 +0100 > > Von: "Peter Reilly&qu

Re: antcall / depends

2006-10-19 Thread Peter Reilly
t; An: "Ant Users List" Betreff: Re: antcall / depends > On 10/19/06, Markus M. May <[EMAIL PROTECTED]> wrote: > > Hello, > > I am currently facing a massive OutOfMemoryException problem. I know > that this is, because we are using ANTCALL quite heavily. > > We ha

Re: antcall / depends

2006-10-19 Thread Markus M. May
-Nachricht Datum: Thu, 19 Oct 2006 16:04:06 +0100 Von: "Peter Reilly" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: antcall / depends > On 10/19/06, Markus M. May <[EMAIL PROTECTED]> wrote: > > Hello, > > I am currently facing a massive O

Re: antcall / depends

2006-10-19 Thread Peter Reilly
On 10/19/06, Markus M. May <[EMAIL PROTECTED]> wrote: Hello, I am currently facing a massive OutOfMemoryException problem. I know that this is, because we are using ANTCALL quite heavily. We have e.g. the following structure: TargetA depends on init (via depend) calls TargetB and T

antcall / depends

2006-10-19 Thread Markus M. May
Hello, I am currently facing a massive OutOfMemoryException problem. I know that this is, because we are using ANTCALL quite heavily. We have e.g. the following structure: TargetA depends on init (via depend) calls TargetB and TargetC (via antcall) TargetB depends on init (via depend

Re: How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread Ninju Bohra
David, You may want to try the to bring back the value from a Later, Ninju - Original Message From: David <[EMAIL PROTECTED]> To: Ant Apache User Group Sent: Monday, October 16, 2006 11:30:17 AM Subject: How to preserve a property assigned via antcall on main build p

Re: How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread Dominique Devienne
Do you have any idea about how to solve this problem? 1) Simply add the unless ="target.var" directly to compute-target.var, if the latter doesn't have any dependencies (or copy the content of compute-target.var to target.pre). 2) Convert compute-target.var to a macro, which share the Project

Re: How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread Dominique Devienne
signed after antcall invokation, so it doesn't work. but If I use instead of antcall, just dependences I get the value of target.var properly what I don't like about this solution is that the dependences targets are ALWAYS execute even if the property target.var was defined o

Re: How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread Scot P. Floess
y computed on target compute-target1.var (property target.var) is not assigned after antcall invokation, so it doesn't work. but If I use instead of antcall, just dependences I get the value of target.var properly what I don't like about this solution is that the dependence

Re: How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread Vishal Vishnoi
hat the property computed on target compute-target1.var (property target.var) is not assigned after antcall invokation, so it doesn't work. but If I use instead of antcall, just dependences I get the value of target.var properly depends="compute-target.var"> what I d

How to preserve a property assigned via antcall on main build process?

2006-10-16 Thread David
this property could be assigned previoulsy if some target needed such property before) Now This is the best solution, but the problem comes from the fact that the property computed on target compute-target1.var (property target.var) is not assigned after antcall

RE: Antcall task and inheriting Filters

2006-09-19 Thread Hussein Badakhchani
Thanks Vishal, I'll give this a try as well. Many thanks, Hoos -Original Message- From: Vishal Vishnoi [mailto:[EMAIL PROTECTED] Sent: 14 September 2006 18:03 To: Ant Users List Subject: Re: Antcall task and inheriting Filters Have you considered using Ant-contrib's (

RE: Antcall task and inheriting Filters

2006-09-15 Thread Hussein Badakhchani
Thanks, Sorry about the slow response, I'll give this a shot. Cheers, Hoos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 September 2006 12:37 To: user@ant.apache.org Subject: AW: Antcall task and inheriting Filters Have you tried to give the filter

Re: Antcall task and inheriting Filters

2006-09-14 Thread Vishal Vishnoi
Have you considered using Ant-contrib's (http://ant-contrib.sourceforge.net/tasks/tasks/index.html) runtarget task (http://ant-contrib.sourceforge.net/tasks/tasks/runtarget.html) which is similar to AntCall but with the big difference where the target is run as part of the same pr

AW: Antcall task and inheriting Filters

2006-09-13 Thread Jan.Materne
Have you tried to give the filters IDs and set inheritRef=true? Jan >-Ursprüngliche Nachricht- >Von: Hussein Badakhchani [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 13. September 2006 11:02 >An: user@ant.apache.org >Betreff: Antcall task and inheriting Filters >

Antcall task and inheriting Filters

2006-09-13 Thread Hussein Badakhchani
Hello, I was wondering if there are any plans to extend the AntCall task to allow inheriting of Filters. In my build I use a Jython script to convert all my properties to filters which works well, however it seems I have to call this script from every task I call from my AntCall tasks in order

Re: Depending on varying target using param inside antcall

2006-09-06 Thread Daniel Blaukopf
Hi Holger, This features was added in 1.6.3 (I'm using 1.6.5) Regards, Daniel Holger Rauch wrote: > Hi Daniel, > > first of all, thanks for your reply. Which version of Ant are you using? I'm > using 1.6.2 and it doesn't work as shown by this error message: &g

Re: Depending on varying target using param inside antcall

2006-09-06 Thread Holger Rauch
Hi, I solved this problem like this (excerpt from my build file "do-actual-test.xml"): 1. The necessary macros (I'm using Ant 1.6.2)

Re: Depending on varying target using param inside antcall

2006-09-06 Thread Holger Rauch
Hi Daniel, first of all, thanks for your reply. Which version of Ant are you using? I'm using 1.6.2 and it doesn't work as shown by this error message: antcall-param-test.xml:15: The type doesn't support the nested "target" element. Kind regards, Holger

Re: Depending on varying target using param inside antcall

2006-09-05 Thread Daniel Blaukopf
an . Is this > possible? If not, can this functionality be achieved in another way? If so, > which one? Below is an example that (hopefully) clarifies what I'm trying to > do. It consists of 2 files. One named "antcall-param-test.xml" containing > the and another one nam

Depending on varying target using param inside antcall

2006-09-05 Thread Holger Rauch
o. It consists of 2 files. One named "antcall-param-test.xml" containing the and another one named "antcall-actual-test.xml". This file will do the real work and contains the target depending on the properties defined in the corresponding target of antcall-param-test.xml

RE: Am I being a dumbass - or is there an antcall bug?

2006-07-25 Thread Burgess, Benjamin
ears to be correct, while target 2 and 3 each make what appears to be bad use of the antcall task. Making target 2 and 3 look like 1 will result in each target getting executed only once total. Ben From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mond

RE: Am I being a silly - or is there an antcall bug?

2006-07-24 Thread Nick . Minutello
Ant Users List Subject: Re: Am I being a silly - or is there an antcall bug? Nick, If you want to call a target within the same project. Use Ant-contrib's runtarget task (http://ant-contrib.sourceforge.net/tasks/tasks/index.html). Since the call is in the same project, any property you se

Re: Am I being a silly - or is there an antcall bug?

2006-07-24 Thread Vishal Vishnoi
Nick, If you want to call a target within the same project. Use Ant-contrib's runtarget task (http://ant-contrib.sourceforge.net/tasks/tasks/index.html). Since the call is in the same project, any property you set in the called target is also visible to caller If you want AntCall

RE: Am I being a silly - or is there an antcall bug?

2006-07-24 Thread Nick . Minutello
being a silly - or is there an antcall bug? This is not a bug. Properties that are set during an antcall are not passed back to the calling target, but properties do go the other direction as the called target inherits them from its parent. Therefore, when target2 calls dependency1

Re: Am I being a silly - or is there an antcall bug?

2006-07-24 Thread Andrew Goktepe
This is not a bug. Properties that are set during an antcall are not passed back to the calling target, but properties do go the other direction as the called target inherits them from its parent. Therefore, when target2 calls dependency1, run_once_target.done is set, but is lost when control

Am I being a silly - or is there an antcall bug?

2006-07-24 Thread Nick . Minutello
Title: Am I being a silly - or is there an antcall bug? I would expect that when calling all targets below (target1, target2 & target3) the "run_once_target" would get called only… once. However, its not so. With "target2", it gets called twice. Is that a bug? D

Am I being a dumbass - or is there an antcall bug?

2006-07-24 Thread Nick . Minutello
Title: Am I being a dumbass - or is there an antcall bug? I would expect that when calling all targets below (target1, target2 & target3) the "run_once_target" would get called only… once. However, its not so. With "target2", it gets called twice. Is that a bug?

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
no, that's just my typo in this email. The build file is spelled correctly. Thanks anyway :) Original Message Follows From: TH Lim <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Antcall task not doing what I want it to do! Date: T

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
This is great. Thank you so much for the thorough explanation and examples. :) Original Message Follows From: Ninju Bohra <[EMAIL PROTECTED]> Reply-To: Ninju Bohra <[EMAIL PROTECTED]> To: Ant Users List Subject: Re: Antcall task not doing what I want it to do! Date: Thu, 16

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread TH Lim
Is it because it should be instead of ? --- Res Pons <[EMAIL PROTECTED]> wrote: > Hi everyone! > > I'm making an antcall from the source target to its > destination target. > > > > > > > > >value="${build.number}"

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Ninju Bohra
cation you can look into the task from the ant-contrib project, however I would use that only as a last resort. - Original Message From: Res Pons <[EMAIL PROTECTED]> To: user@ant.apache.org Sent: Thursday, March 16, 2006 6:52:54 PM Subject: Antcall task not doing what I want

Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
Hi everyone! I'm making an antcall from the source target to its destination target. Naturally the echo stmt in the newbuildnum target works but how do I get it back to callbuildnumber target, the echo stmt in this target does not

AW: Conditional antcall

2006-02-20 Thread Jan.Materne
on: ar [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 20. Februar 2006 17:42 >An: user@ant.apache.org >Betreff: Conditional antcall > > >Hi, > >I'd like to access to a database, and, if it fails, create the >database otherwise update it. >To access the databas

Re: Conditional antcall

2006-02-20 Thread Nicolas Vervelle
> I'd like to access to a database, and, if it fails, create the > database > otherwise update it. > To access the database, I intend to use a sql task. If the sql > request > fails, I want to call the create-database target. If it successes, > I want > to call the update-database target.

Re: Conditional antcall

2006-02-20 Thread Ninju Bohra
OTECTED]> To: user@ant.apache.org Sent: Monday, February 20, 2006 10:41:35 AM Subject: Conditional antcall Hi, I'd like to access to a database, and, if it fails, create the database otherwise update it. To access the database, I intend to use a sql task. If the sql request fails, I want t

Conditional antcall

2006-02-20 Thread ar
Hi, I'd like to access to a database, and, if it fails, create the database otherwise update it. To access the database, I intend to use a sql task. If the sql request fails, I want to call the create-database target. If it successes, I want to call the update-database target. Any idea on

Re: How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
uding > generation of tree reports showing dependencies). > http://www.jayasoft.org/ivy > > Ben > > -Original Message- > From: Clifton Craig [mailto:[EMAIL PROTECTED] > Sent: Friday, November 11, 2005 1:26 PM > To: user@ant.apache.org > Subject: Re: How t

RE: How to execute an AntCall for each property in a set

2005-11-11 Thread Burgess, Benjamin
: Friday, November 11, 2005 1:26 PM To: user@ant.apache.org Subject: Re: How to execute an AntCall for each property in a set Matt, Thanx for the reply. However I was looking for a more standard approach avoiding antcontrib. I want my build to be as simple as possible without the need to pile on

Re: How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
> would ultimately be similar to the way Ant 1.7 works. > > HTH, > Matt > > --- Clifton Craig <[EMAIL PROTECTED]> wrote: > > I need to iterate a propertyset which lists a > > project's dependencies. It's > > basically just a list of name/val pairs matching a >

Re: How to execute an AntCall for each property in a set

2005-11-11 Thread Matt Benson
ependencies. It's > basically just a list of name/val pairs matching a > 3rd party product (or open > source jar) with a version. I want to execute an > Antcall or something of the > like to ask our jar repository for the proper jar > file so the build can > procede after the de

How to execute an AntCall for each property in a set

2005-11-11 Thread Clifton Craig
I need to iterate a propertyset which lists a project's dependencies. It's basically just a list of name/val pairs matching a 3rd party product (or open source jar) with a version. I want to execute an Antcall or something of the like to ask our jar repository for the proper jar f

Duplicate project name with antcall and import

2005-11-10 Thread Telang, Nandan
ar imports(that has no project name) However it works fine if I use depends instead of the antcall or if I call the targets A and B directly ? How do I fix this ? Thanks, -Nandan

Re: Usage of antcall

2005-10-20 Thread Ninju Bohra
. Hope that helps --- [EMAIL PROTECTED] wrote: > > I am trying to use antcall, I had a property file > called admin.size in > which value admin=136374, I can't put this property > file admin.size > ouside of create-zip target. > > > > &g

Re: Usage of antcall

2005-10-20 Thread Dominique Devienne
> can anyone guess what I am doing wrong, and how I should use antcall, The short answer is to not use , but target dependencies instead, and more specifically, the depends attribute of . --DD - To unsubscribe, e-mail: [EM

Usage of antcall

2005-10-20 Thread pritesh.saharey
I am trying to use antcall, I had a property file called admin.size in which value admin=136374, I can't put this property file admin.size ouside of create-zip t

AW: More on antcall versus macrodef

2005-08-11 Thread Jan.Materne
>Betreff: Re: More on antcall versus macrodef > >On 8/4/05, [EMAIL PROTECTED] ><[EMAIL PROTECTED]> wrote: >> Just a note: I like the idea of using property-files SNIP > >Just realised I forgot to thank you for this advice. I >modified the approach a little but this

RE: More on antcall versus macrodef

2005-08-04 Thread Dick, Brian E.
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 9:56 AM To: user@ant.apache.org Subject: RE: More on antcall versus macrodef yes indeed. I was going to provide the same advice, as i am using prefixed properties files to get rid of the if-then-else idiom. Hind Lwahhabi. Accenture

RE: More on antcall versus macrodef

2005-08-04 Thread hind.lwahhabi
5 44 E-mail:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 8/4/2005 2:52 PM To: user@ant.apache.org; [EMAIL PROTECTED] Subject: AW: More on antcall versus macrodef Just a note: I like the idea of using property-files life.proper

RE: More on antcall versus macrodef

2005-08-04 Thread hind.lwahhabi
6 75 44 E-mail:[EMAIL PROTECTED] -Original Message- From: Richard Gaywood [mailto:[EMAIL PROTECTED] Sent: Thu 8/4/2005 2:31 PM To: user@ant.apache.org Subject: More on antcall versus macrodef Hi all. Short time lurker, first time poster but I did search the archives! I'm pretty s

AW: More on antcall versus macrodef

2005-08-04 Thread Jan.Materne
erstag, 4. August 2005 14:31 >An: user@ant.apache.org >Betreff: More on antcall versus macrodef > >Hi all. Short time lurker, first time poster but I did search >the archives! I'm pretty sure I can hear list regulars >groaning at my subject line but here goes. > >I&#x

More on antcall versus macrodef

2005-08-04 Thread Richard Gaywood
g around this, or should I stick to AntCall for now? And before anyone points out this is rather overly complex: I know, but it's a complicated, already written app and I can't change it now. So I'm stuck with it. -

Re: antcall with antcontrib's RemoteAnt?

2005-07-12 Thread Chad Armstrong
s off (using RemoteAnt) > a build file on a Linux box. But the Linux build file script (the > 'subprocess' of the Windows build script) fails whenever it hits an > [antcall] tag. > > Is there some limitation there that I don't know about? I was > thinking of rep

antcall with antcontrib's RemoteAnt?

2005-07-12 Thread Chad Armstrong
Linux box. But the Linux build file script (the 'subprocess' of the Windows build script) fails whenever it hits an [antcall] tag. Is there some limitation there that I don't know about? I was thinking of replacing the [antcall] tags with [macrodef], but the current [antcall] ta

Re: antcall task not behing executed.

2005-07-07 Thread Juergen Hermann
On Thu, 7 Jul 2005 09:23:18 -0500, George Dibi wrote: ... ... or use ant-contrib's if. Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

antcall task not behing executed.

2005-07-07 Thread George Dibi
Hi all, Can someone help me with this problem? I am trying to do an "if" condition but it is failing to send the email after successful build. -Original Message- From: bla

RE: difference between runtarget and antcall?

2005-06-22 Thread hind.lwahhabi
Thank you for the detailed information.i think i am going to stick to the antcall task. From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Wed 6/22/2005 4:59 PM To: 'Ant Users List' Subject: RE: difference between runtarget and antcall? >

  1   2   >