Ignore:
Timestamp:
Aug 29, 2017, 6:19:00 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, debian/bullseye, debian/jessie, master
Children:
89c510f
Parents:
fc63b30
Message:

First more or less working version of visualising logfiles on the map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/build.xml

    rfc63b30 r008bce9  
    4646        <target name="dist" depends="buildwebservice,buildwebclient,test">
    4747                <echo msg="Creating archive"/>
    48         <!--    <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
     48                <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">
    4949                        <fileset refid="filesWebApp"/>
    50                 </tar>-->
     50                </tar>
    5151                <echo msg="Files copied and compressed in build directory weblcient.tar.gz OK!" />
    5252        </target>
    53         <target name="testdist" depends="buildwebservice,buildwebclient">
     53
     54        <target name="testdist" depends="buildwebservice,buildwebclient,test">
    5455                <echo msg="Install project into ${user.home}/public_html/gnuboat"/>
     56                <fileset id="filesConfig" dir="./webservice/tests">
     57                        <include name="config.php"/>
     58                </fileset>
     59                <fileset id="filesLogs" dir="./webservice/tests/data">
     60                        <include name="*.log"/>
     61                </fileset>
     62       
    5563                <copy todir="${user.home}/public_html/gnuboat">
    5664                        <fileset refid="filesWebApp"/>
     65                </copy>
     66                <copy todir="${user.home}/public_html/gnuboat/logs">
     67                        <fileset refid="filesLogs"/>
     68                </copy>
     69                <copy todir="${user.home}/public_html/gnuboat/webservice/config">
     70                        <fileset refid="filesConfig"/>
    5771                </copy>
    5872        </target>
    5973
    6074        <target name="test">
    61                 <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true">
     75                <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true" codecoverage="false">
    6276                        <formatter type="plain" usefile="false"/>
     77                        <!--<formatter type="JUnit" usefile="true"/>-->
    6378                        <batchtest>
    6479                                <fileset dir="webservice">
Note: See TracChangeset for help on using the changeset viewer.