____
From: Rob Seegel
To: Ant Users List
Sent: Thursday, November 3, 2011 6:40 PM
Subject: Re: Checking if a Target Exists
Steve,
For my project I created a custom task that was basically an extension of
runtarget (from ant-contrib), which worked *almost* the way I wa
Ant 1.8 has extension-points which provides something similar to your use-case
http://ant.apache.org/manual/targets.html
From: Rob Seegel
To: Ant Users List
Sent: Thursday, November 3, 2011 6:40 PM
Subject: Re: Checking if a Target Exists
Steve,
For my
Steve,
For my project I created a custom task that was basically an
extension of runtarget (from ant-contrib), which worked *almost* the way
I wanted. I wanted the following specific case:
- core skeleton build process in one script, that contained hooks I
could use to "extend" with one
You are right Steve, that was an error on my part.
From: Steve Amerige
To: user@ant.apache.org
Sent: Thursday, November 3, 2011 12:05 PM
Subject: Re: Checking if a Target Exists
Hi Vimil,
Thanks for the code! I'm pretty sure the fifth line of the s
t to true if the target 'mytarget' is
present in the project. Otherwise it will not be set.
From: Steve Amerige
To: Ant Users List; Vimil Saju
Sent: Thursday, November 3, 2011 7:27 AM
Subject: Re: Checking if a Target Exists
Hi Vimil,
Thanks for the fe
Users List
Subject: Re: Checking if a Target Exists
Here is an example, I havent tested it though
the scriptdef can be then invoked as folows
the property 'targetExists' will be set to true if the target 'mytarget' is
present in the project.
___
From: Steve Amerige
To: Ant Users List ; Vimil Saju
Sent: Thursday, November 3, 2011 7:27 AM
Subject: Re: Checking if a Target Exists
Hi Vimil,
Thanks for the feedback. Any specifics on just how to do what you
mention (even if untested)?
Thanks again,
Steve Amerige
SAS I
t; Btw antcall does not launch a new jvm, it only reloads the build.xml.
>>
>>
>> __**__
>> From: Steve Amerige
>> To: Ant Users List
>> Sent: Thursday, November 3, 2011 4:52 AM
>> Subject: Checking if a Target Exists
>>
>> Hi all,
>>
&
.
From: Steve Amerige
To: Ant Users List
Sent: Thursday, November 3, 2011 4:52 AM
Subject: Checking if a Target Exists
Hi all,
I want to be able to check if a target exists and hope you can help. I'm
looking for a generic solution that doesn't rely any knowledge of the targe
not launch a new jvm, it only reloads the build.xml.
From: Steve Amerige
To: Ant Users List
Sent: Thursday, November 3, 2011 4:52 AM
Subject: Checking if a Target Exists
Hi all,
I want to be able to check if a target exists and hope you can help. I'm
lo
Hi all,
I want to be able to check if a target exists and hope you can help. I'm looking for a generic solution that doesn't rely any
knowledge of the target name to be checked. It is not possible to modify the target code. And, I'd like to avoid any solutions
that cause the entire JVM to be
11 matches
Mail list logo