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.
Updated build scripts to retrieve dashboard from public repo. Dashboa…
…rd will be required as central admin facility when we remove other webapp contents from trunk. svn path=/trunk/eXist/; revision=17160
- Loading branch information
1 parent
92528dc
commit 6376e53
Showing
3 changed files
with
61 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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> | ||
|
||
<taskdef name="fetch" classname="nl.ow.dilemma.ant.fetch.FetchTask"/> | ||
|
||
<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"/> | ||
|
||
<!-- 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> | ||
|
||
<!-- | ||
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" description="Download standard xar packages." if="autostart-empty"> | ||
|
||
<foreach list="${autodeploy}" target="download-xar" param="xar"></foreach> | ||
</target> | ||
|
||
<target name="download-xar"> | ||
<fetch dest="${autostart-dir}" url="${public-repo}/${xar}"/> | ||
</target> | ||
</project> |