[GRADLE-1756] OS X dock name incorrect with 'application' plugin Created: 19/Aug/11  Updated: 04/Jan/13  Resolved: 19/Aug/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-3
Fix Version/s: 1.0-milestone-5

Type: Bug
Reporter: Bernhard Woditschka Assignee: Adam Murdoch
Resolution: Fixed Votes: 0

Issue Links:
Duplicate
Duplicated by GRADLE-1669 Application plugin script does not se... Resolved

 Description   

The application name in the dock for applications generated with the application plugin shows as "APP_NAME" instead of the real application name.

Steps to reproduce:

build.gradle:
...
apply plugin: 'wrapper'
...

>gradle installApp

start the application generated in: build/install/

FIX:
src/org/gradle/api/tasks/application/unixStartScript.txt:# we may also want to set -Xdock:image

replace : JAVA_OPTS="\$JAVA_OPTS -Xdock:name=APP_NAME"
with : JAVA_OPTS="\$JAVA_OPTS -Xdock:name=$APP_NAME"



 Comments   
Comment by Bernhard Woditschka [ 19/Aug/11 ]

Correction to build.gradle:
...
apply plugin: 'application'
...

Generated at Wed Jun 30 12:03:33 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.