quality@glassfish.java.net

Re: deploydir deprecated

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 29 Aug 2008 08:43:22 -0700

No, deploydir is deprecated because deploy does the job!

deploy command, when presented with a folder, just deploys it. Thus,
users don't have to learn a new command just to deploy from a folder!

The cluster-awareness of deploying from a folder is a different thing
and we are working on it ...

Dick Davies wrote:
> On Fri, Aug 29, 2008 at 4:29 PM, Survivant 00 <survivant00_at_gmail.com> wrote:
>> I asked yesterday how to deploy a appplication without creating a war. I
>> receive the answer : use deploydir command but it's deprecated.. will the
>> deploy command works too ?
>>
>> C:\glassfishv3-preludeb21\bin>asadmin.bat deploydir
>> "C:\Temp\PHP\quercus-3.1.6"
>> WARNING : deploydir command deprecated. Please use deploy command instead.
>>
>> Command deploydir executed successfully.
>> C:\glassfishv3-preludeb21\bin>
>>
>>
>> After that the application is deployed. I tested it
>> http://localhost:8484/quercus-3.1.6
>>
>> and it works.. but I was expecting that the application to be copied into
>> C:\glassfishv3-preludeb21\glassfish\domains\domain1\applications .
>
> No, deploydir just runs the webapp out of whatever directory you gave it.
> It only works locally, and means you can't cluster the app - probably why it's
> deprecated :)
>
>
>