Revision 8616
Added by Chris Jones almost 11 years ago
build.xml | ||
---|---|---|
536 | 536 |
</javac> |
537 | 537 |
</target> |
538 | 538 |
|
539 |
<target name="jar" depends="compile,geteml,getdataone,getdc,getdryad"
|
|
539 |
<target name="jar" depends="compile,geteml" |
|
540 | 540 |
description="Compiles and jars metacat java code to metacat.jar in build dir "> |
541 | 541 |
|
542 | 542 |
<delete file="${build.dir}/${name}.jar" /> |
... | ... | |
643 | 643 |
<delete file="./harvest-list-editor-${release}.tar" /> |
644 | 644 |
</target> |
645 | 645 |
|
646 |
<target name="getdataone" |
|
647 |
description="Gets the dataone schemas and copies them to your metacat sandbox"> |
|
648 |
<mkdir dir="lib/schema/dataone" /> |
|
649 |
<get dest="lib/schema/dataone/dataoneTypes.xsd" skipexisting="true" verbose="on"> |
|
650 |
<url url="http://ns.dataone.org/service/types/v1"/> |
|
651 |
</get> |
|
652 |
<get dest="lib/schema/dataone/dataoneTypes_v1.1.xsd" skipexisting="true"> |
|
653 |
<url url="http://ns.dataone.org/service/types/v1.1"/> |
|
654 |
</get> |
|
655 |
</target> |
|
656 |
|
|
657 |
<target name="getdryad" depends="getdc" |
|
658 |
description="Gets the dryad schemas and copies them to your metacat sandbox"> |
|
659 |
<mkdir dir="lib/schema/dryad" /> |
|
660 |
<get dest="lib/schema/dryad/dryad.xsd" skipexisting="true" verbose="on"> |
|
661 |
<url url="http://purl.org/dryad/schema/terms/v3.1"/> |
|
662 |
</get> |
|
663 |
<get dest="lib/schema/dryad/dryad-bibo.xsd" skipexisting="true"> |
|
664 |
<url url="http://purl.org/dryad/schema/dryad-bibo/v3.1"/> |
|
665 |
</get> |
|
666 |
</target> |
|
667 |
|
|
668 |
<target name="getdc" |
|
669 |
description="Gets the dublin core schemas and copies them to your metacat sandbox"> |
|
670 |
<get dest="lib/schema/dc" skipexisting="true" verbose="on"> |
|
671 |
<url url="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd"/> |
|
672 |
<url url="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dc.xsd"/> |
|
673 |
<url url="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcmitype.xsd"/> |
|
674 |
</get> |
|
675 |
</target> |
|
676 |
|
|
677 | 646 |
<target name="geteml" depends="getemlpre2,getemlpre2beta4,geteml2+,getConversionXSL" |
678 | 647 |
if="eml.required" description="Calls getemlpre2 and geteml2+ targets" /> |
679 | 648 |
|
... | ... | |
1476 | 1445 |
</target> |
1477 | 1446 |
|
1478 | 1447 |
<target name="dist" |
1479 |
depends="geteml,get-ecogrid,jar,protocol,documentation,getConversionXSL,getutilities,getdataone,getdc,getdryad"
|
|
1448 |
depends="geteml,get-ecogrid,jar,protocol,documentation,getConversionXSL,getutilities" |
|
1480 | 1449 |
description="prepares a full release distribution"> |
1481 | 1450 |
<mkdir dir="${dist.dir}" /> |
1482 | 1451 |
<delete dir="${ver.dir}" /> |
Also available in: Unified diff
In lieu of pulling schemas from URL endpoints for dataONE, Darwin core, and Dryad, we're caching them in Metacat so we have stable copies. Remove the ant targets used to pull them.