Tuesday 20 October 2009

[osgi] TargetPlatform

1. Create "TargetPlatform" project
2. Create some bundle folder which has all bundle jar files.
3. Create "TargetPlatformDefinition" folder
4. Create "test-prop.target" file
5. use below part
===============================

[?xml version="1.0" encoding="UTF-8"?]
[?pde version="3.2"?]

[target name="test-proto"]

[location path="${test-Prototype}"/]

[content useAllPlugins="true"]
[plugins]
[/plugins]
[features]
[/features]
[extraLocations]
[location path="${test-Prototype}\OSGi"/]
[location path="${test-Prototype}\target"/]
[/extraLocations]
[/content]

[/target]

========================

6. change setup Eclipse part
1) Window -> preference -> Run/Debug -> String/Substitution -> Click "New" button
2) Variable : test-Prototype || Value : TargetPlatform folder

No comments: