portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sg...@apache.org
Subject cvs commit: jakarta-jetspeed/build build.xml
Date Mon, 04 Mar 2002 10:40:53 GMT
sgala       02/03/04 02:40:53

  Modified:    build    build.xml
  Log:
  Avoid erasing package.html files in Castor apis when rebuilding or cleaning.
  
  Also, compile Castor apis always with deprecation off (it uses SAX1 apis, which gives hundreds
  of deprecation warnings).
  
  Revision  Changes    Path
  1.125     +16 -0     jakarta-jetspeed/build/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- build.xml	9 Feb 2002 23:56:56 -0000	1.124
  +++ build.xml	4 Mar 2002 10:40:53 -0000	1.125
  @@ -391,6 +391,7 @@
           <delete quiet="true" >
           <fileset dir="${src.java.dir}/org/apache/jetspeed/xml/api/portletmarkup">
               <exclude name="CVS"/>
  +            <exclude name="package.html"/>
           </fileset>
           </delete>
   
  @@ -410,6 +411,7 @@
           <delete quiet="true" >
           <fileset dir="${src.java.dir}/org/apache/jetspeed/xml/api/jcm">
               <exclude name="CVS"/>
  +            <exclude name="package.html"/>
           </fileset>
           </delete>
           <java classname="org.exolab.castor.builder.SourceGenerator" fork="yes">
  @@ -422,6 +424,16 @@
               <arg value="-package" />
               <arg value="org.apache.jetspeed.xml.api.jcm" />
           </java>
  +
  +	<!-- Compile with no deprecation in the API because castor generates (2001/12/17) deprecated
SAX1 calls -->
  +        <javac 
  +            classpathref="classpath"
  +            srcdir="${src.java.dir}/org/apache/jetspeed/xml/api" 
  +            destdir="${build.dest.dir}" 
  +            debug="${debug}"
  +            deprecation="off"
  +            optimize="${optimize}">            
  +        </javac>
           
       </target>        
   
  @@ -792,9 +804,13 @@
               <exclude name="CVS"/>
           </fileset>
           <fileset dir="${src.java.dir}/org/apache/jetspeed/xml/api/portletmarkup">
  +            <exclude name="CVS"/>
  +            <exclude name="**.html"/>
               <include name="**.java"/>
           </fileset>
           <fileset dir="${src.java.dir}/org/apache/jetspeed/xml/api/jcm">
  +            <exclude name="CVS"/>
  +            <exclude name="**.html"/>
               <include name="**.java"/>
           </fileset>
           </delete>
  
  
  

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


Mime
View raw message