Sorry, that's what worked for me. I also use Rose 98.
Anyone else knows what could be going on here?
---
�zg�r G�N <[EMAIL PROTECTED]> wrote:
hi Jorge
i did what you write but it couldnt work. it gave the same error
definition,
no package declaration. there must be different problem. i use rose 98. if
you know another solution pls inform me.
thanks again
----- Original Message -----
From: Jorge Handl <[EMAIL PROTECTED]>
To: �zg�r G�N <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 5:29 PM
Subject: Re: (ROSE) Java Reverse Engineering
No problem:
Lets assume you have a java file like this in the project directory "c:
\myproject\":
====================================
public class MyClass {
MyClass() {
// do something
}
}
====================================
To be able to reverse-engineer this class you need to change it to:
====================================
package mypackage;
public class MyClass {
MyClass() {
// do something
}
}
====================================
and move the file to the directory "c:\myproject\mypackage\"
That should work.
---
�zg�r G�N <[EMAIL PROTECTED]> wrote:
hi Jorge
thanks for your help but i couldnt understand exactly.
could you explain step by step.
i will be happy if it is possible to send me simple java code.
thanks again
----- Original Message -----
From: Jorge Handl <[EMAIL PROTECTED]>
To: �zg�r G�N <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 4:44 PM
Subject: Re: (ROSE) Java Reverse Engineering
> �zg�r G�N <[EMAIL PROTECTED]> wrote:
>
> I wanted to do a reverse-engineering on the .java files. The problem is
> that I get an error message stating that
> there is no packet declaration.
> Any help? Thanks!
HI, I had the same problem with Rose 98. A Rational representative told me
to install the 98 SP1 version where this problem was fixed.
It wasn�t. I had to add the package declaration to each of my java files.
Just add "package xxx;" to the beginning of each file and place them in a
subdirectory of the project named "xxx".
************************************************************************
* 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
*
*************************************************************************