Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] TCK compile failure due to javax.ejb => jakarta.ejb change for TCK master branch...

Scott,
Not sure if you want to use these, at least temporarily...

https://search.maven.org/artifact/jakarta.platform/jakarta.jakartaee-api/9.0.0-RC1/jar
https://search.maven.org/artifact/jakarta.platform/jakarta.jakartaee-web-api/9.0.0-RC1/jar

I've noticed a couple of newer RCs come out recently, so these cummulative jars are not completely up-to-date, but it should get you the basics quite quickly.  Just an idea...


---------------------------------------------------
Kevin Sutter
STSM, MicroProfile and Jakarta EE architect @ IBM
e-mail:  sutter@xxxxxxxxxx     Twitter:  @kwsutter
phone: tl-553-3620 (office), 507-253-3620 (office)    
LinkedIn:
https://www.linkedin.com/in/kevinwsutter



From:        Scott Marlow <smarlow@xxxxxxxxxx>
To:        jakartaee-tck-dev@xxxxxxxxxxx
Date:        03/25/2020 12:05
Subject:        [EXTERNAL] [jakartaee-tck-dev] TCK compile failure due to javax.ejb => jakarta.ejb change for TCK master branch...
Sent by:        jakartaee-tck-dev-bounces@xxxxxxxxxxx




Hi,

The https://github.com/eclipse-ee4j/jakartaee-tck/commit/e8e07d2103b45c6d189fe7f811fc22dfa8fcf848 added the following to build_jakartaeetck.sh:

"
wget --progress=bar:force --no-cache https://repo1.maven.org/maven2/jakarta/platform/jakarta.jakartaee-api/9.0.0-RC1/jakarta.jakartaee-api-9.0.0-RC1.jar
mv jakarta.jakartaee-api-9.0.0-RC1.jar $GF_HOME/glassfish5/glassfish/modules
"

I can see that jakarta.jakartaee-api-9.0.0-RC1.jar contains jakarta.ejb.* classes, but I suspect that we need to do more for switching to build the TCK with use of jakarta.ejb in TCK sources, as the nightly build compile step fails to import jakarta.ejb classes:

"
compile:
[ts.javac] Compiling 65 source files to /home/jenkins/agent/workspace/jakartaee-tck_master/classes
[ts.javac] Picked up JAVA_TOOL_OPTIONS: -Xmx6G
[ts.javac] /home/jenkins/agent/workspace/jakartaee-tck_master/src/com/sun/ts/tests/interop/csiv2/common/CSIv2AppClient.java:25: error: package jakarta.ejb does not exist
[ts.javac] import jakarta.ejb.*;

"
Should we replace {ri.modules}/jakarta.ejb-api.jar in the ts.jte with jakarta.jakartaee-api-9.0.0-RC1.jar (either in the Jenkins job or via change to ts.jte)?
Will the GlassFish jakarta.jakartaee-api always contain all of the spec api classes?  If yes, then it may work to update ts.jte to use that (once all of the javax references are changed to jakarta namespace).

Scott
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev




Back to the top