Project

General

Profile

« Previous | Next » 

Revision 2322

Modified the build to be smarter about making sure that the EML schemas
and styles are in place (so manually running 'geteml' should no longer
be needed), and renamed the 'loaddtdschemas' target to 'register-schemas'.
Reorganized and clarified installation instructions to make the order of
operations and dependencies clearer.

View differences:

build.xml
333 333
              excludes="**/*.sql **/stringclient/** **/client/*.java **/harvesterClient/*.java"/>
334 334
   </target>
335 335

  
336
   <target name="jar" depends="compile"
336
   <target name="jar" depends="compile,geteml"
337 337
    description="Compiles and jars metacat java code to metacat.jar in build dir">
338 338

  
339 339
       <delete file="${build.dir}/${name}.jar" />
......
476 476

  
477 477

  
478 478

  
479
   <target name="dtdschemasql" depends="prepare"
480
   description="Registers the DTDs with the new Metacat instance">
479
   <target name="register-schemas" depends="prepare"
480
   description="Registers the Schemas with a new Metacat instance">
481 481
     <echo/>
482
     <echo>Registering the DTDs with the new Metacat instance...</echo>
482
     <echo>Registering the Schemas with the new Metacat instance...</echo>
483 483
     <sql driver="${dbDriver}"
484 484
          classpath="${jdbc}:${jdbc-add1}:${jdbc-add2}"
485 485
          url="${jdbc-connect}"
......
488 488
          src="${build.src}/loaddtdschema.sql" />
489 489
   </target>
490 490

  
491
   <target name="schemasql" depends="prepare"
492
            description="Registers the Schema with the new Metacat instance">
493
     <echo/>
494
     <echo>Registering the Schema with the new Metacat instance...</echo>
495
     <sql driver="${dbDriver}"
496
          classpath="${jdbc}:${jdbc-add1}:${jdbc-add2}"
497
          url="${jdbc-connect}"
498
          userid="${user}"
499
          password="${password}"
500
          src="${build.src}/loadschema.sql" />
501
   </target>
502

  
503 491
   <target name="installdb" depends="prepare"
504 492
            description="Installs the database tables">
505 493
     <echo/>

Also available in: Unified diff