This file contains hidden or 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
#Tip, set maven opts: | |
echo $MAVEN_OPTS | |
-Xms2g -Xmx8g | |
#Build tomee fast spiking tests | |
mvn Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install | |
#run a particular test class: | |
mvn test -Dtest=org.apache.openejb.core.singleton.DependsOnTest -DfailIfNoTests=false |
This file contains hidden or 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
How to donwload and setup JDK on OSX | |
1. Install brew: | |
2. Add cask to brew: brew tap homebrew/cask-versions | |
3. Install Java 6: brew cask install java6 | |
4. If you use SDK man, you can import your JDK 6 installtion using: sdk install java 1.6.0.jdk /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/ | |
5. Using SDK Man, change to use JDK 6: sdk use java 1.6.0.jdk |
This file contains hidden or 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
docker run -it -p 8080:8080 -p 8000:8000 -e CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000" tomcat:9.0.17-jre11 |