freebsd-ports/databases/jasperserver/files/patch-jasperserver__buildomatic__bin__dev.xml
Jason Helfman e58b71578d - update to 4.7.0
- allow building on pointyhat, per discussion with portmgr
 - may disable if becomes issue
- install DOCS (optional)
- update LICENSE per vendor to GPLv3
- add MASTER_SITE for specific FreeBSD Maven Repository for offline build mode
 - NOTE: buildlog will note "Downloading" but will fail due to maven building in offline mode

Sponsored by: Experts-Exchange, LLC.
Changes: http://www.jaspersoft.com/whats-new-in-jaspersoft-47
2012-08-28 23:58:10 +00:00

160 lines
5.5 KiB
XML

--- ./jasperserver/buildomatic/bin/dev.xml.orig 2012-08-21 17:14:07.000000000 -0700
+++ ./jasperserver/buildomatic/bin/dev.xml 2012-08-21 17:14:14.000000000 -0700
@@ -47,7 +47,7 @@
<arg value="${currentConf}/maven_settings.xml"/>
<!-- <arg value="-e"/> --> <!-- ERROR INFO MODE -->
<!-- <arg value="-X"/> --> <!-- DETAILED DEBUG MODE -->
- <!-- <arg value="-o"/> --> <!-- OFFLINE MODE -->
+ <arg value="-o"/>
<args/>
</exec>
</sequential>
@@ -111,15 +111,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>
<!-- ======================================================================= -->
@@ -138,7 +129,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>
@@ -222,101 +213,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="checkout-repo"
- depends="init-source-paths"
- description="svn checkout repo">
- <runsvn>
- <arg value="co"/>
- <arg value="${repo-url}"/>
- <arg value="${repo-path}"/>
- </runsvn>
- </target>
-
- <target name="update-all"
- depends="update-ce,update-pro,update-repo"
- description="svn update of ce src, pro src, and js-repo">
- </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="update-repo"
- depends="init-source-paths"
- description="svn update repo">
- <if>
- <!-- if we have repo-rev set, then that means we do not want to automatically -->
- <!-- update our jasperserver-repo local source. If we update we will get HEAD revision. -->
- <!-- in this case, if you want to update jasperserver-repo, do it manually -->
-
- <isset property="repo-rev"/>
- <then>
- <echo>INFO: Using repo revision, skipping update: </echo>
- <echo>INFO: repo-url = ${repo-url}</echo>
- </then>
- <else>
- <runsvn dir="${repo-path}">
- <arg value="update"/>
- </runsvn>
- </else>
- </if>
- </target>
<target name="build-src-all"
depends="build-ce, build-pro"
@@ -324,7 +220,7 @@
</target>
<target name="build-ce"
- depends="init-source-paths, set-ce-webapp-name, install-jdbc-dep"
+ depends="init-source-paths, set-ce-webapp-name"
description="Builds JasperServer CE and copies WAR to install resources">
<!-- set these values to package avoid runtime error on windows. these two -->
@@ -598,12 +494,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"
description="call build-all target, deploy webapp pro">