Changes in src/webapp/build.xml [c455d7b:a50c18f]
- File:
-
- 1 edited
-
src/webapp/build.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/build.xml
rc455d7b ra50c18f 28 28 <exclude name="mbtiles/**"/> 29 29 <exclude name="tests/**"/> 30 <exclude name="config/**"/> 30 31 </fileset> 31 32 <fileset dir="./webservice/mbtiles" id="filesWebserviceMaps"> … … 44 45 45 46 46 <target name="dist" depends="buildwebservice,buildwebclient ">47 <target name="dist" depends="buildwebservice,buildwebclient,test"> 47 48 <echo msg="Creating archive"/> 48 <!--<tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip">49 <tar destfile="${builddir}/..//gnuboat-webapp.tar.gz" compression="gzip"> 49 50 <fileset refid="filesWebApp"/> 50 </tar> -->51 </tar> 51 52 <echo msg="Files copied and compressed in build directory weblcient.tar.gz OK!" /> 52 53 </target> 53 <target name="testdist" depends="buildwebservice,buildwebclient"> 54 55 <target name="testdist" depends="buildwebservice,buildwebclient,test"> 54 56 <echo msg="Install project into ${user.home}/public_html/gnuboat"/> 57 <fileset id="filesConfig" dir="./webservice/config"> 58 <include name="config.php"/> 59 </fileset> 60 <fileset id="filesLogs" dir="./webservice/tests/logs"> 61 <include name="*.log"/> 62 </fileset> 63 55 64 <copy todir="${user.home}/public_html/gnuboat"> 56 65 <fileset refid="filesWebApp"/> 57 66 </copy> 67 <copy todir="${user.home}/public_html/gnuboat/webservice/tests/logs"> 68 <fileset refid="filesLogs"/> 69 </copy> 70 <copy todir="${user.home}/public_html/gnuboat/webservice/config"> 71 <fileset refid="filesConfig"/> 72 </copy> 58 73 </target> 59 74 60 <!-- <phpunit bootstrap="webservice/inc/autoloader.php" pharlocation="phpunit-4.8.9.phar" haltonfailure="true" haltonerror="true" printsummary="true"> 61 <formatter type="plain" usefile="false"/> 62 <batchtest> 63 <fileset dir="webservice"> 64 <include name="tests/ServiceTest.php"/> 65 </fileset> 66 </batchtest> 67 </phpunit> --> 75 <target name="test"> 76 <exec command="php phpunit-4.8.9.phar" passthru="true" checkreturn="true"/> 77 <!--<phpunit pharlocation="phpunit-4.8.9.phar" configuration="phpunit.xml" haltonfailure="true" haltonerror="true" printsummary="true" codecoverage="false"> 78 <formatter type="plain" usefile="false"/> --> 79 <!--<formatter type="JUnit" usefile="true"/>--> 80 <!-- <batchtest> 81 <fileset dir="webservice"> 82 <include name="tests/*Test.php"/> 83 </fileset> 84 </batchtest> 85 </phpunit>--> 86 </target> 68 87 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
