Compilation fails with dependency as3commons-logging

Pavel Bernshtam's Avatar

Pavel Bernshtam

30 Jan, 2013 10:17 AM

Hi!

I created a gradle build file for a project, which compiles successfully in intellij IDEA.

My project contains dependency
internal group: 'org.as3commons', name: 'as3commons-logging', version: '2.7', ext: 'swc'

Compilation fails, with errors like
Error: Type was not found or was not a compile-time constant: [com.pblabs.engine.debug]::ILogAppender.

I see that logging library indeed contains references to interfaces from other libraries, but in the IDE somehow it passes compilation and even works.

Which gradlefx option should I set?

Thank you

  1. Support Staff 1 Posted by Maxime Cowez on 30 Jan, 2013 11:17 AM

    Maxime Cowez's Avatar

    Hi Pavel,

    What linkage scope do you use in IntelliJ?

  2. 2 Posted by Pavel Bernshtam on 30 Jan, 2013 11:19 AM

    Pavel Bernshtam's Avatar

    Maxime, how can I check this?

  3. 3 Posted by Pavel Bernshtam on 30 Jan, 2013 11:25 AM

    Pavel Bernshtam's Avatar

    Oh, I see - Framework linkage - "external"

  4. 4 Posted by Pavel Bernshtam on 30 Jan, 2013 11:29 AM

    Pavel Bernshtam's Avatar

    Solved! I changed dependency configuration to "merged"!

  5. Yennick Trevels closed this discussion on 30 Jan, 2013 12:22 PM.

Comments are currently closed for this discussion. You can start a new one.

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