Hi Anthony
Thanks for yor help. This was what we where looking for. Now we are happy.
Rolf
-----Original Message-----
From: Kesterton, Anthony [mailto:[EMAIL PROTECTED]]
Sent: 23. november 2000 12:04
To: Rolf Nergaard; '[EMAIL PROTECTED]'
Subject: RE: (ROSE) Java core classes
Hi Rolf
> Problem reverse engineering Java code
>
> Using Rose 2000e. When reverse engineering Java classes containing
> references to Java core classes, Rose says that the Java core
> class (ex.
> String, FileWriter ...) can not be found, and the task is discarded.
> The java packages for design view and component view are
> included in the
> model. Java code generation is working OK.
> Is this a bug or a Rose misconfiguration ?
Your colleague needs a few seconds of setup to fix this:
Go to Tools->Java->Project Specification, Classpath tab
In the Directories section - add the explicit path and filename for your std
classes (for example "c:\jdk1.3\jre\lib\rt.jar" for my installation of JDK
1.3). If you are using JDK 1.1.x - you probably need classes.zip instead of
rt.jar.
The useful thing about this part of Rose is you can switch JDK's very
quickly - just point to the right .jar or .zip file before you
reverse-engineer.
Loading the Java framework does not help you rev-engineer your code - but
(as they discovered) it makes the code generate properly as Rose then has
all the correct definitions for ALL the std classes. Just relying on the
rev-engineered code means that you don't have access to all the definitions
that were not present in the original code.
Hope that helps
regards
anthony
************************************************************************
* 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
*
*************************************************************************