Difference between revisions of "Create a new reader project"

From RifidiWiki

Jump to: navigation, search
m
Line 23: Line 23:
 
|}
 
|}
  
== Add the project to the SVN Server ==
+
==Add the project's dependencies==
 +
#Double click on the project's MANIFEST.MF file
 +
#Select the Dependencies tab
 +
#For new readers, add the following packages:
 +
*org.rifidi.dependencies
 +
*org.rifidi.emulator
 +
 
 +
== Add the project to the SVN Server (Optional)==
 +
 
 +
If you are saving the project in the Rifidi SVN, you can do that from right inside eclipse using the subclipse plugin
  
 
If you already created a new Eclipse Plug-in Project you need to add it to the Subversion Server. This can be done by following these 4 steps.
 
If you already created a new Eclipse Plug-in Project you need to add it to the Subversion Server. This can be done by following these 4 steps.
Line 45: Line 54:
 
| [[Image:ShareProject4.png|300px|thumb|left|  select the folder you want to save the project ()]]
 
| [[Image:ShareProject4.png|300px|thumb|left|  select the folder you want to save the project ()]]
 
|}
 
|}
 
==Add the project's dependencies==
 
#Double click on the projects MANIFEST.MF file
 
#Select the Dependencies tab
 
#For new readers, add the following packages:
 
*org.rifidi.dependencies
 
*org.rifidi.emulator
 

Revision as of 16:27, 19 November 2008

How to create a new Reader Project

If you start up a new Reader it is necessary to create a new Plugin Project for the new reader. This HowTo shows how to do this in Eclipse.

Creating a new Project in Eclipse

First you need to set up your Eclipse Workspace. After that you can start creating a new Project by selecting the "File"-menu in the eclipse menubar.

File -> New... -> Project

Now you will see the "New Project Wizard".

  1. create a new Eclipse Plug-in Project
  2. enter a name for the new Project and select as Target Platform Equinox
  3. enter the name of the Plug-in Provider and click the finish button
create a new "PluginProject" in Eclipse
enter the name for the project and select as target Equinox
Enter the Name of the Plug-in Provider

Add the project's dependencies

  1. Double click on the project's MANIFEST.MF file
  2. Select the Dependencies tab
  3. For new readers, add the following packages:
  • org.rifidi.dependencies
  • org.rifidi.emulator

Add the project to the SVN Server (Optional)

If you are saving the project in the Rifidi SVN, you can do that from right inside eclipse using the subclipse plugin

If you already created a new Eclipse Plug-in Project you need to add it to the Subversion Server. This can be done by following these 4 steps.

  1. right click on the new Project and select "Team" -> "Share Project..."
  2. select SVN as repository type
  3. select the repository location
  4. select the folder you want to save the project ()

Usually our projects are stored in the trunk of the subversion server. If you want to contribute you a new project with the name org.rifidi.emulator.reader.test, the path would be:

http://[Address of Subversion]/rifidi/trunk/org.rifidi.emulator.reader.test


right click on the new Project and select "Team" -> "Share Project..."
select SVN as repository type
select the repository location
select the folder you want to save the project ()
Personal tools