CVS update: sierra/build

From: cvs@openprivacy.org
Date: Wed Jan 24 2001 - 06:55:06 PST

  • Next message: cvs@openprivacy.org: "CVS update: sierra/src/java/org/openprivacy/sierra"

    Date: Wednesday January 24, 19101 @ 6:55
    Author: burton
    CVSWEB Options: -------------------

    Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

    View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/build

    -----------------------------------

    Update of /usr/local/cvs/public/sierra/build
    In directory giga:/tmp/cvs-serv3508/build

    Modified Files:
            build.xml
    Log Message:
    moved the testing stuff and the deployment stuff in the the main ant

    *****************************************************************
    File: sierra/build/build.xml

    CVSWEB Options: -------------------

    CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/build/build.xml?annotate=1.3

    CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/build/build.xml?rev=1.3&content-type=text/x-cvsweb-markup

    CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/build/build.xml.diff?r1=1.3&r2=1.2

    -----------------------------------

    Index: sierra/build/build.xml
    diff -u sierra/build/build.xml:1.2 sierra/build/build.xml:1.3
    --- sierra/build/build.xml:1.2 Sun Jan 14 04:43:49 2001
    +++ sierra/build/build.xml Wed Jan 24 06:55:06 2001
    @@ -18,6 +18,13 @@
         <!-- Holds all the files that a full package should contain.-->
         <property name="distribution.contents" value="src/*,build/*,docs/*,xdocs/*,lib/*,bin/${project}.jar"/>
         
    +
    + <!-- Define SOAP RPC router to use for deployment and tests. -->
    + <property name="soap.rpcrouter" value="http://localhost:8080/soap/servlet/rpcrouter"/>
    +
    +
    + <!-- import the testlet taskdef -->
    + <taskdef name="testlet" classname="org.arrowhead.util.TestletAntTask"/>
         
         
         <!-- =================================================================== -->
    @@ -78,8 +85,41 @@
                 author="true"/>
         </target>
         
    - <target name="test">
    - <ant antfile="../src/java/org/openprivacy/sierra/tests/test.xml" target="test" />
    - </target>
         
    + <!-- =================================================================== -->
    + <!-- PERFORM UNIT TESTS -->
    + <!-- =================================================================== -->
    + <target name="test">
    +
    + <echo message="BEGIN Performing unit tests."/>
    +
    + <echo message="Make sure that you have a SOAP service running at: ${soap.rpcrouter}"/>
    +
    + <testlet classname="org.openprivacy.sierra.tests.Test1"/>
    + <testlet classname="org.openprivacy.sierra.tests.Test2"/>
    +
    + <echo message="BEGIN Performing unit tests." />
    +
    + </target>
    +
    + <!-- =================================================================== -->
    + <!-- DEPLOY THE SOAP SERVICE -->
    + <!-- =================================================================== -->
    + <target name="deploy">
    +
    +
    + <java classname="org.apache.soap.server.ServiceManagerClient">
    + <arg value="${soap.rpcrouter}"/>
    + <arg value="deploy"/>
    + <arg value="../src/java/org/openprivacy/sierra/soap/service/reputation/DeploymentDescriptor.xml"/>
    + </java>
    +
    + <java classname="org.apache.soap.server.ServiceManagerClient">
    + <arg value="${soap.rpcrouter}"/>
    + <arg value="list"/>
    + </java>
    +
    +
    + </target>
    +
     </project>



    This archive was generated by hypermail 2b30 : Wed Jan 24 2001 - 06:55:38 PST