blob: cab3ec36e2c0b99b121940d4cb908409315e2e68 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* 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 name="theme">
<import file="${build-system.dir}/build-basic.xml"/>
<target name="init-theme-pom" depends="init">
<pom file="pom-theme.xml" id="pom-theme"/>
<dependencies filesetId="pom-theme.dependencies" verbose="false">
<pom refid="pom-theme"/>
</dependencies>
<mkdir dir="lib"/>
<copy todir="lib">
<fileset refid="pom-theme.dependencies"/>
<flattenmapper/>
</copy>
</target>
<target name="dist" depends="build-basic.dist,init-theme-pom">
<jar jarfile="${dist}/${pom-theme.artifactId}.${pom-theme.packaging}">
<fileset dir="src/main/webapp">
<include name="**/*"/>
</fileset>
<zipfileset dir="${dist}" includes="${pom.artifactId}.jar"
fullpath="WEB-INF/lib/${pom.artifactId}-${pom.version}.jar"/>
</jar>
</target>
<target name="install" depends="build-basic.install,init-theme-pom">
<install file="${dist}/${pom-theme.artifactId}.${pom-theme.packaging}">
<pom refid="pom-theme"/>
</install>
</target>
</project>