blob: 8f6511c91ecd2288aa742fe7ad7d39d78557df2c [file] [log] [blame]
<?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.
-->
<!-- $Id$ -->
<project name="admin">
<description>
Admin targets
</description>
<!-- Create the announcements -->
<target name="announcement" depends="init">
<copy file="status.xml" tofile="${build.context}/status.xml" filtering="on"/>
<copy file="announcement.xml" tofile="${build.context}/announcement.xml" filtering="on"/>
<xslt in="${build.context}/announcement.xml"
out="${build.context}/announcement.txt"
style="${tools.src}/announcement2txt.xsl"
force="true"/>
</target>
<target name="generate-blocks.properties" depends="init">
<xslt in="${gump.descriptor}"
out="blocks.properties"
style="${tools.src}/gump2blocks.properties.xsl"
force="true"/>
</target>
<!-- === Gump Targets ====================================================== -->
<!-- compiles and packages the core classes and the deprecated classes -->
<target name="gump-core" depends="package-core, package-deprecated, javadocs, validate-jars, junit-tests"/>
<!-- compiles and packages a single block identified by ${block-name} -->
<target name="gump-block" depends="compile-core, compile-deprecated, prepare-blocks, compile-tests">
<ant antfile="${build.temp}/blocks-build.xml"
inheritAll="true"
inheritRefs="false"
target="cocoon-block-${block-name}-tests"/>
</target>
</project>