forked from shabanovd/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ignore] Adding support for /home/ljo/eXist/local.build.properties fo…
…r overriding properties from /home/ljo/eXist/build.properties. Adding property use.autodeploy.feature to govern download of xar files to /home/ljo/eXist/autodeploy/. Use in local.build.properties or from commandline eg JAVA_OPTS=-Duse.autodeploy.feature=false ./build.sh rebuild svn path=/trunk/eXist/; revision=17184
- Loading branch information
Showing
4 changed files
with
57 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- ======================================================================= --> | ||
<!-- eXist build file : Setup default xar packages --> | ||
<!-- ======================================================================= --> | ||
|
||
<!-- $Id$ --> | ||
|
||
<project basedir="../.." name="Setup" default="setup"> | ||
|
||
<description>Package setup tasks</description> | ||
|
||
<!-- Additional task defs --> | ||
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> | ||
<classpath> | ||
<pathelement location="tools/ant/lib/ant-contrib-1.0b3.jar"/> | ||
</classpath> | ||
</taskdef> | ||
|
||
<property file="build.properties"/> | ||
|
||
<property name="public-repo" value="http://demo.exist-db.org/exist/apps/public-repo/public/"/> | ||
<property name="autostart-dir" value="autodeploy"/> | ||
|
||
<target name="prepare"> | ||
<mkdir dir="${autostart-dir}"/> | ||
<!-- Automatically download standard xar packages from public repository | ||
if autostart directory is empty. | ||
--> | ||
<path id="autostart-files"> | ||
<fileset dir="${autostart-dir}"> | ||
<include name="*.xar"/> | ||
</fileset> | ||
</path> | ||
|
||
<property name="autostart-files" refid="autostart-files"/> | ||
|
||
<condition property="autostart-empty"> | ||
<equals arg1="" arg2="${autostart-files}"/> | ||
</condition> | ||
</target> | ||
|
||
<!-- | ||
Download jar files the author website. This is newest version of the library, | ||
if the URL is updated in time. The download size is significantly larger. | ||
--> | ||
<target name="setup" depends="prepare" description="Download standard xar packages." if="autostart-empty"> | ||
<foreach list="${autodeploy}" target="download-xar" param="xar"></foreach> | ||
</target> | ||
|
||
<target name="download-xar"> | ||
<taskdef name="fetch" classname="nl.ow.dilemma.ant.fetch.FetchTask"/> | ||
<fetch dest="${autostart-dir}" url="${public-repo}/${xar}"/> | ||
</target> | ||
</project> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- ======================================================================= --> | ||
<!-- eXist build file : Setup default xar packages --> | ||
<!-- ======================================================================= --> | ||
|
||
<!-- $Id$ --> | ||
|
||
<project basedir="../.." name="Setup" default="setup"> | ||
|
||
<description>Package setup tasks</description> | ||
|
||
<!-- Additional task defs --> | ||
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> | ||
<classpath> | ||
<pathelement location="tools/ant/lib/ant-contrib-1.0b3.jar"/> | ||
</classpath> | ||
</taskdef> | ||
|
||
<property file="build.properties"/> | ||
|
||
<property name="public-repo" value="http://demo.exist-db.org/exist/apps/public-repo/public/"/> | ||
<property name="autostart-dir" value="autodeploy"/> | ||
|
||
<target name="prepare"> | ||
<mkdir dir="${autostart-dir}"/> | ||
<!-- Automatically download standard xar packages from public repository | ||
if autostart directory is empty. | ||
--> | ||
<path id="autostart-files"> | ||
<fileset dir="${autostart-dir}"> | ||
<include name="*.xar"/> | ||
</fileset> | ||
</path> | ||
|
||
<property name="autostart-files" refid="autostart-files"/> | ||
|
||
<condition property="autostart-empty"> | ||
<equals arg1="" arg2="${autostart-files}"/> | ||
</condition> | ||
</target> | ||
|
||
<!-- | ||
Download xar files from the package website. | ||
--> | ||
<target name="setup" depends="prepare" description="Download standard xar packages." if="autostart-empty"> | ||
<foreach list="${autodeploy}" target="download-xar" param="xar"></foreach> | ||
</target> | ||
|
||
<target name="download-xar"> | ||
<taskdef name="fetch" classname="nl.ow.dilemma.ant.fetch.FetchTask"/> | ||
<fetch dest="${autostart-dir}" url="${public-repo}/${xar}"/> | ||
</target> | ||
</project> |