Anil,
Looks like you may be referencing classes in your operations that do not exist in your model. Is this the case? If so then see below: ///// SUMMARY: When generating code the following warning is received: 15:32:50| WARNING: Class Logical View::car::Vehicle - operation display - the type of parameter gs cannot be resolved - no import will be generated BODY: This warning can occur after reverse engineering code that contains java core classes in method arguments and return values and are not defined any where else other than the import statement. These classes are not added to the model in the reverse engineering process. When forward engineering, Rose does not know where to find these classes and reports a warning. For example: package car; import java.awt.*; class Vehicle { Double gasAmount = 10; void display(Graphics gs) { gs.drawString(Double.toString(gasAmount) + " gallons of gas in the car."); } } Reverse engineering will produce the java.lang packages with the class Double. The car package and Vehicle class will also be added to the model. The packages java.awt and the class Graphics will not be added to the model. Adding the java classes in their appropriate packages to the logical view will allow Rose to resolve the references. This can be done by hand, adding only the necessary classes, or by adding the appropriate java framework to the model. ///// Regards Vishu ********** Annamalai "Vishu" Viswanathan -- [EMAIL PROTECTED] Rose Technical Support Engineer Rational Customer Service - Committed to Service Excellence SCP Certified: http://www.rational.com/support/scp.jsp Rational User Conference 2002.....Freedom to Create! Call for Papers Now Open at http://www.rational.com/ruc August 18-22, 2002 Lake Buena Vista, Florida ********** -----Original Message----- From: Anil Palat [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 10:32 PM To: Rose Forum Subject: (ROSE) import functionality for java code Hi all, Iam facing the following problem when generating the code out of java classes. When I declare methods and their parameters Rose provides the fundamental java classes to be selected as their return types and identifiers respectively.But when I generate the code out of the same class,it throws a warning saying :"WARNING: Class Logical View::the::name::of the ::class - the return type of operation cannot be resolved - no import will be generated" And the code generation works fine except the import statement. Why is this happening? Should I explicitly declare the classes to be imported in the class diagram ? If so how do I do that ? Thanks in advance Anil --------------------------------------------- http://mail.indiainfo.com India's first ISO certified portal Check world time at http://time.indiainfo.com ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * 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 ************************************************************************* ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * 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 *************************************************************************