<project name="team" default="jar">
  <description>Tomcat Realm for checking credentials from xml user files.</description>

  <property file="../../build.properties"/>
  <property file="build.properties"/>

  <path id="classpath">
    <fileset dir="${tomcat.dir}/server/lib" includes="catalina.jar"/>
  </path>

  <target name="compile">
    <mkdir dir="build"/>
    <javac srcdir="src/java" destdir="build" classpathref="classpath" debug="true" source="1.6" target="1.6"/>
    <copy file="src/conf/com/occamlab/te/realm/mbean-descriptor.xml" todir="build/com/occamlab/te/realm"/>
  </target>

  <target name="jar" depends="compile">
    <jar destfile="UserFilesRealm.jar">
      <fileset dir="build" excludes=".*"/>
    </jar>
  </target>

  <target name="clean">
    <delete dir="build"/>
  </target>
</project>

<project name="team" default="jar">
  <description>Tomcat Realm for checking credentials from xml user files.</description>

  <property file="../../build.properties"/>
  <property file="build.properties"/>

  <path id="classpath">
    <fileset dir="${tomcat.dir}/lib" includes="catalina.jar"/>
  </path>

  <target name="compile">
    <mkdir dir="build"/>
    <javac srcdir="src/java" destdir="build" classpathref="classpath" debug="true" source="1.6" target="1.6"/>
    <copy file="src/conf/com/occamlab/te/realm/mbean-descriptor.xml" todir="build/com/occamlab/te/realm"/>
  </target>

  <target name="jar" depends="compile">
    <jar destfile="UserFilesRealm.jar">
      <fileset dir="build" excludes=".*"/>
    </jar>
  </target>

  <target name="clean">
    <delete dir="build"/>
  </target>
</project>

Adjust the libs for TOMCAT 6
Adjust the libs for TOMCAT 6

git-svn-id: 78af1e1b74da535b2dc32c108071d0d938ac4dca@683 24c30046-25e5-4eec-8353-25991c8b1332
