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 54167 - Servlet API and JSP API Javadoc should be removed
Summary: Servlet API and JSP API Javadoc should be removed
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 54076 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-28 16:33 UTC by Petr Jiricka
Modified: 2005-03-17 14:55 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 Jiricka 2005-01-28 16:33:34 UTC
Currently we include the Servlet and JSP Javadoc
with the IDE:

enterprise1/docs/servlet24-docs.zip
enterprise1/docs/jsp20-docs.zip

These are unnecessary and should be removed,
because this javadoc is already covered in 

enterprise1/docs/j2eeri-1_4-doc-api.zip

Relevant libraries and Tomcat platform should be
redirected to point to j2eeri-1_4-doc-api.zip
Comment 1 Pavel Buzek 2005-01-28 16:41:50 UTC
*** Issue 54076 has been marked as a duplicate of this issue. ***
Comment 2 zikmund 2005-01-31 08:16:44 UTC
As mentioned in duplicate issue 54076. We should remove API JARs as
well. Even for both J2EE 1.3/1.4 (i.e. JSP 1.2/2.0 and Servlet 2.3/2.4).
Comment 3 Petr Jiricka 2005-01-31 13:47:31 UTC
54076 is related, but not the same. So there are really two subparts.

Regarding the jar files in the library manager, Petr Pisl pointed out
that the jar files can be useful when developing a tag library as a
Java project. The question is how often this use case arises.

Comment 4 zikmund 2005-01-31 13:57:52 UTC
I have discussed it with Stepan a week ago. Conclusion was that JAR
files can be used from bundled Tomcat as libraries - added manually by
user or automatically by NetBeans.
I don't think that we still need bundle those JARs.
Comment 5 Petr Jiricka 2005-02-01 09:29:29 UTC
Well, that's another (third) issue. To summarize, the problems are:

1/ Whether to bundle Javadoc

The answer is no, we don't need to bundle Javadoc

2/ Whether servlet/jsp API should appear in the library repository

Although there is the taglib development usecase, I am leaning towards
not including them in the repository. Will we need to do something for
migrating 4.0 projects in that case?

3/ Whether to bundle the API jar files in the IDE. 

For servlet 2.4/JSP 2.0 jars - in theory it would be possible to
remove them, however this is risky for 4.1. The JSP parser still needs
these jars. 

For servlet 2.3/JSP 1.2 jar - we can definitely remove this one, it's
not needed.
Comment 6 zikmund 2005-02-01 09:43:32 UTC
2/
  Migrating 4.0 projects is covered by issue 54077.
3/
  servlet 2.4/JSP 2.0 - I still don't understand why we can't use APIs
from server (or at least from bundled Tomcat)
Comment 7 Petr Pisl 2005-02-17 15:53:40 UTC
Have to be solved in 4.1
Comment 8 Sherold Dev 2005-02-22 14:35:43 UTC
References to the servlet24-docs.zip and the jsp20-docs.zip removed 
from the tomcatint module, the j2eeri-1_4-doc-api.zip is now used 
instead. 
 
Commit log: 
 
Checking in 
src/org/netbeans/modules/tomcat5/TomcatPlatformImpl.java; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatPlatformImpl.java,v  
<--  TomcatPlatformImpl.java 
new revision: 1.7; previous revision: 1.6 
done 
 
Comment 9 Marek Fukala 2005-03-14 15:48:51 UTC
removed servlet 2.3 library.

Checking in layer.xml;
/cvs/web/servletapi23/src/org/netbeans/modules/servletapi23/layer.xml,v  <-- 
layer.xml
new revision: 1.2; previous revision: 1.1
done
Removing servlet23.xml;
/cvs/web/servletapi23/src/org/netbeans/modules/servletapi23/servlet23.xml,v  <--
 servlet23.xml
new revision: delete; previous revision: 1.4
done

removed servlet 2.4 and JSP 2.0 libraries.

Checking in layer.xml;
/cvs/web/servletapi24/src/org/netbeans/modules/servletapi24/layer.xml,v  <-- 
layer.xml
new revision: 1.3; previous revision: 1.2
done
Removing jsp20.xml;
/cvs/web/servletapi24/src/org/netbeans/modules/servletapi24/jsp20.xml,v  <-- 
jsp20.xml
new revision: delete; previous revision: 1.7
done
Removing servlet24.xml;
/cvs/web/servletapi24/src/org/netbeans/modules/servletapi24/servlet24.xml,v  <--
 servlet24.xml
new revision: delete; previous revision: 1.7
done
Comment 10 Marek Fukala 2005-03-15 07:20:40 UTC
removed servlet24-docs and jsp20-docs zip files from web/external.

Checking in ide/golden/files-layout.txt;
/cvs/ide/golden/files-layout.txt,v  <--  files-layout.txt
new revision: 1.33; previous revision: 1.32
done
Checking in web/external/build.xml;
/cvs/web/external/build.xml,v  <--  build.xml
new revision: 1.35; previous revision: 1.34
done
Removing web/external/jsp20-docs.zip.scrambled;
/cvs/web/external/jsp20-docs.zip.scrambled,v  <--  jsp20-docs.zip.scrambled
new revision: delete; previous revision: 1.1
done
Removing web/external/servlet24-docs.zip.scrambled;
/cvs/web/external/servlet24-docs.zip.scrambled,v  <--  servlet24-docs.zip.scrambled
new revision: delete; previous revision: 1.1
done
Checking in web/jspsyntax/build.xml;
/cvs/web/jspsyntax/build.xml,v  <--  build.xml
new revision: 1.45; previous revision: 1.44
done
Checking in web/servletapi24/build.xml;
/cvs/web/servletapi24/build.xml,v  <--  build.xml
new revision: 1.8; previous revision: 1.7
done
Comment 11 Marek Fukala 2005-03-17 14:55:31 UTC
I have filled a separate Issue #56610 for the last remining task - remove
servletapi23 module. The rest has already been fixed.