Author: asoldano
Date: 2015-03-06 09:18:52 -0500 (Fri, 06 Mar 2015)
New Revision: 19532
Removed:
stack/cxf/trunk/build.xml
Log:
Removing legacy build.xml (not used anymore)
Deleted: stack/cxf/trunk/build.xml
===================================================================
--- stack/cxf/trunk/build.xml 2015-03-06 14:01:24 UTC (rev 19531)
+++ stack/cxf/trunk/build.xml 2015-03-06 14:18:52 UTC (rev 19532)
@@ -1,192 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- ~ JBoss, Home of Professional Open Source.
- ~ Copyright 2014, Red Hat, Inc., and individual contributors
- ~ as indicated by the @author tags. See the copyright.txt file in the
- ~ distribution for a full listing of individual contributors.
- ~
- ~ This is free software; you can redistribute it and/or modify it
- ~ under the terms of the GNU Lesser General Public License as
- ~ published by the Free Software Foundation; either version 2.1 of
- ~ the License, or (at your option) any later version.
- ~
- ~ This software is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ~ Lesser General Public License for more details.
- ~
- ~ You should have received a copy of the GNU Lesser General Public
- ~ License along with this software; if not, write to the Free
- ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- ~ 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- -->
-
-<project basedir="." name="JBossWS-CXF">
-
- <!-- ================================================================== -->
- <!-- Setup -->
- <!-- ================================================================== -->
- <property name="stack.dir" value="${basedir}"/>
- <property name="dist.dir"
value="${stack.dir}/modules/dist"/>
- <property name="dist.distro.dir"
value="${dist.dir}/src/main/distro"/>
- <property name="dist.output.dir"
value="${dist.dir}/target"/>
- <property name="stack.output.dir"
value="${stack.dir}/target"/>
- <property name="stack.modules.dir"
value="${stack.dir}/modules"/>
- <property name="stack.client.dir"
value="${stack.modules.dir}/client"/>
- <property name="stack.server.dir"
value="${stack.modules.dir}/server"/>
- <property name="stack.resources.dir"
value="${stack.dir}/modules/resources/src/main/resources"/>
- <property name="deploy.artifacts.dir"
value="${dist.output.dir}/assembly/deploy-artifacts"/>
-
- <import file="${dist.distro.dir}/build-setup.xml"/>
- <import file="${dist.distro.dir}/build-deploy.xml"/>
- <import
file="${stack.resources.dir}/resources/jbossws-deploy-macros.xml"/>
-
- <property name="jbossws.default.modules.conf"
value="${stack.resources.dir}/resources/modules-deploy.conf"/>
- <property name="target.properties.file"
value="${basedir}/target.properties"/>
-
- <!-- ================================================================== -->
- <!-- Initialization -->
- <!-- ================================================================== -->
-
- <target name="os-init">
- <condition property="ext" value=".bat">
- <not>
- <os family="unix"/>
- </not>
- </condition>
- <property name="ext" value=""/>
- <property name="mvn" value="mvn${ext}"/>
- </target>
-
- <target name="mvn-settings" depends="os-init">
- <property name="maven.opts" value=""/>
- <!-- Loads the properties from the effective maven settings -->
- <mkdir dir="${dist.output.dir}"/>
- <exec dir="${basedir}" executable="${mvn}"
failonerror="true">
- <arg value="-Doutput=${dist.output.dir}/effective-settings.xml"/>
- <arg line="${maven.opts} help:effective-settings"/>
- </exec>
- <xmlproperty file="${dist.output.dir}/effective-settings.xml"
keeproot="false"/>
- <condition property="wildfly800.home"
value="${profiles.profile.properties.wildfly800.home}">
- <isset property="profiles.profile.properties.wildfly800.home"/>
- </condition>
- <condition property="wildfly810.home"
value="${profiles.profile.properties.wildfly810.home}">
- <isset property="profiles.profile.properties.wildfly810.home"/>
- </condition>
- <condition property="wildfly820.home"
value="${profiles.profile.properties.wildfly820.home}">
- <isset property="profiles.profile.properties.wildfly820.home"/>
- </condition>
- <condition property="wildfly900.home"
value="${profiles.profile.properties.wildfly900.home}">
- <isset property="profiles.profile.properties.wildfly900.home"/>
- </condition>
-
-
- <fail message="Application server home not set, wildfly800.home=value,
wildfly810.home=value, wildfly820.home=value or wildfly900.home to set">
- <condition>
- <and>
- <not>
- <isset property="wildfly800.home"/>
- </not>
- <not>
- <isset property="wildfly810.home"/>
- </not>
- <not>
- <isset property="wildfly820.home"/>
- </not>
- <not>
- <isset property="wildfly900.home"/>
- </not>
- </and>
- </condition>
- </fail>
-
- <echo/>
- <echo message="wildfly800.home=${wildfly800.home}"/>
- <echo message="wildfly810.home=${wildfly810.home}"/>
- <echo message="wildfly820.home=${wildfly820.home}"/>
- <echo message="wildfly900.home=${wildfly900.home}"/>
- </target>
-
- <target name="init" depends="mvn-settings,prepare,os-init">
- <xmlproperty file="${stack.dir}/pom.xml"/>
- <property name="version.id" value="${project.version}"/>
-
- <echo message="version.id=${version.id}"/>
- <echo message="integration.target=${jbossws.integration.target}"/>
-
- <fail message="jbossws.integration.target not set"
unless="jbossws.integration.target"/>
- <property name="deploy.structure"
value="${dist.output.dir}/deploy-${jbossws.integration.target}"/>
- </target>
-
- <!-- ================================================================== -->
- <!-- Distribution -->
- <!-- ================================================================== -->
-
- <target name="prepare-deploy" depends="prepare,os-init">
-
- <!-- Use a system property to overwrite the empty default value -->
- <property name="maven.opts" value=""/>
-
- <echo/>
- <echo message="${mvn} ${maven.opts} -Pdist -Dno-testsuite install"/>
- <echo/>
-
- <delete dir="${deploy.artifacts.dir}"/>
- <exec dir="${basedir}" executable="${mvn}"
failonerror="true">
- <arg line="${maven.opts} -Pdist -Dno-testsuite install"/>
- </exec>
- </target>
-
- <target name="build-bin-dist" depends="prepare,os-init,makedir"
description="Build the binary distribution">
-
- <!-- Use a system property to overwrite the empty default value -->
- <property name="maven.opts" value=""/>
- <echo/>
- <echo message="${mvn} ${maven.opts} -Pdist -Dbindist -Dno-testsuite
install"/>
- <echo/>
-
- <delete dir="${dist.output.dir}/jbossws-cxf-bin-dist"/>
- <exec dir="${basedir}" executable="${mvn}"
failonerror="true">
- <arg line="${maven.opts} -Pdist -Dbindist -Dno-testsuite
install"/>
- </exec>
-
- <zip destfile="${stack.output.dir}/jbossws-cxf-bin-dist.zip">
- <zipfileset
- dir="${dist.output.dir}/assembly/jbossws-cxf-bin-dist"
- includes="build/ deploy/ docs/ tests/ build.xml
ant.properties.example"
- prefix="jbossws-cxf-bin-dist"/>
- </zip>
- </target>
-
- <target name="build-src-dist" depends="prepare,os-init,makedir"
description="Build the source distribution">
-
- <!-- Use a system property to overwrite the empty default value -->
- <property name="maven.opts" value=""/>
- <echo/>
- <echo message="${mvn} ${maven.opts} -Pdist -Dsrcdist -Dno-testsuite
install"/>
- <echo/>
-
- <delete dir="${dist.output.dir}/jbossws-cxf-src-dist"/>
- <exec dir="${basedir}" executable="${mvn}"
failonerror="true">
- <arg line="${maven.opts} -Pdist -Dsrcdist -Dno-testsuite
install"/>
- </exec>
-
- <zip destfile="${stack.output.dir}/jbossws-cxf-src-dist.zip">
- <zipfileset
- dir="${dist.output.dir}/assembly/jbossws-cxf-src-dist"
- includes="modules/ src/ eclipse/ build.xml pom.xml profiles.xml.example
.classpath .project"
- prefix="jbossws-cxf-src-dist"/>
- </zip>
- </target>
-
-
- <target name="check.exist">
- <available file="${stack.output.dir}"
property="file.exists" value="true" />
- </target>
-
- <target name="makedir" depends="check.exist"
unless="file.exists">
- <mkdir dir="${stack.output.dir}" />
- </target>
-
-</project>