Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 81808 invoked from network); 13 Feb 2006 10:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 10:50:47 -0000 Received: (qmail 46820 invoked by uid 500); 13 Feb 2006 10:50:46 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 46798 invoked by uid 500); 13 Feb 2006 10:50:45 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 46786 invoked by uid 99); 13 Feb 2006 10:50:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 02:50:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jian.liao@gmail.com designates 66.249.82.203 as permitted sender) Received: from [66.249.82.203] (HELO xproxy.gmail.com) (66.249.82.203) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 02:50:44 -0800 Received: by xproxy.gmail.com with SMTP id s9so629466wxc for ; Mon, 13 Feb 2006 02:50:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dRbyzIaKs8qk7b4ADe8txeXjHWXxbwHwf4Rwd/73oBXkCHXV2/ZwfBWVK5Bp/6demmn6X0L4R+xwi5rubDkhUe1O+0f/zaQRVnPf5LnSrA80X1Yua4vPr1LctnH4FeNwA1C0/bZ/MSNC9goJZqeD08sDSuKaZTxxywo0rQanYE4= Received: by 10.70.128.18 with SMTP id a18mr2325021wxd; Mon, 13 Feb 2006 02:50:23 -0800 (PST) Received: by 10.70.104.18 with HTTP; Mon, 13 Feb 2006 02:50:23 -0800 (PST) Message-ID: Date: Mon, 13 Feb 2006 18:50:23 +0800 From: Jian Liao To: Jetspeed Developers List Subject: Re: minimal maven2 build ready to test In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1032_5623170.1139827823654" References: <1139714358.10829.27.camel@localhost.localdomain> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1032_5623170.1139827823654 Content-Type: multipart/alternative; boundary="----=_Part_1033_19350327.1139827823654" ------=_Part_1033_19350327.1139827823654 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi randy, Sorry, please ignore my previous patch. Please review this one. populate-userinfo-for-default-psml.sql in the etc\target\sql\${database}\ should be executed. The one in the etc\target\sql\ should be ignored. My env: WinXP SP2 JDK1.4.2_10 Oracle 10g Maven 2.0.2 regards, - Jian Liao On 2/13/06, Jian Liao wrote: > > A small issue, the general sql should be copy from specific db folder. Se= e > the attachment. > > My test env: > WinXP SP2 > JDK1.4.2_10 > > - Jian Liao > > On 2/12/06, Jian Liao wrote: > > > > Hi randy, > > Great work! I've been waiting for building j2 with maven-2 for days, > > thanks for your hard work. > > I'll start to test it tomorrow(Mon.). > > > > Cheers, > > > > - Jian Liao > > > > On 2/12/06, Randy Watler wrote: > > > > > > J2 Dev Team, > > > > > > The maven2 build seems sufficiently functional to have you all test i= t > > > if you find the time. At the moment, it is very minimal; it can > > > essentially do the following: > > > > > > - Build Jetspeed2 components and applications, > > > - populate the test database and run unit tests, and > > > - populate the production database and deploy to Tomcat 5/5.5. > > > > > > I have not implemented Derby support, but I plan to be doing that > > > sometime in the next week. I still have to resolve how best to get > > > Derby > > > dependencies into the build. It should be simple, but I have not put > > > any > > > cycles against it to date. > > > > > > About the only problematic portions of the main build that are left t= o > > > resolve are building the site/documentation and the LDAP compiled > > > schema > > > component. There are a few Maven2 bugs/issues still to be resolved. > > > The > > > most significant are classloader isolation problems I have encountere= d > > > with our Spring based testcases... these have forced me to fork the > > > component test cases so test result output to the build console is no= t > > > available and the reports must be scanned for failure information. > > > > > > I have tested the 1.4 and 1.5 JVMs on Linux fairly extensively. Here > > > are > > > the essential operations required to perform the existing build > > > functions: > > > > > > 1. Acquire Maven2 2.0.2 and install as you feel fit, (both mavens can > > > be > > > installed on the path simultaneously). > > > 2. Create ~/.m2 and copy settings.xml.sample from the J2 root dir int= o > > > it. Modify as you would build.properties in the existing Maven1 build= . > > > 3. Execute 'mvn -P test' in the J2 root dir to execute a full build > > > with > > > tests. To skip the tests, one can run just 'mvn'. Be prepared, the > > > download of dependencies is more extensive with a Maven2 repository. > > > 4. To install into Tomcat, execute 'mvn -P tomcat'. One can skip > > > straight to this command since it performs the base build as well. > > > 5. As with Maven1, the '-o' option can be supplied to force the build > > > into offline mode after the repository has been built. > > > > > > Any and all feedback is welcome. The build is captured entirely in th= e > > > 'pom.xml' and 'build.xml' files throughout the source tree. I have > > > opted > > > to construct the build w/o any custom plugins and rely on the builtin > > > antrun Maven2 plugin to do the miscellaneous build dirty work. My > > > plans > > > are to construct a Maven2 archetype to replace the existing Maven1 > > > genapp plugin goals. I am not sure that will do everything we want, > > > but > > > we'll see when we get there. > > > > > > I am planning on taking a breather on this work to give you all some > > > time to evaluate and comment what I have done to date. Please respond > > > to > > > this thread with all feedback. Eventually, I will push forward after > > > addressing/accommodating all of your concerns. > > > > > > Thanks! > > > > > > Randy > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org > > > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org > > > > > > > > > > > > -- > > thanks, > > - Jian Liao > > > > > -- > thanks, > - Jian Liao > -- thanks, - Jian Liao ------=_Part_1033_19350327.1139827823654 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi randy,
Sorry, please ignore my previous patch. Please review this one= .
populate-userinfo-for-default-psml.sql in the etc\target\sql\${databas= e}\ should be executed. The one in the etc\target\sql\ should be ignored.

My env:
WinXP SP2
JDK1.4.2_10
Oracle 10g
Maven 2.0.2
regards,
- Jian Liao

On 2/1= 3/06, Jian Liao < jian.liao@gmail.com> wrote:
A small issue, the general sql should be copy from = specific db folder. See the attachment.

My test env:
WinXP SP2
JDK1.4.2_10

- Jian Liao


On 2/12/06, Jian Liao <jian.liao@gmail.co= m> wrote:
Hi randy,
Great work! I've been waiting for building j2 with maven-2 for= days, thanks for your hard work.
I'll start to test it tomorrow(Mon.).<= br>
Cheers,

- Jian Liao


On 2/12/06, Randy Watler <watler@wispertel.net> wrote: J2 Dev Team,

The maven2 build seems sufficiently functional to have = you all test it
if you find the time. At the moment, it is very minimal;= it can
essentially do the following:

- Build Jetspeed2 component= s and applications,
- populate the test database and run unit tests, and
- populate the = production database and deploy to Tomcat 5/5.5.

I have not implement= ed Derby support, but I plan to be doing that
sometime in the next week.= I still have to resolve how best to get Derby
dependencies into the build. It should be simple, but I have not put an= y
cycles against it to date.

About the only problematic portions = of the main build that are left to
resolve are building the site/documen= tation and the LDAP compiled schema
component. There are a few Maven2 bugs/issues still to be resolved. The=
most significant are classloader isolation problems I have encountered<= br>with our Spring based testcases... these have forced me to fork the
component test cases so test result output to the build console is not
a= vailable and the reports must be scanned for failure information.

I = have tested the 1.4 and 1.5 JVMs on Linux fairly extensively. Here are
the essential operations required to perform the existing build
function= s:

1. Acquire Maven2 2.0.2 and install as you feel fit, (both mavens= can be
installed on the path simultaneously).
2. Create ~/.m2 and co= py=20 settings.xml.sample from the J2 root dir into
it. Modify as you would bu= ild.properties in the existing Maven1 build.
3. Execute 'mvn -P test' in= the J2 root dir to execute a full build with
tests. To skip the tests, = one can run just 'mvn'. Be prepared, the
download of dependencies is more extensive with a Maven2 repository.4. To install into Tomcat, execute 'mvn -P tomcat'. One can skip
straig= ht to this command since it performs the base build as well.
5. As with = Maven1, the '-o' option can be supplied to force the build
into offline mode after the repository has been built.

Any and a= ll feedback is welcome. The build is captured entirely in the
'pom.xml' = and 'build.xml' files throughout the source tree. I have opted
to constr= uct the build w/o any custom plugins and rely on the builtin
antrun Maven2 plugin to do the miscellaneous build dirty work. My plans=
are to construct a Maven2 archetype to replace the existing Maven1
g= enapp plugin goals. I am not sure that will do everything we want, but
we'll see when we get there.

I am planning on taking a breather on t= his work to give you all some
time to evaluate and comment what I have d= one to date. Please respond to
this thread with all feedback. Eventually= , I will push forward after
addressing/accommodating all of your concerns.

Thanks!

Ra= ndy



--------------------------------------------------------= -------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands,= e-mail: jetspeed-d= ev-help@portals.apache.org




--
thanks,
- Jian Liao



--
tha= nks,
- Jian Liao



-- thanks,
- Jian Liao ------=_Part_1033_19350327.1139827823654-- ------=_Part_1032_5623170.1139827823654 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org ------=_Part_1032_5623170.1139827823654--