You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/08/25 15:08:29 UTC

[jira] [Commented] (AXIS2-5127) Axis2 Codegen plugin contains some wrong assumptions about the Axis2 codegen plugin path

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

Hudson commented on AXIS2-5127:
-------------------------------

Integrated in Axis2 #942 (See [https://builds.apache.org/job/Axis2/942/])
    Applied patch for AXIS2-5127.

sagara : 
Files : 
* /axis/axis2/java/core/trunk/modules/tool/axis2-eclipse-codegen-plugin/src/main/java/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java


> Axis2 Codegen plugin contains some wrong assumptions about the Axis2 codegen plugin path
> ----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5127
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5127
>             Project: Axis2
>          Issue Type: Bug
>          Components: ide plugins
>            Reporter: Harshana Eranga Martin
>             Fix For: 1.7.0
>
>         Attachments: AXIS2-5127.patch
>
>
> In the Eclipse plugins, when we select the option of copy jars to code generated project option in the options wizard page, it tries to copy required jars included in the plugin using the following code.
> 	                 String eclipseHome = System.getProperty("user.dir");
>                 	 String pluginLibLocation = eclipseHome+File.separator+UIConstants.PLUGINS+
> 											File.separator+UIConstants.AXIS_CODEGEN_PLUGIN_FOLDER+
> 											File.separator+UIConstants.LIB;
> This means we assume the directory which the currently user is an Eclipse distribution. Therefore the users who are trying the plugin in self hosting mode via codebase will get a IO exception since the path refer by the above code is different from what they currently use. So proper fix would be to use Eclipse infrastructure to get the path.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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