I've done this a couple of times with m2eclipse:

1. use the svn import instead of m2eclipse import and "Check out as a project 
in the workspace" (don't use New Project Wizard). Assuming you call the project 
"tapestry-project".
2. right-click-import on tapestry-project, go to "Existing Maven Projects". You 
should see the list of all sub modules of Tapestry. If there is a name clash 
with other existing projects you can add a classifier to the modules by using 
Name Template input field in the hidden "Advanced" section of the import screen.
3. after finishing the last part I think you have to build the whole project 
once before the compile errors vanish. So one mvn clean install should do it. 
Having done the build there should be the missing antlr files in 
target/generated-sources/antlr. Then right-click tapestry-core -> Maven -> 
Update Project Configuration - and m2eclipse should add this directory to the 
classpath automatically.

easy, isn't it? ;-)


Am 20.12.2010 um 22:17 schrieb Dan Adams:

> Yeah, so I dug into this a bit and you have to get a version of the plugin
> from a totally non-documented archive of the eclipse update site from
> 0.10.something. The scm support simply isn't in the more recent versions.
> Although even after I got that working and checked it out it still didn't
> set up the project correctly.
> 
> On Mon, Dec 20, 2010 at 3:26 PM, Ulrich Stärk <[email protected]> wrote:
> 
>> You also have to install m2eclipse's scm providers, I believe from the
>> m2e-extras repository, I'm not sure. I also have subclipse installed, I
>> guess it's required as well.
>> 
>> Uli
>> 
>> 
>> On 20.12.2010 20:52, Thiago H. de Paula Figueiredo wrote:
>> 
>>> On Mon, 20 Dec 2010 17:07:53 -0200, Ulrich Stärk <[email protected]>
>>> wrote:
>>> 
>>> Have fun.
>>>> 
>>>> You could also use m2eclipse's "checkout maven project from svn" feature.
>>>> it's working great, also
>>>> for submodules. just check out tapestry-project and it adds all tapestry
>>>> modules as projects.
>>>> 
>>> 
>>> Which m2eclipse version? No SCM provider appears in the list, so I can't
>>> get this option. I'm having
>>> the same problems as Dan to get tapestry-project and make m2eclipse to
>>> configure it properly.
>>> 
>>> 
>> ---------------------------------------------------------------------
>> 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]

Reply via email to