how to use p2.generator ant task to create metadata and artifacts [message #812561] |
Sun, 04 March 2012 01:14 |
Hao Missing name Messages: 115 Registered: July 2009 |
Senior Member |
|
|
I tried to use p2.generator ant task to create p2 repository metadata and artifacts after I successfully create a update site.
I run the following ant task
<p2.generator
source="file:D:/tasks/DI/di/DIBuildExample/updateSite/"
features="file:D:/tasks/DI/di/DIBuildExample/updateSite/features/"
bundles="file:D:/tasks/DI/di/DIBuildExample/updateSite/plugins/"
updateSite="file:D:/tasks/DI/di/DIBuildExample/updateSite/"
site="file:D:/tasks/DI/di/DIBuildExample/updateSite/site.xml"
append="true"
metadataRepository="file:D:/tasks/DI/di/DIBuildExample/updateSite/"
metadataRepositoryName="content"
artifactRepository="file:D:/tasks/DI/di/DIBuildExample/updateSite/"
artifactRepositoryName="artifacts"
p2OS="win32"
/>
undear file:D:/tasks/DI/di/DIBuildExample/updateSite/
it contains features and plugins folders which contain features and plugins I built and site.xml file.
The ant task does create artifacts.xml and content.xml but those two files does not contain any features or plugins I built. Bascially, the 2 files are kind of empty and do not contain the metadata.
I got error: [p2.generator] Generating metadata for null.
Any thing wrong I did ? Or I have to do some other settings?
[Updated on: Sun, 04 March 2012 06:28] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05959 seconds