Difference between revisions of "Create a new reader project"
From RifidiWiki
(→add the project to the SVN Server) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
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. | 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. | 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. | ||
Line 20: | Line 20: | ||
[[Image:NewPluginProject2.png|300px|thumb|left|enter the name for the project and select as target Equinox]] | [[Image:NewPluginProject2.png|300px|thumb|left|enter the name for the project and select as target Equinox]] | ||
|| | || | ||
− | [[Image: | + | [[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 already created a new Eclipse Plug-in Project you need to add it to the Subversion Server. This can be done by following these | + | 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;" | {| border="0" style="background:transparent;" | ||
|- | |- | ||
− | | [[Image:ShareProject1.png|300px|thumb|left| | + | | [[Image:ShareProject1.png|300px|thumb|left| right click on the new Project and select "Team" -> "Share Project..." ]] |
− | | [[Image:ShareProject2.png|300px|thumb|left| | + | | [[Image:ShareProject2.png|300px|thumb|left| select SVN as repository type ]] |
− | + | ||
|- | |- | ||
− | | [[Image: | + | | [[Image:ShareProject3.png|300px|thumb|left| select the repository location]] |
− | | [[Image: | + | | [[Image:ShareProject4.png|300px|thumb|left| select the folder you want to save the project ()]] |
|} | |} |
Latest revision as of 19:40, 26 November 2010
Contents
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".
- 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
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