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 sa...@apache.org on 2006/12/07 09:32:33 UTC

svn commit: r483373 - in /webservices/axis2/trunk/java/modules/tool: axis2-eclipse-codegen-plugin/build.xml axis2-eclipse-service-plugin/build.xml build.xml create-project.xml readme.txt

Author: sandakith
Date: Thu Dec  7 00:32:32 2006
New Revision: 483373

URL: http://svn.apache.org/viewvc?view=rev&rev=483373
Log:
added a top level ant build for the eclipse plugins
removed the create-project.xml wich is outdated. (above new build will contain all features)
lib folder also should be deleted and recreated at each plugin project creation
modified the readme.txt file to relect the new changes

Added:
    webservices/axis2/trunk/java/modules/tool/build.xml   (with props)
Removed:
    webservices/axis2/trunk/java/modules/tool/create-project.xml
Modified:
    webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/build.xml
    webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/build.xml
    webservices/axis2/trunk/java/modules/tool/readme.txt

Modified: webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/build.xml?view=diff&rev=483373&r1=483372&r2=483373
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/build.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/build.xml Thu Dec  7 00:32:32 2006
@@ -1,4 +1,4 @@
-<project basedir="." default="all">
+<project basedir="." default="help">
 
     <!--Set your elcipse home directory  -->
     <property environment="env" />
@@ -93,6 +93,7 @@
                 <delete file=".classpath" />
                 <delete dir="icons" />
                 <delete dir="help" />
+                <delete dir="lib" />
 
                 <!-- Copy to the same position with the filtering on-->
                 <copy todir="." filtering="on" >

Modified: webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/build.xml?view=diff&rev=483373&r1=483372&r2=483373
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/build.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/axis2-eclipse-service-plugin/build.xml Thu Dec  7 00:32:32 2006
@@ -1,4 +1,4 @@
-<project basedir="." default="all">
+<project basedir="." default="help">
 
     <!--Set your elcipse home directory  -->
     <property environment="env" />
@@ -73,6 +73,7 @@
 		<delete file=".classpath" />
                 <delete dir="icons" />
                 <delete dir="help" />
+                <delete dir="lib" />
                 <!-- Copy with the filtering on-->
                 <copy todir="." filtering="on" >
                     <fileset dir="${service.resource.dir}">

Added: webservices/axis2/trunk/java/modules/tool/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/build.xml?view=auto&rev=483373
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/build.xml (added)
+++ webservices/axis2/trunk/java/modules/tool/build.xml Thu Dec  7 00:32:32 2006
@@ -0,0 +1,102 @@
+<project basedir="." default="help">
+
+       <property name="output.folder" value="./target/eclipse_plugins"></property>
+       <property name="service.plugin.folder" value="./axis2-eclipse-service-plugin"></property>
+       <property name="codegen.plugin.folder" value="./axis2-eclipse-codegen-plugin"></property>
+
+       <!-- Clean the directory -->
+       <target name="clean">
+          <delete dir="${output.folder}"></delete>
+       </target>
+
+       <!-- Default target to generate all the plugins -->
+       <target name="all">
+         <antcall target="clean" />
+         <antcall target="generate-plugins"/>
+         <antcall target="release-plugins"/>
+       </target>
+
+       <!-- init-->
+       <target name="init">
+          <mkdir dir="${output.folder}"></mkdir>
+       </target>
+
+        <target name="generate-projects" depends="init">
+               <ant dir="${service.plugin.folder}" target="generate-service-project" />
+               <ant dir="${codegen.plugin.folder}" target="generate-codegen-project"  />
+        </target>
+
+	<target name="generate-service-project" depends="init">
+	       <ant dir="${service.plugin.folder}" target="generate-service-project" />
+	</target>
+	
+	<target name="generate-codegen-project" depends="init">
+		 <ant dir="${codegen.plugin.folder}" target="generate-codegen-project" />
+	</target>
+
+        <target name="generate-plugins" depends="init">
+		<ant dir="${service.plugin.folder}" target="generate-service-plugin" />
+		<ant dir="${codegen.plugin.folder}" target="generate-codegen-plugin" />
+        </target>
+
+	<target name="generate-service-plugin" depends="init">
+		<ant dir="${service.plugin.folder}" target="generate-service-plugin" />
+	</target>
+
+	<target name="generate-codegen-plugin" depends="init" >
+		 <ant dir="${codegen.plugin.folder}" target="generate-codegen-plugin" />
+	</target>
+
+        <target name="install-plugins" depends="init">
+		<ant dir="${service.plugin.folder}" target="install-service-plugin" />
+		<ant dir="${codegen.plugin.folder}" target="install-codegen-plugin" />
+        </target>
+
+	<target name="install-service-plugin" depends="init">
+		<ant dir="${service.plugin.folder}" target="install-service-plugin" />
+	</target>
+
+	<target name="install-codegen-plugin" depends="init">
+		 <ant dir="${codegen.plugin.folder}" target="install-codegen-plugin" />
+	</target>
+
+	<target name="release-plugins" depends="init">
+		<ant dir="${service.plugin.folder}" target="release-plugin" />
+		<ant dir="${codegen.plugin.folder}" target="release-plugin" />
+	</target>
+
+        <target name="release-codegen-plugin" depends="init">
+		 <ant dir="${codegen.plugin.folder}" target="release-plugin" />
+        </target>
+
+        <target name="release-service-plugin" depends="init">
+		<ant dir="${service.plugin.folder}" target="release-plugin" />
+        </target>
+
+
+    <target name="help">
+            <echo message="****************************************************************************" />
+            <echo message="**                   Eclipse Plugin Build                                 **" />
+            <echo message="**  pre-requisit            : env.ECLIPSE_HOME                            **" />
+            <echo message="**                                                                        **" />
+            <echo message="**  build projects          : generate-projects                           **" />
+            <echo message="**  build service project   : generate-service-project                    **" />
+            <echo message="**  build codegen project   : generate-codegen-project                    **" />
+            <echo message="**                                                                        **" />
+            <echo message="**  build plugins           : generate-plugins                            **" />
+            <echo message="**  build service plugin    : generate-service-plugin                     **" />
+            <echo message="**  build codegen plugin    : generate-codegen-plugin                     **" />
+            <echo message="**                                                                        **" />
+            <echo message="**  install plugins         : install-plugins                             **" />
+            <echo message="**  install service plugin  : install-service-plugin                      **" />
+            <echo message="**  install codegen plugin  : install-codegen-plugin                      **" />
+            <echo message="**                                                                        **" />
+            <echo message="**  release plugins         : release-plugins                             **" />
+            <echo message="**  release service plugin  : release-service-plugin                      **" />
+            <echo message="**  release codegen plugin  : release-codegen-plugin                      **" />
+            <echo message="**                                                                        **" />
+            <echo message="**                                                                        **" />
+            <echo message="****************************************************************************" />
+
+    </target>
+</project>

Propchange: webservices/axis2/trunk/java/modules/tool/build.xml
------------------------------------------------------------------------------
    svn:executable = *

Modified: webservices/axis2/trunk/java/modules/tool/readme.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/tool/readme.txt?view=diff&rev=483373&r1=483372&r2=483373
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/readme.txt (original)
+++ webservices/axis2/trunk/java/modules/tool/readme.txt Thu Dec  7 00:32:32 2006
@@ -10,32 +10,39 @@
 ------------------------------
 
 	* 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.
+	  ant build file (build.xml) to generate a relevant eclipse project from the source.
 	  
 	* In order to compile the plugin first you must do a maven create-lib on Axis2 Source and
 	  set ECLIPSE_HOME environment variable to point to your eclipse home directory.  
 	
-	* use the ant -f create-project.xml command to generate the plugin projects.
+	* use the ant generate-projects command to generate the plugin projects.
 	
-	* 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.
+	* Once the projects are generated in each eclipse plugin directory under tools directory
+          (axis2-eclipse-service-plugin and axis2-eclipse-codegen-plugin) they can be opened as a Eclipse PDE
+	  for building and editing.
 	  
 	* This can be done by File -> Import -> Existing project into workspace on Elcipse menu and 
-	  point that to the eclipse_project directory newly created.
+	  point that to the any of eclipse plugin directory under tools directory.
 
 Build Eclipse Plugin Projects
 ------------------------------
 
-	* If you need to build and install the eclipse plugin to your local eclipse plugin directory
-		* In order to compile the plugin first you must do a maven create-lib on Axis2 Source and
-	  	  set ECLIPSE_HOME environment variable to point to your eclipse home directory
-		* stop eclpse if still on operation.
-		* use ant -f create-project.xml install-codegen-plugin install-service-plugin
-	      or to release the plugins [ant -f create-project.xml release-plugins]
-		* start eclipse
-		* plugins will be accessible through [File -> New -> Other] ctl+n under Axis2 Wizards.
+	* Build and install the eclipse plugin to your local eclipse plugin directory.
+                * In order to compile the plugin first you must do a maven create-lib on Axis2 Source and
+                  set ECLIPSE_HOME environment variable to point to your eclipse home directory.
+                * stop eclpse if still on operation.
+                * use ant install-plugins 
+                * start eclipse
+                * plugins will be accessible through [File -> New -> Other] ctl+n under Axis2 Wizards.
+
+	* Release the plugins in compressed format
+                * In order to compile the plugin first you must do a maven create-lib on Axis2 Source and
+                  set ECLIPSE_HOME environment variable to point to your eclipse home directory.
+                * stop eclpse if still on operation.
+                * ant release-plugins
+                * plugins will be available at target/eclipse_projects/release
 	
 	* The tool sources are not included in the build
 	
-	* To run the plugin you need please refer to 
+	* To run the plugin you need please refer to,
 		- Tools Page On Apache Axis 2 Documentation  http://ws.apache.org/axis2/tools/



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