[jboss-dev] Splitting system and user deployments
Dimitris Andreadis
dandread at redhat.com
Thu Mar 26 04:31:14 EDT 2009
Although I would like to see ./deploy reserved for user applications (option C), it will
wreak havoc :-).
Expect for breaking the testsuite and tck for a week (ok that's temporary), every script,
classpath or document out there will most probably break.
I reckon the safest option is a variation of option A:
./deploy
./deploy-apps
Leave things in deploy as-is and add a deploy-apps pre-configured to be deployed last. If
users want to use this instead of ./deploy, fine, if not, no problem again. A directory
listing will also show those together.
For AS 6 you can try more radical changes, IMHO.
Jason T. Greene wrote:
> Hi Everyone,
>
> One topic that seems to come up often, but yet we never get around to
> addressing, is adding a user specific deploy directory that is empty by
> default [1].
>
> If we go this route, what should we call such directories?
>
> I added a few
>
> Pros = + Cons = -
>
> Option A
> --------
> System = deploy
> User = apps
>
> + Users that expect system configuration files in deploy (like tomcat)
> won't be caught off-guard
> - Users might not notice the apps directory and put things in deploy anyway
>
> Option B
> --------
> System = system
> User = apps
>
> + Looks nice
> - New locations may be hard to find
>
> Option C
> --------
> System = system
> User = deploy
>
> + Users can still put apps in deploy, as they expect, and they no longer
> see system deployments
> - Users will have to find the new config location
>
>
> Option D
> --------
> System = deploy/system
> User = deploy/apps
>
> + Looks the nicest
> + Not too hard to find the new location
> - Users will put things in deploy and it won't work!
>
>
> Option E
> --------
> System = deploy-system
> Apps = deploy-apps
>
> + Putting files in the deploy dir is no longer a problem since it
> doesn't exist
> + Not too hard to find the new location
> - Deploy no longer exists
> - Kind of ugly
>
>
> [1] https://jira.jboss.org/jira/browse/JBAS-5954
>
More information about the jboss-development
mailing list