facebook

initial value by class is not generated

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #275242 Reply

    hallo,

    By forwarding engenieering (java class generation) i assign a initial value for the property (simple java types).
    After class is generated, i doesn’t find the initial value for this property.

    is it bag or i make a mistake ?

    thanks

    #275289 Reply

    Loyal Water
    Member

    Can you paste your installation details here for me. The posting guidelines thread can be found at the top of the forum.

    What Java Type are you facing the problem with?

    #275299 Reply
    *** Date: 
    Monday, September 10, 2007 1:04:46 AM CEST
    
    ** System properties:
    OS=Linux
    OS version=2.6.13-15.16-default
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708
    
    
    *** Eclipse details:
    Eclipse Platform
    
    Version: 3.3.0
    Build id: I20070621-1340
    
    
    
    
    Eclipse Platform
    
    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070621-1340
    
    
    Eclipse Java Development Tools
    
    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070621-1340
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070621-1340
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.3.0.v20070620
    Build id: 20070620-1021
    
    
    Eclipse RCP
    
    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070621-1340
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.3.0.v20070620
    Build id: 20070620-1021
    
    
    
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -showsplash
    -launcher
    /usr/eclipse/eclipse
    -name
    Eclipse
    --launcher.library
    /usr/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
    -startup
    /usr/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -vm
    /usr/jdk1.5.0_11/bin/../jre/lib/i386/client/libjvm.so
    
    

    I tried to initialize int. However others types does not generate too.
    I have simple filled the field ‘Initial value’ and tried to generate jave.

    #275324 Reply

    Loyal Water
    Member

    Can you go through this doc and try Forward engineering as outined in this document.
    http://www.myeclipseide.com/documentation/quickstarts/uml/

    Let me know if the problem persists.

    #275334 Reply

    @support-nipun wrote:

    Can you go through this doc and try Forward engineering as outined in this document.
    http://www.myeclipseide.com/documentation/quickstarts/uml/

    Let me know if the problem persists.

    Also I have not a positiv result.

    1. Create new class “Cbr” on the class diagram
    2. Create new field INDEX of type int and set for it initial value 56 (in field “Initial value”)
    3. UML -> Generate java …
    3.1 Choice my new Cbr class
    3.2 Choice a package for generation
    3.3 Click on the finish button. Process is ok.
    4 Open Package Explorer in eclipse
    4.1 open new just generated class Cbr.java in editor
    4.2 I can see now my field “INDEX” of type int.

    4.3 Where is my INITIAL value – 56 for field “INDEX” ?

    I have sended a screen photo at support @ myeclipseide.com

    #275336 Reply

    Loyal Water
    Member

    Hi Oleg,
    I was able to reproduce this at my end as well. Thanks for reporting this. I’m filing this as a bug for my dev team. I’ll get back to you with as update ASAP.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: initial value by class is not generated

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