kross77 / as3-commons

Automatically exported from code.google.com/p/as3-commons
0 stars 0 forks source link

Maven compilation failed #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a dependency of as3-commons logging project to a maven project.
2. Run mvn clean install 

What is the expected output? What do you see instead?

Compilation Failed
[ERROR] 
C:\.m2\repository\com\adobe\flex\framework\aircore\4.1.0.16076\aircore-4.1.0.160
76.swc(air.desktop:URLFilePromise):[-1,-1] Type was not found or was not a 
compile-time constant: [flash.desktop]::IFilePromise.

What version of the product are you using? On what operating system?

as3commons-logging: 2.6
Maven: 3.0.3
Flex SDK: 4.5
Flexmojos plugin: 3.8
Operating system: Windows XP/Linux

Thank you in advance,
Fatima

Original issue reported on code.google.com by fatima.a...@gmail.com on 7 Oct 2011 at 3:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi there, my apologies for the late reply,

I have a feeling that this is just an SDK versioning issue.
Can you try to add an exclude to the as3commons dependency for aircore?
The as3 libraries are mostly compiled with the 4.5 SDK, so there might lie the 
culprit.
In any case, imho, this is a maven/flexmojos issue, not an as3commons bug.

cheers,

Roland

Original comment by ihatelivelyids on 12 Oct 2011 at 9:05