Not exactly, the design is deploy and keep it like it. Honestly tomee.sh is very rarely used. Le 28 août 2013 12:57, "Christian Schlichtherle" < [email protected]> a écrit :
> Hi, > > Am 28.08.2013 um 12:17 schrieb Romain Manni-Bucau <[email protected]>: > > > why don't you simply put your app in apps/ (same level as webapps - can > > need to be created) then activated the commented line in tomee.xml. > > Start/stop/restart will keep it. > > Alright, after uncommenting the following line in tomee.xml > > <Deployments dir="apps"/> > > it works, i.e. the deployed apps get started upon server start again. > > However, I completely disagree with this "feature". First, it violates the > "least surprises" approach and then, more importantly, with this line > commented out, the apps are still present in the apps folder. The effect is > that you can't deploy them because they are present in the apps folder and > you can't undeploy them because the app server thinks they are not > deployed?! And then again, why would somebody not want to restart the > deployed apps once they have been deployed? So I think this "feature" is > broken by design. > > Regards, > Christian Schlichtherle > >
