Hi Manveen,
For "deploydir" you would supply the directory of a valid web
application. For "deploy" you specify the .war file. JSFTemplating's
demo app supports both. I point people to the deploy dir b/c that allows
them to make changes to the source files (the .jsf files) and see them
instantly in their browser. You can do the same by deploying the .war
file, but then you'd have to modify the files in
<glassfish-home>/domains/domain1/applications/j2ee-modules/demo/*. Since
this is more difficult, and it results in a copy of the files (instead
of the source files directly), I recommend the deploydir command.
Thanks for the comments, though! I appreciate the feedback!
Ken
Manveen Kaur wrote:
> https://jsftemplating.dev.java.net/tutorials/setup.html
>
> In Step 2, point 2 shouldn't
> |*
> asadmin deploydir -p 4848 --name demo --force <jsftemplating-home>/demo
>
> *|be
>
> |*asadmin deploydir -p 4848 --name demo --force
> <jsftemplating-home>/demo/demo.war?
>
>
> *|