Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (56 sloc) 2.023 kb
<?xml version="1.0"?>
<!--
/*
* Copyright (c)2005-2006 Mark Logic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* The use of the Apache License does not indicate that this project is
* affiliated with the Apache Software Foundation.
*/
-->
<project name="sparql2xquery" basedir="." default="jar">
<property environment="env"/>
<property name="name" value="sparql2xquery"/>
<property file="build.properties"/>
<property name="src.dir" value="src"/>
<property name="dist.dir" value="bin"/>
<property name="build.dir" value="${src.dir}"/>
<path id="master-classpath">
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
<pathelement path="${build.dir}"/>
</path>
<target name="build"
description="Compile main source tree java files">
<mkdir dir="${build.dir}"/>
<javac destdir="${build.dir}" debug="true" target="1.5" source="1.5">
<src path="${src.dir}"/>
<classpath refid="master-classpath"/>
</javac>
</target>
<target name="jar" depends="build"
description="generate the jarfile" >
<mkdir dir="${dist.dir}"/>
<jar jarfile="${dist.dir}/${name}.jar" basedir="${build.dir}"
compress="true" index="true"
excludes="**/*.java"/>
</target>
<target name="clean"
description="clean up all generated files">
<delete file="${dist.dir}/${name}.jar">
<fileset dir="${build.dir}" includes="**/*.class"/>
</delete>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.