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.
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
*** Issue 54076 has been marked as a duplicate of this issue. ***
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).
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.
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.
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.
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)
Have to be solved in 4.1
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
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
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
I have filled a separate Issue #56610 for the last remining task - remove servletapi23 module. The rest has already been fixed.