ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Martin <>
Subject Re: Task writing: generic type support
Date Thu, 15 Sep 2005 14:35:13 GMT
Steve Loughran <> writes:

>>   My issue comes from my build system architecture:
>>   - a main Ant project parse a XML configuration file which is a Ant build
>> file
>>     itself, and where I would like to make available custom DataType in a
>>     specific antlib/namespace
>>   - a plugin is a Ant project which is able to do anything it wants. Like
>>     taskdef and typedef...
>>   The plugin project has been "forked" from the main Ant project. How can I
>>   (programmatically speaking) transfer taskdef/typedef from the plugin project
>>   to the main project ?
> you can't --that is what "forking" implies. you are operating within a new
> environment.

  Ok I know it is not cleaned - regarded the Ant task development
  guidelines. I'm working on 'el4ant' (sourceforge) and I need some extract
  features in Ant for my build.xml generation from project description works
  smoothly. I have "misuse" Ant to parse my project description XML files and
  it is really convenient in fact ;)

  My question may be simpler:
  - How can I copy tasks and types from one Ant project to another ?

  It is simple to do that with properties. I suppose it is not impossible to do
  that with tasks/types. I just ask for help to avoid to "waste" time into Ant
  internals hacking... but I will do it in case of non response.

 Thank you for your help
Yves Martin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message