launchAdl task launches adl.exe but I'm on a Mac
Hey there,
when I launch the launchAdl task of my gradle build script I get the following exception:
A problem occurred starting process 'command '/Users/crow/Documents/Development/AS_Development/Flex_SDKs/flex_sdk_4.11/bin/adl.exe''
I'm on a Mac, so this obviously won't work .
Is there any setting or property I can change so it just uses
/bin/adl without the .exe? I didn't find anything in the
docs...
Thanks a lot and keep on this awesome plugin!
Michael
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Yennick Trevels on 05 Jan, 2014 02:31 PM
Hi Michael,
At this moment there's no way to change this (it's hardcoded with '. exe'). I'll log an issue for this and fix it in our code.
What you can do while waiting for this fix is to create a custom Gradle task and use the AdlTask in GradleFx as a reference: https://github.com/GradleFx/GradleFx/blob/master/src/main/groovy/or...
2 Posted by plank.michael on 05 Jan, 2014 02:34 PM
Hey Yennick,
awesome, thanks a lot for your response!
Please post the issue link here, so I can follow it.
Thx,
Michael
Support Staff 3 Posted by Yennick Trevels on 05 Jan, 2014 03:16 PM
Here's the link to the issue: https://github.com/GradleFx/GradleFx/issues/117
Support Staff 4 Posted by Yennick Trevels on 05 Jan, 2014 09:04 PM
I've fixed this issue in our development branch. Can you try it out by using the following snapshot version?
5 Posted by plank.michael on 05 Jan, 2014 09:25 PM
I get the following error:
What am I doing wrong?
Support Staff 6 Posted by Yennick Trevels on 05 Jan, 2014 09:30 PM
woops, I forgot mavenCentral in that list of repositories. It should be this:
7 Posted by plank.michael on 05 Jan, 2014 09:37 PM
Unfortunately the launchAdl task still does not work for me.
I've attached the full console output text.
Support Staff 8 Posted by Yennick Trevels on 06 Jan, 2014 05:47 PM
It seems like it can't find your application descriptor. For this it will use the air.applicationDescriptor convention property of GradleFx.
You can find all adl exit codes here: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-6fa6d7e012...
9 Posted by plank.michael on 07 Jan, 2014 06:08 PM
Yay, after adding the air.applicationDescriptor property adl launches!
I get a strange runtime error now, but this shouldn't have anything to do with rhe launch task.
Thx!