You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by aj...@apache.org on 2005/05/25 11:22:22 UTC

svn commit: r178414 - in /webservices/axis/trunk/java/modules/tool: ./ resources/service/ resources/service/icons/ src/org/apache/axis/tool/codegen/eclipse/pages/

Author: ajith
Date: Wed May 25 02:22:20 2005
New Revision: 178414

URL: http://svn.apache.org/viewcvs?rev=178414&view=rev
Log:
Adding the eclipse project resources, a readme file and a ant build file that will create the relevant eclipse project. (note- they are not complete)

Added:
    webservices/axis/trunk/java/modules/tool/create-project.xml
    webservices/axis/trunk/java/modules/tool/readme.txt
    webservices/axis/trunk/java/modules/tool/resources/service/
    webservices/axis/trunk/java/modules/tool/resources/service/build.properties
    webservices/axis/trunk/java/modules/tool/resources/service/icons/
    webservices/axis/trunk/java/modules/tool/resources/service/icons/asf-feather.gif   (with props)
    webservices/axis/trunk/java/modules/tool/resources/service/icons/sample.gif   (with props)
    webservices/axis/trunk/java/modules/tool/resources/service/plugin.xml
Modified:
    webservices/axis/trunk/java/modules/tool/src/org/apache/axis/tool/codegen/eclipse/pages/OptionsPage.java

Added: webservices/axis/trunk/java/modules/tool/create-project.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/create-project.xml?rev=178414&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/create-project.xml (added)
+++ webservices/axis/trunk/java/modules/tool/create-project.xml Wed May 25 02:22:20 2005
@@ -0,0 +1,55 @@
+<project basedir="." default="all" >
+
+    <property name="src" value="./src"></property>
+    <property name="output" value="./eclipse_projects"></property>
+    <property name="service.output.dir" value="${output}/service-archiver"></property>
+    <property name="codegen.output.dir" value="${output}/code-gen"></property>
+
+    <property name="source.dir.name" value="src"></property>
+    <property name="lib.dir.name" value="lib"></property>
+    <property name="bin.dir.name" value="bin"></property>
+
+    <property name="codegen.resource.dir" value="./resources/codegen"></property>
+    <property name="service.resource.dir" value="./resources/service"></property>
+
+
+
+  <target name="all">
+      <antcall target="generate-service-project" />
+      <antcall target="generate-codegen-project" />
+  </target>
+
+  <target name="init" >
+      <mkdir dir="${output}"></mkdir>
+      <mkdir dir="${service.output.dir}"></mkdir>
+      <mkdir dir="${codegen.output.dir}"></mkdir>
+  </target>
+
+  <target name="generate-service-project" depends="init">
+      <mkdir dir="${service.output.dir}/${source.dir.name}"></mkdir>
+      <!-- copy the source to src -->
+      <copy todir="${service.output.dir}/${source.dir.name}" >
+           <fileset dir="${src}" excludes="**/codegen/**/*.java" />
+      </copy>
+
+      <copy todir="${service.output.dir}" >
+          <fileset dir="${service.resource.dir}"></fileset>
+      </copy>
+  </target>
+
+    <target name="generate-codegen-project" depends="init">
+      <mkdir dir="${codegen.output.dir}/${source.dir.name}"></mkdir>
+      <!-- copy the source to src -->
+      <copy todir="${codegen.output.dir}/${source.dir.name}" >
+           <fileset dir="${src}" excludes="**/service/**/*.java" />
+      </copy>
+
+      <copy todir="${codegen.output.dir}" >
+          <fileset dir="${codegen.resource.dir}"></fileset>
+      </copy>
+  </target>
+    <target name="clean">
+        <delete dir="${output}"></delete>
+    </target>
+
+</project>

Added: webservices/axis/trunk/java/modules/tool/readme.txt
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/readme.txt?rev=178414&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/readme.txt (added)
+++ webservices/axis/trunk/java/modules/tool/readme.txt Wed May 25 02:22:20 2005
@@ -0,0 +1,11 @@
+===========================
+Using the tools source
+===========================
+Since the source for the tools has a dependency on the eclipse classes. one has to run the
+ant build file (create-project.xml) to generate a relevant eclipse project from the source.
+Once the projects are generated (which can be found in the newly created eclipse_project 
+directory) they can be opened in the Eclipse PDE for building and editing.
+
+The tool sources are not included in the build
+
+Note - The plugins are specifially for Eclipse version 3.0 and up
\ No newline at end of file

Added: webservices/axis/trunk/java/modules/tool/resources/service/build.properties
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/resources/service/build.properties?rev=178414&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/resources/service/build.properties (added)
+++ webservices/axis/trunk/java/modules/tool/resources/service/build.properties Wed May 25 02:22:20 2005
@@ -0,0 +1,4 @@
+source.Axis_ServiceArchiver.jar = src/
+output.Axis_ServiceArchiver.jar = bin/
+bin.includes = plugin.xml,\
+               Axis_ServiceArchiver.jar

Added: webservices/axis/trunk/java/modules/tool/resources/service/icons/asf-feather.gif
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/resources/service/icons/asf-feather.gif?rev=178414&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/axis/trunk/java/modules/tool/resources/service/icons/asf-feather.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis/trunk/java/modules/tool/resources/service/icons/sample.gif
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/resources/service/icons/sample.gif?rev=178414&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/axis/trunk/java/modules/tool/resources/service/icons/sample.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/axis/trunk/java/modules/tool/resources/service/plugin.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/resources/service/plugin.xml?rev=178414&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/resources/service/plugin.xml (added)
+++ webservices/axis/trunk/java/modules/tool/resources/service/plugin.xml Wed May 25 02:22:20 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+   id="Axis_Service_Archiver"
+   name="Axis Service Maker"
+   version="1.0.0"
+   provider-name="Apache Software Foundation"
+   class="org.apache.axis.tool.eclipse.plugin.ServiceArchiver">
+
+   <runtime>
+      <library name="Axis_Service_Archiver.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.eclipse.jface.text"/>
+   </requires>
+
+<extension
+         point="org.eclipse.ui.newWizards">
+      <category
+            name="Axis2 Wizards"
+            id="Axis2_Wizards">
+      </category>
+      <wizard
+            name="Axis2 Service Archiver"
+            icon="icons/sample.gif"
+            category="Axis2_Wizards"
+            class="org.apache.axis.tool.eclipse.ui.ServiceArchiveWizard"
+            id="org.apache.axis.tool.service.serviceWizard">
+      </wizard>
+   </extension>
+</plugin>

Modified: webservices/axis/trunk/java/modules/tool/src/org/apache/axis/tool/codegen/eclipse/pages/OptionsPage.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/src/org/apache/axis/tool/codegen/eclipse/pages/OptionsPage.java?rev=178414&r1=178413&r2=178414&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/src/org/apache/axis/tool/codegen/eclipse/pages/OptionsPage.java (original)
+++ webservices/axis/trunk/java/modules/tool/src/org/apache/axis/tool/codegen/eclipse/pages/OptionsPage.java Wed May 25 02:22:20 2005
@@ -36,7 +36,8 @@
     private Button serverSideCheckBoxButton;
     
     /**
-     * @param pageName
+     * @param
+     *
      */
     public OptionsPage() {
         super(CodegenWizardPlugin.getResourceString("page2.name"));