You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2012/10/05 16:29:18 UTC

svn commit: r1394543 - in /karaf/eik/trunk/manual/src/main/webapp: images/devcomponent_1.png images/devcomponent_2.png images/devcomponent_4.png images/devcomponent_6.png images/devcomponent_8.png user-guide/devcomponent.conf

Author: jbonofre
Date: Fri Oct  5 14:29:18 2012
New Revision: 1394543

URL: http://svn.apache.org/viewvc?rev=1394543&view=rev
Log:
Update EIK manual

Added:
    karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_1.png
    karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_2.png
    karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_4.png
    karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_6.png
    karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_8.png
Modified:
    karaf/eik/trunk/manual/src/main/webapp/user-guide/devcomponent.conf

Added: karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_1.png
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_1.png?rev=1394543&view=auto
==============================================================================
Files karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_1.png (added) and karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_1.png Fri Oct  5 14:29:18 2012 differ

Added: karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_2.png
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_2.png?rev=1394543&view=auto
==============================================================================
Files karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_2.png (added) and karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_2.png Fri Oct  5 14:29:18 2012 differ

Added: karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_4.png
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_4.png?rev=1394543&view=auto
==============================================================================
Files karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_4.png (added) and karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_4.png Fri Oct  5 14:29:18 2012 differ

Added: karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_6.png
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_6.png?rev=1394543&view=auto
==============================================================================
Files karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_6.png (added) and karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_6.png Fri Oct  5 14:29:18 2012 differ

Added: karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_8.png
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_8.png?rev=1394543&view=auto
==============================================================================
Files karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_8.png (added) and karaf/eik/trunk/manual/src/main/webapp/images/devcomponent_8.png Fri Oct  5 14:29:18 2012 differ

Modified: karaf/eik/trunk/manual/src/main/webapp/user-guide/devcomponent.conf
URL: http://svn.apache.org/viewvc/karaf/eik/trunk/manual/src/main/webapp/user-guide/devcomponent.conf?rev=1394543&r1=1394542&r2=1394543&view=diff
==============================================================================
--- karaf/eik/trunk/manual/src/main/webapp/user-guide/devcomponent.conf (original)
+++ karaf/eik/trunk/manual/src/main/webapp/user-guide/devcomponent.conf Fri Oct  5 14:29:18 2012
@@ -1,9 +1,31 @@
 h1. Developing OSGi components with EIK
 
-TODO
+This chapter describes how to develop an OSGi component with EIK.
+We use [M2E Maven plugin|http://eclipse.org/m2e/] which provides different archetypes.
 
-This chapter describes how to develop a osgi component with EIK,now we have a functional karaf environment in Eclipse.
-For convenience in this example we will use the M2E [http://eclipse.org/m2e/] plugins which provides different archetype
+h3. Create The project
 
-Right click on the project -> PDETools -> Open Manifest
+From EIK perspective *File->New->Other...* in the wizard select *Maven->Maven Project*
+!/images/devcomponent_1.png!
+
+Insert the location where you want to save your project, let not selected "Create a simple project (skip archetype Selection)"
+
+!/images/devcomponent_2.png!
+
+Filter archetype by karaf name and choose *karaf-blueprint-archetype*. 
+Continue to fill the wizard until the process is complete and Project Explorer will display your new project. 
+
+!/images/devcomponent_4.png!
+
+Now if you check your *RunConfiguration* you well see your new bundle ready to be run.
+
+!/images/devcomponent_6.png!
+
+Using Eclipse IDE with PDETools we can import package for for our needs in the project, the package available are those present in target platform.
+To do that we need right click on the *Project that we create -> PDETools -> Open Manifest*
+If you click on *Dependencies* you can use UI to import package
+
+If we launch our *Run configuration* we can see your bundle installed 
+
+!/images/devcomponent_8.png!