This content has been marked as final.
Show 2 replies
-
1. Re: JBDEPLOY-16; generic dependency deployer
adrian.brock Nov 25, 2008 6:25 AM (in response to alesj)The idea of JBDEPLOY-16 was not to provide a specific mechanism
for adding dependencies to a deployment but to provide some helper
for other deployers that want to do it.
e.g. OSGi has service dependencies at the deployment level if you use
the declaritve service model
If you want to provide an example of such a thing that uses text files
that is ok. -
2. Re: JBDEPLOY-16; generic dependency deployer
alesj Nov 26, 2008 7:57 AM (in response to alesj)"adrian@jboss.org" wrote:
If you want to provide an example of such a thing that uses text files
that is ok.
I'm done with initial version of this generic dependency:
- http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/plugins/dependency/
- http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/dependency/test/DependenciesTestCase.java
Aliasing:
- AliasesParserDeployer: looks for aliases.txt --> DeploymentAliases
- DeploymentAliasesDeployer: DeploymentAliases --> add/remove aliases for DeploymentUnit
Dependency:
- DependenciesParserDeployer: looks for jboss-dependency.xml --> DependenciesMetaData
- DependenciesMetaDataDeployer: DependenciesMetaData --> DeploymentDependencies
- DeploymentDependencyDeployer: DeploymentDependencies --> add/remove dependency items