View DatesTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.jupiter.api.Assertions; | |
import org.junit.jupiter.params.ParameterizedTest; | |
import org.junit.jupiter.params.provider.Arguments; | |
import org.junit.jupiter.params.provider.MethodSource; | |
import java.time.LocalDate; | |
import java.util.stream.Stream; | |
import static org.junit.jupiter.params.provider.Arguments.arguments; |
View Dates.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.time.LocalDate; | |
import java.time.ZoneId; | |
import java.util.Date; | |
/** | |
* This pattern has the following benefits: | |
* | |
* - Date formats are referenced as a strong type |
View Dates.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDate; | |
import java.time.ZoneId; | |
import java.time.format.DateTimeFormatter; | |
import java.util.Date; | |
/** | |
* This pattern has the following benefits: | |
* | |
* - Date formats are referenced as a strong type | |
* - Code completion on patterns |
View oldreleases.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Downloading from apache: https://repository.apache.org/content/repositories/releases/org/apache/tomee/tomee-webaccess/7.0.0/tomee-webaccess-7.0.0.pom | |
Progress (1): 4.1/10 kB | |
Progress (1): 7.7/10 kB | |
Progress (1): 10 kB | |
Downloaded from apache: https://repository.apache.org/content/repositories/releases/org/apache/tomee/tomee-webaccess/7.0.0/tomee-webaccess-7.0.0.pom (10 kB at 13 kB/s) | |
Downloading from apache: https://repository.apache.org/content/repositories/releases/org/apache/tomee/tomee/7.0.0/tomee-7.0.0.pom | |
Progress (1): 4.1/14 kB | |
Progress (1): 7.7/14 kB | |
Progress (1): 12/14 kB |
View cleanverify.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 | |
* |
View verify.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
View pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |