ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once
Date Sat, 17 Jul 2004 21:37:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29904>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





------- Additional Comments From apache@afyfe.com  2004-07-17 21:37 -------
I am saying a more than that.  Not only is the loaderRef compulsory, but all must refer to
the _same_ 
loader reference.  In the zip'd example, if you change the "bad" target in buildall.xml to:
    <target name="bad">
        <ant dir="." target="good" antfile="build.xml"/>
        <ant dir="." target="good" antfile="build.xml"/>
    </target>
"ant -f buildall.xml bad" will still fail, even though the tomcat taskdef uses loaderRef.

Sharing a single loader reference among a hierarchy of build.xml files that call one another
is at best 
awkward.

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


Mime
View raw message