You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-dev@ws.apache.org by wi...@apache.org on 2005/04/14 15:54:06 UTC

svn commit: r161286 - in incubator/apollo/trunk/org.apache.ws.apollo: ./ META-INF/ lib/ src/ src/org/ src/org/apache/ src/org/apache/ws/ src/org/apache/ws/apollo/ src/org/apache/ws/apollo/actions/ src/org/apache/ws/apollo/builder/ src/org/apache/ws/apollo/nature/ src/org/apache/ws/apollo/popup/ src/org/apache/ws/apollo/popup/actions/ src/org/apache/ws/apollo/preferences/

Author: wire
Date: Thu Apr 14 06:54:02 2005
New Revision: 161286

URL: http://svn.apache.org/viewcvs?view=rev&rev=161286
Log:
new

Added:
    incubator/apollo/trunk/org.apache.ws.apollo/.classpath
    incubator/apollo/trunk/org.apache.ws.apollo/.project
    incubator/apollo/trunk/org.apache.ws.apollo/.umlproject
    incubator/apollo/trunk/org.apache.ws.apollo/META-INF/
    incubator/apollo/trunk/org.apache.ws.apollo/META-INF/MANIFEST.MF
    incubator/apollo/trunk/org.apache.ws.apollo/build.properties
    incubator/apollo/trunk/org.apache.ws.apollo/lib/
    incubator/apollo/trunk/org.apache.ws.apollo/lib/addressing-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-jndi-config-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-1.2-RC2.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-jaxrpc-1.2-RC2.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-saaj-1.2-RC2.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commonj-twm-1.0.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-cli-1.0.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-collections-3.1.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-digester-1.6.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-discovery-0.2.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-io-1.0.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-lang-2.0.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-logging-1.0.4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/concurrent-1.3.4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/jaxen-1.1-beta-4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/log4j-1.2.8.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-core-0.8.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-factory-0.8.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-java-0.8.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/servletapi-2.3.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/velocity-1.4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/wsa-xbeans-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/wsdl4j-1.5-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/wsrf-xbeans-SNAPSHOT.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/xalan-2.5.1.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean-1.0.4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean_xpath-1.0.4.jar   (with props)
    incubator/apollo/trunk/org.apache.ws.apollo/plugin.xml
    incubator/apollo/trunk/org.apache.ws.apollo/src/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/ApolloPlugin.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/ProjectToggleWsrfNatureActionDelegate.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/WsrfIncrementalProjectBuilder.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/WsrfProjectNature.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/WSDMGenerateAction.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferencePage.java
    incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferences.java

Added: incubator/apollo/trunk/org.apache.ws.apollo/.classpath
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/.classpath?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/.classpath (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/.classpath Thu Apr 14 06:54:02 2005
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry exported="true" kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry exported="true" kind="lib" path="lib/addressing-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/apollo-jndi-config-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/axis-1.2-RC2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/axis-jaxrpc-1.2-RC2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/axis-saaj-1.2-RC2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commonj-twm-1.0.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-cli-1.0.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-collections-3.1.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-digester-1.6.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-discovery-0.2.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-io-1.0.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-lang-2.0.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.0.4.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/concurrent-1.3.4.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/jaxen-1.1-beta-4.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/log4j-1.2.8.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/naming-core-0.8.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/naming-factory-0.8.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/naming-java-0.8.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/servletapi-2.3.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/velocity-1.4.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/wsa-xbeans-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/wsdl4j-1.5-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/wsrf-xbeans-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xalan-2.5.1.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xbean_xpath-1.0.4.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/xbean-1.0.4.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: incubator/apollo/trunk/org.apache.ws.apollo/.project
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/.project?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/.project (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/.project Thu Apr 14 06:54:02 2005
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.apache.ws.apollo</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: incubator/apollo/trunk/org.apache.ws.apollo/.umlproject
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/.umlproject?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/.umlproject (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/.umlproject Thu Apr 14 06:54:02 2005
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="ASCII"?>
+<properties:ProjectDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:properties="properties.xmi" modelDir="model" libraryDir="libraries" profileDir="profiles" templateDir="templates">
+  <profiles id="org.eclipse.uml2.resources.BasicProfile" description="Basic Profile" uri="platform:/plugin/org.eclipse.uml2.resources/profiles/Basic.profile.uml2" exported="false" kind="system"/>
+  <profiles id="org.eclipse.uml2.resources.IntermediateProfile" description="Intermediate Profile" uri="platform:/plugin/org.eclipse.uml2.resources/profiles/Intermediate.profile.uml2" exported="false" kind="system"/>
+  <profiles id="org.eclipse.uml2.resources.CompleteProfile" description="Complete Profile" uri="platform:/plugin/org.eclipse.uml2.resources/profiles/Complete.profile.uml2" exported="false" kind="system"/>
+  <profiles id="com.omondo.uml.core.JavaProfile" description="Java Profile" uri="platform:/plugin/com.omondo.uml.core/profiles/Java.profile.uml2" exported="false" kind="system"/>
+  <profiles id="com.omondo.uml2.core.OmondoProfile" description="Omondo Profile" uri="platform:/plugin/com.omondo.uml.core/profiles/Omondo.profile.uml2" exported="false" kind="system"/>
+  <profiles id="com.omondo.uml2.core.ArchetypeProfile" description="Archetype Profile" uri="platform:/plugin/com.omondo.uml.core/profiles/Archetype.profile.uml2" exported="false" kind="system"/>
+</properties:ProjectDescription>

Added: incubator/apollo/trunk/org.apache.ws.apollo/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/META-INF/MANIFEST.MF?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/META-INF/MANIFEST.MF (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/META-INF/MANIFEST.MF Thu Apr 14 06:54:02 2005
@@ -0,0 +1,42 @@
+Manifest-Version: 1.0
+Bundle-Name: Apollo RSRP Generation Plug-in
+Bundle-SymbolicName: org.apache.ws.apollo; singleton=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: apollo-plugin.jar,
+ lib/addressing-SNAPSHOT.jar,
+ lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar,
+ lib/apollo-jndi-config-SNAPSHOT.jar,
+ lib/axis-1.2-RC2.jar,
+ lib/axis-jaxrpc-1.2-RC2.jar,
+ lib/axis-saaj-1.2-RC2.jar,
+ lib/commonj-twm-1.0.jar,
+ lib/commons-cli-1.0.jar,
+ lib/commons-collections-3.1.jar,
+ lib/commons-digester-1.6.jar,
+ lib/commons-discovery-0.2.jar,
+ lib/commons-io-1.0.jar,
+ lib/commons-lang-2.0.jar,
+ lib/commons-logging-1.0.4.jar,
+ lib/concurrent-1.3.4.jar,
+ lib/jaxen-1.1-beta-4.jar,
+ lib/log4j-1.2.8.jar,
+ lib/naming-core-0.8.jar,
+ lib/naming-factory-0.8.jar,
+ lib/naming-java-0.8.jar,
+ lib/servletapi-2.3.jar,
+ lib/velocity-1.4.jar,
+ lib/wsa-xbeans-SNAPSHOT.jar,
+ lib/wsdl4j-1.5-SNAPSHOT.jar,
+ lib/wsrf-xbeans-SNAPSHOT.jar,
+ lib/xalan-2.5.1.jar,
+ lib/xbean_xpath-1.0.4.jar,
+ lib/xbean-1.0.4.jar
+Bundle-Activator: org.apache.ws.apollo.ApolloPlugin
+Bundle-Vendor: Hewlett-Packard
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.apache.ant,
+ org.junit,
+ org.eclipse.core.resources
+Eclipse-AutoStart: true

Added: incubator/apollo/trunk/org.apache.ws.apollo/build.properties
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/build.properties?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/build.properties (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/build.properties Thu Apr 14 06:54:02 2005
@@ -0,0 +1,10 @@
+source.apollo.jar = src/
+output.apollo.jar = bin/
+bin.includes = plugin.xml,\
+               apollo.jar,\
+               lib/,\
+               META-INF/MANIFEST.MF
+src.includes = src/,\
+               lib/,\
+               plugin.xml,\
+               META-INF/MANIFEST.MF

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/addressing-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/addressing-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/addressing-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-jndi-config-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-jndi-config-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/apollo-jndi-config-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-1.2-RC2.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-1.2-RC2.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-1.2-RC2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-jaxrpc-1.2-RC2.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-jaxrpc-1.2-RC2.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-jaxrpc-1.2-RC2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-saaj-1.2-RC2.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-saaj-1.2-RC2.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/axis-saaj-1.2-RC2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commonj-twm-1.0.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commonj-twm-1.0.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commonj-twm-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-cli-1.0.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-cli-1.0.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-cli-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-collections-3.1.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-collections-3.1.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-collections-3.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-digester-1.6.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-digester-1.6.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-digester-1.6.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-discovery-0.2.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-discovery-0.2.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-discovery-0.2.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-io-1.0.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-io-1.0.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-io-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-lang-2.0.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-lang-2.0.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-lang-2.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-logging-1.0.4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-logging-1.0.4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/commons-logging-1.0.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/concurrent-1.3.4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/concurrent-1.3.4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/concurrent-1.3.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/jaxen-1.1-beta-4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/jaxen-1.1-beta-4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/jaxen-1.1-beta-4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/log4j-1.2.8.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/log4j-1.2.8.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/log4j-1.2.8.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-core-0.8.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-core-0.8.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-core-0.8.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-factory-0.8.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-factory-0.8.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-factory-0.8.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-java-0.8.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-java-0.8.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/naming-java-0.8.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/servletapi-2.3.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/servletapi-2.3.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/servletapi-2.3.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/velocity-1.4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/velocity-1.4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/velocity-1.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsa-xbeans-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/wsa-xbeans-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsa-xbeans-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsdl4j-1.5-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/wsdl4j-1.5-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsdl4j-1.5-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsrf-xbeans-SNAPSHOT.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/wsrf-xbeans-SNAPSHOT.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/wsrf-xbeans-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/xalan-2.5.1.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/xalan-2.5.1.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/xalan-2.5.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean-1.0.4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean-1.0.4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean-1.0.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean_xpath-1.0.4.jar
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean_xpath-1.0.4.jar?view=auto&rev=161286
==============================================================================
Binary file - no diff available.

Propchange: incubator/apollo/trunk/org.apache.ws.apollo/lib/xbean_xpath-1.0.4.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/apollo/trunk/org.apache.ws.apollo/plugin.xml
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/plugin.xml?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/plugin.xml (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/plugin.xml Thu Apr 14 06:54:02 2005
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+   id="org.apache.ws.apollo"
+   name="Apollo RSRP Generation Plug-in"
+   version="1.0.0"
+   provider-name="Hewlett-Packard"
+   class="org.apache.ws.apollo.ApolloPlugin">
+
+   <runtime>
+      <library name="apollo-plugin.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/addressing-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/apollo-incubating-1.0-alpha3-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/apollo-jndi-config-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/axis-1.2-RC2.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/axis-jaxrpc-1.2-RC2.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/axis-saaj-1.2-RC2.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commonj-twm-1.0.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-cli-1.0.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-collections-3.1.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-digester-1.6.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-discovery-0.2.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-io-1.0.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-lang-2.0.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/commons-logging-1.0.4.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/concurrent-1.3.4.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/jaxen-1.1-beta-4.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/log4j-1.2.8.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/naming-core-0.8.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/naming-factory-0.8.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/naming-java-0.8.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/servletapi-2.3.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/velocity-1.4.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/wsa-xbeans-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/wsdl4j-1.5-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/wsrf-xbeans-SNAPSHOT.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/xalan-2.5.1.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/xbean_xpath-1.0.4.jar">
+         <export name="*"/>
+      </library>
+      <library name="lib/xbean-1.0.4.jar">
+         <export name="*"/>
+      </library>
+   </runtime>
+
+   <requires>
+      <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.apache.ant"/>
+      <import plugin="org.junit"/>
+   </requires>
+
+   <extension
+         point="org.eclipse.ui.popupMenus">
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            id="org.apache.ws.apollo.contribution1">
+         <menu
+               label="WSDM"
+               path="additions"
+               id="org.apache.ws.apollo.menu1">
+               <groupMarker name="content">
+               
+               </groupMarker>
+            <separator
+                  name="additions">
+            </separator>
+         </menu>
+         <action
+               id="org.apache.ws.apollo.WSDMGenerateAction"
+               label="Generate Resources"
+               menubarPath="org.apache.ws.apollo.menu1/content"
+               class="org.apache.ws.apollo.popup.actions.WSDMGenerateAction"
+               enablesFor="1">
+         </action>
+      </objectContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="Apollo WSDM Generator"
+            class="org.apache.ws.apollo.preferences.GenerationPreferencePage"
+            id="org.apache.ws.apollo.preferences.GenerationPreferencePage">
+      </page>
+   </extension>
+   
+   <extension point="org.eclipse.core.resources.natures"
+         id="wsrfGenerationNature"
+         name="WSRF Implementation Maintainer">
+      <builder id="org.apache.ws.apollo.wsrfIncrementalProjectBuilder"/>
+      <requires-nature id="org.eclipse.jdt.core.javanature"/>
+      <runtime>
+         <run class="org.apache.ws.apollo.nature.WsrfProjectNature"/>
+      </runtime>
+   </extension>
+   
+   <extension point="org.eclipse.core.resources.builders"
+	   id="wsrfIncrementalProjectBuilder">
+      <builder hasNature="true">
+         <run class="org.apache.ws.apollo.builder.WsrfIncrementalProjectBuilder"/>
+      </builder>
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            label="Apollo Workbench Actionset"
+            visible="true"
+            id="org.apache.ws.apollo.wsrf.workBenchActionSet">
+         <action
+               label="Add/Remove Apollo WSRF Project Nature"
+               class="org.apache.ws.apollo.actions.ProjectToggleWsrfNatureActionDelegate"
+               menubarPath="project/additions"
+               id="org.apache.ws.apollo.action1"/>
+      </actionSet>
+   </extension>
+
+</plugin>

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/ApolloPlugin.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/ApolloPlugin.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/ApolloPlugin.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/ApolloPlugin.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,74 @@
+package org.apache.ws.apollo;
+
+import org.eclipse.ui.plugin.*;
+import org.osgi.framework.BundleContext;
+import java.util.*;
+
+/**
+ * The main plugin class to be used in the desktop.
+ */
+public class ApolloPlugin extends AbstractUIPlugin {
+	//The shared instance.
+	private static ApolloPlugin plugin;
+	//Resource bundle.
+	private ResourceBundle resourceBundle;
+	
+	/**
+	 * The constructor.
+	 */
+	public ApolloPlugin() {
+		super();
+		plugin = this;
+		try {
+			resourceBundle = ResourceBundle.getBundle("org.apache.ws.apollo.ApolloPluginResources");
+		} catch (MissingResourceException x) {
+			resourceBundle = null;
+		}
+        if ( System.getProperty( "log4j.configuration" ) == null )
+        {
+            System.setProperty( "log4j.configuration", "log4j.properties" );
+        }
+
+	}
+
+	/**
+	 * This method is called upon plug-in activation
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+	}
+
+	/**
+	 * This method is called when the plug-in is stopped
+	 */
+	public void stop(BundleContext context) throws Exception {
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance.
+	 */
+	public static ApolloPlugin getDefault() {
+		return plugin;
+	}
+
+	/**
+	 * Returns the string from the plugin's resource bundle,
+	 * or 'key' if not found.
+	 */
+	public static String getResourceString(String key) {
+		ResourceBundle bundle = ApolloPlugin.getDefault().getResourceBundle();
+		try {
+			return (bundle != null) ? bundle.getString(key) : key;
+		} catch (MissingResourceException e) {
+			return key;
+		}
+	}
+
+	/**
+	 * Returns the plugin's resource bundle,
+	 */
+	public ResourceBundle getResourceBundle() {
+		return resourceBundle;
+	}
+}

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/ProjectToggleWsrfNatureActionDelegate.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/ProjectToggleWsrfNatureActionDelegate.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/ProjectToggleWsrfNatureActionDelegate.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/actions/ProjectToggleWsrfNatureActionDelegate.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,104 @@
+/*
+ * Created on Apr 12, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.apache.ws.apollo.actions;
+
+import java.awt.List;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Iterator;
+
+import org.apache.ws.apollo.ApolloPlugin;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.IWorkbenchWindowActionDelegate;
+
+/**
+ * @author wire
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ProjectToggleWsrfNatureActionDelegate implements
+		IWorkbenchWindowActionDelegate {
+	private static final String NATURE_ID=ApolloPlugin.getDefault().getDescriptor().getUniqueIdentifier()+".wsrfGenerationNature";
+	private ISelection selection;
+	
+	/* (non-Javadoc)
+	 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
+	 */
+	public void dispose() {
+		// TODO Auto-generated method stub
+
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
+	 */
+	public void init(IWorkbenchWindow window) {
+		// TODO Auto-generated method stub
+
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
+	 */
+	public void run(IAction action) {
+		if(!(selection instanceof IStructuredSelection)){
+			return;
+		}
+		Iterator iter= ((IStructuredSelection)selection).iterator();
+		while(iter.hasNext()){
+			Object element = iter.next();
+			if(!(element instanceof IProject)){
+				continue;
+			}
+			IProject project = (IProject) element;
+			
+			if(!project.isOpen())
+				continue;
+			
+			IProjectDescription description=null;
+			try {
+				description= project.getDescription();
+			} catch (CoreException e) {
+				// TODO Deal with this error
+				e.printStackTrace();
+				continue;
+			}
+			
+			// Toggle Nature
+			ArrayList newIds=new ArrayList();
+			newIds.addAll(Arrays.asList(description.getNatureIds()));
+			int index=newIds.indexOf(NATURE_ID);
+			if(index==-1)
+				newIds.add(NATURE_ID);
+			else
+				newIds.remove(index);
+			description.setNatureIds((String[])newIds.toArray(new String[newIds.size()]));
+			try {
+				project.setDescription(description,null);
+			} catch (CoreException e1) {
+				// TODO Deal with this error
+				e1.printStackTrace();
+			}
+		}
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
+	 */
+	public void selectionChanged(IAction action, ISelection selection) {
+		// 
+		this.selection=selection;
+	}
+
+}

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/WsrfIncrementalProjectBuilder.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/WsrfIncrementalProjectBuilder.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/WsrfIncrementalProjectBuilder.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/builder/WsrfIncrementalProjectBuilder.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,315 @@
+/*
+ * Created on Apr 12, 2005
+ *
+ */
+package org.apache.ws.apollo.builder;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Vector;
+
+import org.apache.ws.apollo.ApolloPlugin;
+import org.apache.ws.apollo.preferences.GenerationPreferences;
+import org.apache.ws.resource.tool.Wsdl2Java;
+import org.eclipse.core.resources.ICommand;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.ILibrary;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.swt.widgets.Shell;
+
+/**
+ * Responsible for the execution of the Apollo source generator on changed
+ * WSDL files.
+ * 
+ * @author wire
+ *
+ */
+public class WsrfIncrementalProjectBuilder extends IncrementalProjectBuilder {
+	String wsdlFolder;
+	/**
+	 * 
+	 */
+	public WsrfIncrementalProjectBuilder() {
+		super();
+		wsdlFolder=new GenerationPreferences().getWsdlFolder();
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.internal.events.InternalBuilder#build(int, java.util.Map, org.eclipse.core.runtime.IProgressMonitor)
+	 */
+	protected IProject[] build(int kind, Map args, IProgressMonitor monitor)
+			throws CoreException {
+		
+		if(shouldBuild(kind))
+			buildResources(monitor);
+		return null;
+				
+	}
+
+	/** 
+	 * Perform a build of all qualified resources (wsdl files in
+	 * the designated wsdl folder)
+	 * @param monitor The monitor that relays progress to the user.
+	 */
+	private void buildResources(IProgressMonitor monitor) {
+		checkCancel(monitor);
+		
+		// Search the project for a WSDL folder
+		IProject project = getProject();
+		IFolder workFolder = project.getFolder(wsdlFolder);
+		if(workFolder==null){
+			// TODO trap and report this error 
+			System.out.println("Cannot find the designated wsdl folder.");
+		}
+
+		// Get all files in this folder
+		IResource[] members=null;
+		try {
+			members = workFolder.members();
+		} catch (CoreException e) {
+			// TODO trap and report this error 
+			System.out.println("Cannot enumerate designated wsdl folder.");
+			e.printStackTrace();
+		}
+		
+		// Create work list and count units of work
+		Vector resources=new Vector();
+		for (int i = 0; i < members.length; i++) {
+			IResource resource = members[i];
+			
+			// Test to see if it is a file with an wsdl ext
+			if(resource.getFileExtension().toLowerCase().equals("wsdl")){
+				// Process it
+				resources.add(resource);
+			}
+		}
+		
+		// Perform generation on each WSDL found
+		monitor.beginTask("Generating WSDM Resources",resources.size());
+		for (Iterator iter = resources.iterator(); iter.hasNext();) {
+			checkCancel(monitor);
+			IResource element = (IResource) iter.next();
+			processResource(element);
+			monitor.worked(1);
+		}
+		
+	}
+
+	/**
+	 * @param element
+	 */
+	private void processResource(IResource element) {
+		// Get preference Values
+		GenerationPreferences prefs = new GenerationPreferences();
+		String ouputPath = prefs.getOutputPath();
+		String classPath = prefs.getClassPath();
+		boolean verbose = prefs.isVerbose();
+		boolean debug = prefs.isDebug();
+				
+		// Build Wsdl2Java Prefs from out prefs 
+		Wsdl2Java.Wsdl2JavaOptions options = new Wsdl2Java.Wsdl2JavaOptions();
+        options.setVerbose( verbose );
+        options.setDebug( debug );
+        
+        // Encorporate the plugin classpath by default plus and
+        // Additional items set in prefs
+        String[] cpa=classPath.split(File.pathSeparator);
+        Vector cpVec=getRuntimeLibraries();
+        for (int i = 0; i < cpa.length; i++) {
+			String pathEntry = cpa[i];
+			if(pathEntry.length()>0)
+				cpVec.add(new File(pathEntry));			
+		}
+
+        File[] classpathFiles = (File[]) cpVec.toArray(new File[0]);
+
+        IWorkspaceRoot workspaceRoot =
+        	element.getWorkspace().getRoot();
+
+		URL url=null;
+		try {
+			url = element.getLocation().toFile().toURL();
+		} catch (MalformedURLException e1) {
+			e1.printStackTrace();
+			return;
+		}
+        File[] wsdlFiles = new File[]{new File(url.getPath())};
+        try
+        {
+            Wsdl2Java wsdl2Java = new Wsdl2Java( wsdlFiles, new File(ouputPath), classpathFiles, options ); 
+            wsdl2Java.generate();
+        }
+        catch ( Exception e )
+        {
+    		Shell shell = new Shell();
+    		MessageDialog.openInformation(
+    			shell,
+    			"An error has occured",
+    			e.getMessage());            
+        }
+		
+	}
+
+	/**
+	 * Used to halt execution if cancel was depressed.
+	 * @param monitor
+	 */
+	private void checkCancel(IProgressMonitor monitor) {
+		if(monitor.isCanceled())
+			throw new OperationCanceledException();		
+	}
+
+	/**
+	 * Decide if a build request contains any files inside it 
+	 * that would force us (this builder) to build.
+	 * @param kind
+	 * @return true if we need to build.
+	 */
+	private boolean shouldBuild(int kind) {
+
+		// if Kind is full then we should be invoked by definition
+		if(kind==FULL_BUILD){
+			return true;
+		}
+		
+		// We have been furnished a partial list of files to process
+		IResourceDelta delta = getDelta(getProject());
+		
+		if(delta==null)
+			return false;
+		String matchingDir=delta.getFullPath()+"/"+wsdlFolder;
+		// See if we are contained in the list
+		IResourceDelta[] children=delta.getAffectedChildren();
+		for (int i = 0; i < children.length; i++) {
+			IResourceDelta child = children[i];
+			// See if this item is in the wsdl folder and ends with the wsdl ext
+			if(child.getFullPath().toString().equals(matchingDir)){
+				IResourceDelta[] childrenschildren=child.getAffectedChildren();
+				for (int j = 0; j < childrenschildren.length; j++) {
+					IResourceDelta childschild = childrenschildren[j];
+					String ext= childschild.getProjectRelativePath().getFileExtension();
+					if(ext!=null)
+						if(ext.toLowerCase().equals("wsdl"))
+							return true;					
+				}
+			}
+		}
+		
+		return false;
+	}
+
+	Vector getRuntimeLibraries(){
+		URL installDir;
+		try {
+			installDir = Platform.resolve(ApolloPlugin.getDefault().getDescriptor().getInstallURL());
+		} catch (IOException e) {
+			return null;
+		}
+		String classPath="";
+		Vector cp=new Vector();
+		ILibrary[] runtimeLib = ApolloPlugin.getDefault().getDescriptor().getRuntimeLibraries();
+		for (int i = 0; i < runtimeLib.length; i++) {
+			ILibrary library = runtimeLib[i];
+			String pluginDir=installDir.getPath();
+			cp.add(new File(pluginDir+File.separator+library.getPath().toFile().toString()));
+		}
+		return cp;
+		
+	}
+	public static final String BUILDER_ID=ApolloPlugin.getDefault().getDescriptor().getUniqueIdentifier()+".wsrfIncrementalProjectBuilder";
+	//public static final String BUILDER_ID="org.apache.ws.apollo.wsrfIncrementalProjectBuilder";
+	/**
+	 * @param project
+	 */
+	public static void addBuilderToProject(IProject project) {
+		if(!project.isOpen())
+			return;
+		
+		IProjectDescription description=null;
+		try {
+			description=project.getDescription();
+		} catch (CoreException e) {
+			// TODO Log this error
+			e.printStackTrace();
+			return;
+		}
+		
+		// See if its already there
+		ICommand[] cmds = description.getBuildSpec();
+		for (int i = 0; i < cmds.length; i++) {
+			ICommand command = cmds[i];
+			if(command.getBuilderName().equals(BUILDER_ID))
+				return;
+		}
+		
+		// Associate builder with project				
+		ICommand newCmd = description.newCommand();
+		newCmd.setBuilderName(BUILDER_ID);
+		ArrayList newCmds=new ArrayList();
+		newCmds.add(newCmd);
+		newCmds.addAll(Arrays.asList(cmds));
+		description.setBuildSpec((ICommand[]) newCmds.toArray(new ICommand[newCmds.size()]));
+		try {
+			project.setDescription(description,null);
+		} catch (CoreException e1) {
+			// TODO Deal with error
+			e1.printStackTrace();
+		}
+	}
+
+	/**
+	 * @param project
+	 */
+	public static void removeBuilderToProject(IProject project) {
+		if(!project.isOpen())
+			return;
+		
+		IProjectDescription description=null;
+		try {
+			description=project.getDescription();
+		} catch (CoreException e) {
+			// TODO Deal withj error
+			e.printStackTrace();
+			return;
+		}
+		
+		
+		int index=-1;
+		ICommand[] cmds = description.getBuildSpec();
+		for(int j=0;j<cmds.length;j++){
+			if(cmds[j].getBuilderName().equals(BUILDER_ID)){
+				index=j;
+				break;
+			}
+		}
+		if(index==-1)
+			return;
+		ArrayList newCmds=new ArrayList();
+		newCmds.addAll(Arrays.asList(cmds));
+		newCmds.remove(index);
+		description.setBuildSpec((ICommand[])newCmds.toArray(new ICommand[newCmds.size()]));
+		try {
+			project.setDescription(description,null);
+		} catch (CoreException e1) {
+			// TODO Deal with error
+			e1.printStackTrace();
+		}
+	}
+
+}

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/WsrfProjectNature.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/WsrfProjectNature.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/WsrfProjectNature.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/nature/WsrfProjectNature.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,69 @@
+/*
+ * Created on Apr 12, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.apache.ws.apollo.nature;
+
+import org.apache.ws.apollo.builder.WsrfIncrementalProjectBuilder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectNature;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.jobs.Job;
+
+/**
+ * @author wire
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class WsrfProjectNature implements IProjectNature {
+	private IProject project;
+	
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.resources.IProjectNature#configure()
+	 */
+	public void configure() throws CoreException {
+		WsrfIncrementalProjectBuilder.addBuilderToProject(project);
+		new Job("WSRF Resource Generation"){
+			protected IStatus run(IProgressMonitor monitor) {				
+					try {
+						project.build(WsrfIncrementalProjectBuilder.FULL_BUILD,WsrfIncrementalProjectBuilder.BUILDER_ID,
+								null,monitor);
+					} catch (CoreException e) {
+						// TODO Deal with errors
+						e.printStackTrace();
+					}
+						return Status.OK_STATUS;			
+					}
+		}.schedule();
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.resources.IProjectNature#deconfigure()
+	 */
+	public void deconfigure() throws CoreException {
+		WsrfIncrementalProjectBuilder.removeBuilderToProject(project);
+
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.resources.IProjectNature#getProject()
+	 */
+	public IProject getProject() {
+		return project;
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject)
+	 */
+	public void setProject(IProject project) {
+		this.project=project;
+		
+	}
+
+}

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/WSDMGenerateAction.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/WSDMGenerateAction.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/WSDMGenerateAction.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/popup/actions/WSDMGenerateAction.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,134 @@
+package org.apache.ws.apollo.popup.actions;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Vector;
+
+import org.apache.ws.apollo.ApolloPlugin;
+import org.apache.ws.apollo.preferences.GenerationPreferencePage;
+import org.apache.ws.apollo.preferences.GenerationPreferences;
+import org.apache.ws.resource.tool.Wsdl2Java;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.runtime.ILibrary;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IActionDelegate;
+import org.eclipse.ui.IObjectActionDelegate;
+import org.eclipse.ui.IWorkbenchPart;
+
+public class WSDMGenerateAction implements IObjectActionDelegate {
+
+	private org.eclipse.core.internal.resources.File m_selectedFile;
+
+	/**
+	 * Constructor for Action1.
+	 */
+	public WSDMGenerateAction() {
+		super();
+	}
+
+	/**
+	 * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
+	 */
+	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
+	}
+
+	/**
+	 * @see IActionDelegate#run(IAction)
+	 */
+	public void run(IAction action) {
+		if(m_selectedFile==null)
+			return;
+		
+		// Get preference Values
+		GenerationPreferences prefs = new GenerationPreferences();
+		String ouputPath = prefs.getOutputPath();
+		String classPath = prefs.getClassPath();
+		boolean verbose = prefs.isVerbose();
+		boolean debug = prefs.isDebug();
+				
+		// Build Wsdl2Java Prefs from out prefs 
+		Wsdl2Java.Wsdl2JavaOptions options = new Wsdl2Java.Wsdl2JavaOptions();
+        options.setVerbose( verbose );
+        options.setDebug( debug );
+        
+        // Encorporate the plugin classpath by default plus and
+        // Additional items set in prefs
+        String[] cpa=classPath.split(File.pathSeparator);
+        Vector cpVec=getRuntimeLibraries();
+        for (int i = 0; i < cpa.length; i++) {
+			String pathEntry = cpa[i];
+			if(pathEntry.length()>0)
+				cpVec.add(new File(pathEntry));			
+		}
+
+        File[] classpathFiles = (File[]) cpVec.toArray(new File[0]);
+
+        IWorkspaceRoot workspaceRoot =
+        	m_selectedFile.getWorkspace().getRoot();
+
+		URL url=null;
+		try {
+			url = m_selectedFile.getLocation().toFile().toURL();
+		} catch (MalformedURLException e1) {
+			e1.printStackTrace();
+			return;
+		}
+        File[] wsdlFiles = new File[]{new File(url.getPath())};
+        try
+        {
+            Wsdl2Java wsdl2Java = new Wsdl2Java( wsdlFiles, new File(ouputPath), classpathFiles, options ); 
+            wsdl2Java.generate();
+        }
+        catch ( Exception e )
+        {
+    		Shell shell = new Shell();
+    		MessageDialog.openInformation(
+    			shell,
+    			"An error has occured",
+    			e.getMessage());            
+        }
+
+		
+	}
+
+	/**
+	 * @see IActionDelegate#selectionChanged(IAction, ISelection)
+	 */
+	public void selectionChanged(IAction action, ISelection selection) {
+		if(!selection.isEmpty()){
+			if(selection instanceof IStructuredSelection){
+				IStructuredSelection ss = (IStructuredSelection)selection;
+				Object file=ss.getFirstElement();
+				System.out.println(selection);
+				m_selectedFile=(org.eclipse.core.internal.resources.File)file;
+			}
+		}
+	}
+
+	Vector getRuntimeLibraries(){
+		URL installDir;
+		try {
+			installDir = Platform.resolve(ApolloPlugin.getDefault().getDescriptor().getInstallURL());
+		} catch (IOException e) {
+			return null;
+		}
+		String classPath="";
+		Vector cp=new Vector();
+		ILibrary[] runtimeLib = ApolloPlugin.getDefault().getDescriptor().getRuntimeLibraries();
+		for (int i = 0; i < runtimeLib.length; i++) {
+			ILibrary library = runtimeLib[i];
+			String pluginDir=installDir.getPath();
+			cp.add(new File(pluginDir+File.separator+library.getPath().toFile().toString()));
+		}
+		return cp;
+		
+	}
+
+}

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferencePage.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferencePage.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferencePage.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferencePage.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,91 @@
+package org.apache.ws.apollo.preferences;
+
+import java.io.File;
+
+import org.eclipse.core.runtime.ILibrary;
+import org.eclipse.jface.preference.*;
+import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.eclipse.ui.IWorkbench;
+import org.apache.ws.apollo.ApolloPlugin;
+import org.eclipse.jface.preference.IPreferenceStore;
+
+/**
+ * This class represents a preference page that
+ * is contributed to the Preferences dialog. By 
+ * subclassing <samp>FieldEditorPreferencePage</samp>, we
+ * can use the field support built into JFace that allows
+ * us to create a page that is small and knows how to 
+ * save, restore and apply itself.
+ * <p>
+ * This page is used to modify preferences only. They
+ * are stored in the preference store that belongs to
+ * the main plug-in class. That way, preferences can
+ * be accessed directly via the preference store.
+ */
+
+
+public class GenerationPreferencePage
+	extends FieldEditorPreferencePage
+	implements IWorkbenchPreferencePage {
+
+	public static final String P_WSDL_PATH = "WSDL Path";
+	public static final String P_OUTPUT_PATH = "Ouput Path";
+	public static final String P_CLASSPATH = "Class Path";
+	public static final String P_VERBOSE = "Verbose";
+	public static final String P_DEBUG = "Debug";
+	
+
+	public GenerationPreferencePage() {
+		super(GRID);
+		setPreferenceStore(ApolloPlugin.getDefault().getPreferenceStore());
+		setDescription("Preferences for Apollo WSDM Resource Generation");
+		initializeDefaults();
+	}
+/**
+ * Sets the default values of the preferences.
+ */
+	private void initializeDefaults() {
+		IPreferenceStore store = getPreferenceStore();
+		store.setDefault(P_VERBOSE, false);
+		store.setDefault(P_DEBUG, false);
+		store.setDefault(P_CLASSPATH, "");
+		store.setDefault(P_OUTPUT_PATH, "generated_src");
+		store.setDefault(P_WSDL_PATH, "wsdls");
+
+	}
+	
+/**
+ * Creates the field editors. Field editors are abstractions of
+ * the common GUI blocks needed to manipulate various types
+ * of preferences. Each field editor knows how to save and
+ * restore itself.
+ */
+
+	public void createFieldEditors() {
+		
+		addField(new DirectoryFieldEditor(P_OUTPUT_PATH, 
+				"&Ouput Directory:", getFieldEditorParent()));
+
+		addField(new StringFieldEditor(P_WSDL_PATH, 
+				"&WSDL Directory:", getFieldEditorParent()));
+
+		addField(
+				new StringFieldEditor(P_CLASSPATH, "&Class path:", getFieldEditorParent()));		
+		addField(
+			new BooleanFieldEditor(
+				P_VERBOSE,
+				"&Verbose",
+				getFieldEditorParent()));
+		
+		addField(
+				new BooleanFieldEditor(
+					P_DEBUG,
+					"&Debug",
+					getFieldEditorParent()));
+
+	}
+	
+	public void init(IWorkbench workbench) {
+	}
+	
+}
\ No newline at end of file

Added: incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferences.java
URL: http://svn.apache.org/viewcvs/incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferences.java?view=auto&rev=161286
==============================================================================
--- incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferences.java (added)
+++ incubator/apollo/trunk/org.apache.ws.apollo/src/org/apache/ws/apollo/preferences/GenerationPreferences.java Thu Apr 14 06:54:02 2005
@@ -0,0 +1,57 @@
+/*
+ * Created on Apr 12, 2005
+ */
+package org.apache.ws.apollo.preferences;
+
+import org.apache.ws.apollo.ApolloPlugin;
+
+/**
+ * @author wire
+ *
+ */
+public class GenerationPreferences {
+	String classPath;
+	String outputPath;
+	boolean verbose;
+	boolean debug;
+	String wsdlFolder;
+	
+
+	static String getPref(String prefName){
+		return ApolloPlugin.getDefault().getPluginPreferences().getString(prefName);	
+	}
+	static boolean getBoolPref(String prefName){
+		return ApolloPlugin.getDefault().getPluginPreferences().getBoolean(prefName);	
+	}
+	
+	/**
+	 * @return Returns the classPath.
+	 */
+	public String getClassPath() {
+		return getPref(GenerationPreferencePage.P_CLASSPATH);
+	}
+	/**
+	 * @return Returns the debug.
+	 */
+	public boolean isDebug() {
+		return getBoolPref(GenerationPreferencePage.P_DEBUG);
+	}
+	/**
+	 * @return Returns the outputPath.
+	 */
+	public String getOutputPath() {
+		return getPref(GenerationPreferencePage.P_OUTPUT_PATH);
+	}
+	/**
+	 * @return Returns the verbose.
+	 */
+	public boolean isVerbose() {
+		return getBoolPref(GenerationPreferencePage.P_VERBOSE);
+	}
+	/**
+	 * @return Returns the wsdlFolder.
+	 */
+	public String getWsdlFolder() {
+		return getPref(GenerationPreferencePage.P_WSDL_PATH);
+	}
+}



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