Closed ylemoigne closed 9 years ago
Note change :
Hi Yann,
Thanks a lot for your great contributions!
There were some little bugs, which I fixed:
please update your fork and do your tests/builds. If everything works with you, I'll make a release.
As I said on twitter, It's a pleasure to try to improve Wuff.
I saw your fixes. Thanks to you for spotting 'my' bugs. Hard to think about all usecases. I'll check with your version of the repository tomorrow evening and I come back to you.
Nope there is problem. (I test your master + my pending PR). The "companion library" can't be found. The native counterpart of org.equinox.launch
is not in plugins dir after product creation. I'll investigate tonight.
I just tried to reproduce this, without success. Could you, please try:
git clone git@github.com:akhikhl/wuff.git
cd wuff
gradle build
cd examples/RcpApp-1/MyRcpApp
gradle build
Expected result: MyRcpApp/build/output/MyRcpApp-1.0.0.0-xxx/plugins contains unpacked org.eclipse.equinox.launcher with os-specific part (dll, so, ...).
Ok, I reproduce my problem. If you add a name to the product : products { product name: "foo", platform: 'windows', arch: 'x86_64' }
Then the platform specific launcher is not there.
I used the product name to build different "flavored" version. Maybe it was not intended for this usage.
If it's a correct usage, It seem there is a missmatch, in EquinoxProductConfigurer:60 configName = "${productConfigPrefix}${productNamePrefix}${platform}_${arch}${languageSuffix}"
And defaultConfig.groovy (which don't include productNamePrefix)
I confirm: adding "name" attribute removes native launcher. Will have a look.
I fixed the issue with native launchers and named products. Could you, please, test the fix on snapshot?
Good news. I made the test, it work for me :)
Hi
Please, can you review my work on generation of native launcher. At this stage, it is not complete, but I would like to know if I'm on the good way and what refactor you would like to see before merging.
Note :