[ https://issues.apache.org/jira/browse/AXIS2-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harshana Eranga Martin updated AXIS2-5127: ------------------------------------------ Component/s: ide plugins Fix Version/s: 1.7.0 > 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org