facebook

Mistake in a name of package by forward engenieering

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

    Hi, I am new in MyEclipse.
    i have a problem:

    In my uml model i have created a package with the name

    com.firm.test

    Then i have puted inside some classes. After the generation java classes(forward engineering), i have found pakage

    com_firm_test .

    What have I made incorrectly?

    PS: very many thanks for help

    *** Date: 
    Thursday, September 6, 2007 1:39:02 PM 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
    
    
    #275140 Reply

    Loyal Water
    Member

    i have found pakage

    com_firm_test .

    I didn’t get your question. You mean the generated classes have this as the package name on the top ?

    #275149 Reply

    @support-nipun wrote:

    i have found pakage

    com_firm_test .

    I didn’t get your question. You mean the generated classes have this as the package name on the top ?

    yes.
    i make in uml-class-diagramm a new package. In field “Name” of a package i write “com.test.firm”. I put in this package a new Class and try to generate java class (UML->generate Java).
    In the opened dialog I mark a class and specify the package it is necessary to generate.
    If a generation is successfull , i found in my src directory a new generated package, but with the name “com_test_firm”. That was the problem.

    But I have understood a problem: the name of a package consists of several names. I build each name by means of the button ” New Package “. Now the name of generated package is correctly.

    Vary many thanks for your attention.

    Now I ask to solve other problem (see post “forward engineering does not work “)

    Sory for my english.

    #275166 Reply

    Loyal Water
    Member

    Thanks for letting me know ..

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Mistake in a name of package by forward engenieering

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