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.
Summary: | JSP scriptlet code completion does not work if freeform project has no src folder | ||
---|---|---|---|
Product: | javaee | Reporter: | marczi <marczi> |
Component: | JSP | Assignee: | Tomas Mysik <tmysik> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, dkonecny, non_migrated_user, pjiricka, tslota |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Sample freeform project that works in 5.5.1 but not in 6.0 |
Description
marczi
2007-11-17 10:25:05 UTC
Created attachment 53155 [details]
Sample freeform project that works in 5.5.1 but not in 6.0
Tomasi I think you are more competent to evaluate this issue, it is apparently a classpath problem An easy workaround for this issue is to add some "dummy" folder as your Java Source (just create an empty folder and add it to Java Sources using Project Properties). I'll write more information (and file some more issues) tomorrow. Thanks for reporting. This issue is fixed, but it's not the most correct fix - if no java source roots are available then the currently active platform is returned. Workaround form the previous comment still works of course. I filed two enhancements, see issue #122368 and issue #122369. Checking in web/freeform/nbproject/project.xml; /cvs/web/freeform/nbproject/project.xml,v <-- project.xml new revision: 1.24; previous revision: 1.23 done Checking in web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java; /cvs/web/freeform/src/org/netbeans/modules/web/freeform/WebModules.java,v <-- WebModules.java new revision: 1.23; previous revision: 1.22 done Should this issue be fixed in a patch for the update center? It was mentioned in the NB 6.0 NetCat acceptance feedback: http://qa.netbeans.org/processes/cat/60/results/editor_comments.html Reporter, can you please verify the fix in the latest NB build from trunk? The zip is available here http://deadlock.netbeans.org/hudson/job/trunk/4630/artifact/nbbuild/dist/zip/ thanks for your help Since the issue isn't still verified the fix will be in patch2. classpath seems to be ok - items from libraries are invoked in code completion and no error are highlighted.... verified. NetBeans IDE Dev (Build 200801310006) unfortunately jsp editing is influenced by #126401 in actual build - please take a look at this issue while porting fix into patch The fix has been ported into the release601_fixes branch. Checking in src/org/netbeans/modules/web/freeform/WebModules.java; /cvs/web/freeform/src/org/netbeans/modules/web/freeform/Attic/WebModules.java,v <-- WebModules.java new revision: 1.21.6.1; previous revision: 1.21 done Checking in nbproject/project.xml; /cvs/web/freeform/nbproject/Attic/project.xml,v <-- project.xml new revision: 1.23.8.1; previous revision: 1.23 done |