Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 573B1781B for ; Tue, 23 Aug 2011 12:40:03 +0000 (UTC) Received: (qmail 87402 invoked by uid 500); 23 Aug 2011 12:40:01 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 85916 invoked by uid 500); 23 Aug 2011 12:39:58 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 85894 invoked by uid 99); 23 Aug 2011 12:39:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 12:39:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 12:39:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1ED3FCB66C for ; Tue, 23 Aug 2011 12:39:29 +0000 (UTC) Date: Tue, 23 Aug 2011 12:39:29 +0000 (UTC) From: "Harshana Eranga Martin (JIRA)" To: java-dev@axis.apache.org Message-ID: <1413721300.5033.1314103169123.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <284587412.4815.1314094709062.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AXIS2-5127) Axis2 Codegen plugin contains some wrong assumptions about the Axis2 codegen plugin path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harshana Eranga Martin updated AXIS2-5127: ------------------------------------------ Attachment: AXIS2-5127.patch This patch resolves this issue. > 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