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 73671 - Extending Jsp Parser API
Summary: Extending Jsp Parser API
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP Parser (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2006-03-16 16:31 UTC by Petr Pisl
Modified: 2006-08-21 11:01 UTC (History)
1 user (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 Petr Pisl 2006-03-16 16:31:15 UTC
I'm asking for a review for compatible API change. The target is NetBeans 5.5.

The main reason for this change is that we want to use jsp parser, which is
javaee5 compatible. Now we used a parser  from glassfish. The parser now exclude
from the web module classpath "systems" jars, which are part of javaee. For
example the system jars include jsf or jstl. The parser then work with these
system jars, which are not on the same classloader as the web module. So the ide
has to provide this server system classloader to the parser to be able parse
pages which use a system jar. These system jars should be expose from the target
server through  J2EE Platform.

I propose to add method that will access the jars for the parser, which are not
libraries for the project, but the project needs these libraries. Usually in
design time and runtime these jars are a part of the target server.

In this time, there is only one client of this api - the jsp editor. 


/** This method returns the entries, which are needed for parsing jsp files, but are
* not directly included in the project (as library). For example there are
taglibraries
* which are offered by the target server(J2EE Platform), so the project has
these entries
* on the classpath, but they are not defined by the project. It can return null.  
         */
        public abstract File[] getExtraClasspathEntries();
Comment 1 Petr Pisl 2006-03-27 15:31:48 UTC
If there are no comments, I'm going commit the changes into release55 branch.
Comment 2 Petr Jiricka 2006-04-03 12:48:53 UTC
Isn't this issue completed?
Comment 3 Petr Pisl 2006-04-03 13:26:50 UTC
Yes, I commited the changes on Thursday.
Comment 4 Jindrich Sedek 2006-08-21 11:01:35 UTC
v.