Closed jirkafm closed 6 years ago
The error is telling you that your product file references javax.xml
, but that dependency is not available in target.maven. Probably you need to remove it from your product file.
Thanks for reply. I've changed little bit original rcpdemo.product and was able to go through assembly process however when product build ant tasks are called following error appears:
generate.p2.metadata:
Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.win32.win32.x86_64 ]
Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.win32.win32.x86 ]
Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.gtk.linux.x86_64 ]
Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.gtk.linux.x86 ]
Unable to find: Installable Unit [ id=org.eclipse.equinox.executable_root.cocoa.macosx.x86_64 ]
[delete] Deleting directory F:\gradle\gradle-and-eclipse-rcp\deploy\build\p2\tmp\p2.branding
[copy] Copying 1 file to F:\gradle\gradle-and-eclipse-rcp\deploy\build\p2\features\org.eclipse.pde.build.container.feature\product
[p2.mirror] Problems resolving provisioning plan.
[p2.mirror] Unable to satisfy dependency from org.eclipse.swt 3.106.2.v20171129-0543 to org.eclipse.swt.gtk.linux.ppc64 [3.106.2.v20171129-0543].
[p2.mirror] Unable to satisfy dependency from org.eclipse.swt 3.106.2.v20171129-0543 to org.eclipse.swt.gtk.linux.ppc64le [3.106.2.v20171129-0543].
[p2.mirror] Messages while mirroring artifact descriptors.
deploy:assemble.all product ends successfully but I'm missing executable launcher for each platform. git diff
If you fork this repo, I'd be happy to work with you to update it to a later target platform. Working from git diffs is too tedious for my skill level. From the diff it seems that it ought to work.
Ok thanks a lot! Here it is https://github.com/jirkafm/gradle-and-eclipse-rcp.
Thanks @nedtwigg I really appreciate your help. I overlooked that 'nativeLaunchers' flag property even it was so obvious :roll_eyes:.
I'll try to convert my project to gradle now.
Hi,
I'm interested in building eclipse-rcp app in Gradle unfortunately I wasn't able to make successful build on my Windows machine. My idea is to be able to build product locally on any platform and on Jenkins (Linux machine). Last working version of eclipse platform was 4.6.3 in my case.
I've made following changes to thix example project:
My output of
gradle assemble.all
:I've tried to look around in configuration files but didn't find any clue which could help me to overcome this. I'm new to Gradle unfortunately.
Here's my setup:
oxygen-build-debug.log git diff