Script to update/install the latest Jakarta EE 9.1 TCK snapshot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Script to update/install the latest Jakarta EE 9.1 TCK snapshot

David Blevins-2
It's a bit of a pain to be always manually downloading and installing the new Jakarta EE 9.1 TCK snapshots, so I made a convenience script to do it:

 - https://github.com/apache/tomee-tck/blob/jakartaee9-tck/update91tck.sh

To run this script you must ensure you have at least this in your ~/.m2/settings.xml and it will do the rest of the work for you:

    <settings>
      <profiles>
        <profile>
          <id>jakartaee-tck</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <jakartaee91.cts.home>/Users/dblevins/work/tcks/foo</jakartaee91.cts.home>
            <jakartaee91.ri.home>/Users/dblevins/work/tcks/glassfish6/glassfish</jakartaee91.ri.home>
          </properties>
        </profile>
      </profiles>
    </settings>

Ensure you replace `/Users/dblevins/work/tcks` with the location of where you want TCKs installed, but leave the `foo` part.  The script will assume `foo` is the location of a TCK installation and attempt to put the new TCK next to it.  The `foo` directory does not need to exist, but the parent directory does.

Ensure you have `<jakartaee91.ri.home>` setup to point at an actual GlassFish 6 installation.  The script will not do this part.


--
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com


smime.p7s (1K) Download Attachment