Fine with me, this was just some schetched of thoughts. It seem to get simpler and simpler to do. We should also support passing the antlib.xml file location like we do for manifest.
Jose Alberto > -----Original Message----- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: 11 May 2005 16:07 > To: Ant Developers List > Subject: RE: [patch] FTP.java - adding support for new > features in commons-net 1.4.0 and performance improvement > > > --- Jose Alberto Fernandez <[EMAIL PROTECTED]> > wrote: > > > <antjar jar="${jarname}" anturl="foo.bar"> > > <code dir="...." includes="**/*.class"/> > > <antlib> > > <task name="boo" classname="foo.bar.zzz.Boo"/> > > <scriptdef name="....">...</scripdef> > > <antlib> > > </antjar> > > > > This creates a JAR with the antlib.xml in > > foo/bar/antlib.xml > > which contains the antlib content as specified > > there. > > > > You do not need to have many files is just one > > target you maintain and > > everything should > > be build. > > > > What do you guys think. > > I don't care for the <code> element name. Couldn't > <antjar> extend jar, the <antlib> element being the > only addition? Then, <antlib>'s content would be > implemented using XMLFragment? > > -Matt > > > > Jose Alberto > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > Discover Yahoo! > Find restaurants, movies, travel and more fun for the > weekend. Check it out! > http://discover.yahoo.com/weekend.html > > > --------------------------------------------------------------------- > 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]