|
22 | 22 | <project name="EuropaArtifacts">
|
23 | 23 |
|
24 | 24 | <target name="init">
|
25 |
| - <property name="europa_download_url" value="http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3-200706251500/"/> |
26 |
| - <property name="dtp_download_url" value="http://www.eclipse.org/downloads/download.php?file=/datatools/downloads/1.5/"/> |
27 |
| - <property name="emf_download_url" value="http://www.eclipse.org/downloads/download.php?file=/modeling/emf/emf/downloads/drops/2.3.0/R200706262000/"/> |
28 |
| - <property name="gef_download_url" value="http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/R-3.3-200706281000/"/> |
29 |
| - <property name="wtp_download_url" value="http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R2.0/R-2.0-200706260303/"/> |
| 25 | + <property name="base_url" value="http://www.eclipse.org/downloads/download.php?file="/> |
| 26 | + <property name="europa_win32_url" value="${base_url}/eclipse/downloads/drops/R-3.3-200706251500/"/> |
| 27 | + <property name="europa_linux_url" value="${base_url}/eclipse/downloads/drops/R-3.3-200706251500/"/> |
| 28 | + <property name="europa_macos_url" value="${base_url}/eclipse/downloads/drops/R-3.3-200706251500/"/> |
| 29 | + <property name="dtp_download_url" value="${base_url}/datatools/downloads/1.5/"/> |
| 30 | + <property name="emf_download_url" value="${base_url}/modeling/emf/emf/downloads/drops/2.3.0/R200706262000/"/> |
| 31 | + <property name="gef_download_url" value="${base_url}/tools/gef/downloads/drops/R-3.3-200706281000/"/> |
| 32 | + <property name="wtp_download_url" value="${base_url}/webtools/downloads/drops/R2.0/R-2.0-200706260303/"/> |
30 | 33 | <property name="europa_jee_win32" value="eclipse-SDK-3.3-win32.zip"/>
|
31 | 34 | <property name="europa_jee_linux" value="eclipse-SDK-3.3-linux-gtk.tar"/>
|
32 | 35 | <property name="europa_jee_macos" value="eclipse-SDK-3.3-macosx-carbon.tar"/>
|
|
36 | 39 | <property name="emf_sdo" value="emf-sdo-xsd-SDK-2.3.0.zip"/>
|
37 | 40 | <property name="gef_sdk" value="GEF-SDK-3.3.zip"/>
|
38 | 41 | <property name="wtp_sdk" value="wtp-sdk-R-2.0-200706260303.zip"/>
|
| 42 | + <property name="protocol" value="&r=1&protocol=http"/> |
39 | 43 | </target>
|
40 | 44 |
|
41 | 45 | <target name="win32" depends="init,common" description="Download Windows-specific artifact(s)">
|
42 | 46 | <echo>Downloading ${europa_download_url}${europa_jee_win32}</echo>
|
43 | 47 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
44 |
| - <get src="${europa_download_url}${europa_jee_win32}&r=1&protocol=http" |
| 48 | + <get src="${europa_win32_url}${europa_jee_win32}${protocol}" |
45 | 49 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${europa_jee_win32}"
|
46 | 50 | verbose="true"
|
47 | 51 | usetimestamp="true"/>
|
|
54 | 58 | <target name="linux" depends="init,common" description="Download Linux-specific artifact(s)">
|
55 | 59 | <echo>Downloading ${europa_download_url}${europa_jee_linux_gz}</echo>
|
56 | 60 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
57 |
| - <get src="${europa_download_url}${europa_jee_linux_gz}&r=1&protocol=http" |
| 61 | + <get src="${europa_linux_url}${europa_jee_linux_gz}${protocol}" |
58 | 62 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${europa_jee_linux_gz}"
|
59 | 63 | verbose="true"
|
60 | 64 | usetimestamp="true"/>
|
|
68 | 72 | <target name="macos" depends="init,common" description="Download Mac-specific artifact(s)">
|
69 | 73 | <echo>Downloading ${europa_download_url}${europa_jee_macos_gz}</echo>
|
70 | 74 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
71 |
| - <get src="${europa_download_url}${europa_jee_macos_gz}&r=1&protocol=http" |
| 75 | + <get src="${europa_macos_url}${europa_jee_macos_gz}${protocol}" |
72 | 76 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${europa_jee_macos_gz}"
|
73 | 77 | verbose="true"
|
74 | 78 | usetimestamp="true"/>
|
|
79 | 83 | dest="${LOCAL_M2_REPO}/eclipse"/>
|
80 | 84 | </target>
|
81 | 85 |
|
82 |
| - <target name="common" description="Download artifacts common to all OS'es"> |
| 86 | + <target name="common" depends="init" description="Download artifacts common to all OS'es"> |
83 | 87 | <antcall target="dtp"/>
|
84 | 88 | <antcall target="emf"/>
|
85 | 89 | <antcall target="gef"/>
|
86 | 90 | <antcall target="wtp"/>
|
87 | 91 | </target>
|
88 | 92 |
|
89 |
| - <target name="dtp" description="Download Data Tools Platform (DTP) artifact"> |
| 93 | + <target name="dtp" depends="init" description="Download Data Tools Platform (DTP) artifact"> |
90 | 94 | <echo>Downloading ${dtp_download_url}${dtp_sdk}</echo>
|
91 | 95 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
92 |
| - <get src="${dtp_download_url}${dtp_sdk}&r=1&protocol=http" |
| 96 | + <get src="${dtp_download_url}${dtp_sdk}${protocol}" |
93 | 97 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${dtp_sdk}"
|
94 | 98 | verbose="true"
|
95 | 99 | usetimestamp="true"/>
|
|
99 | 103 | dest="${LOCAL_M2_REPO}/eclipse"/>
|
100 | 104 | </target>
|
101 | 105 |
|
102 |
| - <target name="emf" description="Download Eclipse Modeling Framework (EMF) artifact"> |
| 106 | + <target name="emf" depends="init" description="Download Eclipse Modeling Framework (EMF) artifact"> |
103 | 107 | <echo>Downloading ${emf_download_url}${emf_sdo}</echo>
|
104 | 108 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
105 |
| - <get src="${emf_download_url}${emf_sdo}&r=1&protocol=http" |
| 109 | + <get src="${emf_download_url}${emf_sdo}${protocol}" |
106 | 110 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${emf_sdo}"
|
107 | 111 | verbose="true"
|
108 | 112 | usetimestamp="true"/>
|
|
112 | 116 | dest="${LOCAL_M2_REPO}/eclipse"/>
|
113 | 117 | </target>
|
114 | 118 |
|
115 |
| - <target name="gef" description="Download Graphical Editing Framework (GEF) artifact"> |
| 119 | + <target name="gef" depends="init" description="Download Graphical Editing Framework (GEF) artifact"> |
116 | 120 | <echo>Downloading ${gef_download_url}${gef_sdk}</echo>
|
117 | 121 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
118 |
| - <get src="${gef_download_url}${gef_sdk}&r=1&protocol=http" |
| 122 | + <get src="${gef_download_url}${gef_sdk}${protocol}" |
119 | 123 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${gef_sdk}"
|
120 | 124 | verbose="true"
|
121 | 125 | usetimestamp="true"/>
|
|
125 | 129 | dest="${LOCAL_M2_REPO}/eclipse"/>
|
126 | 130 | </target>
|
127 | 131 |
|
128 |
| - <target name="wtp" description="Download Web Tools Platform (WTP) artifact"> |
| 132 | + <target name="wtp" depends="init" description="Download Web Tools Platform (WTP) artifact"> |
129 | 133 | <echo>Downloading ${wtp_download_url}${wtp_sdk}</echo>
|
130 | 134 | <mkdir dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3"/>
|
131 |
| - <get src="${wtp_download_url}${wtp_sdk}&r=1&protocol=http" |
| 135 | + <get src="${wtp_download_url}${wtp_sdk}${protocol}" |
132 | 136 | dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/3.3/${wtp_sdk}"
|
133 | 137 | verbose="true"
|
134 | 138 | usetimestamp="true"/>
|
|
0 commit comments