Commit f31fce20 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

renewed build properties

parent 2c2b2c85
......@@ -14,6 +14,7 @@ src/expath-pkg.xml
build
dist-utils/antbuild/ivy/
dist-utils/antbuild/lib/
expath-pkg.xml
.DS_STORE
=======
......
project.namespace=http://textgrid.de/ns/SADE
project.version=2.3.2
project.title=Scalable Architecture for Digital Editions
project.abbrev=SADE
<?xml version="1.0" encoding="UTF-8"?>
<project default="xar" name="SADE">
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="SADE"/>
<property file="build.properties"/>
<property name="build.dir" value="build"/>
<loadfile property="branch" srcfile=".git/HEAD">
<filterchain>
......@@ -13,8 +11,14 @@
<striplinebreaks/>
</filterchain>
</loadfile>
<property name="namespace" value="${project.namespace}-${branch}"/>
<target name="xar">
<copy file="expath-pkg.xml.tmpl" tofile="expath-pkg.xml" filtering="true" overwrite="true">
<filterset>
<filter token="project.version" value="${project.version}"/>
</filterset>
</copy>
<mkdir dir="${build.dir}"/>
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}-${branch}.xar" excludes="${build.dir}/*"/>
<zip basedir="." destfile="${build.dir}/${project.abbrev}-${project.version}-${branch}.xar" excludes="${build.dir}/*"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="http://textgrid.de/ns/SADE" abbrev="SADE" version="2.3.2" spec="1.0">
<title>Scalable Architecture for Digital Editions powered by TextGrid</title>
<package xmlns="http://expath.org/ns/pkg" name="@project.namespace@" abbrev="@project.abbrev@" version="2.3.2" spec="1.0">
<title>@project.title@</title>
<dependency package="http://exist-db.org/apps/markdown"/>
<dependency package="http://exist-db.org/apps/monex"/>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="@project.namespace@" abbrev="@project.abbrev@" version="@project.version@" spec="1.0">
<title>@project.title@</title>
<dependency package="http://exist-db.org/apps/markdown"/>
<dependency package="http://exist-db.org/apps/monex"/>
</package>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment