blob: 78b9b48dae553b021458448ea5209a5e07a8900e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005 The Apache Software Foundation
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.
-->
<project default="default"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
>
<!-- ==================== -->
<!-- Default Global Goals -->
<!-- ==================== -->
<goal name="default">
<attainGoal name="jar:install"/>
</goal>
<goal name="build">
<attainGoal name="javadoc"/>
<attainGoal name="default"/>
</goal>
<goal name="rebuild">
<attainGoal name="clean"/>
<attainGoal name="build"/>
</goal>
<goal name="clobber">
<attainGoal name="clean"/>
<delete>
<fileset dir="." defaultexcludes="no" includes="**/*~"/>
</delete>
</goal>
<!-- ======== -->
<!-- XML test -->
<!-- ======== -->
<!-- Run XML parser on JDO metadata files (suffix .jdo, .orm or .jdoquery). -->
<!-- The tool uses the following system properties: -->
<!-- javax.jdo.metadata: a comma separated list of JDO metadata files or directories. -->
<!-- javax.jdo.recursive: recursively serach directories. -->
<goal name="xmltest" prereqs="test:compile">
<java classname="javax.jdo.util.XMLTestUtil" fork="true">
<classpath>
<pathelement location="${xmlapis.jarfile}"/>
<pathelement location="${xerces.jarfile}"/>
<pathelement location="${maven.build.dir}/classes"/>
<pathelement location="${maven.build.dir}/test-classes"/>
</classpath>
<sysproperty key="javax.jdo.metadata" value="${javax.jdo.metadata}"/>
<sysproperty key="javax.jdo.recursive" value="${javax.jdo.recursive}"/>
<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
value="${javax.xml.parsers.DocumentBuilderFactory}"/>
</java>
</goal>
</project>