ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/api project.xml
Date Sun, 14 Apr 2002 07:41:00 GMT
adammurdoch    02/04/14 00:41:00

  Added:       .        build.xml
               aut      project.xml
               api      project.xml
  Log:
  Added sample project descriptors for api and aut.
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/build.xml
  
  Index: build.xml
  ===================================================================
  <project name="Myrmidon" default="main">
      <target name="main">
      </target>
  
      <target name="build-files" description="Generates the project build files">
          <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
            <classpath>
              <fileset dir="tools/velocity-dvsl">
                <include name="*.jar" />
              </fileset>
            </classpath>
          </taskdef>
  
          <dvsl in="api/project.xml" out="api/sample-build.xml" style="src/stylesheets/build.dvsl"/>
          <dvsl in="aut/project.xml" out="aut/sample-build.xml" style="src/stylesheets/build.dvsl"/>
      </target>
  
  </project>
  
  
  1.1                  jakarta-ant-myrmidon/aut/project.xml
  
  Index: project.xml
  ===================================================================
  <project>
      <!-- Descriptive name -->
      <name>Myrmidon AUT</name>
  
      <!-- Id -->
      <id>myrmidon-aut</id>
  
      <!-- Version -->
      <currentVersion>1.0</currentVersion>
  
      <!-- Copyright year(s) -->
      <inceptionYear>2000-2002</inceptionYear>
  
      <!-- Java packages for the project -->
      <package>org.apache.aut</package>
  
      <!-- Build details -->
      <build>
          <sourceDirectories>
              <sourceDirectory>src/java</sourceDirectory>
          </sourceDirectories>
  
          <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
  
          <!-- Project classpath -->
          <classpath>
              <fileset dir="../lib">
                  <include name="*.jar"/>
              </fileset>
          </classpath>
  
          <!-- Patterns for including/excluding source files from the project -->
          <compilePatterns>
              <exclude name="org/apache/aut/vfs/provider/smb/**/*.java"
                       unless="jcifs.present" />
              <exclude name="org/apache/aut/vfs/provider/ftp/**/*.java"
                       unless="netcomp.present" />
          </compilePatterns>
  
          <!-- Patterns for including/excluding unit tests -->
          <unitTestPatterns>
              <exclude name="**/SmbFileSystemTestCase.class" unless="test.smb"/>
              <exclude name="**/FtpFileSystemTestCase.class" unless="test.ftp"/>
          </unitTestPatterns>
  
          <!-- prepare tasks -->
          <prepare>
              <available property="jcifs.present"
                         classname="jcifs.smb.SmbFile"
                         classpathref="project.class.path" />
              <available property="netcomp.present"
                         classname="com.oroinc.net.ftp.FTPClient"
                         classpathref="project.class.path" />
          </prepare>
  
          <additionalTargets>
              <target name="mktestdata" description="Regenerate test data">
                  <!-- Regenerate the Zip VFS test data -->
                  <property name="test.vfs.dir" location="src/test/org/apache/aut/vfs/test"/>
                  <property name="test.zip.dir" location="src/test/org/apache/aut/vfs/provider/zip/test"/>
  
                  <mkdir dir="${test.vfs.dir}/basedir/emptydir"/>
                  <zip zipfile="${test.zip.dir}/test.zip">
                      <fileset dir="${test.vfs.dir}" includes="basedir/**"/>
                  </zip>
                  <zip zipfile="${test.zip.dir}/nested.zip">
                      <fileset dir="${test.zip.dir}" includes="test.zip"/>
                  </zip>
  
              </target>
          </additionalTargets>
      </build>
  </project>
  
  
  
  1.1                  jakarta-ant-myrmidon/api/project.xml
  
  Index: project.xml
  ===================================================================
  <project>
      <!-- Descriptive name -->
      <name>Myrmidon Task API</name>
  
      <!-- Id -->
      <id>myrmidon-api</id>
  
      <!-- Version -->
      <currentVersion>1.0</currentVersion>
  
      <!-- Copyright year(s) -->
      <inceptionYear>2000-2002</inceptionYear>
  
      <!-- Java packages for the project -->
      <package>org.apache.myrmidon.api</package>
      <package>org.apache.myrmidon.listeners</package>
      <package>org.apache.myrmidon.aspects</package>
  
      <!-- Build details -->
      <build>
          <sourceDirectories>
              <sourceDirectory>src/java</sourceDirectory>
          </sourceDirectories>
  
          <!-- Project classpath -->
          <classpath>
              <fileset dir="../lib">
                  <include name="*.jar"/>
              </fileset>
          </classpath>
  
          <!-- prepare tasks -->
          <prepare>
          </prepare>
      </build>
  </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message