Jason,
   Attributes that are not fundamental types, including String, are reversed
into the model  as class associations, not attributes. Therefore they will
not appear in the list of attributes for a class. However, you can modify
the default list of fundamental types to include String or any other class
that you want to model as an attribute rather than an association. See
explanation that follows.

See Rose help on java types:

Changing String Variables to Attributes

By classic Java standards, String is not a primitive data type. When you
reverse engineer Java code, Rose J parses a String variable as a
relationship to the class String in java.lang. If you prefer, you can have
Rose J model all String variables as though String were a primitive data
type by adding java.lang.String to the registry setting:
HKEY_LOCAL_MACHINE\SOFTWARE\Rational\Software\Rose\AddIns\Java\FundamentalTy
pes

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chow Tsz Shun, Jason
Sent: Wednesday, March 07, 2001 6:11 AM
To: [EMAIL PROTECTED]
Subject: Re: (ROSE) Java Reverse Engineering



Khawar and Andrew,

  I have similar problem too. I have add RT.JAR to my classpath before
reverse engineering.
The operations are fully captured, however, all attributes (except int,
long, short, char,
boolean and other primitive data type) do not appear, even a String
attribute! Is there any
solution for that? Thanks a lot!

Cheers,

Jason

----- Original Message -----
From: "Ahmed, Khawar" <[EMAIL PROTECTED]>
To: "'Andrew Wu'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 9:31 PM
Subject: RE: (ROSE) Java Reverse Engineering


>
> Looks like you need to add the following to your classpath:
> - rt.jar from JDK_HOME
> - j2ee.jar from J2EE_HOME
>
> Best regards,
>
> Khawar
>
> -----Original Message-----
> From: Andrew Wu [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 11:36 AM
> To: '[EMAIL PROTECTED]'
> Subject: (ROSE) Java Reverse Engineering
>
>
>
> Hi there,
>
> I am trying to do the Java Reverse Engineering by Rational Rose 2000
> try version and get tons of the error msgs as followings. I have noticed
> from this forum that many people have had the some problem and also have
> many suggestions. I tried but not works. Could Rational expert help me for
> answer?
>
> The purpose to do this to make sure Rational Rose is the tool we can
> use for our design.
>
>
> Andrew
> ===================================================
>
> 13:58:01|
> 13:58:01|  [Update Model Properties]
> 13:58:01|      [[Update Model Properties]]
> 13:58:01|      [[Update Model Properties]]
> 13:58:01|      [[Update Model Properties]]
> 13:58:01|      [[Update Model Properties]]
> 13:58:01|      [[Update Model Properties]]
> 13:58:02|      [[Update Model Properties]]
> 13:58:02|      [[Update Model Properties]]
> 13:58:02|      [[Update Model Properties]]
> 13:58:02|
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:58:02|  [Customizable Menus]
> 13:59:28|
> CLASSPATH=C:\apps\Exceed.nt\hcljrcsv.zip;C:\apps\Exceed.nt;c:\jdk1.3\src
> 14:02:31|
>
CLASSPATH=C:\apps\Exceed.nt\hcljrcsv.zip;C:\apps\Exceed.nt;c:\jdk1.3\src;D:\
> bkup\portal\dev_root\com
> 14:02:50|  Error Resolving qualified name String occured in File
> D:\bkup\portal\dev_root\com\portal\PortalException.java
> 14:02:50|  Error Resolving qualified name EJBObject occured in File
> D:\bkup\portal\dev_root\com\portal\account\Account.java
> 14:02:50|  Error Resolving qualified name EntityContext occured in
> File D:\bkup\portal\dev_root\com\portal\account\AccountEJB.java
> 14:02:50|  Error Resolving qualified name EJBHome occured in File
> D:\bkup\portal\dev_root\com\portal\account\AccountHome.java
> 14:02:50|  Error Resolving qualified name XMLLogRecordImpl occured
> in File D:\bkup\portal\dev_root\com\portal\account\AccountLogRecord.java
> 14:02:51|  Error Resolving qualified name org.omg.CORBA.ORB occured
> in File D:\bkup\portal\dev_root\com\portal\beans\CorbaBean.java
> 14:02:51|  Error Resolving qualified name String occured in File
> D:\bkup\portal\dev_root\com\portal\beans\DBConnectionBean.java
> 14:02:51|  Error Resolving qualified name Context occured in File
> D:\bkup\portal\dev_root\com\portal\beans\EJBClientBean.java
> 14:02:51|  Error Resolving qualified name PortalException occured in
> File D:\bkup\portal\dev_root\com\portal\beans\PortalBean.java
> ......
> ************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
> *************************************************************************
> ************************************************************************
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Admin.Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *
> * To: [EMAIL PROTECTED]
> * Subject:<BLANK>
> * Body: unsubscribe rose_forum
> *
> *************************************************************************


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to