diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:11:40 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:11:40 +0000 |
commit | 76e9f96ca7f494088fe3af5a46ad0d153e961008 (patch) | |
tree | e44436205dcb28d3d8c6352fa7b36a90f59db2a1 /sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml | |
parent | f9be2165328dc76f562938566057e89c0723fe08 (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml')
-rw-r--r-- | sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml new file mode 100644 index 0000000000..8142364b78 --- /dev/null +++ b/sca-java-1.x/branches/java-M1/java/distribution/tuscany-polish/fixupJars.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable. + * + * 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. + --> +<project name="project" default="fixupJars"> + + <target name="fixupJars"> + <delete> + <fileset dir="${target.dir}/lib/axis2" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + <fileset dir="${target.dir}/lib/celtix" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + <fileset dir="${target.dir}/lib/tools" includes="*.jar"> + <present present="both" targetdir="${target.dir}/lib" /> + </fileset> + </delete> + <copy todir="${target.dir}/javadoc"> + <fileset dir="${target.dir}/../../build/javadoc"> + <include name="sca-api/**/*" /> + <include name="sdo-api/**/*" /> + <include name="tuscany-common/**/*" /> + <include name="tuscany-core/**/*" /> + <include name="tuscany-model/**/*" /> + <include name="tuscany-das-rdb/**/*" /> + <include name="tuscany-databinding-sdo/**/*" /> + </fileset> + </copy> + <copy todir="${target.dir}/javadoc"> <!-- Style sheets are bing hdden here. --> + <fileset dir="../../javadoc"> + <include name="**/*" /> + </fileset> + </copy> + <copy todir="${target.dir}/sampleapps"> + <fileset dir="../../sampleapps"> + <include name="**/*.htm*" /> + </fileset> + </copy> + <copy todir="${target.dir}"> + <fileset dir="../.."> + <include name="README.txt" /> + <include name="LICENSE.txt" /> + <include name="NOTICE" /> + <include name="GettingStarted.htm" /> + </fileset> + <fileset dir="../../.."> + <include name="STATUS" /> + <include name="PROPOSAL.txt" /> + </fileset> + </copy> + <zip destfile="${target.dir}/../tuscany-incubating-M1.zip"> + <zipfileset dir="${target.dir}" prefix="tuscany-incubating-M1"> + </zipfileset> + </zip> + <tar destfile="${target.dir}/../tuscany-incubating-M1.tar" longfile="gnu"> + <tarfileset dir="${target.dir}" prefix="tuscany-incubating-M1" mode="755"> + <include name="**/*.sh"/> + </tarfileset> + <tarfileset dir="${target.dir}" prefix="tuscany-incubating-M1"> + <exclude name="**/*.sh"/> + </tarfileset> + </tar> + <gzip zipfile="${target.dir}/../tuscany-incubating-M1.tar.gz" src="${target.dir}/../tuscany-incubating-M1.tar" /> + + <patternset id="exclusionList"> + <exclude name="**/target"/> + <exclude name="**/target/**/*"/> + <exclude name="**/.svn"/> + <exclude name="**/.svn/**/*"/> + <exclude name="**/build"/> + <exclude name="**/build/**/*"/> + <exclude name="**/.settings/**/*"/> + <exclude name="**/.classpath"/> + <exclude name="**/.project"/> + <exclude name="**/.wtpmodules"/> + <exclude name="**/surefire*"/> + <exclude name="**/cobertura.ser"/> + <exclude name="**/bin/*"/> + <exclude name="**/var/journal"/> + <exclude name="**/build.out*"/> + <exclude name="**/apache-tomcat-*.zip"/> + <exclude name="**/apache-tomcat-*.tar.gz"/> + </patternset> + + <zip destfile="${target.dir}/../tuscany-incubating-M1-src.zip"> + <zipfileset dir="${target.dir}/../../.." prefix="tuscany-incubating-M1-src"> + <patternset refid="exclusionList"/> + </zipfileset> + </zip> + <tar destfile="${target.dir}/../tuscany-incubating-M1-src.tar" longfile="gnu"> + <tarfileset dir="${target.dir}/../../.." prefix="tuscany-incubating-M1-src"> + <patternset refid="exclusionList"/> + </tarfileset> + </tar> + <gzip zipfile="${target.dir}/../tuscany-incubating-M1-src.tar.gz" src="${target.dir}/../tuscany-incubating-M1-src.tar" /> + + </target> + +</project> |