Skip to content

Commit

Permalink
add build files for EXPath Package (.xar)
Browse files Browse the repository at this point in the history
  • Loading branch information
joewiz committed Aug 12, 2015
1 parent 4546604 commit dd8d076
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="xar" name="frus">
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="${package(abbrev)}"/>
<property name="build.dir" value="build"/>
<target name="xar">
<mkdir dir="${build.dir}"/>
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="${build.dir}/*"/>
</target>
</project>
4 changes: 4 additions & 0 deletions expath-pkg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="http://history.state.gov/ns/data/frus" abbrev="frus" version="0.1" spec="1.0">
<title>FRUS (data)</title>
</package>
14 changes: 14 additions & 0 deletions repo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<meta xmlns="http://exist-db.org/xquery/repo">
<description>FRUS (data)</description>
<author>Office of the Historian</author>
<website>https://history.state.gov</website>
<status/>
<license/>
<copyright/>
<type>application</type>
<target>frus</target>
<prepare/>
<finish/>
<permissions password="" user="hsg" group="hsg" mode="rw-rw-r--"/>
</meta>

0 comments on commit dd8d076

Please sign in to comment.