ATM tasks and types are declared via taskdefs/default.properties and 
types/default.properties.
Could we extend that mechanism to allow an AntLib-URI?

taskdefs/default.properties
----------------------------------------------------
# standard ant tasks
mkdir=org.apache.tools.ant.taskdefs.Mkdir
javac=org.apache.tools.ant.taskdefs.Javac 
...
# AntLib's
core=antlib:org.apache.ant.antlib.cvs
core=antlib:org.apache.ant.antlib.script
core=antlib:org.apache.ant.antlib.perforce
...
# Standard external
xmlns:ac=antlib:net.sf.antcontrib
...


Jan


>-----Ursprüngliche Nachricht-----
>Von: Kev Jackson [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 9. August 2005 11:27
>An: Ant Developers List
>Betreff: Re: commons dev list CVS component
>
>
>>I would love to remove some of the fat from the current ANT and move 
>>more things to individual antlibs that people can load on demand.
>>However, the main issue we need to face is how to maintain easy 
>>backward compatibility at least at the XML level.
>>
>>We need to define a proper strategy or antlib definition pattern that 
>>allows an installation of ANT to dump a bunch of antlibs 
>somewhere and 
>>the corresponding tasks can be used just as if they where defined in 
>>CORE (without any need to declare or use additional name-spaces).
>>
>>If we solved this issue satisfactorily, we could reorganize 
>the entire 
>>set of CORE and optional tasks allowing for separate releases for 
>>optional components.
>>And hence allowing for a much more stable CORE and uptodate libraries.
>>
>>Jose Alberto
>>  
>>
>+1 exactly
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to