axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harshana Eranga Martin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5127) Axis2 Codegen plugin contains some wrong assumptions about the Axis2 codegen plugin path
Date Tue, 23 Aug 2011 10:18:29 GMT
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
            Reporter: Harshana Eranga Martin


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