You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Shannon Quinn <sq...@gatech.edu> on 2010/06/03 03:24:50 UTC
Fixing broken import paths in Eclipse
Hi all,
I apologize for yet another silly question, but seeing as how it'd be nice
if my code recognized import paths, I request your assistance.
Here's my workbench:
http://spectrallyclustered.files.wordpress.com/2010/06/eclipse.jpg
I issued the "mvn eclipse:eclipse" command after building the project, and
at the root level I could import "mahout", or navigate one level deeper and
import each module individually, though doing so still created the same
problem. Eclipse isn't seeing the Mahout dependencies (though I'm also not
sure how to point it to Hadoop). Thanks again for the assistance :)
Shannon
Re: Fixing broken import paths in Eclipse
Posted by Shannon Quinn <sq...@gatech.edu>.
Gah, fixed it (with the help of my mentor, thanks Isabel :) ) - needed to be
shown this page:
http://maven.apache.org/guides/mini/guide-ide-eclipse.html
That solved all the import errors in one fell swoop.
Shannon
On Wed, Jun 2, 2010 at 11:53 PM, Shannon Quinn <sq...@gatech.edu> wrote:
> Hi Drew,
>
> Thanks for the direction; unfortunately I only made it as far as step 4
> before receiving the following error:
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred
> while executing this line:
> /mahout/eclipse/setup-eclipse-workspace.xml:33: Warning: Could not find
> file /mahout/etc/mahout-checkstyle.xml to copy.
>
> The file it references is indeed missing.
>
> I'm going to keep fiddling with it, perhaps stumble upon something, but
> wanted to give feedback as soon as I could. Thank you!
>
> Shannon
>
> On Wed, Jun 2, 2010 at 11:08 PM, Drew Farris <dr...@gmail.com>wrote:
>
>> Hi Shannon,
>>
>> A while back Benson spent some time working towards making it easier to
>> set
>> up the mahout projects in eclipse. He documented his approach in the
>> thread
>> here;
>>
>>
>> http://www.lucidimagination.com/search/document/f97cfdd1d2543316/progress_with_eclipse#a5da14bd5d1adceb
>>
>> Perhaps you could give that I try and report back with your results? I
>> recently had some success setting up my environment using this approach.
>>
>> HTH,
>>
>> - Drew
>>
>> On Wed, Jun 2, 2010 at 9:24 PM, Shannon Quinn <sq...@gatech.edu> wrote:
>>
>> > Hi all,
>> >
>> > I apologize for yet another silly question, but seeing as how it'd be
>> nice
>> > if my code recognized import paths, I request your assistance.
>> >
>> > Here's my workbench:
>> > http://spectrallyclustered.files.wordpress.com/2010/06/eclipse.jpg
>> >
>> > I issued the "mvn eclipse:eclipse" command after building the project,
>> and
>> > at the root level I could import "mahout", or navigate one level deeper
>> and
>> > import each module individually, though doing so still created the same
>> > problem. Eclipse isn't seeing the Mahout dependencies (though I'm also
>> not
>> > sure how to point it to Hadoop). Thanks again for the assistance :)
>> >
>> > Shannon
>> >
>>
>
>
Re: Fixing broken import paths in Eclipse
Posted by Shannon Quinn <sq...@gatech.edu>.
Hi Drew,
Thanks for the direction; unfortunately I only made it as far as step 4
before receiving the following error:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while
executing this line:
/mahout/eclipse/setup-eclipse-workspace.xml:33: Warning: Could not find file
/mahout/etc/mahout-checkstyle.xml to copy.
The file it references is indeed missing.
I'm going to keep fiddling with it, perhaps stumble upon something, but
wanted to give feedback as soon as I could. Thank you!
Shannon
On Wed, Jun 2, 2010 at 11:08 PM, Drew Farris <dr...@gmail.com> wrote:
> Hi Shannon,
>
> A while back Benson spent some time working towards making it easier to set
> up the mahout projects in eclipse. He documented his approach in the thread
> here;
>
>
> http://www.lucidimagination.com/search/document/f97cfdd1d2543316/progress_with_eclipse#a5da14bd5d1adceb
>
> Perhaps you could give that I try and report back with your results? I
> recently had some success setting up my environment using this approach.
>
> HTH,
>
> - Drew
>
> On Wed, Jun 2, 2010 at 9:24 PM, Shannon Quinn <sq...@gatech.edu> wrote:
>
> > Hi all,
> >
> > I apologize for yet another silly question, but seeing as how it'd be
> nice
> > if my code recognized import paths, I request your assistance.
> >
> > Here's my workbench:
> > http://spectrallyclustered.files.wordpress.com/2010/06/eclipse.jpg
> >
> > I issued the "mvn eclipse:eclipse" command after building the project,
> and
> > at the root level I could import "mahout", or navigate one level deeper
> and
> > import each module individually, though doing so still created the same
> > problem. Eclipse isn't seeing the Mahout dependencies (though I'm also
> not
> > sure how to point it to Hadoop). Thanks again for the assistance :)
> >
> > Shannon
> >
>
Re: Fixing broken import paths in Eclipse
Posted by Drew Farris <dr...@gmail.com>.
Hi Shannon,
A while back Benson spent some time working towards making it easier to set
up the mahout projects in eclipse. He documented his approach in the thread
here;
http://www.lucidimagination.com/search/document/f97cfdd1d2543316/progress_with_eclipse#a5da14bd5d1adceb
Perhaps you could give that I try and report back with your results? I
recently had some success setting up my environment using this approach.
HTH,
- Drew
On Wed, Jun 2, 2010 at 9:24 PM, Shannon Quinn <sq...@gatech.edu> wrote:
> Hi all,
>
> I apologize for yet another silly question, but seeing as how it'd be nice
> if my code recognized import paths, I request your assistance.
>
> Here's my workbench:
> http://spectrallyclustered.files.wordpress.com/2010/06/eclipse.jpg
>
> I issued the "mvn eclipse:eclipse" command after building the project, and
> at the root level I could import "mahout", or navigate one level deeper and
> import each module individually, though doing so still created the same
> problem. Eclipse isn't seeing the Mahout dependencies (though I'm also not
> sure how to point it to Hadoop). Thanks again for the assistance :)
>
> Shannon
>