Ya, try this.
> cd struts2/
> mvn eclipse:eclipse -Pall -DdownloadDependencies=true -
Dwtpversion=1.0
I know, I know ... wtp version is actually 1.5, but the maven plugin
supports 1.0 right now (at least the last time I checked 1.5 was
borked).
The -DdownloadDependencies is optional. What it does is download any
src jars that go with the binaries and it adds them to the .classpath
configuration such that you have the binary for the project, but when
you cntrl+click into some class, you get the source linked in for
you. I like being able to debug deep down into xwork, OGNL, commons
or whatever.
Next, in eclipse, do, File -> Import (then choose 'existing projects'
under 'General' and point to the root of struts2 checkout). The list
will fill up with all the projects that have .project files under
(recursively searched) the folder you specified.
Also, once imported, I use Eclipse's 'Working Sets' feature. So, my
top level of projects are structured similar to how it is on disk.
--
James Mitchell
On Jan 14, 2008, at 11:31 AM, Al Sutton wrote:
OK, I must be doing something dumb.
I took the files src/main/idea/project and src/main/idea/workspace
to indicate an idea flavour to the repository.
Have you got a magic recipie for getting a svn checkout into a
workspace with dependancies I can use?, I've tried mvn
eclipse:eclipse, but I then had to hack the .project file to get
the Java perspective and I've been hunting down dependancies (such
as spring-mock) in order to get a working build.
----- Original Message ----- From: "Mitchell James"
<[EMAIL PROTECTED]>
To: "Struts Developers List" <[email protected]>
Sent: Monday, January 14, 2008 4:24 PM
Subject: Re: Overnight builds & snapshots
What are you talking about? How does svn favor IDEA?
I use Eclipse just fine with all of s2 (core, plugins, and
apps). Maven generates my config and everything.
--
James Mitchell
On Jan 14, 2008, at 11:20 AM, Al Sutton wrote:
I've cleaned out the temporary files, put -Xmx128M in
MAVEN_OPTS, and maven reports Final Memory: 16M/42M. The box is
a 3GB Q6600 so I can ramp up the ram available to the JVM as far
as neccessary.
I've been trying to see if I could hack together an Eclipse
workspace to do some tracing in to find out whats happening, but
the svn tree seems to favour IntelliJ IDEA, and I'd prefer not
to have to learn a new IDE just for investigation of the problem :(
Al.
----- Original Message ----- From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[email protected]>
Sent: Monday, January 14, 2008 3:32 PM
Subject: Re: Overnight builds & snapshots
On Jan 14, 2008 8:46 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
I'm going to look into it some more, but is it possible that
bamboo is
missing something? (or that the test is showing up a platform
difference
between the bamboo compile farm and my Vista/JDK 1.5.0_14
machine)?
It's working for me under XPx64. We have had platform-specific
issues
before, using having to do with memory allocation or temporary
files.
The first thing to check is that Maven has enough memory. The
second
might be that Vista has not amassed too many temporary files.
HTH, Ted.
<http://www.StrutsMentor.com/>
-------------------------------------------------------------------
--
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]
---------------------------------------------------------------------
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]