Ant task webdoclet fails with an infinite loop
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sai_prasad
Posted On:   Thursday, May 29, 2003 01:01 PM

I tried to use task as below: classname="xdoclet.modules.web.WebDocletTask" classpathref="xdocpath" /> destdir="${WEBINF}" > location="WEB-INF/tlds/mytaglib.tld" /> about to jsptaglib destdir="${WEBINF}/tlds" shortname="basic" filename="mytaglib.tld"/> I get the exception below during "ant deploy". The deploy target depends on "webdoclet": [webdoclet] java.util.zip.ZipException: error in opening zip file [webdoclet] at java.util.z   More>>

I tried to use task as below:

			



classname="xdoclet.modules.web.WebDocletTask"
classpathref="xdocpath"
/>









destdir="${WEBINF}" >

location="WEB-INF/tlds/mytaglib.tld"
/>


about to jsptaglib


destdir="${WEBINF}/tlds"
shortname="basic"
filename="mytaglib.tld"/>




I get the exception below during "ant deploy". The deploy target depends on "webdoclet":

[webdoclet] java.util.zip.ZipException: error in opening zip file
[webdoclet] at java.util.zip.ZipFile.open(Native Method)
[webdoclet] at java.util.zip.ZipFile. (ZipFile.java:112)
[webdoclet] at java.util.zip.ZipFile. (ZipFile.java:128)
[webdoclet] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:867)
[webdoclet] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoade
r.java:796)
[webdoclet] at org.apache.log4j.helpers.Loader.getResource(Loader.java:91)
[webdoclet] at org.apache.log4j.LogManager. (LogManager.java:94)
[webdoclet] at org.apache.log4j.Category.getInstance(Category.java:514)
[webdoclet] at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4
jFactory.java:153)
[webdoclet] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
gFactoryImpl.java:285)
[webdoclet] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
409)
[webdoclet] at xdoclet.util.LogUtil.getLog(LogUtil.java:26)
[webdoclet] at xdoclet.loader.ModuleFinder.findModules(ModuleFinder.java:114
)
[webdoclet] at xdoclet.DocletTask.registerModules(DocletTask.java:533)
[webdoclet] at xdoclet.DocletTask.createDynamicElement(DocletTask.java:332)
[webdoclet] at org.apache.tools.ant.IntrospectionHelper.createElement(Intros
pectionHelper.java:510)
[webdoclet] at org.apache.tools.ant.UnknownElement.handleChildren(UnknownEle
ment.java:239)
[webdoclet] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownEle
ment.java:122)
[webdoclet] at org.apache.tools.ant.Task.perform(Task.java:340)
[webdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[webdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[webdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)

[webdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
)
[webdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[webdoclet] at org.apache.tools.ant.Main.start(Main.java:196)
[webdoclet] at org.apache.tools.ant.Main.main(Main.java:235)



Please help. Thanks.    <<Less
About | Sitemap | Contact