- This topic has 2 replies, 2 voices, and was last updated 18 years, 11 months ago by gcbgsigovuk.
-
AuthorPosts
-
gcbgsigovukMemberIf I reverse engineer the following Java class to UML, none of the DataHandler parameters are shown on the resulting UML diagram. Neither are the DataHandler parameters shown in the parameters list displayed as part of the properties view.
package bugs.myeclipse;
import javax.activation.DataHandler;
public class Demo {
public void method1(String theInput1) {
}
public void method2(String theInput1, DataHandler theInput2) {
}
public void method3(DataHandler theInput1) {
}
public void method4(DataHandler theInput1, String theInput2) {
}
public DataHandler method5() {
return null;
}
}*** Date: Fri Dec 16 14:21:14 GMT 2005
*** System properties:
OS=Windows2000
OS version=5.0
Java version=1.4.2_08*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
5dc_48
-vm
C:\j2sdk1.4.2_08\bin\javaw.exe[/img]
Kapil KapreMemberThis seems to be a bug with our classpath logic. The class you are importing is contained in the EE container, and this is confusing the class loader. Please try this workaround. The issue has been filed and will be fixed in the 4.1GA release.
(Please note that this will only with versions prior to 4.1M2)
In your eclipse folder there is a file (if there isnt, create one) called argo.user.properties insert the following entry in itargo.import.clazzpath=/E\:/EEJars/activation.jar
for the path E:\EEJars\activation.jar. Change accordingly on your system. ME comes with these jars:
<ME_installpath>\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_4.0.1\data\libraryset\1.4
You will need to create one entry for each jar.I hope this temporary workaround solves your problem till we release 4.1GA In a few weeks time.
Sorry for the inconvenience.
Kapil
gcbgsigovukMemberJust a quick note to confirm that this workaround was successful. Many thanks.
-
AuthorPosts