Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

HowToCreateShanksModule

Álvaro Carrera edited this page Jun 18, 2013 · 1 revision

#summary How to create a shanks simulation module #labels Phase-Implementation

= How to create a shanks simulation module =

Any Shanks user can choose between use shanks with maven or without maven. But developers must develop using maven to keep consistency to the project.

Now, the task is to create a maven project to develop a shanks simulation module.

Note: Make sure that you have all required software. See [InstallationManual our installation manual]. For this process, we need Maven, M2E Eclipse plugin and Subclipse Eclipse plugin.

First of all, we have to create a Eclipse Project following these steps:

New->Project...->Maven->Maven Project

Click on "Create a simple project (skip archetype selection)"

Fill in the data for Artifact info:

* Group Id: es.upm.dit.gsi.shanks
* Artifact Id: <name of your module, e.g.: shanks-radiolink-module>
* Version: 0.0.1-SNAPSHOT
* Packaging: jar
* Name: <name of your module, e.g.: Shanks Simulation module for Radio Links>
* Description: <description of your module, e.g.: This module contains...>

Leave empty the data for Parent Project and click on Finish.

Secondly, we have to add shanks-core dependency adding this code to dependencies pom.xml label. Obviously, you must modify the version to the correct one.

{{{ es.upm.dit.gsi.shanks shanks-core 0.2 jar }}}

Finally, we have to share this maven project in the svn following these steps:

Right click on your new project in the Eclipse Package Explorer view.

Team -> Share Project... -> SVN -> Next

Now you should see shanks svn URL. If not, you can create it and click on Next.

Now you have to select the trunk directory in "Use specified folder name". The result must be that in URL field should be: https://shanks-with-mason.googlecode.com/svn/trunk/<name of your module, i.e. Artifact Id specified previously>

Click Finish and its done. :)

Now you have your module ready to be developed. :) That's all friends!

Clone this wiki locally