MyEclipse: [Workaround] XDoclet properties are not visible

benji74@rediffmail.com - Aug 27, 2005 - 04:38 PM
Post subject: [Workaround] XDoclet properties are not visible
Installed Version 4 and doing EJB Development from the Getting started in the Application Developer Guide. Followed the steps to create an ejb. In the xdoclet configuration portion, MyEclipse-XDoclet -> add standard -> add standard ejb. Clicking on standard ejb displays ejbdoclet in the lower left pane, but clicking on ejbdoclet or any subtask under it does not display their properties in the right pane. Is this a bug or did I forget to do something?

Running Windows 2000 Professional SP4
What Eclipse version and build id are you using? (Version: 3.1.0 Build id: I20050627-1435)
- Was Eclipse freshly installed for MyEclipse? yes
- If not, was it upgraded to its current version using the update manager?
- Are any other external plugins installed? no
- How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.* 4
MyEclipse version (Version 4 Milestone3 Build id 20050808-4.0 Milestone 3)
What JDK version are you using to run Eclipse? (java version "1.5.0_04")

Thanks
support-greg - Aug 27, 2005 - 08:12 PM
Post subject:
Are there any errors in your error log? <workspace>/.metadata/.log
benji74@rediffmail.com - Aug 28, 2005 - 12:39 AM
Post subject:
no, no errors at all.
support-greg - Aug 28, 2005 - 12:48 AM
Post subject:
We will be releasing Eclipse 4.0GA, early next week. In 4.0GA we have updated our XDoclet support to match XDoclet version 1.2.3 release. This update includes a refresh of the XDoclet configuration UI. So lets wait and see if the problem still persists with the new release. If it does, report back your results and we can go from there.
mikech@rbsgi.com - Aug 28, 2005 - 09:01 PM
Post subject:
pls note that i am having the same problem...
benji74@rediffmail.com - Aug 30, 2005 - 12:10 AM
Post subject:
installed the new version 4.0GA, but still facing the same problem.
support-rkalla - Aug 30, 2005 - 01:06 AM
Post subject:
can you guys try adding -clean to your command line when you start Eclipse and see if that fixes the issue?

Also you can try File > Switch Workspace > C:\tempworkspace and hit OK. Then use File > New > Project > Web Project to create a new sample project, and then try the XDoclet properties, did they work?
benji74@rediffmail.com - Aug 30, 2005 - 02:54 AM
Post subject:
no, it didnt work
support-greg - Aug 30, 2005 - 03:07 AM
Post subject:
Can you post the contents of your ".xdoclet" file that is in the root of your EJB project? You can use the *code* button above the reply area to format the contents of the file nicely.
benji74@rediffmail.com - Aug 30, 2005 - 04:14 AM
Post subject:
here it is.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<configurations>
<configuration name="Standard EJB" used="true">
<task className="xdoclet.modules.ejb.EjbDocletTask" name="ejbdoclet" used="true">
<attribute name="ejbSpec" used="true" value="2.0"/>
<attribute name="ejbClassNameSuffix" used="false" value=""/>
<attribute name="excludedTags" used="true" value="@version,@author,@todo"/>
<attribute name="destDir" used="true" value="src"/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="force" used="false" value=""/>
<attribute name="verbose" used="true" value="true"/>
<attribute name="addedTags" used="true" value="@xdoclet-generated at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version ${version}"/>
<attribute name="ignoredtags" used="false" value=""/>
<attribute name="validating" used="false" value=""/>
<element name="fileset" used="true">
<attribute name="dir" used="true" value="src"/>
<attribute name="includes" used="true" value="**/*.java"/>
<attribute name="excludes" used="false" value=""/>
</element>
<element name="packageSubstitution" used="true">
<attribute name="packages" used="true" value="ejb"/>
<attribute name="substituteWith" used="true" value="interfaces"/>
</element>
<element name="remoteinterface" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="localinterface" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="homeinterface" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="localhomeinterface" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="dataobject" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="valueobject" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="session" used="true">
<attribute name="pattern" used="false" value=""/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="utilobject" used="true">
<attribute name="Kind" used="false" value=""/>
<attribute name="pattern" used="false" value=""/>
<attribute name="includeGUID" used="true" value="true"/>
<attribute name="cacheHomes" used="true" value="true"/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="false" value=""/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
<element name="deploymentdescriptor" used="true">
<attribute name="smallicon" used="false" value=""/>
<attribute name="largeicon" used="false" value=""/>
<attribute name="displayname" used="false" value=""/>
<attribute name="description" used="false" value=""/>
<attribute name="clientjar" used="false" value=""/>
<attribute name="useIds" used="false" value=""/>
<attribute name="xmlencoding" used="false" value=""/>
<attribute name="schema" used="false" value=""/>
<attribute name="validateXML" used="true" value="true"/>
<attribute name="acceptInterfaces" used="false" value=""/>
<attribute name="acceptAbstractClasses" used="false" value=""/>
<attribute name="packageSubstitutions" used="false" value=""/>
<attribute name="packageSubstitutionInheritanceSupported" used="false" value=""/>
<attribute name="subTaskClassName" used="false" value=""/>
<attribute name="prefixWithPackageStructure" used="false" value=""/>
<attribute name="destinationFile" used="false" value=""/>
<attribute name="templateURL" used="false" value=""/>
<attribute name="templateFile" used="false" value=""/>
<attribute name="Extent" used="false" value=""/>
<attribute name="havingClassTag" used="false" value=""/>
<attribute name="ofType" used="false" value=""/>
<attribute name="subTaskName" used="false" value=""/>
<attribute name="destDir" used="true" value="src/META-INF"/>
<attribute name="mergeDir" used="false" value=""/>
<attribute name="currentMethodTag" used="false" value=""/>
<attribute name="currentClassTag" used="false" value=""/>
<attribute name="currentFieldTag" used="false" value=""/>
<attribute name="currentPackage" used="false" value=""/>
<attribute name="currentMethod" used="false" value=""/>
<attribute name="currentConstructor" used="false" value=""/>
<attribute name="currentField" used="false" value=""/>
<attribute name="currentClass" used="false" value=""/>
</element>
</task>
</configuration>
</configurations>

tjmapley - Aug 30, 2005 - 05:09 AM
Post subject:
I am having the same problem. I am pushing for our whole development team to use MyEclipse, but this could be a deal breaker.
tjmapley - Aug 30, 2005 - 05:13 AM
Post subject:
__SOLUTION__: In the pane where you expect to see the Properties and Values, grab the far left edge of the top header and drag it to the right. This will reveal the "Value" box. Then do this again to reveal the "Property" box.
support-rkalla - Aug 30, 2005 - 05:23 AM
Post subject:
tjmapley,
We very much appreciate you posting the workaround for others.

Out of curiosity are you also using Windows 2K? None of us have been able to reproduce this internally, making it a real bear to fix.
tjmapley - Aug 30, 2005 - 05:28 AM
Post subject:
Yes. I am also using W2K.
benji74@rediffmail.com - Aug 30, 2005 - 02:33 PM
Post subject:
thanks a bunch for finding me the solution.
nat101 - Aug 30, 2005 - 04:40 PM
Post subject:
support-greg wrote:
In 4.0GA we have updated our XDoclet support to match XDoclet version 1.2.3 release. This update includes a refresh of the XDoclet configuration UI.


For those of use not downloading GA [yet], can you please describe the benefits of the new xdoclet/properties UI? Thanks.
What I am lookin for is to have a "save as" feature and/or a default setting feature. I do not want to go thru setting all the xdoclet settings for each ejb project.
TA
-nat
support-rkalla - Aug 30, 2005 - 05:00 PM
Post subject:
nat,
The XDoclet functionality has not changed between 3.8.4 and 4.0, we simply updated the XDoclet libraries to fix quite a few bugs in the old versions, add Hibernate 3 support and also support generating code from Java 5 source files (however using generics in your XDoclet properties doesn't currently work with this version of XDoclet).
support-greg - Aug 30, 2005 - 05:28 PM
Post subject:
Also, because we updated the xdoclet libraries, there are new configuration options that should be made available in the XDoclet configuration UI. So we have also updated the XDoclet UI to make all of these new configuration elements available.
nat101 - Aug 31, 2005 - 12:49 AM
Post subject:
Ok. Thanks for the info.
-nat
support-greg - Aug 31, 2005 - 05:01 PM
Post subject:
Just following up with the original problem reported in this thread. We have recently tested 4.0GA on a window 2000 test machine and we did not see any problem with the properties list in the XDoclet configuration screen.

Are there any details about your environment that hasn't been metioned that might help us determine the issue?
jayenho - Sep 15, 2005 - 07:08 AM
Post subject: I have met the same problem too
my eclipse is 3.1 release version, os is win2k pro, j2ee1.4, ejb2.x, jre5.0.
support-greg - Sep 15, 2005 - 08:43 AM
Post subject:
We retested this with a fully up2date win2k pro with the latest JDK from Sun 1.5.0_04. Still, we can't replicate the problem. But does the workaround as posted on the first page of this topic work for you? It seems to for other people that are having this problem. Sorry for the inconveinence.
gubbasu - Sep 22, 2005 - 05:19 AM
Post subject:
I also faced same problem today. This solution really helped me. I am running W2K... Thanks alot tjmapley
leelainc - Jan 21, 2006 - 05:07 AM
Post subject:
Buildfile: D:\Documents and Settings\Anand\My Documents\My Eclipse Workspace\j2eeEJB\.xdoclet-build.tmp.xml
N65540:

BUILD FAILED
java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported major.minor version 49.0)

Total time: 1 second

I am getting this error wheni run the xdoclet to creat the EJB
support-greg - Jan 21, 2006 - 05:24 AM
Post subject:
leelainc,

Have a look at either of the following topcis as they address this very problem.
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8878-highlight-xjavadoctask.html
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-9460-highlight-xjavadoctask.html
wenlinchang - Feb 01, 2007 - 10:35 AM
Post subject:
Buildfile: C:\Documents and Settings\Kevin Chang\workspace\CallCenterEJB\.xdoclet-build.tmp.xml
N65540:

BUILD FAILED
C:\Documents and Settings\Kevin Chang\workspace\CallCenterEJB\.xdoclet-build.tmp.xml:38: 4.0.4.GA is not a legal value for this attribute

Total time: 2 seconds

I got this problem when I try to use xdoclet to create the EJB. Please help!
support-rkalla - Feb 01, 2007 - 06:47 PM
Post subject:
Kevin,
Notice that it's complaining about the "4.0.4.GA" attribute you are using for some version attribute in your doclet? You need to check the XDoclet docs at: http://xdoclet.sf.net to see what valid values are, these versions aren't just free-form, they actually effect how generation is performed.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits