This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 82265 - Generate Code doesn't generate code for deleted java source files
Summary: Generate Code doesn't generate code for deleted java source files
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 12:56 UTC by Alexandr Scherbatiy
Modified: 2006-10-20 10:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Java Application and UML project (108.08 KB, image/png)
2006-08-09 12:59 UTC, Alexandr Scherbatiy
Details
A lot of exception in the message.log file (65.56 KB, text/plain)
2006-08-09 13:01 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-08-09 12:56:38 UTC
Steps to reproduce:
- Create a java application .
- Add 'standart' package into the java project
- Add 'TestStandart' class into the 'standart' package
This is  'TestStandart' class code:
 
------------------------------------------------------------------------------------------
  package standart;

  public class  TestStandart extends javax.swing.JFrame implements
java.io.Serializable {
    
    private javax.swing.JMenuBar bar = new javax.swing.JMenuBar();
    
    public java.io.Reader getReader(java.io.File file) throws java.io.IOException {
        return null;
    }
  }
 
------------------------------------------------------------------------------------------


- Create a UML 'Java-Platform Model' project and synchronize it with
  the java application
- Close the IDE
- Go to the location of the java application and  remove manually 'standart' package
  from file-system
- Start the IDE
- Select the UML project and invoke 'Generate Code'
- Go to the Java application

  Source code is not generated for 'standart.TestStandart' class
  Source code is mistakenly generated for 'java.io.Serializable' class

  See also log file.
Comment 1 Alexandr Scherbatiy 2006-08-09 12:59:43 UTC
Created attachment 32700 [details]
Java Application and UML project
Comment 2 Alexandr Scherbatiy 2006-08-09 13:01:12 UTC
Created attachment 32701 [details]
A lot of exception in the message.log file
Comment 3 Craig Conover 2006-08-10 01:12:58 UTC
Reviewed: this issue is still happening as described.
Comment 4 Craig Conover 2006-10-20 02:07:04 UTC
Test case scenario is invalid with roundtrip redesign. Reopen with new repro
steps if similar scenario still exists.
Comment 5 Andrew Korostelev 2006-10-20 10:44:39 UTC
verified in all-nbms-griffin-061019_8
is not reproducible with new CodeGen