Hi Michael,

Ok ... so I tried again today using another project (This time Flex instead of 
Air) and I could confirm not being able to download behind a proxy. Tracking 
down the problem I could see, that the proxy was used, unfortunately the 
Credentials for authenticating weren't :-( The reason was that I set this in 
the Air part of the extension. In my case I had an air application so it was 
globally initialized, after that the other downloads worked perfectly. But if 
no Air is requested, nothing seems to work. I refactored the code to initialize 
the Authentication in any case. Now I was able to correctly install the Fontkit 
and related parts (Unfortunately not the Flex SDK itself as the Proxy blocks 
all downloads exceeding a given size and the SDK is way above that ... getting 
me 403 errors) ... but in general it should work ... please give it another try 
... and sorry for taking that many roundtrips :-(


Chris

________________________________________
Von: Christofer Dutz <christofer.d...@c-ware.de>
Gesendet: Montag, 27. Juli 2015 22:16
An: dev@flex.apache.org
Betreff: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to 
documentation

Hi Micheal,

well it seems that the download itself seems to be working, it even confirms 
that the artifacts are all installed successfully.

Are you eventually using multiple maven local repos? I sometimes have one 
vonfigured in the settings.xml and then override that setting in IntelliJ for 
testing. If this is the case eventually things could get messed up.

Could you also eventually try the Command Line Interface to check if the 
download and conversion actually works. It's strange cause I have tried the 
flex-sdk-converter-maven-extension on several machines and platforms and they 
all seem to be working nicely.

Another option would be to run maven with the "-X" switch to output any 
stacktraces that might occur.

Chris

-----Ursprüngliche Nachricht-----
Von: mscharp [mailto:michael.sch...@fmr.com]
Gesendet: Montag, 27. Juli 2015 19:35
An: dev@flex.apache.org
Betreff: Re: AW: AW: AW: AW: Problems Installing Flash SDK according to 
documentation

Ok I tested this both in front of and behind my company's proxy with no luck.
Failing for the exact same reasons.  I added the entries to my settings.xml 
file that you posted.

Here is the output from maven when I tried to build it from outside of my 
company's proxy:


Downloading:
http://repo1.maven.org/maven2/org/apache/flex/compiler/4.14.1/compiler-4.14.1.pom
Downloading:
https://repository.sonatype.org/content/groups/flexgroup/org/apache/flex/compiler/4.14.1/compiler-4.14.1.pom
Downloading:
https://repo.maven.apache.org/maven2/org/apache/flex/compiler/4.14.1/compiler-4.14.1.pom
[INFO] Couldn't find artifact: org.apache.flex:4.14.1:compiler:pom
[INFO] ===========================================================
[INFO]  - Installing Apache Flex SDK 4.14.1 
===========================================================
Downloading
http://archive.apache.org/dist/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.zip
Expected size: 68MB
 100% [==================================================]
Finished downloading.
===========================================================
Extracting archive to temp directory.
  99% [=================================================>]
Finished extracting.
===========================================================
===========================================================
Downloading http://swfobject.googlecode.com/files/swfobject_2_2.zip
Expected size: 27KB
 100% [==================================================]
Finished downloading.
===========================================================
Extracting archive to temp directory.
 100% [==================================================]
Finished extracting.
===========================================================
[INFO] In order to convert some of the skins in the Apache Flex SDK, a Flash 
SDK has to be downloaded.
Your System-Id: 9c53af7a
The Adobe SDK license agreement applies to the Adobe Flash Player 
playerglobal.swc. Do you want to install the Adobe Flash Player 
playerglobal.swc?
(In a non-interactive build such as a CI server build, alternatively to typing 
y or yes you can also set a system property containing your system which is 
interpreted as equivalent to accepting by typing y or yes:
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=9c53af7a
)
Do you accept (Yes/No) ? yes
===========================================================
Downloading
http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
Expected size: 296KB
 100% [==================================================]
Finished downloading.
===========================================================
Using artifact from Maven Central (aa12980fe4eca7331a660bdeed371d024687c68d)
: commons-collections:commons-collections:3.0
Using artifact from Maven Central (7773ac7a7248f08ed2b8d297c6e2ef28260640ea)
: commons-discovery:commons-discovery:0.2
Using artifact from Maven Central (f029a2aefe2b3e1517573c580f948caac31b1056)
: commons-logging:commons-logging:1.0.4
Using artifact from Maven Central (f19b7d4278b837fe92504946e6860b0bcc180956)
: net.java.dev.javacc:javacc:5.0
Using artifact from Maven Central (9ffdd08cb74563cbd431c845238b414e933a0483)
: net.sourceforge.saxon:saxon:9.1.0.8
Using artifact from Maven Central (41a8b86b358e87f3f13cf46069721719105aff66)
: xml-apis:xml-apis-ext:1.3.04
Using artifact from Maven Central (90b215f48fe42776c8c7f6e3509ec54e84fd65ef)
: xml-apis:xml-apis:1.3.04
Generating theme 'AeonGraphical'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-23896551203116156/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/AeonGraphical8428279228362550171swc
(42305 bytes)
Done.
Generating theme 'Spark'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-23896551203116156/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/Spark498154386398398175swc
(2538 bytes)
Done.
Generating theme 'MXFTEText.css'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-23896551203116156/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/MXFTEText.css7282148478723268360swc
(3467 bytes)
Done.
[INFO]  - Finished installing Apache Flex SDK 4.14.1
Downloading:
http://repository.sonatype.org/content/groups/flexgroup/org/apache/flex/compiler/4.14.1/compiler-4.14.1.pom
[WARNING] The POM for org.apache.flex:compiler:pom:4.14.1 is missing, no 
dependency information available
Downloading:
http://repo1.maven.org/maven2/com/adobe/fontkit/1.0/fontkit-1.0.pom
Downloading:
https://repository.sonatype.org/content/groups/flexgroup/com/adobe/fontkit/1.0/fontkit-1.0.pom
Downloading:
https://repo.maven.apache.org/maven2/com/adobe/fontkit/1.0/fontkit-1.0.pom
[INFO] Couldn't find artifact: com.adobe:1.0:fontkit:pom [INFO] 
===========================================================
[INFO]  - Installing Adobe Fontkit libraries Your System-Id: 2345 Apache Flex 
can optionally integrate with Adobe's embedded font support.
This feature requires a few font jars from the Adobe Flex SDK. The Adobe SDK 
license agreement for Adobe Flex 4.6 applies to these jars. This license is not 
compatible with the Apache V2 license. Do you want to install these jars from 
the Adobe Flex SDK?
(In a non-interactive build such as a CI server build, alternatively to typing 
y or yes you can also set a system property containing your system which is 
interpreted as equivalent to accepting by typing y or yes:
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=2345
)
Do you accept (Yes/No) ? yes
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/aglj40.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/rideau.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
[INFO]  - Finished installing Adobe Fontkit libraries
Downloading:
http://repository.sonatype.org/content/groups/flexgroup/com/adobe/fontkit/1.0/fontkit-1.0.pom
[WARNING] The POM for com.adobe:fontkit:jar:1.0 is missing, no dependency 
information available .......Downloading stuff...........
[INFO] Couldn't find artifact: org.apache.flex:4.14.1:compiler:pom
[INFO] ===========================================================
[INFO]  - Installing Apache Flex SDK 4.14.1 
===========================================================
Downloading
http://archive.apache.org/dist/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.zip
Expected size: 68MB
 100% [==================================================]
Finished downloading.
===========================================================
Extracting archive to temp directory.
  99% [=================================================>]
Finished extracting.
===========================================================
===========================================================
Downloading http://swfobject.googlecode.com/files/swfobject_2_2.zip
Expected size: 27KB
 100% [==================================================]
Finished downloading.
===========================================================
Extracting archive to temp directory.
 100% [==================================================]
Finished extracting.
===========================================================
[INFO] In order to convert some of the skins in the Apache Flex SDK, a Flash 
SDK has to be downloaded.
Your System-Id: 2345
The Adobe SDK license agreement applies to the Adobe Flash Player 
playerglobal.swc. Do you want to install the Adobe Flash Player 
playerglobal.swc?
(In a non-interactive build such as a CI server build, alternatively to typing 
y or yes you can also set a system property containing your system which is 
interpreted as equivalent to accepting by typing y or yes:
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=2345
)
Do you accept (Yes/No) ? yes
===========================================================
Downloading
http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
Expected size: 296KB
 100% [==================================================]
Finished downloading.
===========================================================
Using artifact from Maven Central (aa12980fe4eca7331a660bdeed371d024687c68d)
: commons-collections:commons-collections:3.0
Using artifact from Maven Central (7773ac7a7248f08ed2b8d297c6e2ef28260640ea)
: commons-discovery:commons-discovery:0.2
Using artifact from Maven Central (f029a2aefe2b3e1517573c580f948caac31b1056)
: commons-logging:commons-logging:1.0.4
Using artifact from Maven Central (f19b7d4278b837fe92504946e6860b0bcc180956)
: net.java.dev.javacc:javacc:5.0
Using artifact from Maven Central (9ffdd08cb74563cbd431c845238b414e933a0483)
: net.sourceforge.saxon:saxon:9.1.0.8
Using artifact from Maven Central (41a8b86b358e87f3f13cf46069721719105aff66)
: xml-apis:xml-apis-ext:1.3.04
Using artifact from Maven Central (90b215f48fe42776c8c7f6e3509ec54e84fd65ef)
: xml-apis:xml-apis:1.3.04
Generating theme 'AeonGraphical'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-33478240943151705/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/AeonGraphical6815033380571827947swc
(42305 bytes)
Done.
Generating theme 'Spark'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-33478240943151705/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/Spark2616331380378695310swc
(2537 bytes)
Done.
Generating theme 'MXFTEText.css'
Loading configuration file
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/FLEX-4.14.1-33478240943151705/frameworks/flex-config.xml
/private/var/folders/qk/91qw18xs50vcts3rptssvz9001dt4x/T/MXFTEText.css5182555898108409441swc
(3470 bytes)
Done.
[INFO]  - Finished installing Apache Flex SDK 4.14.1
Downloading:
http://repo1.maven.org/maven2/com/adobe/fontkit/1.0/fontkit-1.0.jar
Downloading:
https://repository.sonatype.org/content/groups/flexgroup/com/adobe/fontkit/1.0/fontkit-1.0.jar
Downloading:
https://repo.maven.apache.org/maven2/com/adobe/fontkit/1.0/fontkit-1.0.jar
[INFO] Couldn't find artifact: com.adobe:1.0:fontkit:jar [INFO] 
===========================================================
[INFO]  - Installing Adobe Fontkit libraries Your System-Id: 2345 Apache Flex 
can optionally integrate with Adobe's embedded font support.
This feature requires a few font jars from the Adobe Flex SDK. The Adobe SDK 
license agreement for Adobe Flex 4.6 applies to these jars. This license is not 
compatible with the Apache V2 license. Do you want to install these jars from 
the Adobe Flex SDK?
(In a non-interactive build such as a CI server build, alternatively to typing 
y or yes you can also set a system property containing your system which is 
interpreted as equivalent to accepting by typing y or yes:
-Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=3245
)
Do you accept (Yes/No) ? yes
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/afe.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/aglj40.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/rideau.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
statusCode: 200
reasonPhrase: OK
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar?format=raw
Unknown size.
Finished downloading.
===========================================================
[INFO]  - Finished installing Adobe Fontkit libraries
Downloading:
http://repository.sonatype.org/content/groups/flexgroup/com/adobe/fontkit/1.0/fontkit-1.0.jar
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin 
net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT or one of its 
dependencies could not be resolved: The following artifacts could not be
resolved: org.apache.flex:compiler:pom:4.14.1, com.adobe:fontkit:jar:1.0:
Failure to find org.apache.flex:compiler:pom:4.14.1 in 
http://repo1.maven.org/maven2/ was cached in the local repository, resolution 
will not be reattempted until the update interval of maven-central has elapsed 
or updates are forced @ [ERROR] Unknown packaging: swf @ line 28, column 16  @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.playground:myArtifact:1.0-SNAPSHOT
(/Users/me/Dev/Playground/newFlexProject/pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin
net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT or one of its 
dependencies could not be resolved: The following artifacts could not be
resolved: org.apache.flex:compiler:pom:4.14.1, com.adobe:fontkit:jar:1.0:
Failure to find org.apache.flex:compiler:pom:4.14.1 in 
http://repo1.maven.org/maven2/ was cached in the local repository, resolution 
will not be reattempted until the update interval of maven-central has elapsed 
or updates are forced -> [Help 2]
[ERROR]     Unknown packaging: swf @ line 28, column 16




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

Reply via email to