Re: Nightly distributions via Maven (including the j4 bits)

2006-10-28 Thread Craig McClanahan

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-x
ones that are there primarily for unit and system integration testing).

-Rahul


Craig


Nightly distributions via Maven (including the j4 bits)

2006-10-23 Thread James Mitchell

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).


Help?!?!?



--
James Mitchell
678.910.8017






Re: Nightly distributions via Maven (including the j4 bits)

2006-10-23 Thread Rahul Akolkar

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).

-Rahul

[1] http://svn.apache.org/repos/asf/shale/framework/trunk/shale-dist/pom.xml
[2] 
http://svn.apache.org/repos/asf/shale/framework/trunk/shale-dist/src/assemble/dist.xml



Help?!?!?



--
James Mitchell
678.910.8017