Revision 4959
Added by daigle about 15 years ago
build.xml | ||
---|---|---|
105 | 105 |
<property name="schema-cvsrelpath" value="lib${schema-relpath}"/> |
106 | 106 |
<property name="style-skins-relpath" value="/style/skins"/> |
107 | 107 |
<property name="util-module" value="utilities" /> |
108 |
<property name="utilities-tag" value="UTILITIES_1_0_0" />
|
|
108 |
<property name="utilities-tag" value="UTILITIES_1_0_1" />
|
|
109 | 109 |
<property name="eml-module" value="eml" /> |
110 | 110 |
<property name="eml-version" value="2.0.0beta6" /> |
111 | 111 |
<property name="eml-beta-tag" value="BRANCH_EML_2_0_0_BETA_6_FOR_METACAT" /> |
... | ... | |
228 | 228 |
<property name="ecogrid-dir" value="${ecogrid-module-dest-dir}/${ecogrid-module}"/> |
229 | 229 |
|
230 | 230 |
<property name="package.home" value="edu/ucsb/nceas/metacat" /> |
231 |
|
|
232 |
<!-- set up svn --> |
|
233 |
<property name="svnant.lib" value="lib" /> |
|
234 |
<property name="svnant.jar" value="${svnant.lib}/svnant.jar" /> |
|
235 |
<property name="svnClientAdapter.jar" value="${svnant.lib}/svnClientAdapter.jar" /> |
|
236 |
<property name="svnjavahl.jar" value="${svnant.lib}/svnjavahl.jar" /> |
|
237 |
<property name="svn.utilitiesUrl" value="https://code.ecoinformatics.org/code/utilities/tags/${utilities-tag}" /> |
|
238 |
<!-- property name="svn.utilitiesExportPath" value="${knbdir}" / --> |
|
239 |
|
|
240 |
<!-- load the svn task --> |
|
241 |
<path id="svn.classpath"> |
|
242 |
<pathelement location="${svnjavahl.jar}" /> |
|
243 |
<pathelement location="${svnant.jar}" /> |
|
244 |
<pathelement location="${svnClientAdapter.jar}" /> |
|
245 |
</path> |
|
246 |
<taskdef resource="svntask.properties" classpathref="svn.classpath"/> |
|
247 |
|
|
231 | 248 |
<condition property="utilities.required"> |
232 | 249 |
<or> |
233 | 250 |
<not><available file="lib/httpclient.jar"/></not> |
... | ... | |
317 | 334 |
</target> |
318 | 335 |
|
319 | 336 |
<target name="getpeerutilities" depends="prepare" if="peer.utilities.required" |
320 |
description="Checks utilities out of cvs and copies it to your utilitiesdir if it does not already exist"> |
|
321 |
<echo>Enter CVS password: </echo> |
|
322 |
<cvs cvsRoot="${cvsroot}" package="${util-module}" |
|
323 |
tag="${utilities-tag}" dest="${utilitiesdir}/.." /> |
|
337 |
description="Checks utilities out of svn and copies it to your utilitiesdir if it does not already exist"> |
|
338 |
<echo message="Exporting utiities files from svn repository:" /> |
|
339 |
<!-- input message="Please enter svn repo username:" addproperty="svn.username" / --> |
|
340 |
<!-- input message="Please enter svn repo password:" addproperty="svn.password" / --> |
|
341 |
<!-- svn username="${svn.username}" password="${svn.password}" --> |
|
342 |
<svn> |
|
343 |
<export srcUrl="${svn.utilitiesUrl}" destPath="${utilitiesdir}" /> |
|
344 |
</svn> |
|
345 |
|
|
346 |
<!-- ant dir="${utilitiesdir}" inheritAll="false" target="dist" / --> |
|
324 | 347 |
</target> |
325 | 348 |
|
326 | 349 |
<target name="getutilities" depends="prepare" |
327 |
description="Checks utility out of cvs and copies it to your metacat cvs sandbox">
|
|
350 |
description="Checks utility out of svn and copies it to your metacat cvs sandbox">
|
|
328 | 351 |
<echo>Enter CVS password: </echo> |
329 | 352 |
<cvs cvsRoot="${cvsroot}" |
330 | 353 |
package="${util-module}" |
Also available in: Unified diff
Added generic scheduler and workflow scheduling functionality.