Skip to content

Instantly share code, notes, and snippets.

Avatar

David Blevins dblevins

View GitHub Profile
View cleanverify.sh
#!/bin/bash
mkdir /tmp/test
cd /tmp/test
curl -s -O https://archive.apache.org/dist/tomee/KEYS
curl -s -O https://archive.apache.org/dist/tomee/tomee-9.0.0-M7/apache-tomee-9.0.0-M7-webprofile.tar.gz
curl -s -O https://archive.apache.org/dist/tomee/tomee-9.0.0-M7/apache-tomee-9.0.0-M7-webprofile.tar.gz.asc
echo "
list keys
View GenericArgumentComparatorTest.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@dblevins
dblevins / verify.sh
Created Apr 7, 2021
Verify an Apache TomEE binary
View verify.sh
#!/bin/bash
FILE="${1?Specify a TomEE zip, war or tar.gz to verify}"
SHA="$FILE.sha512"
[ -f "$SHA" ] || {
echo "Downloading sha512 for $FILE"
BIN="$(basename "$FILE")"
VER="$(echo "$BIN" | perl -pe 's,apache-(tomee-.*?)-[a-z]+\.(zip|tar.gz|war),$1,')"
curl -s "https://downloads.apache.org/tomee/$VER/$BIN.sha512" > "$SHA"
@dblevins
dblevins / pom.xml
Created Apr 7, 2021
Jakarta EE 8 TCK pom.xml usable for opening/importing the TCK as a project in Intellij. Does not build the TCK.
View pom.xml
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>jakartaee-tck</groupId>
<artifactId>jakartaee-tck</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<sourceDirectory>src</sourceDirectory>
View ejb2x_optional.txt
com/sun/ts/tests/ejb/ee/bb/entity/bmp/allowedmethodstest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/argsemantics
com/sun/ts/tests/ejb/ee/bb/entity/bmp/clientviewtest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/entitybeantest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/entitycontexttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/handletest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/multiclienttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/nonreentranttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/reentranttest
com/sun/ts/tests/ejb/ee/bb/entity/cmp/allowedmethodstest
View optional.txt
com/sun/ts/tests/ejb/ee/bb/entity/bmp/allowedmethodstest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/argsemantics
com/sun/ts/tests/ejb/ee/bb/entity/bmp/clientviewtest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/entitybeantest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/entitycontexttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/handletest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/multiclienttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/nonreentranttest
com/sun/ts/tests/ejb/ee/bb/entity/bmp/reentranttest
com/sun/ts/tests/ejb/ee/bb/entity/cmp/allowedmethodstest
View signatures.txt
# EE 8
annotation
batch
decorator
ejb
el
enterprise
enterprise.concurrent
enterprise.deploy
faces
View affected-javaxrmi-sections.txt
./src/com/sun/ts/lib/util
./src/com/sun/ts/tests/ejb/ee/bb/entity/bmp/allowedmethodstest
./src/com/sun/ts/tests/ejb/ee/bb/entity/bmp/clientviewtest
./src/com/sun/ts/tests/ejb/ee/bb/entity/bmp/entitybeantest
./src/com/sun/ts/tests/ejb/ee/bb/entity/bmp/handletest
./src/com/sun/ts/tests/ejb/ee/bb/entity/cmp/allowedmethodstest
./src/com/sun/ts/tests/ejb/ee/bb/entity/cmp/clientviewtest
./src/com/sun/ts/tests/ejb/ee/bb/entity/cmp/complexpktest
./src/com/sun/ts/tests/ejb/ee/bb/entity/cmp/entitybeantest
./src/com/sun/ts/tests/ejb/ee/bb/entity/cmp/handletest
View com.sun.ts.tests.jpa.core.basic.txt
[INFO] --- gmaven-plugin:1.5:execute (javatest) @ openejb-tck ---
[INFO] Get property: testSectionsFile=/Users/dblevins/work/tckfun/tomee-tck/./sections.properties
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.jpa.core.basic
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.jpa.core.basic
[INFO] Executing JavaTest...
[INFO] Get property: openejb.home=target/apache-tomee-plume-8.0.3-SNAPSHOT
[INFO] Get property: jakartaee.cts.home=/Users/dblevins/work/tckfun/jakartaeetck9
[INFO] Get property: jakartaee.ri.home=/Users/dblevins/work/tckfun/glassfish6/glassfish
View com.sun.ts.tests.servlet.api.txt
[INFO] --- gmaven-plugin:1.5:execute (javatest) @ openejb-tck ---
[INFO] Get property: testSectionsFile=/Users/dblevins/work/tckfun/tomee-tck/./sections.properties
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.servlet.api
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.servlet.api
[INFO] Executing JavaTest...
[INFO] Get property: openejb.home=target/apache-tomee-plume-8.0.3-SNAPSHOT
[INFO] Get property: jakartaee.cts.home=/Users/dblevins/work/tckfun/jakartaeetck9
[INFO] Get property: jakartaee.ri.home=/Users/dblevins/work/tckfun/glassfish6/glassfish