-
1. Re: XDoclets in Version 1.2.230 does not work with eclipse 3
npopov Apr 17, 2004 12:37 AM (in response to mlehradt)Hi all,
Same here...
I got an error message "The currently displayed page contains invalid values" once I got to the Template page.
Maik, did you got it resolved?
Regards
Nick -
2. Re: XDoclets in Version 1.2.230 does not work with eclipse 3
rfolkerts Apr 17, 2004 9:00 AM (in response to mlehradt)Hi,
same here :-(
I just started Eclipse from c/l and got:
---Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-ejb-module-1.2b3-dev.jar!/META-INF/xtags.xml Exception while reading: ejb.home null Attention: Can't add org.jboss.ide.eclipse.xdoclet.assist.model.conditions.Or to Condition org.jboss.ide.eclipse.xdoclet.assist.model.conditions.IsClass Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-java-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-jboss-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-jmx-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-web-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-xdoclet-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-ejb-module-1.2b3-dev.jar!/META-INF/xtags.xml Exception while reading: ejb.home null Attention: Can't add org.jboss.ide.eclipse.xdoclet.assist.model.conditions.Or to Condition org.jboss.ide.eclipse.xdoclet.assist.model.conditions.IsClass Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-java-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-jboss-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-jmx-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-web-module-1.2b3-dev.jar!/META-INF/xtags.xml Process: jar:file:/usr/opt/eclipse3.0M8/plugins/org.jboss.ide.eclipse.xdoclet.core_1.2.230/./xdoclet-xdoclet-module-1.2b3-dev.jar!/META-INF/xtags.xml Unhandled event loop exception Reason: java.lang.NullPointerException P
---
The Log-File has:
---!SESSION Apr 17, 2004 15:49:11.935 --------------------------------------------- java.version=1.4.2_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE !ENTRY org.jboss.ide.eclipse.xdoclet.assist 4 0 Apr 17, 2004 15:49:11.936 !MESSAGE Internal Error !STACK 0 java.io.FileNotFoundException: /resources/additional_values.xml (Datei oder Verzeichnis nicht gefunden) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at java.io.FileReader.<init>(FileReader.java:41) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLPersistenceManager(XDocletAssistPlugin.java:382) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:344) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.getXMLDocument(XDocletAssistPlugin.java:329) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin.addValuesToDocletTree(XDocletAssistPlugin.java:139) at org.jboss.ide.eclipse.xdoclet.assist.XDocletAssistPlugin$1.run(XDocletAssistPlugin.java:219) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
---
So it seems to be related to the mentioned "additional_values.xml" which is not found?!
Does anyone have a solution?
Regards,
_ralf_ -
3. Re: XDoclets in Version 1.2.230 does not work with eclipse 3
rfolkerts Apr 18, 2004 4:12 AM (in response to mlehradt)Hi,
I just got a bit further; unfortunately, Xdoclet Generation still doesn't work :-(
I checked out the JBoss-IDE Source Code fom Sourceforge CVS, searched it for additional_values.xml and copied that file to /resources. Then started again. Got another problem with a missing configuration2xdoclet.xsl. Located that in the Source and again copied to /resources. While still there I copied all other .xml and .xsl-Files from the Source Dir to /resources.
Now, the Xdoclet Page in the Preferences/JBoss works as does the XDoclet Config for the Project. Also the code-Completion for the @ejb-stuff works now.
Unfortunately, when running "Run XDoclet" on the Project I get aBUILD FAILED: /home/ralf/workspace/Tutorial/xdoclet-build.xml:13: taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Regards,
_ralf_ -
4. Re: XDoclets in Version 1.2.230 does not work with eclipse 3
mlehradt Apr 19, 2004 4:30 AM (in response to mlehradt)There were no resource files in eclipse\workspace\.metadata\.plugins\org.jboss.ide.eclipse.xdoclet.assist. I tried to copy them from a eclipse 2.1 installation. Now the templates are displayed, but code generation still does not work :/