Adding a playground / contrib

Note: The following text will always mention "playground", but the same steps can also be used to create a new contrib-project inside "contribs".

In the playgrounds-project, there exists a directory _template which can be used as a starting point. This template already contains the directory structure and svn meta data for a typical playground. Best is, to copy the template using svn commands. That is:

  • on the command line, go to the playgrounds-project: cd /path/to/workspace/playgrounds/
  • execute svn copy _template nameOfNewPlayground
  • in Eclipse, refresh the playgrounds-project (right-click on project > Refresh, or F5)
  • in nameOfNewPlayground/pom.xml, change the Artifact Id and the project name from "_template" to the name of the new playground.
  • add the name of the new playground as a module in playgrounds/pom.xml
Important

Do not copy the _template directory in Eclipse or in the Explorer! In every case except "svn copy", the metadata will not be correctly updated, resulting in a corrupt svn checkout!

 

 


Warning: Table 'watchdog' is read only query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;sessions&amp;#039; is read only\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;38.107.179.234&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328355434 WHERE sid = &amp;#039;e972b2ab7dd755a2094beea8ac708f02&amp;#039;</em> in <em>/home01/vsp_access/matsimwww/includes/database.mysql.inc</em> on line <em>174</em>.', 2, '', 'http://matsim.org/node/481', '', '38.107.179.234', 1328355434) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174