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 84934 - Convert to J2SE Project produces empty project.xml
Summary: Convert to J2SE Project produces empty project.xml
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: BlueJ (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 18:17 UTC by William Leonard
Modified: 2007-02-22 12:52 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 William Leonard 2006-09-14 18:17:41 UTC
Steps to reproduce:

1. Open a BlueJ project such as calculator
(http://www.bluej.org/netbeans/tutorial/calculator.zip).
2. Choose File > Convert to J2SE Project.
3. Try to open the project in NetBeans. It will fail because the projext.xml is
empty.
Comment 1 Milos Kleint 2007-01-31 07:53:53 UTC
brian,

the project should have opened for you automatically after conversion. I suppose
something failed on your computer. The same project conversion works for me on
macosx+jdk1.5.

can you attach your messages.log file to the bug?
Comment 2 William Leonard 2007-02-01 15:42:08 UTC
Hi Milos:

It looks like the problem was caused because I was running NBBJ under JDK 1.4 -
I don't recall why this was the case. 

Caused by: java.io.IOException: You need to have xerces.jar available to use
XMLUtil.write under JDK 1.4: java.lang.ClassNotFoundException:
org.apache.xml.serialize.XMLSerializer

Switching to 6.0 solves the problem. Closing the issue.

Thanks,
Brian