ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: the tomcat 4.1 ant tasks
Date Mon, 20 May 2002 19:02:45 GMT
How about adding a 'prefix' attribute to <taskdef> so you can say something
like:

<taskdef prefix="tomcat"
         resource="/org/apache/tomcat/taskdefs.properties"
         classpath="${jars}/tomcattask.jar" />

All the name get prefixed on the fly with the provided attribute. Kind of
like a poor man namespace mechanism ;-)

--DD

-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com] 
Sent: Monday, May 20, 2002 1:58 PM
To: Ant Developers List
Subject: Re: the tomcat 4.1 ant tasks


----- Original Message -----
From: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Monday, May 20, 2002 11:22 AM
Subject: Re: the tomcat 4.1 ant tasks


> It sure would be nice if the Tomcat folks built a properties file that is
> included in the distribution so only one <taskdef> is needed rather than
all
> of those shown there.  Anyone from there listening?!  :)
>
>     Erik
>

They are certainly listening, as remy wontfixed my 'please rename' bugrep
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9242) with

"I am not in favor of fixing this, as it's not a clean solution. Rather, I
think
Ant should add namespace support, as is currently being discussed on the
ant-dev
mailing list."

IMO the fact that we should do a long term solution does not obviate the
need to use sensible names for your tasks, and the tomcat 4.1 set have just
laid claim to some core verbs <deploy>, <list>. They are lucky we chose the
more verbose <serverdeploy> for our own deployment tasks.

Well, I suppose if we break anything, we know where to direct the bug
reports.

-steve


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message