Paul, I had the same problem and it got to be very irritating as well.  So I
feel for you.

The only way that I have found is to not load the Java .cat files which the
top-level consists of  java.cat, javax.cat and sun.cat.  Now doing this will
cause a warning message "Not all units are loaded. Updating the model when
it is not entirely loaded may cause unexpected results. Do you wish to
continue?" to pop up whenever generating or reverse-engineering java files.
I have found you can safely ignore the message so far.  I currently only
load the java.lang and java.util only.

Now the best way to control what is loaded when opening your model is to use
the Model Workspace feature of Rose Java.  This gives you the ability to
customize what is loaded when the model is loaded.  Additional bonus when
doing it this way is the load time and the resolving references time are cut
way, way down.  The reason for this is the default load of a model that is
java based in Rose is to load Sun's entire class library which is rather
large.  Even my 800mhz and 500 megabyte pc struggles loading the whole
thing.

Another cavet to watch out for when reverse-engineering java files is that
Rose's does not handle duplicate class names correctly when attempting to
fully quailify classes.  By not loading the full feature set from sun it
helps avoid that problem as well.

Hope this helps.  Note that I am using version 7.5.0103.1929

Richard Wheeler
Cincinnati Financial Corp

>  -----Original Message-----
> From:         Netherwood Paul [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 03, 2001 5:34 AM
> To:   rose_forum (E-mail)
> Subject:      Rose Java fully qualified types with reverse engineering
> 
> When reverse engineering Java code, Rose J fully qualifies the types even
> if they are in the same package. It also fully qualifies them even if a
> dependency exists in the component view.
> 
> Although it compiles it make the code look awful.
> Does anyone know how I can turn off this feature?
> 
> Paul Netherwood
> 
> Beach Capital Management Limited
> Cannon Bridge
> 25 Dowgate Hill
> London EC4R 2GN, UK
> Phone  : +44 (0)20 7337 2936
> Fax    : +44 (0)20 7337 6780
> E-mail : [EMAIL PROTECTED]
> 
> 
************************************************************************
* 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/support/usergroups/rose/rose_forum.jsp
* 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