Difference between revisions of "Create a new reader project"

From RifidiWiki

Jump to: navigation, search
(New page: category:developerDoccategory:emulatorDoc] = create a new Reader Project = == making a new Project in Eclipse == == add the project to the SVN Server ==)
 
m (Reverted edits by Amesycyxa (Talk); changed back to last version by Stefan)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[category:developerDoc]][[category:emulatorDoc]]]
+
[[category:developerDoc]][[category:emulatorDoc]]
 +
= 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.
  
= create a new Reader Project =
+
== Creating a new Project in Eclipse ==
== making 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.
== add the project to the SVN Server ==
+
 
 +
File -> New... -> Project
 +
 
 +
Now you will see the "New Project Wizard".
 +
# create a new Eclipse Plug-in Project
 +
# enter a name for the new Project and select as Target Platform Equinox
 +
# enter the name of the Plug-in Provider and click the finish button
 +
 
 +
{| border="0" style="background:transparent;"
 +
|-
 +
|
 +
[[Image:NewPluginProject1.png|300px|thumb|left|create a new "PluginProject" in Eclipse]]
 +
||
 +
[[Image:NewPluginProject2.png|300px|thumb|left|enter the name for the project and select as target Equinox]]
 +
||
 +
[[Image:NewPluginProject3.png|300px|thumb|left| Enter the Name of the Plug-in Provider]]
 +
|}
 +
 
 +
==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.emulator
 +
*org.rifidi.common.utilities
 +
*org.rifidi.services.tags
 +
 
 +
== 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.
 +
 
 +
# 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 ()
 +
 
 +
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'''
 +
 
 +
 
 +
{| border="0" style="background:transparent;"
 +
|-
 +
| [[Image:ShareProject1.png|300px|thumb|left| right click on the new Project and select "Team" -> "Share Project..." ]]
 +
| [[Image:ShareProject2.png|300px|thumb|left| select SVN as repository type  ]]
 +
|-
 +
| [[Image:ShareProject3.png|300px|thumb|left| select the repository location]]
 +
| [[Image:ShareProject4.png|300px|thumb|left|  select the folder you want to save the project ()]]
 +
|}

Latest revision as of 19:40, 26 November 2010

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.emulator
  • org.rifidi.common.utilities
  • org.rifidi.services.tags

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