On Thu, Jun 19, 2008 at 8:58 AM, Marc Hughes <[EMAIL PROTECTED]> wrote:

> Ah ha!  After paying more attention to this:
> http://static.appfuse.org/movies/2.0/helloworld.mov
>
> I noticed an extra step.
> rm -r src/main/webapp/WEB-INF/lib/
>
> That seems to have fixed my errors.  I can't wait to get started with all
> this :)
>
> It might be a good idea to add that to the eclipse integration page?
> http://appfuse.org/display/APF/Eclipse
>

Yes, it sounds like a good idea. You should be able to change the page
yourself.

Matt


> <http://appfuse.org/display/APF/Eclipse>
>
> Thanks,
> -Marc
>
> On Thu, Jun 19, 2008 at 8:10 AM, Marc Hughes <[EMAIL PROTECTED]>
> wrote:
>
>> Hello,
>>
>> I'm trying to get the eclipse integration working but am having some
>> problems.  I get to a point where I have 87 errors in my project and can't
>> continue.  That seems to always happen after I do a "mvn war:inplace"
>>
>> Here's the full steps I take:
>>
>>
>> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes 
>> -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=
>> http://static.appfuse.org/releases
>>  -DarchetypeVersion=2.0.2 -DgroupId=com.agileagenda.server 
>> -DartifactId=agileagenda
>>
>> cd agileagenda/
>>
>> vi pom.xml  (I set the mysql username / password / port that I use)
>>
>> mvn
>> mvn jetty:run-war
>> I browse to http://localhost:8080/
>> , and I can see the site, log in, etc.  All seems good.
>>
>> mvn install eclipse:eclipse
>>
>> pwd
>> /Users/mhughes/projects/personal/AgileAgenda/WebServices2.0/agileagenda
>>
>> mvn 
>> -Declipse.workspace=/Users/mhughes/projects/personal/AgileAgenda/WebServices2.0/agileagenda
>>  eclipse:add-maven-repo
>>
>>
>> I then launch Eclipse and import the project.  Eclipse sits there cranking 
>> away for a while and then comes back with a few errors, but those look like 
>> they are expected. (
>> http://issues.appfuse.org/browse/APF-649)
>>
>> Now, I exit eclipse.
>>
>> mvn war:inplace
>>
>> And reopen eclipse.  And I get 87 errors.  84 of them are of the form:
>>
>> Web library project archive activation-1.1.jar conflicts with another 
>> archive also mapped to the WEB-INF/lib folder.
>> With a different jar listed for each.
>>
>> If I do a mvn jetty:run-war, then everything works fine so I think it's
>> just an eclipse config problem.
>>
>> I've also done these steps, but placing the war:inplace before I generate
>> the eclipse project, and still have the same problem.
>>
>> Any ideas?
>>
>> Thanks a lot,
>> -Marc
>>
>
>

Reply via email to