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 65526 - Can not create web service when src/java does not exist
Summary: Can not create web service when src/java does not exist
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
: 66887 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-30 14:15 UTC by Petr Jiricka
Modified: 2005-11-10 16:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
AssertionError thrown in the above scenario (533 bytes, text/plain)
2005-09-30 14:18 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2005-09-30 14:15:45 UTC
This bug will appear for example in the scenario when checking in a project in
CVS, and then checking it out with the prune directories option. So while the
followins steps to reproduce look awkward and unprobably, in practice this
situation will be more common:

1. Create a web project
2. Shutdown the IDE
3. Delete the src/java directory (java sources root)
4. Start the IDE
5. Create a web service in the web project ->
the following exception is thrown
Comment 1 Petr Jiricka 2005-09-30 14:18:04 UTC
Created attachment 25369 [details]
AssertionError thrown in the above scenario
Comment 2 Radko Najman 2005-10-17 12:36:45 UTC
*** Issue 66887 has been marked as a duplicate of this issue. ***
Comment 3 Milan Kuchtiak 2005-10-19 14:36:13 UTC
I fixed the wizard part. Wizard is being open now. Martin, please fix the
WSSupport part.

Diff:
http://websvc.netbeans.org/source/browse/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceWizard.java?r1=1.30&r2=1.31
Comment 4 Martin Grebac 2005-10-31 13:08:25 UTC
That's because you are trying to create WS in the test packages folder.
Comment 6 Lukas Jungmann 2005-11-10 16:26:04 UTC
v.