You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2007/04/04 17:18:54 UTC

svn commit: r525532 - in /tomcat/tc6.0.x/trunk: build.properties.default build.xml extras.xml

Author: remm
Date: Wed Apr  4 08:18:53 2007
New Revision: 525532

URL: http://svn.apache.org/viewvc?view=rev&rev=525532
Log:
- Add the factories for ws.
- Submitted by Fabien Carrion.

Modified:
    tomcat/tc6.0.x/trunk/build.properties.default
    tomcat/tc6.0.x/trunk/build.xml
    tomcat/tc6.0.x/trunk/extras.xml

Modified: tomcat/tc6.0.x/trunk/build.properties.default
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?view=diff&rev=525532&r1=525531&r2=525532
==============================================================================
--- tomcat/tc6.0.x/trunk/build.properties.default (original)
+++ tomcat/tc6.0.x/trunk/build.properties.default Wed Apr  4 08:18:53 2007
@@ -34,6 +34,10 @@
 # ----- Commons Logging, version 1.1 or later -----
 commons-logging-src.loc=${base-jakarta.loc}/commons/logging/source/commons-logging-1.1-src.tar.gz
 
+# ----- Webservices -----
+jaxrpc-src.loc=http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jaxrpc/1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar
+wsdl4j-src.loc=http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
+
 # ----- Eclipse JDT, version 3.2 or later -----
 jdt.home=${base.path}/eclipse/plugins
 jdt.lib=${jdt.home}

Modified: tomcat/tc6.0.x/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diff&rev=525532&r1=525531&r2=525532
==============================================================================
--- tomcat/tc6.0.x/trunk/build.xml (original)
+++ tomcat/tc6.0.x/trunk/build.xml Wed Apr  4 08:18:53 2007
@@ -95,6 +95,7 @@
 <!-- Comment this in to show unchecked warnings:     <compilerarg value="-Xlint:unchecked"/> -->
       <classpath refid="tomcat.classpath" />
       <exclude name="org/apache/tomcat/util/net/puretls/**" />
+      <exclude name="org/apache/naming/factory/webservices/**" />
     </javac>
     <tstamp>
       <format property="TODAY" pattern="MMM d yyyy" locale="en"/>
@@ -213,6 +214,7 @@
         <exclude name="org/apache/catalina/tribes/**" />
         <exclude name="org/apache/catalina/launcher/**" />
         <exclude name="org/apache/catalina/storeconfig/**" />
+        <exclude name="org/apache/naming/factory/webservices/**" />
       </fileset>
     </jar>
     

Modified: tomcat/tc6.0.x/trunk/extras.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?view=diff&rev=525532&r1=525531&r2=525532
==============================================================================
--- tomcat/tc6.0.x/trunk/extras.xml (original)
+++ tomcat/tc6.0.x/trunk/extras.xml Wed Apr  4 08:18:53 2007
@@ -59,6 +59,7 @@
 
   <property name="tomcat-juli.jar" value="${tomcat.extras}/tomcat-juli.jar"/>
   <property name="tomcat-juli-adapters.jar" value="${tomcat.extras}/tomcat-juli-adapters.jar"/>
+  <property name="catalina-ws.jar" value="${tomcat.extras}/catalina-ws.jar"/>
 	
   <!-- Classpath -->
   <path id="tomcat.classpath">
@@ -150,7 +151,54 @@
 
   </target>
 
-  <target name="extras" depends="prepare,commons-logging">
+  <target name="webservices">
+	
+	    <mkdir dir="${tomcat.extras}/webservices"/>
+	
+	    <antcall target="downloadfile">
+	      <param name="sourcefile" value="${jaxrpc-src.loc}"/>
+	      <param name="destfile" value="${tomcat.extras}/webservices/jaxrpc.jar"/>
+	      <param name="destdir" value="${tomcat.extras}/webservices/"/>
+	    </antcall>
+	
+	    <antcall target="downloadfile">
+	      <param name="sourcefile" value="${wsdl4j-src.loc}"/>
+	      <param name="destfile" value="${tomcat.extras}/webservices/wsdl4j.jar"/>
+	      <param name="destdir" value="${tomcat.extras}/webservices/"/>
+	    </antcall>
+	
+	    <!-- Classpath -->
+	    <path id="tomcat.webservices.classpath">
+	      <pathelement path="${tomcat.classpath}"/>
+	      <fileset dir="${tomcat.extras}/webservices">
+	        <include name="jaxrpc.jar"/>
+	        <include name="wsdl4j.jar"/>
+	      </fileset>
+	    </path>
+	
+	    <!-- Compile internal server components -->
+	    <javac srcdir="java" destdir="${tomcat.classes}"
+	           debug="${compile.debug}"
+	           deprecation="${compile.deprecation}"
+	           source="${compile.source}"
+	           optimize="${compile.optimize}">
+	      <classpath refid="tomcat.webservices.classpath" />
+	      <include name="org/apache/naming/factory/webservices/**" />
+	    </javac>
+	
+	    <!-- Catalina Main JAR File -->
+	    <jar jarfile="${catalina-ws.jar}">
+	      <fileset dir="${tomcat.classes}">
+            <include name="org/apache/naming/factory/webservices/**" />
+	        <!-- Javadoc and i18n exclusions -->
+	        <exclude name="**/package.html" />
+	        <exclude name="**/LocalStrings_*" />
+	      </fileset>
+	    </jar>
+	
+  </target>
+
+  <target name="extras" depends="prepare,commons-logging,webservices">
   </target>
 
   <!-- Download and dependency building -->



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r525532 - in /tomcat/tc6.0.x/trunk: build.properties.default build.xml extras.xml

Posted by Remy Maucherat <re...@apache.org>.
Filip Hanik - Dev Lists wrote:
> I thought Mr Fabien was all setup with an account, is he not yet?

That's the rest of a patch he submitted a while ago, and that he was 
apparently expecting me to commit.

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r525532 - in /tomcat/tc6.0.x/trunk: build.properties.default build.xml extras.xml

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
I thought Mr Fabien was all setup with an account, is he not yet?

Filip

remm@apache.org wrote:
> Author: remm
> Date: Wed Apr  4 08:18:53 2007
> New Revision: 525532
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=525532
> Log:
> - Add the factories for ws.
> - Submitted by Fabien Carrion.
>
> Modified:
>     tomcat/tc6.0.x/trunk/build.properties.default
>     tomcat/tc6.0.x/trunk/build.xml
>     tomcat/tc6.0.x/trunk/extras.xml
>
> Modified: tomcat/tc6.0.x/trunk/build.properties.default
> URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?view=diff&rev=525532&r1=525531&r2=525532
> ==============================================================================
> --- tomcat/tc6.0.x/trunk/build.properties.default (original)
> +++ tomcat/tc6.0.x/trunk/build.properties.default Wed Apr  4 08:18:53 2007
> @@ -34,6 +34,10 @@
>  # ----- Commons Logging, version 1.1 or later -----
>  commons-logging-src.loc=${base-jakarta.loc}/commons/logging/source/commons-logging-1.1-src.tar.gz
>  
> +# ----- Webservices -----
> +jaxrpc-src.loc=http://repo1.maven.org/maven2/geronimo-spec/geronimo-spec-jaxrpc/1.1-rc4/geronimo-spec-jaxrpc-1.1-rc4.jar
> +wsdl4j-src.loc=http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar
> +
>  # ----- Eclipse JDT, version 3.2 or later -----
>  jdt.home=${base.path}/eclipse/plugins
>  jdt.lib=${jdt.home}
>
> Modified: tomcat/tc6.0.x/trunk/build.xml
> URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.xml?view=diff&rev=525532&r1=525531&r2=525532
> ==============================================================================
> --- tomcat/tc6.0.x/trunk/build.xml (original)
> +++ tomcat/tc6.0.x/trunk/build.xml Wed Apr  4 08:18:53 2007
> @@ -95,6 +95,7 @@
>  <!-- Comment this in to show unchecked warnings:     <compilerarg value="-Xlint:unchecked"/> -->
>        <classpath refid="tomcat.classpath" />
>        <exclude name="org/apache/tomcat/util/net/puretls/**" />
> +      <exclude name="org/apache/naming/factory/webservices/**" />
>      </javac>
>      <tstamp>
>        <format property="TODAY" pattern="MMM d yyyy" locale="en"/>
> @@ -213,6 +214,7 @@
>          <exclude name="org/apache/catalina/tribes/**" />
>          <exclude name="org/apache/catalina/launcher/**" />
>          <exclude name="org/apache/catalina/storeconfig/**" />
> +        <exclude name="org/apache/naming/factory/webservices/**" />
>        </fileset>
>      </jar>
>      
>
> Modified: tomcat/tc6.0.x/trunk/extras.xml
> URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/extras.xml?view=diff&rev=525532&r1=525531&r2=525532
> ==============================================================================
> --- tomcat/tc6.0.x/trunk/extras.xml (original)
> +++ tomcat/tc6.0.x/trunk/extras.xml Wed Apr  4 08:18:53 2007
> @@ -59,6 +59,7 @@
>  
>    <property name="tomcat-juli.jar" value="${tomcat.extras}/tomcat-juli.jar"/>
>    <property name="tomcat-juli-adapters.jar" value="${tomcat.extras}/tomcat-juli-adapters.jar"/>
> +  <property name="catalina-ws.jar" value="${tomcat.extras}/catalina-ws.jar"/>
>  	
>    <!-- Classpath -->
>    <path id="tomcat.classpath">
> @@ -150,7 +151,54 @@
>  
>    </target>
>  
> -  <target name="extras" depends="prepare,commons-logging">
> +  <target name="webservices">
> +	
> +	    <mkdir dir="${tomcat.extras}/webservices"/>
> +	
> +	    <antcall target="downloadfile">
> +	      <param name="sourcefile" value="${jaxrpc-src.loc}"/>
> +	      <param name="destfile" value="${tomcat.extras}/webservices/jaxrpc.jar"/>
> +	      <param name="destdir" value="${tomcat.extras}/webservices/"/>
> +	    </antcall>
> +	
> +	    <antcall target="downloadfile">
> +	      <param name="sourcefile" value="${wsdl4j-src.loc}"/>
> +	      <param name="destfile" value="${tomcat.extras}/webservices/wsdl4j.jar"/>
> +	      <param name="destdir" value="${tomcat.extras}/webservices/"/>
> +	    </antcall>
> +	
> +	    <!-- Classpath -->
> +	    <path id="tomcat.webservices.classpath">
> +	      <pathelement path="${tomcat.classpath}"/>
> +	      <fileset dir="${tomcat.extras}/webservices">
> +	        <include name="jaxrpc.jar"/>
> +	        <include name="wsdl4j.jar"/>
> +	      </fileset>
> +	    </path>
> +	
> +	    <!-- Compile internal server components -->
> +	    <javac srcdir="java" destdir="${tomcat.classes}"
> +	           debug="${compile.debug}"
> +	           deprecation="${compile.deprecation}"
> +	           source="${compile.source}"
> +	           optimize="${compile.optimize}">
> +	      <classpath refid="tomcat.webservices.classpath" />
> +	      <include name="org/apache/naming/factory/webservices/**" />
> +	    </javac>
> +	
> +	    <!-- Catalina Main JAR File -->
> +	    <jar jarfile="${catalina-ws.jar}">
> +	      <fileset dir="${tomcat.classes}">
> +            <include name="org/apache/naming/factory/webservices/**" />
> +	        <!-- Javadoc and i18n exclusions -->
> +	        <exclude name="**/package.html" />
> +	        <exclude name="**/LocalStrings_*" />
> +	      </fileset>
> +	    </jar>
> +	
> +  </target>
> +
> +  <target name="extras" depends="prepare,commons-logging,webservices">
>    </target>
>  
>    <!-- Download and dependency building -->
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org