crotwell / gradle-macappbundle

A Gradle Plugin to create a Mac OSX .app application and dmg based on the project.
Apache License 2.0
95 stars 33 forks source link

JavaApplicationStub sometimes missing from the product file #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run 'gradle createApp'
2. delete the created product
3. run 'gradle createApp' again

What is the expected output? What do you see instead?
The result application doesn't get the MacOS/JavaApplication component added.
seems like the task is not verifying its outputs correctly, as in the console I 
can see
:copyStub UP-TO-DATE

What version of the product are you using? On what operating system?
plugin 1.0.7, gradle 1.2, OSX 10.8.2

Original issue reported on code.google.com by poldwusm...@gmail.com on 9 Oct 2012 at 12:11

GoogleCodeExporter commented 9 years ago
Missed updating the outputs for the task with the new configurable stub name.

Original comment by crotwell@seis.sc.edu on 9 Oct 2012 at 12:34

GoogleCodeExporter commented 9 years ago
great, thanks!

Original comment by poldwusm...@gmail.com on 9 Oct 2012 at 12:47

GoogleCodeExporter commented 9 years ago
sorry, still does not work.

Original comment by poldwusm...@gmail.com on 11 Oct 2012 at 1:02

GoogleCodeExporter commented 9 years ago
sorry, will try to look into it later today...

Original comment by crotwell@seis.sc.edu on 11 Oct 2012 at 1:03

GoogleCodeExporter commented 9 years ago
just tested and it seems to work.

Can you verify you are using the lastest code? This is not in verison 1.0.7 and 
I have not released 1.0.8 yet, so you will have to build it yourself.

I tried for one of my projects:
rm build/macApp/gee.app/Contents/MacOS/JavaApplicationStub
gradle copyStub
ls build/macApp/gee.app/Contents/MacOS/JavaApplicationStub 
build/macApp/gee.app/Contents/MacOS/JavaApplicationStub

If you can give me more details about how I can reproduce it I can look into it 
further.

Original comment by crotwell@seis.sc.edu on 11 Oct 2012 at 5:30

GoogleCodeExporter commented 9 years ago
This task is all fixed. Please close.

Original comment by aristede...@gmail.com on 1 Mar 2013 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by crotwell@seis.sc.edu on 3 Mar 2013 at 3:24