You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by ae...@apache.org on 2007/02/27 22:15:41 UTC

svn commit: r512411 - /webservices/muse/trunk/build.xml

Author: aeberbac
Date: Tue Feb 27 13:15:40 2007
New Revision: 512411

URL: http://svn.apache.org/viewvc?view=rev&rev=512411
Log:
MUSE-194: packaging everything together.

Modified:
    webservices/muse/trunk/build.xml

Modified: webservices/muse/trunk/build.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/build.xml?view=diff&rev=512411&r1=512410&r2=512411
==============================================================================
--- webservices/muse/trunk/build.xml (original)
+++ webservices/muse/trunk/build.xml Tue Feb 27 13:15:40 2007
@@ -49,6 +49,23 @@
         <!-- the name of the directory where the release zip files will be put -->
         <property name="MUSE_DIST" value="dist"/>
 
+        <!-- a temporary directory to which we download the dependency zip files -->
+        <property name="TEMP_DOWNLOAD_DIR" value="tempDownload"/>
+
+        <!-- the locations of all of the dependency zip files -->
+        <property name="AXIS2_OSGI_LIB_URL" value="http://ws.apache.org/muse/build/lib/axis2-osgi.zip"/>
+        <property name="AXIS2_LIB_URL" value="http://ws.apache.org/muse/build/lib/axis2.zip"/>
+        <property name="COMMON_LIB_URL" value="http://ws.apache.org/muse/build/lib/common.zip"/>
+        <property name="ECLIPSE_OSGI_URL" value="http://ws.apache.org/muse/build/lib/eclipse-osgi.zip"/>
+        <property name="MUSE_LOGGING_URL" value="http://ws.apache.org/muse/build/lib/muse-logging-2.2.0.jar"/>
+
+        <!-- the names of the downloaded dependencies (they all get put into the TEMP_DOWNLOAD_DIR dir -->
+        <property name="AXIS2_OSGI_LIB_FILE" value="${TEMP_DOWNLOAD_DIR}/axis2-osgi.zip"/>
+        <property name="AXIS2_LIB_FILE" value="${TEMP_DOWNLOAD_DIR}/axis2.zip"/>
+        <property name="COMMON_LIB_FILE" value="${TEMP_DOWNLOAD_DIR}/common.zip"/>
+        <property name="ECLIPSE_OSGI_FILE" value="${TEMP_DOWNLOAD_DIR}/eclipse-osgi.zip"/>
+        <property name="MUSE_LOGGING_FILE" value="${TEMP_DOWNLOAD_DIR}/muse-logging-2.2.0.jar"/>
+
         <!-- the svn ant task didn't work so call it directly 
              an executable svn must be on the system PATH -->
         <exec executable="svn" searchpath="true" dir="." failonerror="true">
@@ -358,6 +375,22 @@
             includes="**/*.sh"
             />
 
+        <!-- get *all* of the dependencies -->
+        <mkdir dir="${TEMP_DOWNLOAD_DIR}"/>
+        <get src="${AXIS2_OSGI_LIB_URL}" dest="${AXIS2_OSGI_LIB_FILE}"/>
+        <get src="${AXIS2_LIB_URL}" dest="${AXIS2_LIB_FILE}"/>
+        <get src="${COMMON_LIB_URL}" dest="${COMMON_LIB_FILE}"/>
+        <get src="${ECLIPSE_OSGI_URL}" dest="${ECLIPSE_OSGI_FILE}"/>
+        <get src="${MUSE_LOGGING_URL}" dest="${MUSE_LOGGING_FILE}"/>
+
+        <unzip dest="${MUSE_LIB_DIR}">
+            <fileset dir="${TEMP_DOWNLOAD_DIR}">
+                <include name="*.zip"/>
+            </fileset>
+        </unzip>
+
+        <copy file="${MUSE_LOGGING_FILE}" todir="${MUSE_LIB_DIR}"/>
+
         <!-- zip up everything and put it into the distribution -->
         <zip destfile="${MUSE_DIST}/muse-${VERSION}-bin.zip">
             <fileset dir="${TEMP_DIR}">
@@ -385,3 +418,4 @@
         <record name="${LOG_FILE}" append="yes" action="stop"/>
     </target>    
 </project>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org