<!-- This is the build.xml for the bedework uportal support classes component.

     Authors: Mike Douglass   douglm@rpi.edu
-->

<project name="uportal.compile" default="build" >
  <property name="base.name" value="uportal"/>

  <target name="init">
    <dirname property="this.dir" file="${ant.file}"/>
    <property name="source.home" location="${this.dir}/src"/>
  </target>

  <target name="build" depends="init"
          description="Compile bedework uportal support Java sources">
    <!-- ==================== Sources and classes ====================== -->

    <fileset id="base.java.sources" dir="${source.home}" >
     <include name="ca/mun/**/*.java"/>
    </fileset>

    <patternset id="base.class.patternset">
      <include name="ca/mun/**/*.class"/>
    </patternset>

    <!-- ==================== Compilation Classpath ==================== -->

    <path id="compile.classpath">
      <pathelement location="${servlet.jar}"/>
      <pathelement location="${servlet.jsp.jar}"/>
      <pathelement location="${portlet.jar}"/>
      <pathelement location="${struts.jar}"/>
      <pathelement location="${pluto.jar}"/>
      <pathelement location="${portals-bridges-common.jar}"/>
      <pathelement location="${portals-bridges-struts.jar}"/>
    </path>

    <!-- ==================== Build Target ============================= -->

    <property name="build.jar.file" location="${org.bedework.uportal.jar}" />

    <ant antfile="${buildjar}" inheritRefs="true" target="build" />
  </target>
</project>
