You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by Klaus Schaefers <kl...@ligatus.com> on 2013/12/10 13:02:18 UTC

IDE Setup

Hi,can somebody give my a short hint how to setup my IDE to write my own
Samza jobs? Sorry I am new to maven and I have so troubles including the
decencies.


Cheers,

Klaus

-- 

-- 

Klaus Schaefers
Senior Optimization Manager

Ligatus GmbH
Hohenstaufenring 30-32
D-50674 Köln

Tel.:  +49 (0) 221 / 56939 -784
Fax:  +49 (0) 221 / 56 939 - 599
E-Mail: klaus.schaefers@ligatus.com
Web: www.ligatus.de

HRB Köln 56003
Geschäftsführung:
Dipl.-Kaufmann Lars Hasselbach, Dipl.-Kaufmann Klaus Ludemann,
Dipl.-Wirtschaftsingenieur Arne Wolter

Re: IDE Setup

Posted by Chris Riccomini <cr...@linkedin.com>.
Hey Klaus,

I'm assuming you're trying to work with hello-samza
(https://github.com/linkedin/hello-samza). If you're using Eclipse, you
can run:

  mvn eclipse:eclipse

>From the hello-samza directory. Once that command finishes, you can go to
Eclipse, and click File > Import > General > Existing Projects into
Workspace > Next > Select root directory > Browse > (navigate to
hello-samza folder) > Open > Finish. This will load all the hello-samza
projects into Eclipse.

If you're running IntelliJ, you should be able to import the project using
IntelliJ's Maven support:

  
http://wiki.jetbrains.net/intellij/Creating_and_importing_Maven_projects#Im
porting_an_existing_Maven_project_into_an_IntelliJ_IDEA_project

If you're interested in looking at Samza's code
(https://git-wip-us.apache.org/repos/asf?p=incubator-samza.git;a=tree)
instead of hello-samza, you check out samza, and run:

  ./gradlew eclipse

For Eclipse. Then, simply follow the same import process described above.

For IntelliJ, you'd run:

  ./gradlew idea

And then import the project into IntelliJ:

  
http://www.jetbrains.com/idea/webhelp/creating-a-project-by-importing-exist
ing-sources.html

Cheers,
Chris

On 12/10/13 4:02 AM, "Klaus Schaefers" <kl...@ligatus.com> wrote:

>Hi,can somebody give my a short hint how to setup my IDE to write my own
>Samza jobs? Sorry I am new to maven and I have so troubles including the
>decencies.
>
>
>Cheers,
>
>Klaus
>
>-- 
>
>-- 
>
>Klaus Schaefers
>Senior Optimization Manager
>
>Ligatus GmbH
>Hohenstaufenring 30-32
>D-50674 Köln
>
>Tel.:  +49 (0) 221 / 56939 -784
>Fax:  +49 (0) 221 / 56 939 - 599
>E-Mail: klaus.schaefers@ligatus.com
>Web: www.ligatus.de
>
>HRB Köln 56003
>Geschäftsführung:
>Dipl.-Kaufmann Lars Hasselbach, Dipl.-Kaufmann Klaus Ludemann,
>Dipl.-Wirtschaftsingenieur Arne Wolter