You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by jm...@apache.org on 2006/04/06 22:04:26 UTC

svn commit: r392057 - in /portals/wsrp4j/trunk/wsdl: maven.xml project.xml

Author: jmacna
Date: Thu Apr  6 13:04:24 2006
New Revision: 392057

URL: http://svn.apache.org/viewcvs?rev=392057&view=rev
Log:
Added wsdl2java target to generate files from the wsdl

Added:
    portals/wsrp4j/trunk/wsdl/maven.xml
    portals/wsrp4j/trunk/wsdl/project.xml

Added: portals/wsrp4j/trunk/wsdl/maven.xml
URL: http://svn.apache.org/viewcvs/portals/wsrp4j/trunk/wsdl/maven.xml?rev=392057&view=auto
==============================================================================
--- portals/wsrp4j/trunk/wsdl/maven.xml (added)
+++ portals/wsrp4j/trunk/wsdl/maven.xml Thu Apr  6 13:04:24 2006
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Copyright 2003-2005 The Apache Software Foundation.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<project default="wsdl2java"
+         xmlns:j="jelly:core"
+         xmlns:maven="jelly:maven"
+         xmlns:ant="jelly:ant">
+
+    <!-- The multiproject won't let us call war directly, we must specify
+         since it won't be set by war goal. -->
+    <goal name="wsdl2java">
+        <java classname="org.apache.axis.wsdl.WSDL2Java" fork="yes">
+            <classpath>
+                <path refid="maven.dependency.classpath"/>
+                <pathelement path="${maven.build.dest}"/>
+            </classpath>
+            <arg value="-v"/>
+            <arg value="-t"/>
+            <arg value="-O"/>
+            <arg value="-1"/>
+            <arg value="--server-side"/>
+            <arg value="--deployScope"/><arg value='"Application"'/>
+            <arg value="-W"/>
+            <arg value="-o"/><arg value="${basedir}/target"/>
+            <arg value='"WSRP_Service.wsdl"'/>
+         </java>
+	 <echo>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+              Please remember to change the generated files:
+              ResourceValue.java, LocalizedString.java, and Property.java
+              to set the namespace on the lang attribute to xml (e.g. xml:lang)
+              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+         </echo>
+    </goal>
+
+</project>

Added: portals/wsrp4j/trunk/wsdl/project.xml
URL: http://svn.apache.org/viewcvs/portals/wsrp4j/trunk/wsdl/project.xml?rev=392057&view=auto
==============================================================================
--- portals/wsrp4j/trunk/wsdl/project.xml (added)
+++ portals/wsrp4j/trunk/wsdl/project.xml Thu Apr  6 13:04:24 2006
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+  <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities;
+]>
+<!--
+Copyright 2003-2005 The Apache Software Foundation.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<project>
+    <extend>../project.xml</extend>
+    <id>wsdl-code</id>
+    <name></name>
+    <shortDescription>
+    </shortDescription>
+    <description>
+    </description>
+        
+    <build>
+        <nagEmailAddress>wsrp4j-dev@portals.apache.org</nagEmailAddress>
+        <sourceDirectory>wsdl</sourceDirectory>
+        <defaultGoal>wsdl2java</defaultGoal>
+    </build>
+    
+    <dependencies>
+        <dependency>
+            <artifactId>axis</artifactId>
+            <groupId>axis</groupId>
+            <version>&axis-version;</version>
+        </dependency>
+        <dependency>
+            <artifactId>commons-logging</artifactId>
+            <groupId>commons-logging</groupId>
+            <version>1.0.4</version>
+        </dependency> 
+        <dependency>
+            <artifactId>commons-discovery</artifactId>
+            <groupId>commons-discovery</groupId>
+            <version>&commons-discovery-version;</version>
+        </dependency>
+        <dependency>
+            <artifactId>axis-jaxrpc</artifactId>
+            <groupId>axis</groupId>
+            <version>&axis-version;</version>
+        </dependency>
+        <dependency>
+            <artifactId>axis-saaj</artifactId>
+            <groupId>axis</groupId>
+            <version>&axis-version;</version>
+        </dependency>
+        <dependency>
+            <artifactId>axis-wsdl4j</artifactId>
+            <groupId>axis</groupId>
+            <version>1.5.1</version>
+        </dependency>
+        <dependency>
+            <artifactId>activation</artifactId>
+            <groupId>javax.activation</groupId>
+            <version>1.0.2</version>
+        </dependency>
+       
+    </dependencies>
+    
+    
+</project>