Skip to content

faq 83722303

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

I cannot figure out to run extensions on Eclipse

by Jack Hill on 2016-09-13 05:46:42


Hi All,

I would like to run the Matsim extensions using Eclipse, but I just cannot figure out how to do it.

If anyone can point in me in the right direction it would be greatly appreciated.

Kind Regards,


Jack 


Comments: 1


Re: I cannot figure out to run extensions on Eclipse

by Joschka Bischoff on 2016-09-13 06:25:08

Hi Jack,


sure. Under the condition that you are using the MATSim example project, which I think you do, this is really easy.

1) In your Eclipse project, there is a file called pom.xml. Open it and in the lower tab, select pom.xml, so that you can see the plain xml-file.

2) Here, you will already find an example on how to add a contrib, just deselect the comment tags:

3) Now, save the file. Eclipse should automatically find the extension and download it.

4) To see if it has worked out, select the "Maven dependencies tab" in your project. a jar file with the name of the contrib should be there now. If you expand it, you may have a look at the sources and examples.


For an overview of extensions, see:

http://matsim.org/extensions



Cheers, 

Joschka


Clone this wiki locally