blob: 09d67af81d4a105e1f69f256e5e9595d7d182a74 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Copyright 1999-2004 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.
-->
<!-- $Id$ -->
<project name="admin">
<description>
Admin targets
</description>
<!-- Create the announcements -->
<target name="announcement">
<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">
<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, validate-jars, core-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>