Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 27 just update the bundle symbolic name #30

Merged
merged 1 commit into from Dec 13, 2018

Conversation

tomjenkinson
Copy link
Contributor

@tomjenkinson tomjenkinson commented Dec 11, 2018

Manifest-Version: 1.0
Bundle-License: http://www.eclipse.org/legal/epl-2.0, https://www.gnu.
org/software/classpath/license.html
Bundle-SymbolicName: jakarta.transaction-api
Archiver-Version: Plexus Archiver
Built-By: still
Require-Bundle: system.bundle
Bnd-LastModified: 1544540660670
Implementation-Vendor-Id: org.glassfish
Bundle-DocURL: https://github.com/eclipse-ee4j
Import-Package: javax.enterprise.context,javax.enterprise.util,javax.i
nterceptor;version="[1.2,1.2.98)",javax.transaction;version="1.3.2",j
avax.transaction.xa
Export-Package: javax.transaction;uses:="javax.interceptor,javax.trans
action.xa,javax.enterprise.util,javax.enterprise.context";version="1.
3.2"
Bundle-Name: javax.transaction API
Extension-Name: javax.transaction
Bundle-Description: Java(TM) JTA 1.3 API Design Specification
Automatic-Module-Name: java.transaction
Implementation-Version: 1.3.2
Bundle-ManifestVersion: 2
Specification-Vendor: Oracle Corporation
Bundle-Vendor: EE4J Community
Tool: Bnd-0.0.255
Implementation-Vendor: EE4J Community
Bundle-Version: 1.3.2
Created-By: 1.8.0_144 (Oracle Corporation)
Build-Jdk: 1.8.0_144
Specification-Version: 1.3

@tomjenkinson
Copy link
Contributor Author

@lukasj is this what you were thinking about from not changing the extension name?

@tomjenkinson
Copy link
Contributor Author

retest this please

pom.xml Outdated
@@ -147,7 +147,7 @@
</supportedProjectTypes>
<instructions>
<Bundle-Version>${spec.bundle.version}</Bundle-Version>
<Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
<Bundle-SymbolicName>jakarta.transaction-api</Bundle-SymbolicName>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can keep ${spec.bundle.symbolic-name} property here with spec-version-maven-plugin 2.0 - it returns proper value.
Edit: See https://github.com/eclipse-ee4j/glassfish-spec-version-maven-plugin/pull/6/files#diff-825ab6ce3d5d0ca3c027bdfc8e5a8c61 buildBundleSymbolicName() method which generates property content now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Signed-off-by: Tom Jenkinson <tom.jenkinson@redhat.com>
@tomjenkinson
Copy link
Contributor Author

@tomjenkinson
Copy link
Contributor Author

@bhatpmk just to keep you in the loop too re my request for TCK run^^

@anajosep
Copy link

@anajosep - please can you run TCK on https://jenkins.eclipse.org/jta/job/eclipse-ee4j_jta-api-pulls/60/artifact/glassfish/appserver/distributions/glassfish/target/glassfish.zip
@tomjenkinson
The Test results are available here:
https://jenkins.eclipse.org/jakartaee-tck/job/jakartaeetck-certification/32/junit-reports-with-handlebars/testSuitesOverview.html

The JTA suite is clean. The sigtest failures are because this GF bundle did not have jakarta prefixed jars. Probably it was not build with the latest from GF EE4J_8 branch.

@tomjenkinson
Copy link
Contributor Author

@anajosep this is how I am building it, do you think I am doing something wrong:

git clone https://github.com/eclipse-ee4j/glassfish.git
cd glassfish
git checkout -b EE4J_8
mvn -Pstaging clean install -Djavax.transaction-api.version=$SNAPSHOT_VERSION

@anajosep
Copy link

@anajosep this is how I am building it, do you think I am doing something wrong:

git clone https://github.com/eclipse-ee4j/glassfish.git
cd glassfish
git checkout -b EE4J_8
mvn -Pstaging clean install -Djavax.transaction-api.version=$SNAPSHOT_VERSION

Since we are trying to checkout an existing branch, I think you should be using the command as
git checkout EE4J_8. (without the -b option)
If you use the option -b in the git checkout command, I think it would create a new local branch from the latest master. That could be a reason why the jakarta prefixed jars were missing in the bundle.

@tomjenkinson
Copy link
Contributor Author

@anajosep of course - sorry! Would you like me to provide a different zip or do you think it is safe as it includes my JTA API?

@tomjenkinson
Copy link
Contributor Author

retest this please

@anajosep
Copy link

@anajosep of course - sorry! Would you like me to provide a different zip or do you think it is safe as it includes my JTA API?
I think another run is not required, since the JTA part got tested with the CTS run and it was clean. Please go ahead with the merge.

@tomjenkinson
Copy link
Contributor Author

Thanks! I am having some trouble with building the glassfish on that branch atm anyway

@tomjenkinson tomjenkinson merged commit 559258b into jakartaee:EE4J_8 Dec 13, 2018
@tomjenkinson tomjenkinson deleted the issue27 branch September 4, 2019 12:35
@tomjenkinson
Copy link
Contributor Author

For info the revert of the extension name was itself reverted: #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants