juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi build.xml
Date Wed, 02 Jun 2004 17:20:03 GMT
sviens      2004/06/02 10:20:03

  Modified:    .        build.xml
  Log:
  Added support for conditional compilation for newly contributed JBossAuthenticator
  
  Revision  Changes    Path
  1.27      +37 -4     ws-juddi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-juddi/build.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- build.xml	2 Jun 2004 04:18:07 -0000	1.26
  +++ build.xml	2 Jun 2004 17:20:03 -0000	1.27
  @@ -104,15 +104,48 @@
     <!-- =================================================================== -->
     <!-- Compiles the source directory                                       -->
     <!-- =================================================================== -->
  -  <target name="compile" depends="init,version">
  -    <mkdir dir="${classes.dir}"/>
  -    <javac
  +  <target name="compile" depends="init">
  +    <mkdir dir="${classes.dir}"/>	  	
  +	
  +  	<!-- Apache Log4J (log4j.jar) -->
  +  	<available property="log4j.present"
  +      classname="org.apache.log4j.Category"
  +      classpathref="project.classpath"/>
  +    <echo message="log4j.present=${log4j.present}" />
  +  	
  +  	<!-- Java Servlet API (servlet-api.jar) -->
  +  	<available property="servlet.present"
  +      classname="javax.servlet.ServletException"
  +      classpathref="project.classpath"/>
  +  	<echo message="servlet.present=${servlet.present}" />
  +  	  	
  +  	<!-- Java API for XML-Based RPC (jaxrpc.jar) -->
  +  	<available property="jaxrpc.present"
  +      classname="javax.xml.rpc.Service"
  +      classpathref="project.classpath"/>
  +  	<echo message="jaxrpc.present=${jaxrpc.present}" />
  +  	  	
  +  	<!-- JBoss (jboss.jar) -->
  +  	<available property="jboss.present"
  +      classname="org.jboss.security.AuthenticationManager"
  +      classpathref="project.classpath"/>
  +  	<echo message="jboss.present=${jboss.present}" />
  +  	  	
  +  	<!-- SOAP with Attachments API for Java (saaj.jar) -->
  +  	<available property="saaj.present"
  +      classname="javax.xml.soap.SOAPEnvelope"
  +      classpathref="project.classpath"/>
  +  	<echo message="saaj.present=${saaj.present}" />
  +  		
  +  	<!-- Compile Java Source Code -->
  +  	<javac
           destdir="${classes.dir}"
           debug="${compile.debug}"
           deprecation="${compile.deprecation}"
           optimize="${compile.optimize}">
         <classpath refid="project.classpath"/>
         <src path="${java.dir}"/>
  +      <exclude name="**/org/apache/juddi/auth/JBossAuthenticator.java" unless="jboss.present"/>
   	    	
       </javac>
     </target>
     <!-- =================================================================== -->
  
  
  

Mime
View raw message