> On Wed, Apr 30, 2008 at 9:35 PM, Craig L. Ching
<[EMAIL PROTECTED]>
> wrote:
> > ... Trying to get "mvn eclipse:eclipse" to work on the sling project
and
> >  it's not.  Is anyone using eclipse to build?...
> 
> Yes, it works for me, I do "mvn eclipse:eclipse" then in Eclipse do
> "import existing projects", select the Sling directory and I get all
> projects into Eclipse.
> 
That is *exactly* what I'm doing, but I get a project named 'api', but
everything else depends on a project named 'org.apache.sling.api'.
Doing a refactor -> rename to 'org.apache.sling.api' fixes it, but that
also renames the 'api' directory on disk.  For you, is the project name
'api' or 'org.apache.sling.api'?  What version of eclipse are you using?

> Recently, for some reason when I do this I'm getting
> "maven-eclipse.xml" files in each project directory, and a
> maven_ant_builder added to each project, haven't found where that
> comes from yet.
> 

Yeah, I'd never seen those before either.  I haven't looked at the
maven-eclipse-plugin version that you guys are using yet, but possibly
it's some new feature ;-)  I do know that the latest version is supposed
to include some round-trip project management from eclipse -> maven
which sounded really convenient.

> -Bertrand

Cheers,
Craig

Reply via email to