Building X4O Software requirements; - JDK 1.5++ - Maven 3.0.1++ (3.0.3++ for jdk5) -- Create package -- cd project-root/; mvn clean package; -- Install local package -- cd project-root/; mvn clean install; -- Update schemas in src -- -- note; only needed after change in eld or cel langauge. -- note2; maybe rm/mv after auto schema creation cd project-root/; mvn clean install; mvn -Px4o-update-schema-cel compile; mvn -Px4o-update-schema-eld compile; note: the do 'install' is (once) because of circle plugins. -- Run multi jvm test -- Run tests in all jvms; src/main/build/jvm-test.sh Run tests in single jvm; src/main/build/jvm-test.sh /usr/lib/jvm/jdk1.5.0_22/ -- Make release build -- cd /tmp; git clone ssh://@git.sv.gnu.org/srv/git/x4o.git; cd x4o; mvn clean package; mvn -B -Dusername= clean install release:clean release:prepare release:perform; src/main/build/gnu-up.sh -- Make site -- cd project-root/; mvn clean install; # (installs the snapshots plugins so we can run the current eld-doc task in site phase) MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" mvn -Px4o-build-site-doc clean package site site:stage; cp -r target/staging/x4o-* target/site/; cp -r target/site/ ~/public_html/site-x4o; -- Check for code style -- cd project-root/; mvn checkstyle:checkstyle -- Check for licenses -- cd project-root/; mvn -Px4o-check-license license:check To update all files from check output; mvn -Px4o-check-license license:format -- Check for versions-updates -- cd project-root/; mvn versions:display-plugin-updates; mvn versions:display-dependency-updates; -- Run x4o task from cmd -- cd project-root/; mvn clean compile; cd x4o-driver; mvn exec:java -Dexec.mainClass="org.x4o.xml.lang.task.X4OLanguageTaskCommandLine" -Dexec.args="-h" mvn exec:java -Dexec.mainClass="org.x4o.xml.lang.task.X4OLanguageTaskCommandLine" -Dexec.args="-ll" mvn exec:java -Dexec.mainClass="org.x4o.xml.lang.task.X4OLanguageTaskCommandLine" -Dexec.args="-llt" mvn exec:java -Dexec.mainClass="org.x4o.xml.lang.task.X4OLanguageTaskCommandLine" -Dexec.args="-l eld -t eld-xsd -p http://language.x4o.org/xml/properties/eld-xsd/output/path=/tmp/test-task-cmd" -- Run x4o-tool-maven-plugin from cmd -- cd project-root/; mvn clean install; mvn org.x4o.tool:x4o-tool-maven-plugin:help mvn org.x4o.tool:x4o-tool-maven-plugin:x4o-language-task -Dverbose=true -DtaskId=eld-xsd -DlanguageName=cel -DtaskPropertyValues=http://x4o.org/properties/eld-xsd/output/path=/tmp/test-maven-cmd