You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Bo...@l-3com.com on 2014/06/11 00:14:06 UTC

Eclipse project

I managed to clone the Accumulo git repo and import the project in Eclipse (Kepler) as a maven project, but all the source paths are messed up.  They imported at main.java.org.apache.acccumulo.blah.blah and therefore don't match the package attribute in the source file.  Any guidance on how to import this correctly or fix the source paths?

Bob Thorman
Chief Engineer, PED Products
L-3 Communications, ComCept
(972) 772-7501 voice
(972) 772-7510 fax
(214) 793-2922 mobile
bob.thorman@ncct.af.smil.mil


Re: Eclipse project

Posted by Christopher <ct...@apache.org>.
Check for updates to Eclipse and its plugins. I've seen this in some
unpatched versions of Eclipse / m2e.
On Jun 10, 2014 6:14 PM, <Bo...@l-3com.com> wrote:

> I managed to clone the Accumulo git repo and import the project in Eclipse
> (Kepler) as a maven project, but all the source paths are messed up.  They
> imported at main.java.org.apache.acccumulo.blah.blah and therefore don't
> match the package attribute in the source file.  Any guidance on how to
> import this correctly or fix the source paths?
>
> Bob Thorman
> Chief Engineer, PED Products
> L-3 Communications, ComCept
> (972) 772-7501 voice
> (972) 772-7510 fax
> (214) 793-2922 mobile
> bob.thorman@ncct.af.smil.mil
>
>

Re: Eclipse project

Posted by Josh Elser <jo...@gmail.com>.
Odd, I'm running Eclipse Kepler myself without any problems. I have 
m2eclipse installed, and I can get the source into Accumulo by choosing:

   File > Import > Existing Maven Projects

We already have hooks in the pom.xml files which should automatically 
set up the classpaths in the Eclipse projects correctly. The only thing 
that you might run into is a classpath ordering issue when using Java 7:

https://issues.apache.org/jira/browse/ACCUMULO-2661

On 6/10/14, 6:14 PM, Bob.Thorman@l-3com.com wrote:
> I managed to clone the Accumulo git repo and import the project in Eclipse (Kepler) as a maven project, but all the source paths are messed up.  They imported at main.java.org.apache.acccumulo.blah.blah and therefore don't match the package attribute in the source file.  Any guidance on how to import this correctly or fix the source paths?
>
> Bob Thorman
> Chief Engineer, PED Products
> L-3 Communications, ComCept
> (972) 772-7501 voice
> (972) 772-7510 fax
> (214) 793-2922 mobile
> bob.thorman@ncct.af.smil.mil
>
>