From bd4fbd7058f1285c24481170d10e34c316cd8e7c Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 13 Aug 2008 19:38:15 +0000 Subject: Simplified the build scripts a bit, added source distro build scripts. Building the core distro now triggers the build of the modules that it includes. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@685652 13f79535-47bb-0310-9956-ffa450edef68 --- java/sca/distribution/features/generate-profile.sh | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 java/sca/distribution/features/generate-profile.sh (limited to 'java/sca/distribution/features/generate-profile.sh') diff --git a/java/sca/distribution/features/generate-profile.sh b/java/sca/distribution/features/generate-profile.sh new file mode 100755 index 0000000000..1d847a164e --- /dev/null +++ b/java/sca/distribution/features/generate-profile.sh @@ -0,0 +1,31 @@ +# 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. + +# After building a distribution, this script can be used to +# generate a Maven build profile that includes all the modules +# included directly or transitively in that distribution + +echo " " +echo " distribution" +echo " " + +unzip -v target/*-SNAPSHOT.zip | awk '/(.*)(\/modules\/tuscany-)(.*)(\..ar$)/ { print gensub("(.*)(/modules/tuscany-)(.*)(-...-SNAPSHOT.jar)", "\\3", "g")}' | sort | awk '{ printf " ../../../modules/%s\n", $1 }' + +echo " " +echo " " +echo "" + -- cgit v1.2.3