Orion will copy the deployment files in your EAR the first time it deploys
it. Thereafter it will use the files in the deployment directory. It will
never copy a file if it exists in the deployment directory. Therefore you
are free to modify those to customise your deployment.
(The only exception here seems to be web.xml which always gets overwritten
by web.xml from a WAR but this is in Bugzilla and I think has been fixed in
the latest JAR)
-mike
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Weissman
> Sent: Thursday, March 29, 2001 4:58 AM
> To: Orion-Interest
> Subject: Re: Deployment xml files in ear file? If so, where?
>
>
> Maybe I misunderstand, I thought orion will create orion-*.xml in the
> deployment area, if not supplied in the ear. If placed in the ear,
> Orion would only copy it to the application-deployment area. I did not
> think a person edited in the application-deployment area.
> mike
>
> Hani Suleiman wrote:
> >
> > No, orion is doing the right thing by not clearing
> application-deployment.
> > People keep forgetting that deployment!=assembly, the deployer should be
> > free to override values from the assembly, Orion clobbering
> > application-deployments would effectively make the deployer's job
> > impossible!
> >
> > deployment = orion-*.xml (application, web, ejb-jar, principals)
> > assembly = *.xml (application, web, ejb-jar
> >
> > Hani
> >
> > >From: Mike Weissman <[EMAIL PROTECTED]>
> > >Reply-To: Orion-Interest <[EMAIL PROTECTED]>
> > >To: Orion-Interest <[EMAIL PROTECTED]>
> > >Subject: Re: Deployment xml files in ear file? If so, where?
> > >Date: Wed, 28 Mar 2001 08:21:08 -0700
> > >
> > >It seems that orion auto-deployment should clean both the applications
> > >and application-deployment areas. In development especially when you
> > >make many changes, I have been bit a few times by leftovers when the
> > >areas were not cleaned.
> > >mike
> > >
> > >Yves Bossel wrote:
> > > >
> > > > > Note though that if the application has already been
> > > > > deployed, then these
> > > > > files won't be copied over the existing ones. They're only
> > > > > used in the case
> > > > > of a 'fresh install'.
> > > >
> > > > When you make changes to your descriptors and/or any class
> in your app,
> > > > (having packed everything in the ear), you should delete
> the directory
> > > > <orion>/application-deployments/<your-app>
> > > > Then shutdown and restart Orion. Shutdown is important (not
> hot restart)
> > > > because any class that changed, specifically the EJBs tend
> to remain in
> > > > memory.
> > > >
> > > > Yves
> > >
> > >--
> > >##############################################################
> > >Michael Weissman e-mail: [EMAIL PROTECTED]
> > >Clarent Corporation 303-734-5003 Fax 303-734-4244
> > >1221 W. Mineral Ave. Littleton, Co 80120
> > >In the land of the dark, the ship of the sun is
> > >drawn by the grateful dead -- Egyptian Book of the Dead
> > >##############################################################
> > >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> --
> ##############################################################
> Michael Weissman e-mail: [EMAIL PROTECTED]
> Clarent Corporation 303-734-5003 Fax 303-734-4244
> 1221 W. Mineral Ave. Littleton, Co 80120
> In the land of the dark, the ship of the sun is
> drawn by the grateful dead -- Egyptian Book of the Dead
> ##############################################################
>
>