Hey Chris.

Ok, so attempts to build with a full pom continue to fail, though I think I
know why.  I added more logging to my custom maven extension to help me
understand better what was happening and it seems i'm failing on the first
artifact in the flex sdk:

[INFO] In order to convert some of the skins in the Apache Flex SDK, a Flash
SDK has to be downloaded.
The terms of the Adobe licence Agreements were accepted by providing a
system property.
Using proxy: myProxy
===========================================================
Downloading
http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
Expected size: 296KB
 100% [==================================================] 
Finished downloading.
===========================================================
Extracting playerglobal.
[INFO] Convert the flex SDK
Generate compiler artifacts
*resolveArtifact:
/var/folders/qk/91qw18xs50vcterddgs3rptssvz9001dt4x/T/FLEX-4.14.1-878044614303135564/lib/asc.jar,
defaultGroupId: org.apache.flex.compiler, defaultVersion: 4.14.1
Calculating checksum for:
/var/folders/qk/91qw18xs50vgrgcts3rptssvz9001dt4x/T/FLEX-4.14.1-878044614303135564/lib/asc.jar
*

It fails with the typical message, but I saw these two lines buried in the
stacktrace:

at
org.apache.flex.utilities.converter.BaseConverter.lookupMetadataForChecksum(BaseConverter.java:132)
at
org.apache.flex.utilities.converter.BaseConverter.resolveArtifact(BaseConverter.java:329)

I think the jersey client that is being used to lookup metadata for the
checksum is not using the proxy.  I added some logging statements to this
class, so the line numbers in the stack trace may be a little off from your
source, it it should be within a few lines.

I thought to try to add the proxy information, but not sure how to do it
since I believe this class is also used by the cli mavenizer, so it wouldn't
have access to the mavenSession.  

So, I commented out line 329 in BaseConverter ( artifact =
lookupMetadataForChecksum(checksum); ) just to see if I could get past that
error, and now I get the flex 4.14.1 deployed to my local maven repo. 

However, I now fail with this:

[ERROR] Failed to execute goal on project myArtifact: Could not resolve
dependencies for project com.playground:myArtifact:swf:1.0-SNAPSHOT: Could
not find artifact org.flexunit:flexunit:swc:flex4:4.1.0 in maven-central
(http://repo1.maven.org/maven2/)

So, still continuing my investigations... but getting ever closer.

Thanks!



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/Problems-Installing-Flash-SDK-according-to-documentation-tp48319p48939.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to