I checked out and built xwork trunk to get updated snapshot at $M2_REPO, and then built struts2 trunk. Though some tests in struts2 have failed I got struts 2.0.2 SNAPSHOT at my repo.
Thanks all for help! Andrew. On 11/20/06, James Mitchell <[EMAIL PROTECTED]> wrote:
It's part of XWork. ...and to add to what Wendy said... You can do either: Checkout XWork under your local svn of struts, and use -Pxwork to have maven also build and install xwork $ cd struts/ $ svn co https://svn.opensymphony.com/svn/xwork/trunk xwork $ cd struts2/ $ mvn clean install -Pxwork,all ...or you can put xwork somewhere else... $ cd wherever/you/want/ $ svn co https://svn.opensymphony.com/svn/xwork/trunk xwork $ mvn clean install $ cd over/to/struts/struts2/ $ mvn clean install -Pall -- James Mitchell 678.910.8017 On Nov 20, 2006, at 8:38 AM, Wendy Smoak wrote: > On 11/20/06, Andrew Stepanenko <[EMAIL PROTECTED]> wrote: >> Struts2 API seems to compile well, but when it gets to compiling >> Struts2 Core it complains about package >> com.opensymphony.xwork2.inject >> doesn't exist. The full maven2 error log is attached. >> Interesting thing is that I was not able to find >> com.opensymphony.xwork2.inject in the latest xwork2 trunk as well! >> Struts2 sources also reference @Inject annotation in those files >> which >> failed to compile. >> >> Any ideas where is the package com.opensymphony.xwork2.inject? Do the >> nightly builds of Struts2 if any compile well? > > Try deleting $M2_REPO/opensymphony/xwork to force Maven to download > the latest snapshot. > > (Unless you've moved it, $M2_REPO will be in your home directory: > ~/.m2/repository.) > > Another option is to check out and build XWork from source along > with Struts 2: > > svn co http://svn.opensymphony.com/svn/xwork/trunk xwork > > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]