Re: AW: Found the problem in the maven-extension :-D YAAAAAAAY!!!

2015-06-29 Thread mscharp
Hey Chris,

Thanks for all the work you're doing in updating the FMs stuff and for
creating new documentation.  This new set of documentation is the clearest
FM documentation I've seen!  While working through it today I noticed a
couple things:

The "Prepare the FDK resources using the flex-maven-extension" section has
the filename as "extension.xml" but it should be "extensions.xml".

Also, I know some repo restructuring just happened, but the directories to
the mavenizer need to be updated as well.

Anyway, hope this helps.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Found-the-problem-in-the-maven-extension-D-YAAAY-tp47387p48317.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Problems Installing Flash SDK according to documentation

2015-06-29 Thread mscharp
Hey Guys,

I'm not sure if this is a result of something on my end, or a bug with FM or
the mavenizer utility but thought I'd post what I'm seeing.

I'm attempting to upgrade my project's FDK from 4.11 to 4.14.1 and I'm
having some serious issues getting it to work.  I'm not entirely sure the
scope of those issues (there are a few moving parts right now) so I figured
I would just try to implement a brand new test project by following the
documentation here:
https://cwiki.apache.org/confluence/display/FLEX/Your+first+Flex+application

When the build gets to the point of Installing the Adobe Flash SDK 14.0, I
am getting an error (see below).  I'm using mvn 3.3.3 and have set up the
extensions.xml file for the project.  I am behind a corporate firewall and
nexus instance, but everything seems to be mirrored correctly and resolve. 
Any help or insight into what I've done incorrectly would be greatly
appreciated.

[WARNING] Failed to notify spy
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: Caught
exception while downloading and converting artifact.
org.apache.maven.MavenExecutionException: Caught exception while downloading
and converting artifact.
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.initFlash(FlexEventSpy.java:167)
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.onEvent(FlexEventSpy.java:84)
at
org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:108)
at
org.apache.maven.eventspy.internal.EventSpyRepositoryListener.artifactResolving(EventSpyRepositoryListener.java:95)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:139)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:101)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.artifactResolving(DefaultArtifactResolver.java:662)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:276)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:287)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:218)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:535)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:519)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.ma

Re: Problems Installing Flash SDK according to documentation

2015-06-30 Thread mscharp
Yeah, it opens up just fine in my browser.



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


Re: AW: Problems Installing Flash SDK according to documentation

2015-06-30 Thread mscharp
Ok, yeah that makes sense.  Thanks for the update.  If you let me know when
you get an update out there I'll go ahead and give it a try.  Likewise, I'll
test this out soon in a non proxied environment.

Michael



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


Re: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-06 Thread mscharp
Thanks Chris, I will test this out today.

On a side note, since you mention a Linux CI server, how are you running
unit tests?  We switched over to a Windows CI server (which is terrible)
since Adobe is no longer updating the flash player for Linux.  I'd love be
on a Linux box if I could still run unit tests against a current version
flashplayer.



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


Re: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-08 Thread mscharp
Ok was able to test again today.  Still getting errors, here is the output.

[INFO] ===
[INFO]  - Installing Apache Flex SDK 4.14.1
[WARNING] Failed to notify spy
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: Caught
exception while downloading and converting artifact.
org.apache.maven.MavenExecutionException: Caught exception while downloading
and converting artifact.
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.initFlex(FlexEventSpy.java:152)
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.onEvent(FlexEventSpy.java:80)
at
org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:108)
at
org.apache.maven.eventspy.internal.EventSpyRepositoryListener.artifactResolving(EventSpyRepositoryListener.java:95)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:139)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:101)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.artifactResolving(DefaultArtifactResolver.java:662)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:276)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:287)
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:218)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:535)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:519)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)
at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.

Re: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-08 Thread mscharp
Here is my sanitized settings.xml file.



http://maven.apache.org/SETTINGS/1.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd";>
  

${user.home}/.m2/repository


  

  


  
  
  http.proxy.asdf.com
  8001
  *.asdf.com|localhost

  

   
   
  




nexuspro-level0
asdf Repository
REPO_URL
*,!flex-mojos-snapshot-repository



   

nexus


central
http://central

true

always


true

always





central
http://central

true

always


true

always




flex-mojos-plugin-repository

http://repository.sonatype.org/content/groups/flexgroup/
 
true 
 
false 




  

  
nexus
  




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


Re: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-16 Thread mscharp
I've finally had a chance to get outside of my company proxy and try this
out.  I made better progress, but still failing to build.  I did see a
couple of things that I thought might be worth mentioning, in addition to
the ultimate failure.

I noticed that it tried to install items twice.  For example, I got the 

[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% [=] 

and then later it tried to download/install it again.  Is there a "retry"
built in?  I did notice that before it went through this (whole) process a
second time, I received this warning (which leads to my failure to build):

[INFO]  - Finished installing Adobe Fontkit libraries
[DEBUG] Verifying availability of
/Users/me/.m2/repository/com/adobe/fontkit/1.0/fontkit-1.0.pom from [central
(https://repo.maven.apache.org/maven2, default, releases), rso
(http://repository.sonatype.org/content/groups/flexgroup/, default,
releases+snapshots)]
[WARNING] The POM for com.adobe:fontkit:jar:1.0 is missing, no dependency
information available

Also, if the project fails to build, and therefore fails to install the
downloaded artifacts into the local repository, subsequent rebuilds will
download the sdk zip file again and again.  Maybe the mavenizer could check
the temp directory for the downloaded zip file and use it instead of
downloading the zip again?

The ultimate failure was this:

[INFO]  - Finished installing Adobe Fontkit libraries
[DEBUG] Verifying availability of
/Users/me/.m2/repository/com/adobe/fontkit/1.0/fontkit-1.0.jar from [central
(https://repo.maven.apache.org/maven2, default, releases), rso
(http://repository.sonatype.org/content/groups/flexgroup/, default,
releases+snapshots)]
[DEBUG] Looking up lifecyle mappings for packaging swf from
ClassRealm[maven.ext, parent: ClassRealm[plexus.core, parent: null]]
[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
https://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced @ 
[ERROR] Unknown packaging: swf @ line 28, column 16


So, looks like there are still two issues I'm dealing with.  The first is
the proxy issue.  As I mentioned, I do have the proxy settings configured in
my settings.xml file that is in my maven/conf directory.  It does not
currently have a username or password configured, although to test, I did
try it with my LAN username/password configured.  It didn't work that way
either.  

The second is this new issue.

Thanks Chris!



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


Re: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-27 Thread mscharp
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] 

Re: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-07-31 Thread mscharp
No worries Chris, this is going to be an awesome improvement when it's all
done.  Im just glad I can help get it tested.

I haven't had a chance to re test it yet, but I should have some time early
next week.

Thanks!



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


Re: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-24 Thread mscharp
Ok Chris, got some new information.

This still wasn't working for me, so I decided to try to mavenize the sdk
myself.

I downloaded the git repo, and tried to build the flex-sdk-converter, but
received failing tests... namely the ProxyTest in the download-retriever
module.  I've included the output at the bottom of this message.

So, I took a look at the ProxyTest file, and changed the ProxySettings to
match my own proxy in each of the tests.  With this ProxySetting, each of
the tests pass.  

I hope this info helps.  Could it mean that the download retriever still
isn't using the correct settings for the proxy?  How does the
download-retriever even get the proxy settings from the settings.xml file?


===
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/rideau.jar?format=raw
Expected size: 0KB
   0% [> ] 
Finished downloading.
===
10:18:57.496 [nioEventLoopGroup-8-4] DEBUG o.m.client.netty.NettyHttpClient
- Sending request: {
  "method" : "GET",
  "path" : "/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar",
  "queryStringParameters" : [ {
"name" : "format",
"values" : [ "raw" ]
  } ],
  "headers" : [ {
"name" : "Host",
"values" : [ "sourceforge.net" ]
  }, {
"name" : "User-Agent",
"values" : [ "Apache-HttpClient/4.5 (Java/1.8.0_51)" ]
  }, {
"name" : "Accept-Encoding",
"values" : [ "gzip,deflate" ]
  }, {
"name" : "Content-Length",
"values" : [ "0" ]
  } ],
  "keepAlive" : true,
  "secure" : false
}
10:19:27.921 [nioEventLoopGroup-8-4] ERROR o.m.proxy.http.HttpProxyHandler -
Exception processing {
  "method" : "GET",
  "path" : "/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar",
  "queryStringParameters" : [ {
"name" : "format",
"values" : [ "raw" ]
  } ],
  "headers" : [ {
"name" : "Host",
"values" : [ "sourceforge.net" ]
  }, {
"name" : "User-Agent",
"values" : [ "Apache-HttpClient/4.5 (Java/1.8.0_51)" ]
  }, {
"name" : "Accept-Encoding",
"values" : [ "gzip,deflate" ]
  }, {
"name" : "Content-Length",
"values" : [ "0" ]
  } ],
  "keepAlive" : true,
  "secure" : false
}
org.mockserver.client.netty.SocketConnectionException: Unable to connect to
socket sourceforge.net/216.34.181.60:80
at
org.mockserver.client.netty.NettyHttpClient.sendRequest(NettyHttpClient.java:76)
~[mockserver-core-3.9.17.jar:na]
at
org.mockserver.proxy.http.HttpProxyHandler.sendRequest(HttpProxyHandler.java:170)
[mockserver-netty-3.9.17.jar:3.9.17]
at
org.mockserver.proxy.http.HttpProxyHandler.channelRead0(HttpProxyHandler.java:149)
[mockserver-netty-3.9.17.jar:3.9.17]
at
org.mockserver.proxy.http.HttpProxyHandler.channelRead0(HttpProxyHandler.java:42)
[mockserver-netty-3.9.17.jar:3.9.17]
at
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:147)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
at
io.netty.h

Re: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-24 Thread mscharp
Ok.. and more info.

I added some logging to the getProxySettings() method in the FlexEventSpy
class and rebuilt the maven extension as version 1.0.1-SNAPSHOT and
installed it into my maven repository.

I updated my extensions.xml file to use this new version and now this mostly
works.  I am able to download the different artifacts except for one it
seems, and I don't know which it is.  I've included the output from maven at
the end of this message.

One thing I noticed is that the "Using proxy: MYHOST" line is something you
must have added, however this is the first time I've seen it.  I'm positive
that my logging statements didn't magically make this start working either. 
I'm wondering if the latest 1.0.0-SNAPSHOT version of the extension that is
up in the public repository doesn't have your proxy changes in it?  This
could be why I couldn't get this to work up until now.

Thanks

[INFO] ===
[INFO]  - Installing Apache Flex SDK 4.14.1
[INFO] *** Getting proxy settings ***
[INFO] proxy information:: host: MYHOST, port: 
*Using proxy: MYHOST*
===
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.
===
Using proxy: MYHOST
===
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: b603c5b9
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=b603c5b9
)
Do you accept (Yes/No) ? yes
Using proxy: MYHOST
===
Downloading
http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
Expected size: 296KB
 100% [==] 
Finished downloading.
===
[WARNING] Failed to notify spy
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy: Caught
exception while downloading and converting artifact.
org.apache.maven.MavenExecutionException: Caught exception while downloading
and converting artifact.
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.initFlex(FlexEventSpy.java:169)
at
org.apache.flex.utilities.converter.mavenextension.FlexEventSpy.onEvent(FlexEventSpy.java:86)
at
org.apache.maven.eventspy.internal.EventSpyDispatcher.onEvent(EventSpyDispatcher.java:108)
at
org.apache.maven.eventspy.internal.EventSpyRepositoryListener.artifactResolving(EventSpyRepositoryListener.java:95)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:139)
at
org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher.dispatch(DefaultRepositoryEventDispatcher.java:101)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.artifactResolving(DefaultArtifactResolver.java:662)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:276)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
at
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:210)
at
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts(DefaultMavenPluginManager.java:940)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm(DefaultMavenPlu

Re: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-24 Thread mscharp
Ok.  That makes sense about the ProxyTest.  It's interesting because that
test will always fail for anyone building the maven extension that IS behind
a proxy...  You'd almost have to check if the environment the test is
running on is behind a proxy, and if so then try to use those proxy
settings.  However, I imagine not many people are going to be building the
extension themselves, and if they do, they can skip the tests.So with my
1.0.1-SNAPSHOT build of the extension, I am able to get to the remote repos,
so I'm not entirely sure what is going wrong.  But, I did create two
separate poms you asked me to, and tried to build.  They are at the bottom
of the message.  Because neither pom referenced flexmojos, I had to change
the packaging type to jar so that it wouldn't complain about not knowing
what a swf packaging type is.The playerglobal pom built just fine.  The
fontkit pom has issues.  All of the font libraries seem to download fine.  I
get good output from the build, and I've checked my local maven repo and all
four fontkit libraries (fontkit, afe, aglj40, rideau) are in it.

However, the build errors out with: [ERROR] Failed to execute goal on
project myArtifact: Could not resolve dependencies for project
com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure to find
com.adobe:fontkit:jar:1.0 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
1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project myArtifact: Could not resolve dependencies for project
com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure to find
com.adobe:fontkit:jar:1.0 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 at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)   at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)  at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)at
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at
org.apache.maven.cli.MavenCli.main(MavenCli.java:197)   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497) at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused
by: org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project com.playground:myArtifact:jar:1.0-SNAPSHOT:
Failure to find com.adobe:fontkit:jar:1.0 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  at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 23 moreCaused by:
org.eclipse.aether.resolution.DependencyResolutionException: Failure to find
com.adobe:fontkit:jar:1.0 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   

Re: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-24 Thread mscharp
Sorry about the previous message...  Here it is formatted correctly
(hopefully).

Ok.  That makes sense about the ProxyTest.  It's interesting because that
test will always fail for anyone building the maven extension that IS behind
a proxy...  You'd almost have to check if the environment the test is
running on is behind a proxy, and if so then try to use those proxy
settings.  However, I imagine not many people are going to be building the
extension themselves, and if they do, they can skip the tests.

So with my 1.0.1-SNAPSHOT build of the extension, I am able to get to the
remote repos, so I'm not entirely sure what is going wrong.  But, I did
create two separate poms you asked me to, and tried to build.  They are at
the bottom of the message.  Because neither pom referenced flexmojos, I had
to change the packaging type to jar so that it wouldn't complain about not
knowing what a swf packaging type is.

The playerglobal pom built just fine.  

The fontkit pom has issues.  All of the font libraries seem to download
fine.  I get good output from the build, and I've checked my local maven
repo and all four fontkit libraries (fontkit, afe, aglj40, rideau) are in
it.


 

However, the build errors out with: 

[ERROR] Failed to execute goal on project myArtifact: Could not resolve
dependencies for project com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure
to find com.adobe:fontkit:jar:1.0 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
1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project myArtifact: Could not resolve dependencies for project
com.playground:myArtifact:jar:1.0-SNAPSHOT: Failure to find
com.adobe:fontkit:jar:1.0 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
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not
resolve dependencies for project com.playground:myArtifact:jar:1.0-SNAPSHOT:
Failure to find com.adobe:fontkit:jar:1.0 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
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 23 more
Caused by: org.ec

Re: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-25 Thread mscharp
Ok made more progress today.

It seems the reason my Fontkit only pom was failing was a side effect of
previous attempts to download the fontkit libraries with the 1.0.0-SNAPSHOT
version of the maven extension.  Because it doesn't utilize the proxies, it
wrote out _remote.repositories and .lastUpdated files to my local maven
repository which seemed to tell maven that the libraries weren't there. 
After I deleted those files, my fontkit pom built perfectly!

Following that, I completely wiped out my local maven repository, and
updated my maven extensions.xml file to point back to the 1.0.0-SNAPSHOT
version.  After failing to build I believe that I have verified that the
1.0.0-SNAPSHOT version that is in the public maven repo does not have the
code in it to use the proxy.  The output from the build does not say "Using
proxy: proxyInfo" anywhere.

Tomorrow I will try to add back in the compiler and flexmojos to the pom.





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


Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-26 Thread mscharp
Hey Chris.

I tried to build this morning with the 1.0.0-SNAPSHOT, but it doesn't look
like it's picking up a new jar.  This is what is being resolved for the
extension dependency:

Downloading:
http://repository.apache.org/content/groups/snapshots/org/apache/flex/utilities/converter/maven-extension/1.0.0-SNAPSHOT/maven-extension-1.0.0-20150720.091629-109.jar

Seems like this one was deployed on July, 20th.  Browsing this url
(https://repository.apache.org/content/groups/snapshots/org/apache/flex/utilities/converter/maven-extension/1.0.0-SNAPSHOT/)
only shows artifacts that were deployed in July.  

Thanks



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


Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-26 Thread mscharp
Ok, seems the maven extension artifactId changed.  I'll try with
"flex-sdk-converter-maven-extension".



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


Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-26 Thread mscharp
Perfect.  Both the playerglobal and fontkit only poms build correctly now
that I'm pointed to the correct artifact :).  I didn't realize the
artifactId had changed so was still using the old one.

Now on to a full blown pom.  Thanks!



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


Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-26 Thread mscharp
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.247.n4.nabble.com/Problems-Installing-Flash-SDK-according-to-documentation-tp48319p48939.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-26 Thread mscharp
I changed the dependency on flexunit to 


org.apache.flex.flexunit
flexunit-flex
4.3.0-SNAPSHOT
swc
test


since I saw that in the repo and nothing for org.flexunit.  With this
version of flexunit, and my hacked maven extension, I can successfully build
the example pom listed here:
https://cwiki.apache.org/confluence/display/FLEX/Your+first+Flex+application.

Now that I have this basic template building... I can move on to attempting
to migrate my company's projects from FM 7.0.0 and Flex 4.11 to FM 7.1.0 and
Flex 4.14.1.

Let me know when you deploy new artifacts and I'll keep testing them.

Thanks! 



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


FlexMojos with RSLs

2015-08-27 Thread mscharp
Hey Chris.

In converting my company's project over to FM 7.1.0-SNAPSHOT and flex
4.14.1, I had to make some changes regarding how the RSLs were specified in
the pom.  I see that you have a page to address this in the wiki, so thought
I would give a go at writing some of it based off my experience.  Please
look at this and use whatever pieces of it you can.  If there is anything
that I've done incorrectly or made bad assumptions, please let me know as
well.

In order to use RSLs in your flex project, you need to declare their usage
in the dependencies section of your pom, eg:



org.apache.flex.framework
framework
${flex.sdk.version}
swc
rsl



Maven will complain that it doesn't know about the 'rsl' scope type, but you
can safely ignore that warning.  It looks like this:

[WARNING] 'dependencies.dependency.scope' for
org.apache.flex.framework:framework:swc must be one of [provided, compile,
runtime, test, system] but is 'rsl'.

The 'rsl' scope type will instruct the compiler not to compile the RSLs into
the final swf and instead will load the RSLs at runtime.

When Flex moved over from Adobe to Apache, the RSL signing went the way of
the dinosaurs.  Before, the RSLs were loaded as swz files.  These were
Adobe's signed RSLs that lived on their servers and the flashplayer would
load the RSLs from there.  The nice thing about this approach was that you
could visit any website and if you had loaded the RSLs once, it would just
pull them from your cache.  

Now, however, you must host the RSLs on your own server.  The RSLs that are
loaded are now loaded as swf files, and will only be cached for other flex
applications on the same domain.  Because of this limitation, RSLs are a bit
less useful than before.  If you have multiple different flex applications
under the same domain however, it can make sense to load the RSLs at runtime
rather than compiling them into your flex application.

In order to get these RSLs as swfs, you also need to depend on the swf
version of the RSL.


org.apache.flex.framework
framework
${flex.sdk.version}
swf
test 


Previous to FM 7.1.0 and Flex 4.14.1 this was all that was needed in the
dependency section.  However, now this will result in build errors like
this:

Error: Unable to resolve resource bundle "components" for locale "en_US".
Error: Unable to resolve resource bundle "textLayout" for locale "en_US".
... etcetera

To resolve these errors, you must also declare the resource bundles for the
RSLs you are using.


org.apache.flex.framework
framework
${flex.sdk.version}
${language}.rb
swc
rsl


You also need to add an element to the configuration section of the flex
mojos plugin to tell the flex application where it needs to look for the
RSLs.


net.flexmojos.oss
flexmojos-maven-plugin
${flex.mojo.version}
true

...

rsl/{artifactId}-{version}.{extension}

...



Another helpful configuration parameter you can specify is the
removeUnusedRsls parameter.

true

Lastly, you also need to copy the RSLs into the directory where you've told
your application to look for them.  This will depend on your project and
deployment structure as to whether you need this or not, but a helpful
plugin to do this automatically is the maven-dependency-plugin.


org.apache.maven.plugins
maven-dependency-plugin
2.8



copy-rsls
process-resources

copy-dependencies


${flex.groupId}.framework
swf
true
${basedir}/target/rsl





Putting this all together, a basic pom would look like this:


http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0

com.groupId
artifactId
1.0.0-SNAPSHOT
swf

My Project


7.1.0-SNAPSHOT
4.14.1
org.apache.flex
18.0
4.3.0-SNAPSHOT
en_US



src/main/flex
src/test/flex


net.flexmojos.oss
flexmojos-maven-plugin
${flex.mojo.version}
true

true

rsl/{artifactId}-{version}.{extension}

true



org.apache.flex
compiler
4.14.1
pom

   
com.adobe
fontkit
1.0


net.flexmojos.oss

Re: AW: AW: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to documentation

2015-08-28 Thread mscharp
Hey Chris.

I took some time today to create a patch for the mavenizer, I've attached it
to this post.  I hope this helps and you don't have to change too much with
it.  I fixed two issues.

The first is the one mentioned a couple days ago.  The BaseConverter is not
using the proxy when checking with maven central for an artifact.

The second is the the CLI converter doesn't use any proxy information.  I
added support for using the information in the HTTP_PROXY env variable.  

Both of these fixes are for proxies that don't require authentication.  I'm
not sure if there was a better way to do it, and I didn't create any new
unit tests, but with this in place, I can use both the maven extension and
the CLI to mavenize the flex/flash/air/fontkit sdks.

Hopefully there are no apache licensing issues as I applied the apache
license header to the only class I added. proxyUpdates.patch

  



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


Re: FlexMojos with RSLs

2015-08-31 Thread mscharp
Ok, well my actual flex projects build using this configuration, but my war
project that packages up a few of these swfs fails.  I get 

[ERROR] Failed to execute goal
net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT:copy-flex-resources
(copy-swf) on project design: Execution copy-swf of goal
net.flexmojos.oss:flexmojos-maven-plugin:7.1.0-SNAPSHOT:copy-flex-resources
failed: Failed to resolve artifact
org.apache.flex.framework:framework:swf:en_US.rb:4.14.1

This is the configuration of flexmojos in my war project.


net.flexmojos.oss
flexmojos-maven-plugin
${flex.mojo.version}
true


copy-swf
process-sources

copy-flex-resources


false
true





${flex.groupId}
compiler
${flex.sdk.version}
pom




Not sure how to get around this problem...



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48948.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: FlexMojos with RSLs

2015-08-31 Thread mscharp
Ok, I found my problem.

I was specifying the rb dependencies like so:


org.apache.flex.framework
framework
${flex.sdk.version}
*${language}.rb
swc*
rsl


However, that is incorrect (thought it resolves on the main project).  The
'rb' designation should be specified in the type parameter, not the
classifier.


org.apache.flex.framework
framework
${flex.sdk.version}
*${language}
rb.swc*
rsl




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48949.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: FlexMojos with RSLs

2015-09-01 Thread mscharp
Hey Chris.

Thanks for the insight.  I didn't edit the wiki, but wanted to share at
least what I had found in case it was helpful as a starting point for you
writing the wiki or anyone else upgrading.

The reason I have to depend on the swf files explicitly is because of my
project structure.  I have 2 projects, one is a war project and the other is
the flex project.  When I build my flex project, and it outputs to the
target directory, and without the dependency on the RSL swfs no rsl
directory or files are created.  I need them there for testing locally while
not inside of a war.  The war project does not depend on the swfs explicitly
and it does correctly install the RSLs inside of the war.

I noticed a couple things also that I thought I'd share in case others run
into the same issues.  Using the dependency like this:


org.apache.flex.framework
framework
${flex.sdk.version}
${language}
rb.swc
rsl


Resulted in a "Flex Error #1001: Digest mismatch with RSL" error.  After
reading your email I removed the classifier and changed it to:


org.apache.flex.framework
framework
${flex.sdk.version}
rb.swc
rsl


And then I got this error "Error: unable to load SWC
framework-4.14.1.rb.swc: could not find catalog.xml within the SWC."

So then I changed it (removed scope) to:


org.apache.flex.framework
framework
${flex.sdk.version}
rb.swc


And it all seems to work.

Thanks again Chris for all the work you put into this and answering emails!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48956.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: FlexMojos with RSLs

2015-09-02 Thread mscharp
Awesome!  I try this out today.

As a side note, have you had a chance to look at the patch for the mavenizer
I sent along in my last response to
http://apache-flex-development.247.n4.nabble.com/Problems-Installing-Flash-SDK-according-to-documentation-td48319i20.html#a48946



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48966.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: FlexMojos with RSLs

2015-09-02 Thread mscharp
Hehe.  Yeah, I wasn't sure how to get the authentication to work or how to
get user/pass in the CLI version.  Figured you would probably want to add
that :)



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p48971.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: FlexMojos with RSLs

2015-10-08 Thread mscharp
Hey Chris.  I just saw this.  For some reason, I'm not getting updates to my
email from this thread.  Company spam filter might be the issue.

Anyway.  I will test this asap.

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p49518.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: FlexMojos with RSLs

2015-10-08 Thread mscharp
Sweet! Everything looks good.  Thanks again for the help Chris!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p49521.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: AW: FlexMojos with RSLs

2015-10-09 Thread mscharp
Hey Chris, just found an interesting issue/situation.

So, to test the new snapshot I deleted my org.apache.flex folder from my
local maven repository.  I ran my build and everything worked great!  I then
tried to build on my CI server and for other reasons got an error.  But that
lead me to realize I didn't delete the flashplayer from my local maven
repository when I tested the new snapshot.

So, I deleted the flashplayer from my local repo, but left the flex
artifacts since I had already tested that.  In that configuration ( flex
artifacts can be resolved, but not the flash artifacts ) the build fails. 
Looks like a proxy error.

I looked at the code and saw that the proxy settings are only being
configured/set in the initFlex() method which is only executed if the flex
artifacts cannot be resolved.  I suggest the proxy info should be set as
soon as the plugin begins to execute, perhaps in the init() method in
FlexEventSpy?  This way, regardless of what can or cannot be resolved, the
proxy information is available for everything.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p49526.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: AW: FlexMojos with RSLs

2015-10-09 Thread mscharp
Hey Chris, have another question for you.

Have you attempted to use the extension from a jenkins server?  From what I
can see, jenkins doesn't seem to recognize the .mvn/extensions.xml file when
building a maven project.  If, however, I setup a freestyle jenkins project
and run shell command with mvn install it works fine.  Anyone have some
insight to this?

Thanks



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p49528.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: AW: AW: AW: AW: FlexMojos with RSLs

2015-10-09 Thread mscharp
Seems I've found the answer:

https://issues.jenkins-ci.org/browse/JENKINS-30058



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-with-RSLs-tp48944p49529.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


New Proxy Update for FM maven-extension

2015-10-19 Thread mscharp
Hey Chris.  Looks like you're a busy man.  Thought I'd try to help out again
with another patch for the maven-extension.  Not sure if you saw my last
post on our previous thread about it, but I just moved the proxy
initialization outside of the flex artifact conversion section.  I was in a
situation where I had successfully converted the flex artifacts but nothing
else.  When I restarted the build, it failed because the flash stuff
couldn't be resolved as the proxy information wasn't initialized.  Anyway,
hope this helps.

proxyUpdate.patch

  



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/New-Proxy-Update-for-FM-maven-extension-tp49590.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: AW: New Proxy Update for FM maven-extension

2015-10-20 Thread mscharp
Yup, no worries.  I didn't really like it there, but didn't know where a
better spot would have been which is why I put the guard around creating the
proxysettings.  Thanks again!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/New-Proxy-Update-for-FM-maven-extension-tp49590p49608.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Enabling Flexmojos 7.1.0-SNAPSHOT in IntelliJ

2015-10-27 Thread mscharp
Hey Chris.

I loaded your jar into my IntelliJ folder and restarted IntelliJ.  I then
did a "Reimport" on my maven flex project and still get an error generating
the flex configs.  This is the error from the IntelliJ log:

Only thing that I can see that might be relevant is IntelliJ itself uses
java 1.6, even though maven and everything else uses java 1.8.0_60

2015-10-27 16:18:47,327 [ 763889]   INFO -  #org.jetbrains.idea.maven -
Generate Flex Configs
Task:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA
14.app/Contents/plugins/flex/lib/flexmojos-flex-configs-generator-server-31.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-api-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-connector-basic-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-impl-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-spi-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-transport-wagon-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aether-util-1.0.2.v20150114.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/aopalliance-1.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/cdi-api-1.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/commons-io-2.2.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/commons-lang-2.6.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/guava-18.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/javax.inject-1.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/jsoup-1.7.2.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/jsr250-api-1.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-aether-provider-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-artifact-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-builder-support-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-compat-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-core-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-model-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-model-builder-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-plugin-api-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-repository-metadata-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-settings-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/maven-settings-builder-3.3.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/org.eclipse.sisu.inject-0.3.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/org.eclipse.sisu.plexus-0.3.0.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/plexus-cipher-1.7.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/plexus-component-annotations-1.5.5.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/plexus-interpolation-1.21.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/plexus-sec-dispatcher-1.3.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/plexus-utils-3.0.20.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/sisu-guice-3.2.5-no_aop.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/slf4j-api-1.7.5.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/slf4j-simple-1.7.5.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/wagon-file-2.9.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/wagon-http-2.9-shaded.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/wagon-http-shared-2.9.jar:/Users/x/Dev/apache/apache-maven-3.3.3/lib/wagon-provider-api-2.9.jar:/Users/x/Dev/apache/apache-maven-3.3.3/boot/plexus-classworlds-2.5.2.jar"
com.intellij.flex.maven.GeneratorServer
/Users/x/Dev/apache/apache-maven-3.3.3/conf/settings.xml " "
/Users/x/.m2/repository f /Users/x/Dev/project-files/.idea/flexmojos 
2015-10-27 16:18:47,623 [ 764185]   WARN -  #org.jetbrains.idea.maven -
Generating flex configs exited with exit code 1 
2015-10-27 16:18:47,623 [ 764185]   INFO -  #org.jetbrains.idea.maven -
Generating flex configs out:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/maven/execution/MavenExecutionResult : Unsupported major.minor
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.Cla

FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-11 Thread mscharp
Hi All - I'm hoping I'm posting this in the correct space.  I've seen Chris
Dutz around here and since Marvin shut down the old FM group, this looks
like the best place for my questions.

Anyway - I'm currently working on updating our large flex project(s) from FM
4.2-beta to FM 6.1.0.  I've pulled down the FM6 code from Chris' git repo,
mavenized the 4.10.0 FDK, built FM6, and I'm now using it to build our
project.  Everything seems to work.  However, I've got a few questions
regarding the impact of some changes I made to FM code and questions about
RSLs.

In order to get FM6 to build, I had to make some changes.  Most of them seem
straight forward enough (no real questions) but I'll list them all for
completeness sake.  The ones I believe most important are bolded.

- in parent pom
- update flex version to 4.10.20130801
- update air version to 3.8
- update player version to 11.8
- update org.apache.velocity version to 1.7 (this is the version we 
have in
our repo)

- *comment out all sdk versions in flexmojos-test-harness pom*
- *add 4.10.20130801 sdk to flexmojos-test-harness pom*
- *comment out old player global versions from flexmojos-test-harness pom*
- *add 11.8 playerglobal to flexmojos-test-harness pom*
- add org.apache.velocity 1.7 dependency to flexmojos-maven-plugin pom
(couldn't build without this)
- *AsdocMojo.java, CompcMojo.java, and MxmlcMojo.java override
getAdvancedTelemetry()*

It is also important to note that I was able to build everything with tests
up till the "test-harness".  For now, my build of FM6 is running with
maven.test.skip=true.  In order for the integration tests to pass, I need a
lot of mavenized sdks that I currently don't have  I looked for the 2x and
3x sdks online so I could mavenize them, but didn't find them.  To be honest
however, I don't really care at all about anything below sdk 4.5 so I'm not
thinking that is a huge issue.  However, if that is wrong, please let me
know.

In order to build with the 4.10.0 SDK, I added the advanced telemetry
function to the different mojos:

@Override
public Boolean getAdvancedTelemetry()
{
return true;
}

I'm not entirely sure what this will do.  With this function as it is, am I
just enabling my swfs to "output" advanced telemetry, or is there something
more going on?  Should I return false instead of true?  What are the
implications of this?

Anyway, hope all this makes sense.  Thanks for the help

Michael



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-6-Flex-sdk-4-10-0-20130801-and-getAdvancedTelemetry-tp29528.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


RE: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-12 Thread mscharp
Thanks for the responses Chris.  Yeah, FM is a beast to build.  I can't say 
enough "Thank Yous" for taking over the project.

So, my understanding was that FM had to be built against the version of the FDK 
you wanted to use.  I'm assuming this is incorrect.  Has anyone tried using FM 
6.0.1 with the 4.10 FDK?  My only question with it having to do with the 
getAdvancedTelemetry() function that I had to add to the FM source code.

As far as the RSLs, I read in the release notes that they aren't signed, and 
that it only make sense to use RSLs if you are serving multiple flex 
applications from the same domain... which we are.  So, previously in our pom 
files we had:

 

com.adobe.flex.framework

framework

${flex.sdk.version}
swc
caching



com.adobe.flex.framework

textLayout

${flex.sdk.version}
swc
caching



com.adobe.flex.framework
charts

${flex.sdk.version}
swc
caching



com.adobe.flex.framework
rpc

${flex.sdk.version}
swc
caching



com.adobe.flex.framework
mx

${flex.sdk.version}
swc
caching



com.adobe.flex.framework

advancedgrids

${flex.sdk.version}
swc
caching



com.adobe.flex.framework
spark

${flex.sdk.version}
swc
caching



com.adobe.flex.framework

sparkskins

${flex.sdk.version}
swc
caching



com.adobe.flex.framework

spark_dmv

${flex.sdk.version}
swc
caching


Currently I'm not listing any of these as dependencies in our new poms.  I've 
been following what I've been able to find on the web as far as standard 
practices for what needs to be included in the pom files, but a lot of them 
look a bit different than what we currently have in our poms.  So, I'm not sure 
if I still need those dependencies listed or not.  If I do, would the scope be 
"rsl" instead of "caching" and now look more like this?



com.adobe.flex.framework

spark_dmv

${flex.sdk.version}
swc
rsl


Again, thanks everyone for the help.

Michael

From: christofer.d...@c-ware.de [via Apache Flex Development] 
[mailto:ml-node+s2

RE: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-12 Thread mscharp
I've updated my projects to start building with your 6.0.1 version of FM.  I 
haven't had a chance to really get into it yet, but the first things I'm seeing 
are these warnings.  Any idea why, as I'm building against 4.10.0.20130801?

[WARNING] The POM for com.adobe.flex:compiler:pom:4.6.0.23201 is missing, no 
dependency information available
Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED 
/com/adobe/flex/compiler/mxmlc/4.6.0.23201/mxmlc-4.6.0.23201.pom
[WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.6.0.23201 is missing, 
no dependency information available
Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED 
/com/adobe/flex/compiler/digest/4.6.0.23201/digest-4.6.0.23201.pom
[WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.6.0.23201 is 
missing, no dependency information available
Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED 
/com/adobe/flex/compiler/optimizer/4.6.0.23201/optimizer-4.6.0.23201.pom
[WARNING] The POM for com.adobe.flex.compiler:optimizer:jar:4.6.0.23201 is 
missing, no dependency information available
Downloading: https://repo.CENSORED.com/content/groups/level0. CENSORED 
/com/adobe/flex/compiler/asdoc/4.6.0.23201/asdoc-4.6.0.23201.pom
[WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.6.0.23201 is missing, 
no dependency information available
Downloading: 
https://repo.CENSORED.com/content/groups/level0.CENSORED/com/adobe/flex/compiler/swcdepends/4.6.0.23201/swcdepends-4.6.0.23201.pom
[WARNING] The POM for com.adobe.flex.compiler:swcdepends:jar:4.6.0.23201 is 
missing, no dependency information available

I can post poms if it helps.

On a the issue of the RSLs, I have them working and I will post what I have 
online so that anyone else wondering will have something to help them if needed.

Michael

From: christofer.d...@c-ware.de [via Apache Flex Development] 
[mailto:ml-node+s247n29598...@n4.nabble.com]
Sent: Thursday, September 12, 2013 10:32 AM
To: Scharp, Michael
Subject: AW: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and 
getAdvancedTelemetry()

I would expect the thing to blow up in my face ... yes :-)

Cause you would be mixing different Versions of libs ... I don't think that 
would be a good idea.
If you however want to use a library (swc/rsl) however that should be possible 
as Long as the rsl/swc doesn't rely on changed API. But if you are talking 
about modules in the same maven build, I would stronly suggest not to try that.

Chris


Von: Avi Kessner [[hidden email]]
Gesendet: Donnerstag, 12. September 2013 18:24
An: [hidden email]
Betreff: Re: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and 
getAdvancedTelemetry()

If one pom file in a project uses FM 6 and another uses 3 would you expect
that to cause conflicts?
On 12 Sep 2013 19:19, "[hidden 
email]" <[hidden 
email]>
wrote:

> Well actually FM should build your application with any mavenized FDK you
> throw at it. Unless something has changed in more recent Versions of Apache
> Flex. FM automatically uses the Compiler Version it was compiled agains, if
> you don't explicitly fix a Version by using the plugin dependency.
> Otherwise you're free to use whatever Version you like.
>
> The benefit of signed RSLs was even bigger (in my oppinion). As the Flex
> RSLs for an application were only loaded once no matter what URL you
> visited and it usually even survived a Cache cleanup. As soon as a SWZ was
> loaded, the Flashplayer sort of installed it locally and as soon as an
> application needed it again, it simply loaded it without having to download
> it again.
>
> The reason for you having to explicitly list every dependency that Needs a
> non-Default scope, is mavens inability to overload scopes. So the framworks
> master pom has normal dependencies to it's libs and if you simply reference
> that, you wouldn't utilize the shared-lib concept of RSLs but use normal
> SWCs for compilation, resulting in a way bigger Output file. So if you want
> to migrate your Project to Apache Flex you have to replace every Caching
> scope with "rsl".
>
> Chris
>
>
> 
> Von: mscharp [[hidden email]]
> Gesendet: Donnerstag, 12. September 2013 18:03
> An: [hidden email]
> Betreff: RE: FlexMojos 6, Flex sdk 4.10.0.20130801, and
> getAdvancedTelemetry()
>
> Thanks for the responses Chris.  Yeah, FM is a beast to build.  I can't
> say enough "Thank Yous" for taking over the project.
>
> So, my understanding was that FM had to be built against the version of
> the FDK you wanted to use.  I'm assuming this is incorrect.  Has anyone
> tried using FM 6.0.1 with the 4.10 FDK?  My only question with it having to
> do with the getAdvancedTelemetry() function that I h

Re: AW: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-13 Thread mscharp
Thanks Chris.  I do that that in my pom.. maybe I've inserted it in the
incorrect location?  I'll post my poms for clarity sake.  I've removed some
of the non pertinent plugins/settings.

Parent pom:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0


CENSORED
px-common-parent
1.2-SNAPSHOT

../../../common/px_common/px-common-parent


CENSORED
plm-design-flex-parent
1.2-SNAPSHOT
pom


CENSORED




1.2-SNAPSHOT
6.0.1
4.10.0.20130801
com.adobe.flex
11.8
2.0.0.232

UTF-8

UTF-8
flex
reuseReports

target\surefire-reports

target\coverage\coverage.xml
4.1
false
true
flashplayer
en_US

2.16
folder:${basedir}/html-template-build

src/main/assembly/html-bundle.xml


*


${flex.groupId}
framework
${flex.sdk.version}
pom
import


*



${flex.groupId}.framework
flex-framework
pom



com.adobe.flexunit
flexunit
${flexunit.version}
swc
test



CENSORED
px-env-profile
1.2-SNAPSHOT
test


memorphic.xpath
xpath-as3
1.0.0
swc


org.swizframework
swiz-framework
1.4.0
swc


CENSORED
mock4as
1.0
swc
test


org.mockolate
mockolate
1-2-xtrac-custom
swc
test


com.googlecode
bindage-tools-swiz
0.0.6
swc


com.googlecode
bindage-tools
0.0.6
swc


hamcrest-as3
hamcrest-as3
1.1.3
swc


org.asx
asx
0.1.1
swc


com.google.code.flex-iframe
flex-iframe
1.5.1
swc


com.adobe
as3corelib
0.93
swc



com.adobe.cairngorm
validation
1.13
swc



com.adobe.flex.framework
framework
${flex.sdk.version}
swc
rsl


com.adobe.flex.framework
textLayout
${flex.sdk.version}
swc
rsl


com.adobe.flex.framework
charts
${flex.sdk.version}
swc
rsl


com.adobe.flex.framework
rpc
${flex.sdk.version}
swc
rsl


com.adobe.flex.framework

RE: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-13 Thread mscharp
Thanks Avi, here is what I have defined for the dependencies in my build tag, 
are there more/different dependencies I need to set?



${flex.groupId}
compiler
${flex.sdk.version}
pom



Thanks

From: Avi Kessner [via Apache Flex Development] 
[mailto:ml-node+s247n29608...@n4.nabble.com]
Sent: Friday, September 13, 2013 6:32 AM
To: Scharp, Michael
Subject: RE: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and 
getAdvancedTelemetry()

You need to overide /set the dependencies in the plugin inside the build
tags
On 13 Sep 2013 08:35, "mscharp" <[hidden 
email]> wrote:

> I've updated my projects to start building with your 6.0.1 version of FM.
>  I haven't had a chance to really get into it yet, but the first things I'm
> seeing are these warnings.  Any idea why, as I'm building against
> 4.10.0.20130801?
>
> [WARNING] The POM for com.adobe.flex:compiler:pom:4.6.0.23201 is missing,
> no dependency information available
> Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED
> /com/adobe/flex/compiler/mxmlc/4.6.0.23201/mxmlc-4.6.0.23201.pom
> [WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.6.0.23201 is
> missing, no dependency information available
> Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED
> /com/adobe/flex/compiler/digest/4.6.0.23201/digest-4.6.0.23201.pom
> [WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.6.0.23201 is
> missing, no dependency information available
> Downloading: https://repo. CENSORED.com/content/groups/level0. CENSORED
> /com/adobe/flex/compiler/optimizer/4.6.0.23201/optimizer-4.6.0.23201.pom
> [WARNING] The POM for com.adobe.flex.compiler:optimizer:jar:4.6.0.23201 is
> missing, no dependency information available
> Downloading: https://repo.CENSORED.com/content/groups/level0. CENSORED
> /com/adobe/flex/compiler/asdoc/4.6.0.23201/asdoc-4.6.0.23201.pom
> [WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.6.0.23201 is
> missing, no dependency information available
> Downloading:
> https://repo.CENSORED.com/content/groups/level0.CENSORED/com/adobe/flex/compiler/swcdepends/4.6.0.23201/swcdepends-4.6.0.23201.pom
> [WARNING] The POM for com.adobe.flex.compiler:swcdepends:jar:4.6.0.23201
> is missing, no dependency information available
>
> I can post poms if it helps.
>
> On a the issue of the RSLs, I have them working and I will post what I
> have online so that anyone else wondering will have something to help them
> if needed.
>
> Michael
>
> From: [hidden email] [via 
> Apache Flex Development] [mailto:
> [hidden email]]
> Sent: Thursday, September 12, 2013 10:32 AM
> To: Scharp, Michael
> Subject: AW: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and
> getAdvancedTelemetry()
>
> I would expect the thing to blow up in my face ... yes :-)
>
> Cause you would be mixing different Versions of libs ... I don't think
> that would be a good idea.
> If you however want to use a library (swc/rsl) however that should be
> possible as Long as the rsl/swc doesn't rely on changed API. But if you are
> talking about modules in the same maven build, I would stronly suggest not
> to try that.
>
> Chris
>
> 
> Von: Avi Kessner [[hidden
> email]]
> Gesendet: Donnerstag, 12. September 2013 18:24
> An: [hidden email]
> Betreff: Re: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and
> getAdvancedTelemetry()
>
> If one pom file in a project uses FM 6 and another uses 3 would you expect
> that to cause conflicts?
> On 12 Sep 2013 19:19, "[hidden
> email]" <[hidden
> email]>
> wrote:
>
> > Well actually FM should build your application with any mavenized FDK you
> > throw at it. Unless something has changed in more recent Versions of
> Apache
> > Flex. FM automatically uses the Compiler Version it was compiled agains,
> if
> > you don't explicitly fix a Version by using the plugin dependency.
> > Otherwise you're free to use whatever Version you like.
> >
> > The benefit of signed RSLs was even bigger (in my oppinion). As the Flex
> > RSLs for an application were only loaded once no matter what URL you
> > visited and it usually even survived a Cache cleanup. As soon as a SWZ
> was
> > loaded, the Flashplayer sort of installed it locally and as soon as an
> > application needed it again, it simply loaded it without having to
> download
> > it again.
> >
> > The reason for you having to explicitly list every dependency that Needs
> a
> > non-Default scope, is mavens

Re: AW: AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-10-02 Thread mscharp
I never got the warnings to go away, however testing hasn't shown any issues
thus far.  I'm operating under the idea that those warnings aren't
important, just annoying (like many other warnings).  I could switch over to
the version of FM that I built against 4.10, but I feel more comfortable
building with the version Chris put out even if it does have those warnings.

Another warning I get and haven't been able to fix is the "No license"
warning.  However, since I'm not using charts or other licence only features
I haven't worried about this either.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-6-Flex-sdk-4-10-0-20130801-and-getAdvancedTelemetry-tp29528p30327.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Stack traces show Justin Mclean's doc folder in path

2013-10-04 Thread mscharp
I got a Null Object Reference error and just noticed that the stack traces
show the path to the flex stuff from Justin Mclean's document folder.  This
isn't really an issue, just an observation and it might already be known. 
Just figured I'd report it in case he didn't want his name going out in the
traces.  This was using the Flex 4.10 sdk.

[trace] 10/4/2013  12:05:15.617  [ERROR]  Main  Error: TypeError: Error
#1009: Cannot access a property or method of a null object reference.
[trace] at
Main/onHandleUncaughtError()[C:\Dev\\process\branches\process-1.2\\src\main\flex\Main.as:209]
[trace] at flash.events::EventDispatcher/dispatchEventFunction()
[trace] at flash.events::EventDispatcher/dispatchEvent()
[trace] at
mx.core::UIComponent/dispatchEvent()[*/Users/justinmclean/Documents/*ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]

... rest of stack trace omitted for brevity.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Stack-traces-show-Justin-Mclean-s-doc-folder-in-path-tp30436.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Adobe Flash Player Debugger in Chrome on Mac OSX

2014-05-22 Thread mscharp
Are there any flex devs out there that work on a Mac and debug in Chrome? 
I've just switched over to developing on a mac, and so far having no luck
being able to use the Debugger in Chrome.  My swf loads, but I can't type in
any text into any of the text inputs in the application.

Has anyone else seen this?  Were you able to get around it?

Using: 

Chrome 35.0.1916.114
AFP Debugger 13.0.0.214
Mac OSX 10.9.2

Thanks!



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Adobe-Flash-Player-Debugger-in-Chrome-on-Mac-OSX-tp37696.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Adobe Flash Player Debugger in Chrome on Mac OSX

2014-05-22 Thread mscharp
Sorry, I should have included that in my post.  I have turned off Pepper and
enabled the Debugger in chrome://plugins.




--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Adobe-Flash-Player-Debugger-in-Chrome-on-Mac-OSX-tp37696p37701.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Adobe Flash Player Debugger in Chrome on Mac OSX

2014-05-22 Thread mscharp
That's good news.  I was wondering if they were going to address Google's
deprecation of NPAPI plugins.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Adobe-Flash-Player-Debugger-in-Chrome-on-Mac-OSX-tp37696p37702.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Adobe Flash Player Debugger in Chrome on Mac OSX

2014-05-22 Thread mscharp
I installed the PPAPI beta version of the debugger, but that didn't solve the
problem.  Interestingly enough, chrome still lists the plugin as NPAPI.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Adobe-Flash-Player-Debugger-in-Chrome-on-Mac-OSX-tp37696p37704.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Adobe Flash Player Debugger in Chrome on Mac OSX

2014-05-22 Thread mscharp
OK, this is definitely the weirdest thing I've seen.  But if I Right Click
somewhere on the HTML page before I click into the flash window, I can enter
text no problem.  However, if I don't right click at all, or right click in
the html after I've clicked into the flash window, I can't enter any text... 
I think this has to be some issue in the way this application is built or in
the swfobject loading it because I don't have this issue when going to
pixlr.  Hopefully I can get to the bottom of this...  

Thanks for the previous feedback guys.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/Adobe-Flash-Player-Debugger-in-Chrome-on-Mac-OSX-tp37696p37705.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.