Skip to content

Commit 9950295

Browse files
Merge pull request #8976 from matthiasblaesing/jsp_update2
Enable parsing of JSP 3.0 (Jakarta) based sources
2 parents 7c4bd1a + 6b042fb commit 9950295

File tree

151 files changed

+10944
-1415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+10944
-1415
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,9 +2085,11 @@ jobs:
20852085
- name: web.beans
20862086
run: ant $OPTS -f enterprise/web.beans test
20872087

2088-
# Fails + Slow
2089-
# - name: web.core.syntax
2090-
# run: ant $OPTS -f enterprise/web.core.syntax test
2088+
- name: web.core
2089+
run: ant $OPTS -f enterprise/web.core test-unit
2090+
2091+
- name: web.core.syntax
2092+
run: ant $OPTS -f enterprise/web.core.syntax test-unit
20912093

20922094
# Fails + Slow
20932095
# - name: web.debug

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
/platform/o.n.bootstrap/launcher/windows/nbproject/Package-*.bash
5353
/enterprise/web.jspparser/test/unit/data/emptyWebProject/lib/*.jar
5454
/enterprise/web.jspparser/test/unit/data/project2/lib/*.jar
55+
/enterprise/web.jspparser/test/unit/data/project2_jakarta/lib/*.jar
5556

5657
# Database logs
5758
derby.log

enterprise/libs.elimpl/nbproject/project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<compile-dependency/>
3232
<run-dependency>
3333
<release-version>1</release-version>
34-
<specification-version>1.1</specification-version>
34+
<specification-version>1.62.0</specification-version>
3535
</run-dependency>
3636
</dependency>
3737
</module-dependencies>

enterprise/libs.jstl/external/binaries-list

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717
34A035507F0270F1C6B7722D728BD7B5A9BBAC4C jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:1.2.7
18+
3993114CD341AFA42B2C2841C88EF653FA7EF3EE jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:3.0.2
1819
F5A092DE3B2B087C14CA4B8D6F2C77A1F6802828 org.glassfish.web:jakarta.servlet.jsp.jstl:1.2.6
20+
078909A1354585B2A7A2D3B4E348FCEFF8B6D180 org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1

enterprise/libs.jstl/external/jakarta.servlet.jsp.jstl-1.2-license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Version: 1.2
33
License: EPL-v20
44
Description: Jakarta Standard Tag Library
55
Origin: Eclipse Foundation (https://projects.eclipse.org/projects/ee4j.jstl)
6-
Files: jakarta.servlet.jsp.jstl-1.2.6.jar, jakarta.servlet.jsp.jstl-api-1.2.7.jar
6+
Files: jakarta.servlet.jsp.jstl-1.2.6.jar, jakarta.servlet.jsp.jstl-api-1.2.7.jar, jakarta.servlet.jsp.jstl-3.0.1.jar, jakarta.servlet.jsp.jstl-api-3.0.2.jar
77

88

99
Eclipse Public License - v 2.0

enterprise/libs.jstl/manifest.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Manifest-Version: 1.0
22
OpenIDE-Module: org.netbeans.libs.jstl/1
33
OpenIDE-Module-Localizing-Bundle: org/netbeans/libs/jstl/Bundle.properties
4-
OpenIDE-Module-Implementation-Version: 123
4+
OpenIDE-Module-Implementation-Version: 124
55
OpenIDE-Module-Layer: org/netbeans/libs/jstl/layer.xml
66
AutoUpdate-Show-In-Client: false
77

enterprise/libs.jstl/nbproject/project.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ javac.compilerargs=-Xlint -Xlint:-serial
1919
javac.source=1.8
2020
release.external/jakarta.servlet.jsp.jstl-api-1.2.7.jar=modules/ext/jstl-api.jar
2121
release.external/jakarta.servlet.jsp.jstl-1.2.6.jar=modules/ext/jstl-impl.jar
22+
release.external/jakarta.servlet.jsp.jstl-api-3.0.2.jar=modules/ext/jstl-jakarta-api.jar
23+
release.external/jakarta.servlet.jsp.jstl-3.0.1.jar=modules/ext/jstl-jakarta-impl.jar
2224

23-
spec.version.base=2.65.0
25+
spec.version.base=2.66.0

enterprise/libs.jstl/src/org/netbeans/libs/jstl/Bundle.properties

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
# under the License.
1717

1818
# module description
19-
OpenIDE-Module-Name=Jakarta Standard Tag Library 1.2 (JSTL)
19+
OpenIDE-Module-Name=Jakarta Standard Tag Library (JSTL)
2020
OpenIDE-Module-Display-Category=Web
21-
OpenIDE-Module-Short-Description=Installs the Jakarta Standard Tag Library 1.2.7.
22-
OpenIDE-Module-Long-Description=Installs the Jakarta Standard Tag Library 1.2.7.
21+
OpenIDE-Module-Short-Description=Installs the Jakarta Standard Tag Library 1.2.7 and 3.0.2
22+
OpenIDE-Module-Long-Description=\
23+
Installs the Jakarta Standard Tag Library 1.2.7 and 3.0.2
2324

2425
# library display name
2526
jstl=JSTL 1.2.7
27+
jstl-jakarta=JSTL 3.0.2
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
5+
Licensed to the Apache Software Foundation (ASF) under one
6+
or more contributor license agreements. See the NOTICE file
7+
distributed with this work for additional information
8+
regarding copyright ownership. The ASF licenses this file
9+
to you under the Apache License, Version 2.0 (the
10+
"License"); you may not use this file except in compliance
11+
with the License. You may obtain a copy of the License at
12+
13+
http://www.apache.org/licenses/LICENSE-2.0
14+
15+
Unless required by applicable law or agreed to in writing,
16+
software distributed under the License is distributed on an
17+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18+
KIND, either express or implied. See the License for the
19+
specific language governing permissions and limitations
20+
under the License.
21+
22+
-->
23+
<library version="3.0" xmlns="http://www.netbeans.org/ns/library-declaration/3">
24+
<name>jstl-jakarta</name>
25+
<type>j2se</type>
26+
<localizing-bundle>org/netbeans/libs/jstl/Bundle</localizing-bundle>
27+
<volume>
28+
<type>classpath</type>
29+
<resource>jar:nbinst://org.netbeans.libs.jstl/modules/ext/jstl-jakarta-impl.jar!/</resource>
30+
<resource>jar:nbinst://org.netbeans.libs.jstl/modules/ext/jstl-jakarta-api.jar!/</resource>
31+
</volume>
32+
<volume>
33+
<type>javadoc</type>
34+
<resource>jar:nbinst://org.netbeans.modules.j2ee.platform/docs/javaee-doc-api.jar!/</resource>
35+
</volume>
36+
<properties>
37+
<!-- please check with [email protected] before/after updating this or "classpath" section -->
38+
<property>
39+
<name>maven-dependencies</name>
40+
<value>
41+
jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api:3.0.2:jar
42+
org.glassfish.web:jakarta.servlet.jsp.jstl:3.0.1:jar
43+
</value>
44+
</property>
45+
</properties>
46+
</library>

enterprise/libs.jstl/src/org/netbeans/libs/jstl/layer.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<file name="jstl.xml" url="jstl.xml">
3030
<attr name="displayName" bundlevalue="org/netbeans/libs/jstl/Bundle#jstl"/>
3131
</file>
32+
<file name="jstl-jakarta.xml" url="jstl-jakarta.xml">
33+
<attr name="displayName" bundlevalue="org/netbeans/libs/jstl/Bundle#jstl-jakarta"/>
34+
</file>
3235
</folder>
3336
</folder>
3437
</filesystem>

0 commit comments

Comments
 (0)