Changes between Version 32 and Version 33 of PluginDevelopmentGuide


Ignore:
Timestamp:
18.02.2015 13:53:03 (10 years ago)
Author:
jri
Comment:

pom.xml: adapt hot-deployment to DM 4.4

Legend:

Unmodified
Added
Removed
Modified
  • PluginDevelopmentGuide

    v32 v33  
    100100        </plugins> 
    101101    </build> 
    102  
    103102</project> 
    104103}}} 
     
    140139In order to let DeepaMehta hot-deploy the plugin you must include it in DeepaMehta's hot-deployment list. 
    141140 
    142 In DeepaMehta's **`pom.xml`**: add the plugin's `target` directory (here: `/home/myhome/deepamehta-dev/dm4-tagging/target`) to the `felix.fileinstall.dir` property's `CDATA` section. Important: don't forget to append a comma to the previous line: 
     141In DeepaMehta's **`pom.xml`**: add the plugin's `target` directory (here: `/home/myhome/deepamehta-dev/dm4-tagging/target`) to the `felix.fileinstall.dir` property. Important: make sure your line ends with a comma: 
    143142 
    144143{{{ 
    145144#!xml 
    146 <profiles> 
     145<project> 
    147146    ... 
    148147    <felix.fileinstall.dir>, 
     
    153152            ${project.basedir}/modules/dm4-storage-neo4j/target, 
    154153            /home/myhome/deepamehta-dev/dm4-tagging/target, 
    155             <!-- Note: Although the dm4-storage-neo4j module can not be hot-REdeployed it must be          --> 
    156             ... 
    157154    </felix.fileinstall.dir> 
    158155    ... 
    159 </profiles> 
     156</project> 
    160157}}} 
    161158 
     
    679676                    <instructions> 
    680677                        <Bundle-SymbolicName> 
    681                             org.mydomain.dm4-tagging 
     678                            org.mydomain.dm4.my-cool-plugin 
    682679                        </Bundle-SymbolicName> 
    683680                        <Bundle-Activator>