launchAdl task launches adl.exe but I'm on a Mac

plank.michael's Avatar

plank.michael

05 Jan, 2014 01:04 PM

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

  1. Support Staff 1 Posted by Yennick Trevels on 05 Jan, 2014 02:31 PM

    Yennick Trevels's Avatar

    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. 2 Posted by plank.michael on 05 Jan, 2014 02:34 PM

    plank.michael's Avatar

    Hey Yennick,

    awesome, thanks a lot for your response!
    Please post the issue link here, so I can follow it.

    Thx,
    Michael

  3. Support Staff 3 Posted by Yennick Trevels on 05 Jan, 2014 03:16 PM

    Yennick Trevels's Avatar
  4. Support Staff 4 Posted by Yennick Trevels on 05 Jan, 2014 09:04 PM

    Yennick Trevels's Avatar

    I've fixed this issue in our development branch. Can you try it out by using the following snapshot version?

    buildscript {
        repositories {
            maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
        }
        dependencies {
            classpath group: 'org.gradlefx', name: 'gradlefx', version: '0.8.2-SNAPSHOT'
        }
    }
    
  5. 5 Posted by plank.michael on 05 Jan, 2014 09:25 PM

    plank.michael's Avatar

    I get the following error:

    Could not resolve all dependencies for configuration ':classpath'. Could not find org.codehaus.groovy:groovy-all:1.8.6. Required by: :com.michaelplank.noteblast.mobile:unspecified > org.gradlefx:gradlefx:0.8.2-SNAPSHOT Could not find commons-lang:commons-lang:2.6. Required by: :com.michaelplank.noteblast.mobile:unspecified > org.gradlefx:gradlefx:0.8.2-SNAPSHOT Could not find commons-io:commons-io:2.4. Required by: :com.michaelplank.noteblast.mobile:unspecified > org.gradlefx:gradlefx:0.8.2-SNAPSHOT

    What am I doing wrong?

  6. Support Staff 6 Posted by Yennick Trevels on 05 Jan, 2014 09:30 PM

    Yennick Trevels's Avatar

    woops, I forgot mavenCentral in that list of repositories. It should be this:

    buildscript {
        repositories {
            mavenCentral()
            maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
        }
    }
    
  7. 7 Posted by plank.michael on 05 Jan, 2014 09:37 PM

    plank.michael's Avatar

    Unfortunately the launchAdl task still does not work for me.

    I've attached the full console output text.

  8. Support Staff 8 Posted by Yennick Trevels on 06 Jan, 2014 05:47 PM

    Yennick Trevels's Avatar

    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. 9 Posted by plank.michael on 07 Jan, 2014 06:08 PM

    plank.michael's Avatar

    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!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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