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 155125 - rest ws from patterns created in a wrong source root
Summary: rest ws from patterns created in a wrong source root
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-12-10 12:51 UTC by Lukas Jungmann
Modified: 2009-04-09 19:33 UTC (History)
2 users (show)

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 Lukas Jungmann 2008-12-10 12:51:40 UTC
-create new maven webapp
-create new rest from patterns (use singleton, set package name and finish the wizard)

=> file is created in $PROJECT_ROOT instead of $PROJECT_ROOT/src/main/java despite of source root in the wizard is set
correctly (pointing to sources folder) in the wizard

this is also reproducible by tests in ant based webapps for the first created rest service with the difference that the
resource is created in $PROJECT_ROOT/web instead of $PROJECT_ROOT/src/java
Comment 1 Quality Engineering 2009-02-02 20:32:22 UTC
Integrated into 'main-golden', will be available in build *200902021401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ba77d82e5c98
User: Lukas Jungmann <jungi@netbeans.org>
Log: WA for IZ#155125 in tests
Comment 2 Ayub Khan 2009-04-03 16:17:34 UTC
Evaluation:

I would like to waive this issue for 6.7, since
- There is no resource to work on this issue.
Comment 3 Milan Kuchtiak 2009-04-06 14:39:51 UTC
Isn't that an easy fix ?

I've already fixed the similar issue in REST from Entity Classes :
http://hg.netbeans.org/web-main/rev/cff67df9b5e9
Comment 4 Antonin Nebuzelsky 2009-04-06 16:50:23 UTC
Should be fixed if easy as Milan suggests.
Comment 5 Milan Kuchtiak 2009-04-07 15:33:07 UTC
Fixed.

Details:
http://hg.netbeans.org/main?cmd=changeset;node=6f76281a7f70
Comment 6 Milan Kuchtiak 2009-04-07 15:56:12 UTC
Also removed test workaround:
http://hg.netbeans.org/main?cmd=changeset;node=5bff76b18629
Comment 7 Quality Engineering 2009-04-09 19:33:43 UTC
Integrated into 'main-golden', will be available in build *200904091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6f76281a7f70
User: mkuchtiak@netbeans.org
Log: #155125: fixed problem with incorrect source root