You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by be...@apache.org on 2008/02/19 21:44:59 UTC

svn commit: r629222 - in /labs/vysper: HOW-TO.txt build.xml

Author: berndf
Date: Tue Feb 19 12:44:58 2008
New Revision: 629222

URL: http://svn.apache.org/viewvc?rev=629222&view=rev
Log:
[vysper] ant target to run the server completed (LABS-90)

Modified:
    labs/vysper/HOW-TO.txt
    labs/vysper/build.xml

Modified: labs/vysper/HOW-TO.txt
URL: http://svn.apache.org/viewvc/labs/vysper/HOW-TO.txt?rev=629222&r1=629221&r2=629222&view=diff
==============================================================================
--- labs/vysper/HOW-TO.txt (original)
+++ labs/vysper/HOW-TO.txt Tue Feb 19 12:44:58 2008
@@ -25,7 +25,7 @@
 
 ** Running the Server **
 
-ant run-server (currently not implemented)
+ant run-server
 
 Server is started using class org.apache.vysper.spring.ServerMain
 

Modified: labs/vysper/build.xml
URL: http://svn.apache.org/viewvc/labs/vysper/build.xml?rev=629222&r1=629221&r2=629222&view=diff
==============================================================================
--- labs/vysper/build.xml (original)
+++ labs/vysper/build.xml Tue Feb 19 12:44:58 2008
@@ -69,6 +69,8 @@
   <path id="classpath">
     <pathelement location="${basedir}/lib/spring.jar"/>
     <pathelement location="${basedir}/lib/junit.jar"/>
+    <pathelement location="${basedir}/lib/commons-codec.jar"/>
+    <pathelement location="${basedir}/lib/commons-logging.jar"/>
     <pathelement location="${basedir}/lib/xml-apis.jar"/>
     <pathelement location="${basedir}/lib/nekopull.jar"/>
     <pathelement location="${basedir}/lib/xercesImpl.jar"/>
@@ -79,6 +81,8 @@
     <pathelement location="${basedir}/lib/mina-integration-spring-1.1.0.jar"/>
     <pathelement location="${basedir}/lib/smack.jar"/>
     <pathelement location="${basedir}/lib/smackx.jar"/>
+    <pathelement location="${basedir}/lib/log4j-1.2.14.jar"/>
+    <pathelement location="${basedir}/lib/slf4j-log4j12-1.0.1.jar"/>
   </path>
   
   <patternset id="excluded.from.vysper">
@@ -143,9 +147,15 @@
     <delete dir="${vysper.unittest.base.dir}"/>
   </target>
 
-  <target name="run-server" description="Build initialization">
-    <java >
-
+  <target name="run-server" depends="compile.vysper" description="run the stand-alone server">
+    <java classname="org.apache.vysper.spring.ServerMain" fork="true" spawn="true">
+      <classpath>
+          <fileset dir="${basedir}/lib">
+            <include name="*.jar"/>
+          </fileset>
+          <pathelement location="${vysper.output.dir}"/>
+          <pathelement location="${basedir}/src/main/config"/>
+        </classpath>
     </java>
   </target>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org