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 131827

Summary: Web project with existing sources doesn't creates nbbuild.xml
Product: javaee Reporter: Dan Kolar <dkolar>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: CLOSED FIXED    
Severity: blocker CC: pjiricka
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Dan Kolar 2008-04-02 13:53:46 UTC
Product Version: NetBeans IDE Dev (Build 200803311426)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19

When creating new Web project with existing sources, if build.xml is present in project folder, wizard asks for the name
of new build script (default  is nbbuild.xml), but this file is never created after finishing the wizard and old
build.xml is used.
In wizard we clearly state Web project with existing sources uses IDE generated script.
Comment 1 David Konecny 2008-04-03 01:50:45 UTC
Regression caused by recent wizard refactorings. The fix is simple and was done in trunk:

pass build script filename entered in wizard to wizard instantiation:
http://hg.netbeans.org/main?cmd=changeset;node=5a431cb149fb

enable alternative build.xml selection in wizard only for web project type:
http://hg.netbeans.org/main?cmd=changeset;node=387fe7da004b

This is candidate for NB6.1 inclusion.
Comment 2 David Konecny 2008-04-06 23:19:10 UTC
Dan, do you want to fix this for NB6.1? 
Comment 3 Dan Kolar 2008-04-07 08:44:03 UTC
Sure.
Comment 4 David Konecny 2008-04-07 12:12:59 UTC
Can you verify in trunk please?
Comment 5 Dan Kolar 2008-04-07 13:12:40 UTC
v. in trunk
Comment 6 Martin Schovanek 2008-04-07 17:29:41 UTC
Please integrate it into release61 asap.
Comment 7 David Konecny 2008-04-07 23:58:10 UTC
Integrated to 6.1 as: 1b7f87d3fe4b and 2a1cc2955ea8
Comment 8 Dan Kolar 2008-04-08 12:18:43 UTC
v. in release61