facebook

Reverse Engineer UML from java ignores some parameters

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243187 Reply

    gcbgsigovuk
    Member

    If 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 Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse 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]

    #243237 Reply

    Kapil Kapre
    Member

    This 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 it

    
    argo.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

    #243632 Reply

    gcbgsigovuk
    Member

    Just a quick note to confirm that this workaround was successful. Many thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Reverse Engineer UML from java ignores some parameters

You must be logged in to post in the forum log in