]
Jason T. Greene updated JBAS-6697:
----------------------------------
Fix Version/s: JBossAS-6.0.0.Alpha1
(was: JBossAS-5.2.0.Beta1)
provide API in DeploymentManager for specifying which dir the file
should be deployed to (e.g. to deploy to farm dir, rather than deploy dir)
---------------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-6697
URL:
https://jira.jboss.org/jira/browse/JBAS-6697
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: ProfileService
Affects Versions: JBossAS-5.1.0.GA
Reporter: Ian Springer
Assignee: Emanuel Muckenhuber
Fix For: JBossAS-6.0.0.Alpha1
I could also use an API that tells me which deployment directories are available, e.g.:
Set<URL> getDeploymentDirectories();
I need this for the EAR/WAR create functionality in the jboss-as-5 plugin, because I want
to throw an Exception if an EAR/WAR with the same name is already deployed. I suppose this
could also be accomplished with an additional parameter to distribute(), e.g.:
DeploymentProgress distribute(String name, URL contentURL, boolean copyContent, boolean
overwriteIfAlreadyExists) throws Exception;
i.e. where it would throw an exception if overwriteIfAlreadyExists=false and an app with
the same name is already deployed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: