Project

General

Profile

« Previous | Next » 

Revision 1463

Added by Jing Tao over 21 years ago

Add a target name getschema.

View differences:

build.xml
113 113
      <property name="eml-module" value="eml" />
114 114
      <property name="eml-version" value="2.0.0beta6" />
115 115
      <property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6_REV1" />
116
      <property name="eml2-tag" value="XALAN_STYLESHEET_CHANGES" />
116 117
      <property name="cvsroot"
117 118
                value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
118 119

  
......
224 225
       </fileset>
225 226
       <mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" />
226 227
     </copy>
228
     </copy>
229
   </target>
230
  
231
   <target name="getschema" depends="prepare">
232
     <echo>Enter CVS password: </echo>
233
     <cvs cvsRoot="${cvsroot}"
234
          package="${eml-module}"
235
          tag="${eml2-tag}"
236
          dest="${build.src}" />
237
     <mkdir dir="lib/schema" />
238
     <copy todir="lib/schema" filtering="yes">
239
       <fileset dir="${build.src}/${eml-module}">
240
         <include name="*.xsd"/>
241
       </fileset>
242
     </copy>
227 243
     <copy todir="lib/style">
228 244
       <fileset dir="${build.src}/${eml-module}/style">
229 245
       <include name="*.xsl"/>
230 246
     </fileset>
231 247
     </copy>
232
   </target>
248
   </target> 
233 249

  
234 250
   <target name="dtdsql" depends="prepare">
235 251
     <echo/>

Also available in: Unified diff