Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Other Build Tools
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Other Build Tools
Condional execution of plug-in
avihai marchiano
Ranch Hand
Posts: 342
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hey,
I want that a plugin (or to be more specfic
ant
task in ant plugin ) to run only under certain condtion (profile).
Any idea?
I tried to use in "ant-contrib",but failed, so i think to "wrapp" the plugin execution with condtion,but i dont know how?
Thank you
avihai marchiano
Ranch Hand
Posts: 342
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
when adding this to the task it work:
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <classpath> <pathelement location="c:\InSync\DevTools\M2_REPOSITORY\ant-contrib\ant-contrib\1.0b2\ant-contrib-1.0b2.jar" /> </classpath> </taskdef>
But its ugly.
avihai marchiano
Ranch Hand
Posts: 342
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
fixed by using this:
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.compile.classpath" />
Get me the mayor's office! I need to tell him about this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Trying to copy xml files to end directory during hudson maven build
Eclipse - executing automatically
maven calling an ant target
Ant plugin for RAD v6.0.1
Which design should I use?
More...