Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 17607 invoked from network); 7 Mar 2006 20:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 20:34:07 -0000 Received: (qmail 65910 invoked by uid 500); 7 Mar 2006 20:34:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 65830 invoked by uid 500); 7 Mar 2006 20:34:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 65819 invoked by uid 99); 7 Mar 2006 20:34:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 12:34:03 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 12:34:03 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id 3D7ED6ACAB for ; Tue, 7 Mar 2006 20:33:42 +0000 (GMT) Message-ID: <1507240715.1141763622249.JavaMail.jira@ajax> Date: Tue, 7 Mar 2006 20:33:42 +0000 (GMT) From: "Sachin Patel (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMODEVTOOLS-72) Geronimo needs to support IModulePublishHelper.getPublishDirectory() to get to the server's publish directory In-Reply-To: <1459638613.1141763019175.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-72?page=all ] Sachin Patel resolved GERONIMODEVTOOLS-72: ------------------------------------------ Resolution: Duplicate > Geronimo needs to support IModulePublishHelper.getPublishDirectory() to get to the server's publish directory > ------------------------------------------------------------------------------------------------------------- > > Key: GERONIMODEVTOOLS-72 > URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-72 > Project: Geronimo-Devtools > Type: Bug > Environment: WTP 1.0.1 + Geronimo 1.0 plugin + Geronimo 1.0 server > Reporter: Kathy Chan > > After creating a Web service using the Web service wizard on a Web project targetting Geronimo server, the file server-config.wsdd is generated in the server installation config-store directory under /WEB-INF. However, if I change something in the EAR and republish, the server-config.wsdd file is gone. Note that the server-config.wsdd file is not in the workspace. > I am relying on the IModulePublishHelper.getPublishDirectory() API in the org.eclipse.wst.server.core plugin to get the server's publish directory in order to copy the server-config.wsdd file into the workspace so that next time the WAR/EAR is re-published, the information of what was deployed to the Axis servlet is persisted. > Tomcat is currently implementing that and Geronimo needs to implement IModulePublishHelper.getPublishDirectory() as well. > Here's the current implementation in TomcatBehaviour.getPublishDirectory(): > /** > * Returns the path that the module is > * published to when in test environment mode. > * > * @param module a module on the server > * @return the path that the module is published to when in test environment mode, > * or null if not running as a test environment or the module is not a web module > */ > public IPath getPublishDirectory(IModule[] module) { > if (!getTomcatServer().isTestEnvironment() || module == null || module.length != 1) > return null; > > return getTempDirectory().append("webapps").append(module[0].getName()); > } > This solution would solve the problem for getting to server-config.wsdd for Axis Web service but there is still a bigger general problem with files created in the config-store directory not mirrored in the workspace. Hopefully this will be addressed in the next release of the Geronimo plugin. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira