axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Sandakith (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2072) Code generator Eclipse plug-in not working when building from source
Date Tue, 06 Feb 2007 09:57:05 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470501
] 

Lahiru Sandakith commented on AXIS2-2072:
-----------------------------------------

create_project.xml only creates a plugin which can be imported to eclipse to get a working
plugin from that you need to export that plugin. Using create_project.xml  and now its obsilete,
As I indicated in earlier we now can use the Ant build to do this and you do not need the
create_projet.xml any more.  

I am quating the readme.txt that we have in 1.1.1 at module/tools 


Ant Build
---------
	Create Eclipse Plugin Projects
	------------------------------

	* Since the source for the tools has a dependency on the eclipse classes. one has to run
the
	  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 generate-projects command to generate the plugin projects.
	
	* 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 any of eclipse plugin directory under tools directory.

	Build Eclipse Plugin Projects
	------------------------------

	* 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,
		- Tools Page On Apache Axis 2 Documentation  http://ws.apache.org/axis2/tools/



> Code generator Eclipse plug-in not working when building from source
> --------------------------------------------------------------------
>
>                 Key: AXIS2-2072
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2072
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: Windows XP, Eclipse 3.2.1, JDK 1.4.2
>            Reporter: Stuart Bell
>         Assigned To: Lahiru Sandakith
>         Attachments: Axis2_Codegen_Wizard_1.2.1.zip, create-project.xml
>
>
> Attempted to follow the installation instructions here:  http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html
> I've never had such a difficult experience with other Eclipse plug-ins.  I've had to
go down the route of building the plug-in from the source.  The create-project.xml for codegen
seems to be broken as it is attempting to reference an axis2-1.1.1.jar which no longer exists.
 It seems that the Axis libraries have been broken up into multiple JARs.  This seems to have
happened changed with retrospectively updating the build script.
> Also, the installation guide for the plugin is very obscure.  I am aware of Maven, but
I have never used it.  Do I really have to spend days figuring out Maven just to re-build
a plugin??
> Was the plugin never developed to be just dropped into the plugins directory in Eclipse?
> Regards,
> Stuart Bell

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message