geirm       01/08/08 03:57:46

  Modified:    jjar/examples/ant-task README.txt build.xml
  Log:
  Added test for the 'only dependencies' feature, and better notes in the
  README
  
  Revision  Changes    Path
  1.2       +8 -0      jakarta-commons-sandbox/jjar/examples/ant-task/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jjar/examples/ant-task/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt        2001/05/07 22:28:12     1.1
  +++ README.txt        2001/08/08 10:57:46     1.2
  @@ -4,6 +4,14 @@
   here...  the build.xml expects it to be
   local
   
  +THEN : create the local repository directory.  Call it
  +'repository' as that is what the build script expects.
  +
  +THEN : do something... choose among
  +    ant help
  +    ant test
  +    ant test-nodeps
  +
   Right now, the support is very simple - just gets a jar
   from the repository, and any dependencies, and throws
   into the 'local repository'.
  
  
  
  1.2       +17 -1     jakarta-commons-sandbox/jjar/examples/ant-task/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jjar/examples/ant-task/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2001/05/07 22:28:13     1.1
  +++ build.xml 2001/08/08 10:57:46     1.2
  @@ -1,5 +1,5 @@
   
  -<project name="JJARTest" default="test" basedir=".">
  +<project name="JJARTest" default="help" basedir=".">
   
     <property name="repository" value="repository" />
   
  @@ -35,6 +35,22 @@
       </jjar>
   
     </target>
  +
  +  <!-- another simple test : just get the dependencies of ant (has deps...)  -->
  +
  +  <target name="test-nodeps">
  +     <jjar package = "ant" onlydependencies="true" localrepository="${repository}" 
/>
  +  </target>
  +
  +  <!-- help info -->
  +
  +  <target name="help">
  +     <echo>
  +        Current test targets :
  +          test : fetches ant, which has dependencies, and velocity, which doesn't
  +          test-nodeps : fetches only the dependencies of ant
  +     </echo>
  +   </target>
   
   </project>
   
  
  
  

Reply via email to