Hi Renato, By far the easiest way to use Crunch is via Maven. Maven can also be used to set up a project that you can import into Eclipse.
Start off by running "mvn clean install -DskipTests" in the crunch source tree (you can actually probably skip this as you've already done it). Then just follow the directions in the Crunch Getting Started guide (http://incubator.apache.org/crunch/getting-started.html) to generate a maven project that includes Crunch. Once you've done that, you can just run "mvn eclipse:eclipse" from within the project that you just created, and then you'll be able to import the project via the normal "Import project" menu item in Eclipse. If you're really set on not using Maven (although I would really advise against that), the jar file that you're looking for can be found in the crunch/target directory after you run "mvn install". However, you'll have a lot of work sorting out all the other dependencies that are needed (that's one of the things that Maven will take care of for you). - Gabriel On 23 Jan 2013, at 18:02, Renato Marroquín Mogrovejo <[email protected]> wrote: > Hi Gabriel, > > I am sorry I didn't explain myself well enough in my previous email. Crunch > project does compile successfully and the compiled jars are inside the target > folder. But there was not a lib folder with the dependencies as most projects > have. Is this intended?So for running Crunch inside Eclipse I will have to > put all my maven repository into the classpath?wouldn't it be easier to also > put the dependencies on the lib folder? > Thanks again for the help guys! > > Renato M. > > On Jan 23, 2013 1:13 AM, "Gabriel Reid" <[email protected]> wrote: > Hi Renato, > > On 23 Jan 2013, at 06:23, Renato Marroquín Mogrovejo > <[email protected]> wrote: > > > > > > I am trying to compile Crunch from source but I am not able to do so, > > is there any documentation on doing this? I have cloned the project > > from the git repository and then run mvn clean install -DskipTests > > I have also tried to put the code into eclipse but I had no luck in > > setting the project up, any suggestions on this are highly > > appreciated. > > Thanks in advance! > > > > It should be as simple as checking out the code and running mvn install. Just > to be sure, the steps are: > > git clone https://git-wip-us.apache.org/repos/asf/incubator-crunch.git > cd incubator-crunch > mvn clean install -DskipTests > > If that isn't working for you, could you post the error message(s) that > you're getting when you try to do that? > > > Thanks, > > Gabriel > >
