geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r579887 - in /geronimo/devtools/j2g/trunk/eclipse: eclipse-3.3RC2.xml pom.xml
Date Thu, 27 Sep 2007 04:18:40 GMT
Author: dwoods
Date: Wed Sep 26 21:18:39 2007
New Revision: 579887

URL: http://svn.apache.org/viewvc?rev=579887&view=rev
Log:
GERONIMODEVTOOLS-218 Temp revert back to 3.3RC2 so people can build it until we fix the 3.3
upgrade bug

Added:
    geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml   (with props)
Modified:
    geronimo/devtools/j2g/trunk/eclipse/pom.xml

Added: geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml?rev=579887&view=auto
==============================================================================
--- geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml (added)
+++ geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml Wed Sep 26 21:18:39 2007
@@ -0,0 +1,83 @@
+<?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.
+  -->
+
+<!-- =================================================================================
-->
+<!-- Download Europa Eclipse artifacts and unzip them into the user's local maven repo
-->
+<!-- =================================================================================
-->
+<project name="EclipseArtifacts">
+
+    <target name="init">
+        <property name="eclipse_version"       value="3.3RC2"/>
+        <echo>Setting up for downloading Eclipse SDK v${eclipse_version}</echo>
+        <property name="base_url"               value="http://archive.eclipse.org"/>
+        <property name="eclipse_sdk_url"       value="${base_url}/eclipse/downloads/drops/S-3.3RC2-200705251350/"/>
+        <property name="eclipse_sdk_win32"       value="eclipse-SDK-${eclipse_version}-win32.zip"/>
+        <property name="eclipse_sdk_linux"       value="eclipse-SDK-${eclipse_version}-linux-gtk.tar"/>
+        <property name="eclipse_sdk_macos"       value="eclipse-SDK-${eclipse_version}-macosx-carbon.tar"/>
+        <property name="eclipse_sdk_linux_gz"    value="${eclipse_sdk_linux}.gz"/>
+        <property name="eclipse_sdk_macos_gz"    value="${eclipse_sdk_macos}.gz"/>
+
+        <property name="protocol" value=""/>
+    </target>
+
+    <target name="win32" depends="init,common" description="Download Windows-specific
artifact(s)">
+        <echo>Downloading ${eclipse_sdk_url}${eclipse_sdk_win32}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
+        <get src="${eclipse_sdk_url}${eclipse_sdk_win32}${protocol}"
+             dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_win32}"

+             verbose="true"
+             usetimestamp="true"/>
+        <echo>Unzipping ${eclipse_sdk_win32} to the expected location in ${LOCAL_M2_REPO}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
+        <unzip src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_win32}"

+               dest="${LOCAL_M2_REPO}/eclipse"/>
+    </target>
+
+    <target name="linux" depends="init,common" description="Download Linux-specific artifact(s)">
+        <echo>Downloading ${eclipse_sdk_url}${eclipse_sdk_linux_gz}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
+        <get src="${eclipse_sdk_url}${eclipse_sdk_linux_gz}${protocol}"
+             dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_linux_gz}"

+             verbose="true"
+             usetimestamp="true"/>
+        <echo>Unzipping ${eclipse_sdk_linux_gz} to the expected location in ${LOCAL_M2_REPO}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
+        <gunzip src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_linux_gz}"/>
+        <untar  src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_linux}"

+               dest="${LOCAL_M2_REPO}/eclipse"/>
+    </target>
+
+    <target name="macos" depends="init,common" description="Download Mac-specific artifact(s)">
+        <echo>Downloading ${eclipse_sdk_url}${eclipse_sdk_macos_gz}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
+        <get src="${eclipse_sdk_url}${eclipse_sdk_macos_gz}${protocol}"
+             dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_macos_gz}"

+             verbose="true"
+             usetimestamp="true"/>
+        <echo>Unzipping ${eclipse_sdk_macos_gz} to the expected location in ${LOCAL_M2_REPO}</echo>
+        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
+        <gunzip src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_macos_gz}"/>
+        <untar  src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${eclipse_sdk_macos}"

+               dest="${LOCAL_M2_REPO}/eclipse"/>
+    </target>
+
+    <target name="common" depends="init" description="Download artifacts common to all
OS'es">
+        <echo>Removing any existing version of Eclipse at ${LOCAL_M2_REPO}/eclipse</echo>
+        <delete dir="${LOCAL_M2_REPO}/eclipse"/>
+    </target>
+</project>

Propchange: geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3RC2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/devtools/j2g/trunk/eclipse/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/eclipse/pom.xml?rev=579887&r1=579886&r2=579887&view=diff
==============================================================================
--- geronimo/devtools/j2g/trunk/eclipse/pom.xml (original)
+++ geronimo/devtools/j2g/trunk/eclipse/pom.xml Wed Sep 26 21:18:39 2007
@@ -42,7 +42,7 @@
                         <configuration>
                             <tasks>
                                 <property name="LOCAL_M2_REPO" value="${settings.localRepository}"/>
-                                <ant antfile="${basedir}/eclipse-3.3.xml">
+                                <ant antfile="${basedir}/eclipse-3.3RC2.xml">
                                     <target name="${eclipsePlatformFamily}"></target>
                                 </ant>
                             </tasks>



Mime
View raw message