Nico, I have had a quick look at your post and I have a few questions.
I wonder if there is much advantage building a task library in ths way? Why not just write the xml file directly and build a jar with it. It seems we are writing some xml in an ant build file and then processing that into different, but similar xml, for a task library. I'm not sure of the advantages of that. Have I missed something? A task along the lines of Stefan's war tsk may be more appropriate. It doesn't try to build the deployment descriptor - it just assembles the war from a set of distributed pieces. You have put the deployment descriptor (I think that is a reasonable term for this file) in META-INF. That is entirely reasonable but I am curous as to why the servlet spec uses WEB-INF for wars? Cheers Conor > -----Original Message----- > From: Nico Seessle [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 20 September 2000 20:38 > To: [EMAIL PROTECTED] > Subject: Re: Ant-Extension-Mechanism - Step 1 > > > ----- Original Message ----- > From: "Nico Seessle" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 20, 2000 11:34 AM > Subject: Ant-Extension-Mechanism - Step 1 > > > > Before I go further I wanted to know if the following format for > > Ant-Extension files (generated with the TaskLib-Task) is acceptable for > you > > all? > > > > It currently will only support dynamic loading of task, no checking for > > other required libs and so on. > > > Since there are no docs - you can use it like this: > > <target name="default"> > <tasklib name="MSVSS-Lib" > version="1.0" > home="http://jakarta.apache.org/ant" > jarfile="vsstest.zip"> > <fileset dir="jakarta-ant/classes/"/> > <task name="vssget" > > classname="org.apache.tools.ant.taskdefs.optional.msvss.MSVSSGET" > version="1.0"/> > <task name="vsshistory" > > classname="org.apache.tools.ant.taskdefs.optional.msvss.MSVSSHistory" > version="1.0"/> > <task name="vsslabel" > > classname="org.apache.tools.ant.taskdefs.optional.msvss.MSVSSLabel" > version="1.0"/> > </tasklib> > > Nico > >
