Changes between Version 9 and Version 10 of PLATFORM_DEPLOYMENT_BUILD_ECLIPSE


Ignore:
Timestamp:
10/27/08 20:23:32 (17 years ago)
Author:
Tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PLATFORM_DEPLOYMENT_BUILD_ECLIPSE

    v9 v10  
    2424  * View Menu(in upper right corner of Package Tree) and Configure working sets option. 
    2525  * Top Level Elements - choose Working Sets 
     26 
     27= How to create new module = 
     28 * Copy sophie2-platform/dev-tools/org.sophie2.proto.project to sophie2-platform/modules 
     29 * Edit pom.xml 
     30{{{ 
     31        <artifactId>org.sophie2.proto.project</artifactId> 
     32        <version>2.0-SNAPSHOT</version> 
     33        <name>Sophie 2 Author Component</name> 
     34        <packaging>bundle</packaging> 
     35        <description>Copy from this one to create a sophie2 module</description> 
     36}}} 
     37and  
     38{{{ 
     39<instructions> 
     40        <Main-Class>org.sophie2.proto.project.ProtoModule</Main-Class> 
     41        <Export-Package>org.sophie2.proto.project.*</Export-Package> 
     42        <!-- <Private-Package>org.apache.felix.moduleloader.*,org.apache.felix.framework.*,org.apache.felix.main,org.osgi.*,org.apache.log4j.*</Private-Package>--> 
     43        <Bundle-Activator>org.sophie2.author.Activator</Bundle-Activator> 
     44        <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> 
     45        <Import-Package>*;resolution:=optional</Import-Package> 
     46</instructions> 
     47}}} 
     48 If you don't have main class you should remove <Main-Class> 
     49 * Rename the project - artifactId and the name of the project should be the same 
     50 * right click at sophie-working-set - '''Import...''' - Maven projects - choose the new created module