Revision 5347
Added by berkley over 14 years ago
build.xml | ||
---|---|---|
647 | 647 |
<param name="dirname" value="eml-2" /> |
648 | 648 |
</antcall> |
649 | 649 |
</target> |
650 |
|
|
651 |
<!-- copies the dataone schemas from a local source if you don't want |
|
652 |
to have to make a ton of svn calls when you're testing (see getd1schemas) --> |
|
653 |
<target name="install-dataone" depends="init"> |
|
654 |
<property name="dataone-shema-dir" value="../cicore/schemas"/> |
|
655 |
<property name="install-dataone-schema-dir" value="${installdir}/schema/D1_SCHEMA_0_1"/> |
|
656 |
<mkdir dir="${install-dataone-schema-dir}"/> |
|
657 |
<copy todir="${install-dataone-schema-dir}"> |
|
658 |
<fileset dir="${dataone-shema-dir}"> |
|
659 |
<include name="**/*.xsd"/> |
|
660 |
</fileset> |
|
661 |
</copy> |
|
662 |
</target> |
|
650 | 663 |
|
664 |
<!-- get the dataone schemas from svn --> |
|
651 | 665 |
<target name="getd1schemas" depends="prepare" |
652 | 666 |
description="Checkout dataone schemas from svn and copy to metacat sandbox"> |
653 | 667 |
<delete dir="${build.tmp}/${dataone-0.1-schema-tag}"/> |
... | ... | |
750 | 764 |
description="* Full Install For Development *"> |
751 | 765 |
<copy file="${dist.dir}/${metacat.context}.war" |
752 | 766 |
todir="${app.deploy.dir}" /> |
767 |
<!-- <copy file="${dist.dir}/${metacat.context}.war" |
|
768 |
todir="${app.deploy.dir2}" />--> |
|
753 | 769 |
<delete dir="${app.deploy.dir}/${metacat.context}" /> |
770 |
<!--<delete dir="${app.deploy.dir2}/${metacat.context}" />--> |
|
754 | 771 |
<tstamp> |
755 | 772 |
<format property="NOW" pattern="MM/dd/yyyy hh:mm:ss aa" /> |
756 | 773 |
</tstamp> |
Also available in: Unified diff
added a new target to install the dataone schemas from a loca dir if you don't want svn calls being made during installation