If I have a package name that extend across 2 different directories, for example:
$HOME/apple/many/some/few/SomeThing.java
$HOME/orange/many/some/few/SomeModel.java
$HOME/orange/many/some/few/extinct/SomePane.java
=> contains a reference to class: SomeModel by specifying:
import many.some.few.*;
A)
CLASSPATH=$HOME/apple:$HOME/orange
If you try to reverse engineer SomePane.java using the above CLASSPATH
(A), Rose 2000e
will produce an error saying it can't resolve class 'SomeModel' in
SomePane.java.
B)
CLASSPATH=$HOME/orange:$HOME/apple
If you try to reverse engineer SomePane.java using the above CLASSPATH (B), Rose 2000e will not complaint.
C)
If you explicitly expand the import statement in SomePane.java to import
many.some.few.SomeModel;
and reverse engineer SomePane.java, It will work !
D)
CLASSPATH=$HOME
If you try to reverse engineer SomePane.java using the above CLASSPATH
(D), Rose 2000e will
not complaint.... (I don't know how Rose work anymore !)
Conclusion:
Rose 2000e do not exhaust the CLASSPATH entries when trying to
resolve a class. It stops at
the first matching package ?
"Nallamilli, Surya" wrote:
Check out the following URL:http://www.rational.com/technotes/rose_html/Rose_Java_html/technote_4791.html-Sonny-----Original Message-----I am unable to reverse engineer.when ever I try to reverse engineer it say CLASSPATH envirnoment variable may be incorrect.
From: kalla praveen [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 12:12 PM
To: [EMAIL PROTECTED]
Subject:please send me show info the same.
Thanks,
Pkalla
Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.
