Hello, Bernhard.
It looks as if there are a few mismatches between the doc and the code.
You can use "-output path-to-file.jar" to override where the JAR file
will be created.
As for the directory structure, after expanding the generated JAR file
you should see an appclient subdirectory. Inside there is a glassfish
directory which is the location the doc means when it refers to
"appclient_install_dir."
- Tim
On Jan 23, 2012, at 9:56 AM, Bernhard Thalmayr wrote:
> Hi experts,
>
> is there any documentation around for the command 'package-applicent'
> but the 'reference-guide'?
>
> It seems that the documentation does not match the behaviour..
>
> From the doc:
> "Use the package-appclient command to pack the application client
> container libraries and
> jar files into an appclient.jar file, which is created in the current
> working directory."
>
>
> However it seems that the 'applient.jar' file is always created in
>
> <install-dir>/glassfish/lib/
>
> which is suboptimal on 'UNIX' as typically the '<install-dir>' is
> read-only for 'normal users'.
>
> Also the documentation for the 'extracted appclient' seems not be
> correct ... the structure of the extracted appliant does not match the
> one documented which makes in not that easy to follow the doc.
>
> TIA,
> Bernhard
> --
> IT-Consulting Bernhard Thalmayr
> - Painstaking Minds -
> 83620 Vagen (Munich area)
> Germany