@@ -117,13 +117,14 @@ public String getQuickStartClasspath() {
117117 Boolean .getBoolean ("appengine.use.EE10" )
118118 ? new File (getSdkRoot (), "lib/tools/quickstart/quickstartgenerator-jetty12-ee10.jar" )
119119 : new File (getSdkRoot (), "lib/tools/quickstart/quickstartgenerator-jetty12.jar" );
120- String avoidJars = Boolean .getBoolean ("appengine.use.EE10" ) ? "ee8" : "ee10 " ;
120+ String avoidJars = Boolean .getBoolean ("appengine.use.EE10" ) ? "ee8" : "ee11 " ;
121121
122122 File jettyDir = new File (getSdkRoot (), JETTY12_HOME_LIB_PATH );
123123 for (File f : jettyDir .listFiles ()) {
124124 if (!f .isDirectory ()
125125 && !(f .getName ().contains ("cdi-" )
126126 || f .getName ().contains ("ee9" )
127+ || f .getName ().contains ("ee10" )
127128 || f .getName ().contains (avoidJars ))) {
128129 list .add (f .getAbsolutePath ());
129130 }
@@ -134,12 +135,17 @@ public String getQuickStartClasspath() {
134135 // Note: Do not put the Apache JSP files in the classpath. If needed, they should be part of
135136 // the application itself under WEB-INF/lib.
136137 if (Boolean .getBoolean ("appengine.use.EE10" )) {
137- for (String subdir : new String [] {"ee10 -annotations" }) {
138+ for (String subdir : new String [] {"ee11 -annotations" }) {
138139 for (File f : new File (jettyDir , subdir ).listFiles ()) {
139140 list .add (f .getAbsolutePath ());
140141 }
141142 }
142- for (String subdir : new String [] {"ee10-jaspi" }) {
143+ for (String subdir : new String [] {"annotations" }) {
144+ for (File f : new File (jettyDir , subdir ).listFiles ()) {
145+ list .add (f .getAbsolutePath ());
146+ }
147+ }
148+ for (String subdir : new String [] {"ee11-jaspi" }) {
143149 for (File f : new File (jettyDir , subdir ).listFiles ()) {
144150 list .add (f .getAbsolutePath ());
145151 }
@@ -171,9 +177,10 @@ private List<File> getImplLibFiles() {
171177 lf .addAll (getJetty12Jars ("logging" ));
172178 // We also want the devserver to be able to handle annotated servlet, via ASM:
173179 if (Boolean .getBoolean ("appengine.use.EE10" )) {
174- lf .addAll (getJetty12Jars ("ee10-annotations" ));
175- lf .addAll (getJetty12Jars ("ee10-apache-jsp" ));
176- lf .addAll (getJetty12Jars ("ee10-glassfish-jstl" ));
180+ lf .addAll (getJetty12Jars ("annotations" ));
181+ lf .addAll (getJetty12Jars ("ee11-annotations" ));
182+ lf .addAll (getJetty12Jars ("ee11-apache-jsp" ));
183+ lf .addAll (getJetty12Jars ("ee11-glassfish-jstl" ));
177184 } else {
178185 lf .addAll (getJetty12Jars ("ee8-annotations" ));
179186 lf .addAll (getJetty12Jars ("ee8-apache-jsp" ));
@@ -223,7 +230,8 @@ private List<File> getJetty12Jars(String subDir) {
223230 // in our runtime (private Jetty dependency we do not want to expose to the customer).
224231 if (!(f .getName ().contains ("-cdi-" )
225232 || f .getName ().contains ("jetty-servlet-api-" ) // no javax. if needed should be in shared
226- || f .getName ().contains ("ee9" ) // we want ee10 only. jakarta apis should be in shared
233+ || f .getName ().contains ("ee9" ) // we want ee11 only. jakarta apis should be in shared
234+ || f .getName ().contains ("ee10" ) // we want ee11 only. jakarta apis should be in shared
227235 || f .getName ().contains ("jetty-jakarta-servlet-api" ) // old
228236 )) {
229237 jars .add (f );
@@ -236,9 +244,9 @@ private List<File> getJetty12Jars(String subDir) {
236244 List <File > getJetty12JspJars () {
237245
238246 if (Boolean .getBoolean ("appengine.use.EE10" )) {
239- List <File > lf = getJetty12Jars ("ee10 -apache-jsp" );
240- lf .addAll (getJetty12Jars ("ee10 -glassfish-jstl" ));
241- lf .add (getJetty12Jar ("ee10 -servlet-" ));
247+ List <File > lf = getJetty12Jars ("ee11 -apache-jsp" );
248+ lf .addAll (getJetty12Jars ("ee11 -glassfish-jstl" ));
249+ lf .add (getJetty12Jar ("ee11 -servlet-" ));
242250 return lf ;
243251 }
244252 List <File > lf = getJetty12Jars ("ee8-apache-jsp" );
0 commit comments