You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by ae...@apache.org on 2006/08/21 23:11:41 UTC

svn commit: r433362 - in /webservices/muse/trunk/modules/muse-tools: resources/axis2/ src/org/apache/muse/tools/inspector/

Author: aeberbac
Date: Mon Aug 21 14:11:41 2006
New Revision: 433362

URL: http://svn.apache.org/viewvc?rev=433362&view=rev
Log:
updated code generation files, moved to separate from coming osgi projectizer

Added:
    webservices/muse/trunk/modules/muse-tools/resources/axis2/
    webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml   (with props)
    webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml   (with props)
    webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml   (with props)
Modified:
    webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/JavaMethod.java   (props changed)
    webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/JavaProperty.java   (props changed)

Added: webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml?rev=433362&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml (added)
+++ webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml Mon Aug 21 14:11:41 2006
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<project name="project" default="war">
+	
+	<target name="init">
+		<basename property="NAME" file="${basedir}"/>
+		
+		<property name="JAVA_SRC_DIR" value="JavaSource"/>
+		<property name="WEB_SRC_DIR" value="WebContent"/>	
+		<property name="JAVA_DEST_DIR" value="JavaClasses"/>
+		
+		<property name="WAR_FILE" value="${NAME}.war"/>
+		<property name="LIB_DIR" value="${WEB_SRC_DIR}/WEB-INF/lib"/>
+		<property name="JAR_FILE" value="${LIB_DIR}/${NAME}.jar"/>
+		
+        <path id="class.path">
+            <fileset dir="${LIB_DIR}">
+                <include name="*.jar"/>
+            </fileset>
+        </path>
+		
+		<available property="JAVA_EXISTS" file="${JAVA_SRC_DIR}"/>
+	</target>
+	
+	<target name="clean" depends="init">
+		<delete dir="${JAVA_DEST_DIR}"/>
+        <delete file="${WAR_FILE}"/>
+        <delete file="${JAR_FILE}"/>		
+	</target>
+
+	<target name="java" if="JAVA_EXISTS" depends="init">
+		<mkdir dir="${JAVA_DEST_DIR}"/>
+		<javac srcdir="${JAVA_SRC_DIR}" destdir="${JAVA_DEST_DIR}" classpathref="class.path"/>
+		<jar basedir="${JAVA_DEST_DIR}" destfile="${JAR_FILE}">
+			<fileset dir="${JAVA_DEST_DIR}">
+				<include name="**/*.class"/>
+			</fileset>
+		</jar>
+	</target>
+		
+	<target name="war" depends="clean, java">	
+	    <jar destfile="${WAR_FILE}">
+			<fileset dir="${WEB_SRC_DIR}">
+				<include name="**/*"/>
+			</fileset>
+		</jar>
+	</target>
+</project>
+

Propchange: webservices/muse/trunk/modules/muse-tools/resources/axis2/build.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml?rev=433362&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml (added)
+++ webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml Mon Aug 21 14:11:41 2006
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<muse xmlns="http://ws.apache.org/muse/descriptor" 
+      xmlns:wsrf-sgw="http://docs.oasis-open.org/wsrf/sgw-2" 
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+      xsi:schemaLocation="http://ws.apache.org/muse/descriptor muse-descriptor.xsd">
+	<router>
+		<java-router-class>org.apache.muse.core.routing.SimpleResourceRouter</java-router-class>
+		<logging>
+			<log-file>log/muse.log</log-file>
+			<log-level>FINE</log-level>
+		</logging>
+     	<persistence>
+			<java-persistence-class>org.apache.muse.core.routing.RouterFilePersistence</java-persistence-class>
+			<persistence-location>router-entries</persistence-location>
+		</persistence>		
+	</router>
+	<resource-type>
+		<context-path/>
+		<wsdl>
+			<wsdl-file/>
+			<wsdl-port-type/>
+		</wsdl>
+		<java-id-factory-class>org.apache.muse.core.routing.CounterResourceIdFactory</java-id-factory-class>
+		<java-resource-class/>
+		<!--  Add Capabilities below in the following pattern -->
+		<!-- 
+		<capability>
+			<capability-uri>http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata</capability-uri>
+			<java-capability-class>org.apache.muse.ws.metadata.impl.SimpleMetadataExchange</java-capability-class>
+		</capability>
+		-->
+	</resource-type>
+</muse>

Propchange: webservices/muse/trunk/modules/muse-tools/resources/axis2/muse.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml?rev=433362&view=auto
==============================================================================
--- webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml (added)
+++ webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml Mon Aug 21 14:11:41 2006
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<serviceGroup>
+	<service>
+	    <description>This is the Apache Muse router service.</description>
+	    <parameter name="ServiceClass" locked="false">org.apache.muse.core.platform.axis2.AxisIsolationLayer</parameter>
+	    <operation name="handleRequest">
+	        <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
+	    </operation>
+	</service>
+</serviceGroup>

Propchange: webservices/muse/trunk/modules/muse-tools/resources/axis2/services.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/JavaMethod.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/muse/trunk/modules/muse-tools/src/org/apache/muse/tools/inspector/JavaProperty.java
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org