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 148047 - run file doesn't work on JSP file
Summary: run file doesn't work on JSP file
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 148344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-23 14:30 UTC by Jindrich Sedek
Modified: 2008-09-29 10:32 UTC (History)
6 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 Jindrich Sedek 2008-09-23 14:30:13 UTC
Create new web project (on Glassfish V2 or Tomcat, maybe some more)
right click index.jsp 
select run file

action fails in compilation - file is not started and browser is not opened 
output.log:
--------------------------------
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: /export/home/jindra/NetBeansProjects/WebApplication8/build/web/WEB-INF/classes
Created dir: /export/home/jindra/NetBeansProjects/WebApplication8/build/web/META-INF
Copying 1 file to /export/home/jindra/NetBeansProjects/WebApplication8/build/web/META-INF
Copying 3 files to /export/home/jindra/NetBeansProjects/WebApplication8/build/web
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Created dir: /export/home/jindra/NetBeansProjects/WebApplication8/build/generated/src
Created dir: /export/home/jindra/NetBeansProjects/WebApplication8/build/generated/classes
/export/home/jindra/NetBeansProjects/WebApplication8/nbproject/build-impl.xml:454: The following error occurred while 
executing this line:
/export/home/jindra/NetBeansProjects/WebApplication8/nbproject/build-impl.xml:211: 
org.netbeans.modules.java.source.ant.UserCancel
BUILD FAILED (total time: 1 second)
Comment 1 Petr Jiricka 2008-09-23 15:47:48 UTC
I can reproduce when Deploy on Save is on. When I turn off Deploy on Save, it works fine. Assigning to Petr H.
Comment 2 Vince Kraemer 2008-09-23 16:48:43 UTC
I have been seeing org.netbeans.modules.java.source.ant.UserCancel when I try to Run a web app project that contains a
web service when GF V3 is the target....  It may be unrelated, but I figured that the data might be useful in this instance.
Comment 3 Lukas Jungmann 2008-09-23 16:51:34 UTC
re "web service...": there's already issue 147603 for that
Comment 4 Vince Kraemer 2008-09-23 17:26:20 UTC
The other issue appears to be related to WS client...  I should have said 'implements a WS' instead of 'contains a ws'
Comment 5 Jan Lahoda 2008-09-24 07:10:46 UTC
This change should fix this:
http://hg.netbeans.org/main?cmd=changeset;node=fe5bdd05af6f
Comment 6 Quality Engineering 2008-09-24 17:33:02 UTC
Integrated into 'main-golden', will be available in build *200809241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fe5bdd05af6f
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #148047: run file doesn't work on JSP file
Comment 7 Jan Lahoda 2008-09-25 15:18:09 UTC
*** Issue 148344 has been marked as a duplicate of this issue. ***
Comment 8 Jindrich Sedek 2008-09-29 10:32:14 UTC
verified.
NetBeans IDE Dev (Build 200809290201)