(file) Return to ontology-server-in.xml CVS log (file) (dir) Up to [Development] / mygrid / ontology-server

File: [Development] / mygrid / ontology-server / ontology-server-in.xml (download) / (as text)
Revision: 1.4, Tue Jul 27 08:15:33 2004 UTC (6 years, 1 month ago) by wroec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +20 -22 lines
Move to generate ontologies from OWL

<?xml version="1.0"?>
<!--
     Copyright 2003, Victoria University of Manchester.

     This file is part of myGrid.
     Further information, and the latest version, can be found at
     http://www.mygrid.info

     myGrid is free software; you can redistribute it and/or modify
     it under the terms of the GNU Lesser General Public License as
     published by the Free Software Foundation; either version 2.1
     of the License, or (at your option) any later version.

     myGrid is distributed in the hope that it will be useful, but
     WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU Lesser General Public License for more details.

     You should have received a copy of the GNU Lesser General Public
     License along with Antmerge; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

     Authors: Chris Wroe, Victoria University of Manchester
     Revision: $Id: ontology-server-in.xml,v 1.4 2004/07/27 08:15:33 wroec Exp $


     User Proxy specifics for antmerge-generated build file.
 -->
<project name="ontology-server" default="prepublish">
    <property name="antmerge.parent" value="default,mygrid,checkdependencies"/>
    <property name="jar-dependencies.compile" value="OWL.jar,oil.jar,ant.jar,jgl3.1.0.jar,jena.jar,xerces.1.3.0.jar,icu4j.jar,log4j,log4j-1.2.7.jar,rdf-api.jar,rdfapi.jar"/>
    <!-- these properties usually come from antmerge/default.xml: -->
    <property name="etc" value="etc"/>
    <property name="int-base" value="${ext-base}"/>
    <!-- for the benefit of the Find Service... -->
    <target name="prepublish">
        <copy file="${etc}/ontology/mygrid.daml" todir="${int-base}/${etc}"/>
    </target>
    <!--<target name="generate-ontology" depends="compile">
    <taskdef name="flat"
      classname="uk.ac.man.cs.img.ontologyserver.build.DamlToFlatOntologyTask"
      classpathref="compile-classpath"/>

    <flat infile="${etc}/ontology/mygrid.daml"
      outfile="${etc}/ontology/mygrid-flat.txt"/>
    
    <taskdef name="lexicon"
      classname="uk.ac.man.cs.img.ontologyserver.build.GenerateLexiconTask"
      classpathref="compile-classpath"/>

    <lexicon infile="${etc}/ontology/mygrid-flat.txt"
      outfile="${etc}/ontology/mygrid-lexicon-src.txt"/>
  </target> -->
    <target name="generate-ontology" depends="compile">
        <mkdir dir="${build}/ontology"/>
        <taskdef name="rdfs" classname="uk.ac.man.cs.img.ontologyserver.build.OwlToRDFSTask" classpathref="compile-classpath"/>
        <rdfs infile="${etc}/ontology/lite/mygrid-services-lite.owl" outfile="${build}/ontology/mygrid-services-lite.rdfs"/>
        <taskdef name="pedro" classname="uk.ac.man.cs.img.ontologyserver.build.OwlToPedroTask" classpathref="compile-classpath"/>
        <pedro  infile="${etc}/ontology/lite/mygrid-services-lite.owl" outfile="${build}/ontology/mygrid-services-lite-indented.txt"/>
    </target>
</project>

Rich Cawley
Powered by
ViewCVS 0.9.2