[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] repo2runnable as maven plugin
- From: Krzysztof Daniel <kdaniel@xxxxxxxxxx>
- Date: Mon, 29 Apr 2013 16:45:25 +0200
- Delivered-to: firstname.lastname@example.org
- Organization: Red Hat
Please excuse me for the cross post, but I really have no idea where is
the problem. I'll stick to one group if only it will the problem will be
a bit narrowed.
So I am trying to write a maven plugin that would have a repo2runnable
functionality. And it does not work ;-).
The code is available here: http://www.fpaste.org/9176/
To cut the long code short - I use the eclipse runner tycho bundle as a
base, add following dependencies:
and then run Eclipse with following arguments
"-configuration", new File(work,"configuration").getAbsolutePath(),
"-data", new File(work,"data").getAbsolutePath());
String appArgLine = "-application
org.eclipse.equinox.p2.repository.repo2runnable -source " + sourceRepo +
" -destination " + targetLocation;
The output runnable folder looks quite nice
except the plugins and features folder are missing, despite content.xml
has valid content (artifacts.xml contains only *_root unit).
Running the same command with eclipse.exe succeeds (the repo is properly
What may be wrong? How to investigate this?
Any comments welcome!