axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5127) Axis2 Codegen plugin contains some wrong assumptions about the Axis2 codegen plugin path
Date Thu, 25 Aug 2011 13:08:29 GMT

    [ 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


Mime
View raw message