Chris, I've cc'd this to the user list, where it would be better suited.
****-custom merge files are not required. They are "hooks" into which you can place custom templates that will be inserted into the appropriate generated files. Unless you need to do something other than what XDoclet does for you in your generated file - dont worry about them. The problem below is, as the stack trace suggests, a zip problem. Are you running linux by any chance? I use to see this when developing on linux. No idea why it would occur, but in my case simply running the build again seemed to work.... at one stage I thought it had to do with the number of file handles available/open but I never looked at it for long enough to get to the bottom. cheers dim ----- Original Message ----- From: Chris DeGreef To: XDoclet XDoclet Sent: Tuesday, September 24, 2002 6:06 AM Subject: [Xdoclet-devel] where is remote-custom.xdt Remote.xdt in the ejb interfaces references a merge file named remote-custom.xdt. It does not exist in the current CVS download. Perhaps, since I am new at this, I am doing something wrong - but, I think it just isn't there. I build the system and attempt to run Xdoclet on my project. I get stack traces like this. [ejbdoclet] java.util.zip.ZipException: error in opening zip file [ejbdoclet] at java.util.zip.ZipFile.open(Native Method) [ejbdoclet] at java.util.zip.ZipFile.<init>(ZipFile.java:112) [ejbdoclet] at java.util.zip.ZipFile.<init>(ZipFile.java:127) [ejbdoclet] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:868) [ejbdoclet] at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:797) [ejbdoclet] at java.lang.Class.getResource(Class.java:1313) [ejbdoclet] at xdoclet.tagshandler.MergeTagsHandler.getMergeFileContents(MergeTagsHandler.j ava:212) [ejbdoclet] at xdoclet.tagshandler.MergeTagsHandler.merge(MergeTagsHandler.java:69) [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) [ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) [ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324) [ejbdoclet] at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:584) . Does anyone have any ideas on how to fix this? This is the reference in the xdt file. <XDtMerge:merge file="remote-custom.xdt"> </XDtMerge:merge> Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
