|
From: thammer <mth...@us...> - 2005-10-17 14:27:31
|
Update of /cvsroot/cobricks/cobricks2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20746 Modified Files: build.xml Log Message: Index: build.xml =================================================================== RCS file: /cvsroot/cobricks/cobricks2/build.xml,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- build.xml 11 Aug 2005 13:15:55 -0000 1.45 +++ build.xml 17 Oct 2005 14:27:22 -0000 1.46 @@ -114,6 +114,11 @@ <include name="de/tum/cobricks/**"/> <exclude name="org/cobricks/portal/portlet/**/*.java"/> <exclude name="org/cobricks/item/xmldb/**/*.java"/> + <exclude name="org/cobricks/cwall/meeting/rfid/ReaderConfig.java"/> + <exclude name="org/cobricks/cwall/meeting/rfid/TagReaderImpl.java"/> + <exclude name="org/cobricks/cwall/meeting/rfid/TagSchedulerImpl.java"/> + <exclude name="org/cobricks/cwall/meeting/rfid/rfidAdapter/**"/> + </javac> <!-- Create RMI stubs and skeletons --> @@ -127,6 +132,7 @@ <antcall target="compilexindice"/> <antcall target="compilejetspeed"/> + <antcall target="compilerfid"/> </target> @@ -168,6 +174,26 @@ </javac> </target> +<target name="compilerfid" depends="prepare" + description="Compile Java sources for RFID support" + if="rfid.home"> + <javac srcdir="${src.home}" + destdir="${build.home}/webapps/${webappname}/WEB-INF/classes" + debug="${compile.debug}" + deprecation="${compile.deprecation}" + optimize="${compile.optimize}"> + <classpath> + <path refid="compile.classpath"/> + <fileset dir="${rfid.home}"> + <include name="WEB-INF/lib/OBIDISC4J.jar"/> + </fileset> + </classpath> + <include name="org/cobricks/cwall/meeting/rfid/ReaderConfig.java"/> + <include name="org/cobricks/cwall/meeting/rfid/TagReaderImpl.java"/> + <include name="org/cobricks/cwall/meeting/rfid/TagSchedulerImpl.java"/> + <include name="org/cobricks/cwall/meeting/rfid/rfidAdapter/**"/> + </javac> +</target> <!-- Create Corba skeleton files --> @@ -455,6 +481,9 @@ <!-- copy xindice libraries --> <antcall target="copyxindice"/> + + <!-- copy rfid libraries --> + <antcall target="copyrfid"/> </target> @@ -467,6 +496,14 @@ </copy> </target> +<target name="copyrfid" if="rfid.home"> + <copy todir="${build.home}/webapps/${webappname}/WEB-INF/lib"> + <fileset dir="${rfid.home}"> + <include name="OBIDISC4J.jar"/> + </fileset> + </copy> +</target> + <!-- this target has to be called manually !!! --> <target name="copytojetspeed" if ="jetspeed.home"> <!-- copy Cobricks configuration for jetspeed --> @@ -710,11 +747,17 @@ <target name="cwall" depends="compile"> <java fork="yes" classname="org.cobricks.cwall.CWall" - classpathref="exec.classpath"> + classpathref="exec.classpath"> <arg line="-c conf -e http://localhost:${catalina.serverport}/ -u testuser -p testpw"/> </java> </target> + +<target name="rfidtool" depends="compile" if="rfid.home"> + <java fork="yes" classname="org.cobricks.cwall.meeting.rfid.rfidAdapter.RfidAdapter" classpathref="exec.classpath"/> +</target> + + <target name="log" depends="compile"> <java fork="yes" classname="org.cobricks.util.logbrowser.LogBrowser" classpathref="exec.classpath"> |