cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/bin/src ClassAvailable.java
Date Wed, 10 Oct 2001 12:50:34 GMT
cziegeler    01/10/10 05:50:34

  Modified:    .        build.xml
  Added:       bin/anttasks ClassAvailable.class
               bin/src  ClassAvailable.java
  Log:
  Added own ant task to test *only* in the specified classpath for a given class
  
  Revision  Changes    Path
  1.76      +5 -3      xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- build.xml	2001/10/10 06:29:48	1.75
  +++ build.xml	2001/10/10 12:50:34	1.76
  @@ -134,6 +134,10 @@
   
   <project default="package" basedir=".">
   
  +  <!-- A simple task to test for a class -->
  +  <taskdef name="ClassAvailable" classname="ClassAvailable" classpath="./bin/anttasks"/>

  +
  +
     <!--
       Give user a chance to override without editing this file
       (and without typing -D each time he compiles it)
  @@ -281,10 +285,8 @@
       </available>
       <available property="mail.present" classname="javax.mail.Session">
         <classpath refid="classpath"/>
  -    </available>
  -    <available property="naming.present" classname="javax.naming.Context">
  -      <classpath refid="classpath"/>
       </available>
  +    <ClassAvailable classpathref="classpath" property="naming.present" classname="javax.naming.Context"/>
       <available property="weblogic.present" classname="weblogic.servlet.internal.ServletContextImpl">
         <classpath refid="classpath"/>
       </available>
  
  
  
  1.2       +46 -0     xml-cocoon2/bin/anttasks/ClassAvailable.class
  
  	<<Binary file>>
  
  
  1.2       +157 -0    xml-cocoon2/bin/src/ClassAvailable.java
  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message