ok,

so i will implement the following

deploy directory remains there, you can drop anything in deploy.

3 rules:

1- There is an ordering in deploy xml>sar>war>ear>jar or whatever i had in
there before.

2-if you deploy a bean with dependencies, whatever they may be, i.e.
sar/ear/war/rar/jar containment is enough to order.  The inner stuff is
deployed first
so
jar/
---sar
---war/
------jar2

will result in the following order
jar2>sar>war>jar

this is great, this is today in cvs, unless a certain someone removed this
as well.

The problem is a painful russian doll structure.

3- however there are 3 static directories deploy/first, deploy/second,
deploy/third, actually i could call them
deploy/deploy1, deploy/deploy2/deploy3... and allow for arbitrary numbers
but we would provide at least 3.
AND
if you drop something in deploy and deploy1 deploy2 for example

deploy/sar
deploy1/jar
deploy2/war, sar1
deploy3/ jar2, ear, xml

you get

deploy1-deploy2-deploy3-deploy with ordering from 2 and 1 above so

jar, sar1, war, jar2, xml, ear, sar

voila! no dependency explicitely set but a very simple way of putting stuff
in the right order. It will do the trick. I'll code it if a certain someone
doesn't.

rc1-rc6 has been in Unix for 20 years, so let's stop fucking around

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc
|fleury
|Sent: Wednesday, March 13, 2002 5:26 AM
|To: marc fleury; David Jencks
|Cc: Jboss-Development @ Lists . Sourceforge . Net
|Subject: RE: [JBoss-dev] ordering proposal
|
|
|
|
||-----Original Message-----
||From: [EMAIL PROTECTED]
||[mailto:[EMAIL PROTECTED]]On Behalf Of marc
||fleury
||Sent: Wednesday, March 13, 2002 12:19 AM
||To: David Jencks
||Cc: Jboss-Development @ Lists . Sourceforge . Net
||Subject: RE: [JBoss-dev] ordering proposal
||
||
|||This can be done today simply by including the list of 3 or whatever
|||directories in the URLDeploymentScanner.  Jason just needs to sort each
|||directory separately when he puts the sorting back in.
||
||right, let's just do that, it is simple and will cover 99% cases.
||
||we need to
||1- document the deployer of the deployer would get it right away
|
|never write emails with no sleep...
|
|i meant
|
|1- document the deployer, much confusion is due to lack of basic
|understanding due to lack of doco. It is actually easy, so people would get
|it right away.
|
|marcf
|
||2- as you point out the key is ordering first/second and third separately
||which is not the way i remember i coded it (i would order the
|full set) and
||then we are done.
||
||marcf
||
||
||
||_______________________________________________
||Jboss-development mailing list
||[EMAIL PROTECTED]
||https://lists.sourceforge.net/lists/listinfo/jboss-development
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to