There's probably an easier way, but I just create the elipse project for the
project I want to use, like let's say, core and showcase, doing:

core/
mvn eclipse:eclipse

apps/showcase/
mvn eclipse:eclipse -Dwtpversion=1.0

and then import the projects, if you do it like that, you need to compile
core with maven because the reference in the showcase project will be
pointing to the M2_REPO folder. To compile core(configure it to run as an
external tool):

core/
mvn -Dmaven.test.skip=true install

I think there is a way to have maven generate the projects with the
references between them for eclipse, but I'm not sure how, we can put it on
the wiki if someone replies :)

musachy

On 5/25/07, David Durham, Jr. <[EMAIL PROTECTED]> wrote:

Hi,

I checked out the struts2 trunk from svn and imported the struts
projects via import projects.  I see a list of projects: api, core,
struts2-codebehind-plugin, ...  I have an M2_REPO variable setup.
core and api build without errors, but all of the plugin projects fail
to build because they're missing the dependency project struts2-core.
What's the recommended procedure for setting up the plugin projects,
and the core and api for that matter.  I'm trying to follow these
documents:

http://struts.apache.org/2.x/docs/building-the-framework-from-source.html
http://struts.apache.org/2.x/docs/building-with-maven.html

Thanks,

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to