freebsd-ports/databases/jasperserver/files/patch-jasperserver__buildomatic__bin__dev.xml
Jason Helfman 098638f458 - update to 5.0.0
- address inadequate handling of ~/.m2 build directory [1]
- bring in codehaus (bug in software, being addressed upstream)
- adjust project URLs

PR:		178020 [1]
Reported by:	John Marino <draco@marino.st>
2013-05-13 23:19:28 +00:00

120 lines
4 KiB
XML

--- ./jasperserver/buildomatic/bin/dev.xml.orig 2013-05-02 17:15:28.000000000 -0700
+++ ./jasperserver/buildomatic/bin/dev.xml 2013-05-02 17:15:49.000000000 -0700
@@ -68,7 +68,7 @@
<arg value="${maven.settings.file}"/>
<!-- <arg value="-e"/> --> <!-- ERROR INFO MODE -->
<!-- <arg value="-X"/> --> <!-- DETAILED DEBUG MODE -->
- <!-- <arg value="-o"/> --> <!-- OFFLINE MODE -->
+ <arg value="-o"/>
<args/>
</exec>
</sequential>
@@ -143,15 +143,6 @@
</sequential>
</macrodef>
- <macrodef name="runsvn">
- <attribute name="dir" default="${buildBase}"/>
- <element name="args" implicit="yes"/>
- <sequential>
- <exec executable="${svn}" dir="@{dir}" failonerror="true">
- <args/>
- </exec>
- </sequential>
- </macrodef>
<!-- ======================================================================= -->
@@ -170,7 +161,7 @@
<arg value="-Dversion=${maven.jdbc.version}"/>
<arg value="-Dpackaging=jar"/>
<arg value="-Dfile=${currentDbDir}/jdbc/${jdbcJar}"/>
- <!-- <arg value="-o"/> --> <!-- OFFLINE MODE -->
+ <arg value="-o"/>
</runmaven>
</target>
@@ -239,71 +230,6 @@
<echo></echo>
</target>
- <target name="test-svn"
- depends="init-source-paths"
- description="test svn">
- <echo>Testing svn...</echo>
- <runsvn>
- <arg value="list"/>
- <arg value="${js-url}"/>
- </runsvn>
- <!-- echo>open source working directory: ${js-path}</echo>
- <echo>pro working directory: ${js-path}</echo>
- -->
- </target>
-
- <target name="checkout-ce"
- depends="init-source-paths"
- description="svn checkout os">
- <runsvn>
- <arg value="co"/>
- <arg value="${js-url}"/>
- <arg value="${js-path}"/>
- </runsvn>
- </target>
-
- <target name="checkout-ce-anon"
- depends="init-source-paths"
- description="svn checkout os">
- <runsvn>
- <arg value="co"/>
- <arg line="--username anonsvn --password anonsvn"/>
- <arg value="${js-url}"/>
- <arg value="${js-path}"/>
- </runsvn>
- </target>
-
- <target name="checkout-pro"
- depends="init-source-paths"
- description="svn checkout pro">
- <runsvn>
- <arg value="co"/>
- <arg value="${js-pro-url}"/>
- <arg value="${js-pro-path}"/>
- </runsvn>
- </target>
-
- <target name="update-all"
- depends="update-ce,update-pro"
- description="svn update of ce src and pro src">
- </target>
-
- <target name="update-ce"
- depends="init-source-paths"
- description="svn update os">
- <runsvn dir="${js-path}">
- <arg value="update"/>
- </runsvn>
- </target>
-
- <target name="update-pro"
- depends="init-source-paths"
- description="svn update pro">
- <runsvn dir="${js-pro-path}">
- <arg value="update"/>
- </runsvn>
- </target>
-
<target name="build-src-all"
depends="build-ce, build-pro"
description="Builds JasperServer CE/Pro and copies WAR files to install resources">
@@ -608,11 +534,6 @@
build ddl pro, init js db pro, run integration tests pro, run production data pro">
</target>
- <target name="build-all-svn-update"
- depends="update-all,build-src-all,build-init-js-db-pro,run-integration-tests-pro,run-production-data-pro"
- description="(do not do svn update), clean build all src, drop-recreate db,
- build ddl pro, init js db pro, run integration tests pro, run production data pro">
- </target>
<target name="build-all-deploy"
depends="build-all,deploy-webapp-pro"