[Bprocessor-commit] test constructions.txt, NONE, 1.1 functionals.txt, NONE, 1.1 build.xml, NONE, 1
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2006-12-04 14:45:58
|
Update of /cvsroot/bprocessor/test In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9704 Added Files: constructions.txt functionals.txt build.xml .project .classpath build.sh test.sh Log Message: Test --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>test</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> --- NEW FILE: build.xml --- <project name="test" default="compile" basedir="."> <target name="init"> <property name="name" value="test"/> <property name="version" value="0.1"/> <property name="kernel.dir" value="${basedir}/../kernel"/> <property name="model.dir" value="${basedir}/../model"/> <property name="bscript.dir" value="${basedir}/../bscript"/> <property name="tools.dir" value="${basedir}/../tools"/> <property name="gui.dir" value="${basedir}/../gui"/> <property name="build.dir" value="${basedir}/build"/> <property name="src.dir" value="${basedir}/src"/> <property name="conf.dir" value="${src.dir}/etc"/> <property name="doc.dir" value="${basedir}/doc"/> <property name="doc.api.dir" value="${doc.dir}/api"/> <property name="lib.dir" value="${basedir}/lib"/> <property name="dist.dir" value="${basedir}/dist"/> <property name="checkstyle-results" value="${build.dir}/checkstyle-results.txt" /> <property name="build.compiler" value="modern"/> </target> <target name="clean" depends="init"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> <delete dir="${doc.api.dir}"/> <delete> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> </fileset> </delete> <delete> <fileset dir="${basedir}" defaultexcludes="no"> <include name="**/*~"/> </fileset> </delete> </target> <target name="prepare" depends="init"> <echo message="build.compiler = ${build.compiler}"/> <echo message="java.home = ${java.home}"/> <echo message="user.home = ${user.home}"/> <echo message="java.class.path = ${java.class.path}"/> <echo message=""/> <mkdir dir="${build.dir}"/> </target> <target name="copylib" depends="prepare"> <copy todir="${lib.dir}"> <fileset dir="${tools.dir}/log4j"> <include name="**/*"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${tools.dir}/jogl"> <include name="**/*.jar"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${kernel.dir}/dist"> <include name="**/kernel*"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${model.dir}/dist"> <include name="**/*"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${bscript.dir}/dist"> <include name="**/bscript*"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${tools.dir}/jaxb"> <include name="**/jaxb.jar"/> </fileset> </copy> <copy todir="${lib.dir}"> <fileset dir="${gui.dir}/dist"> <include name="**/gui*"/> </fileset> </copy> </target> <target name="checkstyle" depends="prepare"> <taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpath="${tools.dir}/checkstyle/checkstyle.jar"/> <checkstyle config="${tools.dir}/checkstyle/checkstyle.xml" failOnViolation="true"> <fileset dir="${src.dir}" includes="**/*.java"/> </checkstyle> </target> <target name="compile" depends="copylib"> <ant dir="src" target="compile"/> </target> <target name="doc" depends="copylib"> <delete dir="${doc.api.dir}"/> <ant dir="src" target="doc"/> </target> <target name="jar" depends="compile"> <mkdir dir="${dist.dir}"/> <jar jarfile="${dist.dir}/${name}.jar" basedir="${build.dir}" compress="true" includes="**/*" excludes="depcache/**"> <!--metainf dir="${conf.dir}" includes="*.xml"/--> </jar> </target> <target name="fix" depends="init"> <fixcrlf srcdir="${src.dir}" tab="remove" tablength="2" eol="lf" javafiles="yes" includes="**/*.java" /> </target> <target name="dist" depends="checkstyle,jar"> <copy todir="${basedir}/../build/dist/plugin"> <fileset dir="${dist.dir}"> <include name="**/*"/> </fileset> </copy> </target> </project> --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" kind="src" path="/model"/> <classpathentry kind="output" path="bin"/> </classpath> --- NEW FILE: functionals.txt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: constructions.txt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: test.sh --- #!/bin/sh java -cp dist/test.jar:lib/model.jar:lib/jaxb.jar:lib/log4j.jar net.sourceforge.bprocessor.test.LoadSave input/model1.xml output.xml diff input/model1.xml output.xml --- NEW FILE: build.sh --- #!/bin/sh if [ -z $ANT_HOME ]; then echo "Please set the ANT_HOME variable." exit 1 fi if [ -z $JAVA_HOME ]; then echo "Please set the JAVA_HOME variable." exit 1 fi export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH ant $* |