You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wink.apache.org by ng...@apache.org on 2009/06/23 07:29:32 UTC
svn commit: r787549 - in /incubator/wink/contrib/ibm-jaxrs/framework: ./
environments/ environments/standalone/ environments/standalone/build.xml
Author: ngallardo
Date: Tue Jun 23 05:29:32 2009
New Revision: 787549
URL: http://svn.apache.org/viewvc?rev=787549&view=rev
Log: (empty)
Added:
incubator/wink/contrib/ibm-jaxrs/framework/
incubator/wink/contrib/ibm-jaxrs/framework/environments/
incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/
incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/build.xml
Added: incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/build.xml
URL: http://svn.apache.org/viewvc/incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/build.xml?rev=787549&view=auto
==============================================================================
--- incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/build.xml (added)
+++ incubator/wink/contrib/ibm-jaxrs/framework/environments/standalone/build.xml Tue Jun 23 05:29:32 2009
@@ -0,0 +1,141 @@
+<?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="standalone" default="distEnv">
+ <description>The Standalone project release.</description>
+
+ <dirname file="${ant.file.standalone}" property="standalone.base.dir" />
+ <import file="${standalone.base.dir}/../../../build.xml" />
+
+ <property name="standalone.dist.dir" location="${dist.dir}/standalone" />
+ <property name="ibmjaxrs.framework.environment" value="standalone" />
+
+ <target name="initEnv">
+ </target>
+
+ <target name="cleanEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="compileEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="cleanTestEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="compileTestEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="runTestEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="docsEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="samplesEnv">
+ <!-- Do nothing -->
+ </target>
+
+ <target name="distEnv" depends="initEnv">
+ <delete dir="${standalone.dist.dir}" includeemptydirs="true" failonerror="false" />
+
+ <mkdir dir="${standalone.dist.dir}" />
+ <mkdir dir="${standalone.dist.dir}/documentation" />
+ <mkdir dir="${standalone.dist.dir}/lib" />
+ <mkdir dir="${standalone.dist.dir}/samples" />
+
+ <!-- copy the build output over -->
+ <copy file="${build.output}" tofile="${standalone.dist.dir}/ibmjaxrs-${dist.version}.jar" />
+
+ <!-- copy the documentation over -->
+ <copy todir="${standalone.dist.dir}/documentation">
+ <fileset dir="${resource.dir}/docs/site">
+ <include name="**/*" />
+ <include name="*/samples/**" />
+ </fileset>
+ </copy>
+
+ <!-- copy the samples over -->
+ <copy todir="${standalone.dist.dir}/samples">
+ <fileset dir="${samples.dir}">
+ <include name="**/*.war" />
+ <include name="**/doc/*" />
+ <include name="**/config/**" />
+ <include name="**/README.txt" />
+ <exclude name="wars/*.war" />
+ </fileset>
+ </copy>
+
+ <!-- copy the libraries over -->
+ <copy todir="${standalone.dist.dir}/lib">
+ <fileset dir="${lib.dir}">
+ <!-- Necessary to compile and work -->
+ <include name="commons-logging-1.1.1.jar" />
+
+ <!-- Included for ASM code ; also necessary -->
+ <include name="asm-all-3.1.jar" />
+
+ <!-- the following are unneeded JARs if samples/providers are stripped -->
+
+ <!-- Included for Abdera Provider -->
+ <include name="abdera-0.4.0-incubating.jar" />
+ <include name="abdera-core-0.4.0-incubating.jar" />
+ <include name="axiom-api-1.2.5.jar" />
+ <include name="axiom-impl-1.2.5.jar" />
+ <include name="jaxen-1.1.1.jar" />
+ <include name="commons-codec-1.3.jar" />
+
+ <!-- Included for XML Beans Provider -->
+ <include name="xmlbeans-2.3.0.jar" />
+ </fileset>
+ </copy>
+
+ <!-- make the API jar -->
+ <copy file="${lib.dir}/${jaxrs.api.jar}" tofile="${standalone.dist.dir}/ibmjaxrs-${dist.version}-api.jar" />
+
+ <delete file="${standalone.dist.dir}/ibmjaxrs-standalone-${dist.version}.zip" failonerror="false">
+ </delete>
+
+ <zip destfile="${standalone.dist.dir}/StandAlone_com.ibm.jaxrs_${dist.version}.zip" basedir="${standalone.dist.dir}" excludes="samples/**, documentation/*/samples/**, documentation/*/samples-index.html">
+ </zip>
+
+ <move file="${standalone.dist.dir}/documentation/en/samples-index.html" tofile="${standalone.dist.dir}/documentation/en/index.html">
+ </move>
+ <!-- replace any *.* file with the *-dist.* file if it exists -->
+ <move todir="${standalone.dist.dir}/documentation">
+ <fileset dir="${standalone.dist.dir}/documentation" includes="**/samples-index.html">
+ </fileset>
+ <mapper type="regexp" from="samples-index.html" to="index.html" />
+ </move>
+
+ <zip destfile="${standalone.dist.dir}/StandAlone_com.ibm.jaxrs_${dist.version}_samples.zip" basedir="${standalone.dist.dir}" includes="samples/**, documentation/*/samples/**, documentation/*/book.css, documentation/*/header.html, documentation/*/footer.html, documentation/*/index.html, documentation/index.html">
+ </zip>
+ </target>
+
+ <target name="publishEnv" depends="initEnv">
+ <!-- Do nothing -->
+ </target>
+</project>