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 91266 - GenerationUtils#createClass and #createInterface do not work
Summary: GenerationUtils#createClass and #createInterface do not work
Status: RESOLVED DUPLICATE of bug 90343
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks: 90607
  Show dependency tree
 
Reported: 2006-12-19 10:42 UTC by Erno Mononen
Modified: 2006-12-20 15:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2006-12-19 10:42:28 UTC
The methods in o.n.m.j2ee.common.source.GenerationUtils that create classes / 
interfaces from templates, i.e. createClass(..) and createInterface(..) don't 
work. The returned file object representing the created class contains only 
javadoc and a string "package", like the following:

/*
 * NewTestClass.java
 *
 * Created on 19 December 2006, 11:38
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package  

The respective test cases fail as well.
Comment 1 Andrei Badea 2006-12-20 15:08:43 UTC

*** This issue has been marked as a duplicate of 90343 ***