On 10/23/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote:

On 10/23/06, James Mitchell <[EMAIL PROTECTED]> wrote:
> Wendy or anyone who knows...
>
> I added the maven config to shale-tiger and shale-apps/shale-sql-
> browser a while back, but I can't seem to figure out how to have
> those as part of the assembly...
>
> Here's what I do now:
>
>    $ cd shale/framework/
>    $ mvn clean install site -Papps,itest,j4 -Djava14.jar=
> $JAVA_HOME/../Classes/classes.jar
>    $ cd shale-dist/
>    $ mvn clean assembly:assembly
>
> When I unpack the zip, there is no apps, and no j4 jars/wars  (even
> though I see them under target of each).
>
<snip/>

IIUC, for artifacts to be packed in the dist zip, they have to be
either declared as deps in the shale-dist pom [1] (for publishable
artifacts) or, for other resources (such as j4 jars/wars), the
assembly descriptor [2] would have to pull them in (since the j4
artifacts aren't published anywhere under separate artifactIDs).


The shale-dist assembly configuration was originally designed to only
package up all the modules (i.e. shale-core, shale-application, shale-clay,
...), not the applications.  The intent was that you'd have a separate
distribution assembly for each individual app that you wanted to publish.
That way, we can scale out to as many example apps as we want, without
bloating the framework distribution.

The nightly build script we're using (on the MyFaces zones machine) does
this for each of the "real" sample apps (i.e. it omits the shale-test-xxxxx
ones that are there primarily for unit and system integration testing).

-Rahul


Craig

Reply via email to