| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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="compile-core" basedir="." name="wookie-jcr" xmlns:ivy="antlib:org.apache.ivy.ant"> |
| <description> |
| Ivy based build system for Apache Wookie JCR persistence. |
| </description> |
| |
| <!-- build JCR component --> |
| <!-- put in post-deploy-webapp-jcr |
| <ant dir="modules/jcr" target="deploy-module" inheritAll="false"/> |
| |
| --> |
| |
| <property file="local.build.properties" /> |
| <property file="build.properties" /> |
| <property file="../../build.properties" /> |
| |
| <import file="../../ant/ivy-java-common.xml" /> |
| |
| <target name="pre-compile-core" description="Run before compile-core. intended to be overridden if your project needs any post compile processing"/> |
| |
| <target name="deploy-module" depends="publish-local"> |
| <ivy:cachepath pathid="project.core.class.path" conf="*"/> |
| <ivy:retrieve conf="deploy" pattern="../../${servletEngine.webapp.dir}/wookie/WEB-INF/lib/[artifact]-[revision].[ext]"/> |
| </target> |
| </project> |