You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Sachin Patel (JIRA)" <ji...@apache.org> on 2006/03/07 21:33:42 UTC
[jira] Resolved: (GERONIMODEVTOOLS-72) Geronimo needs to support
IModulePublishHelper.getPublishDirectory() to get to the server's publish
directory
[ 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 <WAR name>/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