Hi Anthony,
I agreed its difficult, but it doesn't mean the problem is not existing as it
is consistently appearing
everytime we try to do any reverse engineering java code for the past one year.
Large number of files = ~50 - ~200 java files.
The size for each java file averages about 100-2000 lines of code where all
kinds of java features
are used (e.g. inner classes, non-public classes, abstract classes,
inheritance, interface, etc.)
Our classpath expand towards 5 different directories.
The problem is not consistent; that is, I can saved the Rose model file and
give it to the support
(as I have done before) when the error occurred. But when the model is
reloaded with a different
Rose session, Rose do not produce the same error. I think Rose is not
initializing some variable
properly at the start of reverse engineering.
I have only one suggestion:
if rational has a good-size java project, I suggest try using Rose to reverse
engineer the source
multiple times.
Ironically, the same source code reverse engineered properly using TogetherSoft
white-board
edition (a freebie) :-)
Rudy
"Kesterton, Anthony" wrote:
> Hi Rudy
>
> I image Rational Support is in a kind-of difficult position - if we don't
> see this error in the internal "loadtesting" of Rose J - then it is
> difficult if not impossible to spot the error. However, if there is any
> chance support could have access to the code that seems to cause this error,
> then this could be resolved more quickly.
>
> That's all I can suggest with what you have mentioned so far.
>
> BTW - how big is "a large number of files"?
>
> regards
>
> anthony
>
> > -----Original Message-----
> > From: Rudy Zulkarnain [mailto:[EMAIL PROTECTED]]
> > Sent: 03 January 2001 17:11
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: (ROSE) Java Reverse engineering error
> >
> >
> >
> > Hi,
> >
> > I saw the archive messages in rose_forum in regards to Rose
> > Java reverse
> > engineering error
> > posted back in September 2000. I have the same problem
> > "Error resolving
> > qualified name <classname>..."
> > however, this time is a user defined classes (not String, File, etc.).
> > This seems to happen
> > only when reverse engineering a large number of java files at
> > one time.
> > The problem seems to go
> > away after you restart rose and just reverse engineer that particular
> > file.
> >
> > Is there any limitation of the number of import statements Rose J can
> > handle ?
> > or is there any resolution to this problem at all ?
> > I have talked to a number of rational support and they keeps
> > saying this
> > unproductive statement:
> > "if we can't reproduce the problem we can't fix it". Unfortunately,
> > I never knew whether they have
> > tried. I have seen this problem in Rose 98i, Rose 2000e and
> > Rose 2001.
> >
> > The problem is not consistent, that is, sometime it happen
> > sometimes it
> > doesn't.
> > The problem also exists with non-public classes that are
> > defined in the
> > one java file.
> > I am using Rose2000e running on Solaris Unix.
> >
> > Rudy
> >
> > === history ===
> > >
> > > The problem I have seen is that sometimes it works and sometimes is
> > > doesn't.
> > >
> > > -- Darrell
> > >
> > > "Norris, Davyd" wrote:
> > >
> > > I haven't checked lately but I am sure that using
> > >
> > > import java.awt.*
> > >
> > > in your code works just fine. To back that up, the String
> > class is in
> > > java.lang which does not require an explicit import
> > statement at all.
> > >
> > > Rose is just like javac - it is a compiler from Java code to a UML
> > model. So
> > > just like any other Java IDE, you need to set up your classpath
> > properly in
> > > order for it to validate your code. Open your model and choose
> > > Tools|Java|Project Specification... from the main menu.
> > This will show
> > you
> > > the existing environment variable as well as let you set up explicit
> > class
> > > paths.
> > >
> > > Your problem sounds like you don't have rt.jar in your Rose
> > classpath.
> > This
> > > usually lives in:
> > >
> > > INSTALL_PATH\jdk1.3\jre\lib\rt.jar
> > >
> > > You will need to replace INSTALL_PATH with where you have
> > your JDK or
> > JRE.
> > >
> > > Regards,
> > >
> > > Dave.
> > > --
> > > Davyd Norris - S/W Engineering Specialist
> > > Rational Software
> > > Sydney, Australia.
> > > Phone: +61 2 9419 0100
> > > Fax : +61 2 9419 0160
> > > HDesk: +61 2 9419 0111
> > > --
> > >
> > > > -----Original Message-----
> > > > From: FUHRING,JIM (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, 28 September 2000 10:55 AM
> > > > To: 'Juan Burriel'; [EMAIL PROTECTED]
> > > > Subject: RE: (ROSE) Java Reverse engineering error
> > > >
> > > >
> > > >
> > > > Juan,
> > > >
> > > > Your files are probably importing everything in a Java package.
> > > >
> > > > Example: import java.awt.*;
> > > >
> > > > In order for Rose to reverse engineer Java properly, you
> > have to be
> > > > specific:
> > > >
> > > > Example: import java.awt.Icon;
> > > >
> > > > I know this probably means a lot of work.....
> > > >
> > > > Jim
> > > >
> > > > > -----Original Message-----
> > > > > From: Juan Burriel [SMTP:[EMAIL PROTECTED]]
> > > > > Sent: Wednesday, September 27, 2000 4:54 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: (ROSE) Java Reverse engineering error
> > > > >
> > > > >
> > > > > This is the first time I'm tring to reverse engineer a Java
> > > > project and
> > > > > I'm
> > > > > finding this problem.
> > > > > After I reverse some working code I get this error:
> > > > >
> > > > > 18:33:43| Error Resolving qualified name String occurred in File
> > > > > C:\Projects\Nextel\com\amdocs\util\AppException.java
> > > > > 18:33:44| Error Resolving qualified name File occurred in File
> > > > > C:\Projects\Nextel\com\amdocs\util\Directory.java
> > > > > 18:33:44| Error Resolving qualified name PrintWriter
> > > > occurred in File
> > > > > C:\Projects\Nextel\com\amdocs\util\LogUtil.java
> > > > >
> > > > > String, File and PringWrite shouldn't give this problem.
> > > > Anyone knows how
> > > > > to
> > > > > fix it?
> > > > >
> > > > > Thank you
> > > > >
> > > > > Juan
> > > > >
************************************************************************
* 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
*
*************************************************************************