I tried building the compiler after deleting the playerglobal part of m2.
It failed on the tests. But you are skipping tests which should be
optional.

I manged to get that working by adding :

    <dependency>
      <groupId>com.adobe.flash.framework</groupId>
      <artifactId>playerglobal</artifactId>
      <version>${flash.version}</version>
      <type>swc</type>
      <scope>test</scope>
    </dependency>

to the bottom of the royale-compiler/compiler/pom.xml
(I put it in test scope which seemed 'right' for me, but I am not a maven
expert!)

I will see what happens with the rest of the build, which is proceeding. I
will try to repro your issue.


On Wed, May 22, 2019 at 8:53 AM Carlos Rovira <[email protected]>
wrote:

> Greg,
> I tried to copy
>
> m2\repository\com\adobe\flash\framework\playerglobal
>
> folder (I have there 11.1, 15.0, 20.0 and 27.0), but the error is the same
>
>
>
> El mar., 21 may. 2019 a las 22:26, Carlos Rovira (<[email protected]
> >)
> escribió:
>
> > ok Greg
> >
> > thanks for trying. I'm afraid that others trying Royale for the first
> time
> > find stuck in this kind of error.
> > Finally I'd like to make a video tutorial with something from scratch
> > since people is demanding it
> > So getting things working from 0 would be great to plan that video
> >
> > thanks
> >
> > Carlos
> >
> >
> > El mar., 21 may. 2019 a las 21:47, Greg Dove (<[email protected]>)
> > escribió:
> >
> >> In the past I had issues I think sometimes with missing correct
> >> playerglobal. I recall one time manually installing it in
> >>
> >> .m2\repository\com\adobe\flash\framework\playerglobal
> >>
> >> iirc this is something that may not be apparent unless you have a fresh
> >> start with maven.
> >> I will try the same thing later today, and see if I have the same issue.
> >> If
> >> it is that issue, then maybe it can be solved by declaring it in a
> pom.xml
> >> (e.g. for Binding) - I will see if I can figure it out.
> >>
> >>
> >>
> >>
> >>
> >> On Wed, May 22, 2019 at 7:14 AM Carlos Rovira <[email protected]>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I'm trying to build from scratch with maven to see what problems we
> >> could
> >> > have.
> >> > So I removed my .m2/repository forcing maven to download again all
> >> > dependencies
> >> >
> >> > I know first time is different and follow this guide [1]
> >> >
> >> > I was able to build compiler and typedefs without problem
> >> >
> >> > but when reach to Royale-asjs, I run:
> >> >
> >> > mvn -s settings-template.xml -DskipTests clean install
> >> >
> >> > And build failed in Core:
> >> >
> >> > [*INFO*] *--- *maven-remote-resources-plugin:1.5:process
> >> > *(process-resource-bundles)* @ Binding* ---*
> >> >
> >> > Downloading from apache-snapshots:
> >> >
> >> >
> >>
> http://repository.apache.org/snapshots/org/apache/royale/framework/Core/0.9.6-SNAPSHOT/Core-0.9.6-SNAPSHOT-swf.swc
> >> >
> >> > Downloading from apache.snapshots:
> >> >
> >> >
> >>
> https://repository.apache.org/snapshots/org/apache/royale/framework/Core/0.9.6-SNAPSHOT/Core-0.9.6-SNAPSHOT-swf.swc
> >> >
> >> > [*INFO*]
> >> >
> >>
> *------------------------------------------------------------------------*
> >> >
> >> > [*INFO*] *Reactor Summary for Apache Royale: Framework: Parent
> >> > 0.9.6-SNAPSHOT:*
> >> >
> >> > [*INFO*]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Parent ...................
> *SUCCESS*
> >> [
> >> > 1.597 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework ...........................
> *SUCCESS*
> >> [
> >> > 0.239 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Fonts ....................
> *SUCCESS*
> >> [
> >> > 3.678 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Libs .....................
> *SUCCESS*
> >> [
> >> > 0.576 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Libs: Core ...............
> *SUCCESS*
> >> [
> >> > 4.432 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Libs: Binding ............
> *FAILURE*
> >> [
> >> > 0.663 s]
> >> >
> >> > [*INFO*] Apache Royale: Framework: Libs: Collections ........
> *SKIPPED*
> >> >
> >> > The error is
> >> >
> >> > [*INFO*]
> >> >
> >>
> *------------------------------------------------------------------------*
> >> >
> >> > [*INFO*] *BUILD FAILURE*
> >> >
> >> > [*INFO*]
> >> >
> >>
> *------------------------------------------------------------------------*
> >> >
> >> > [*INFO*] Total time:  12.124 s
> >> >
> >> > [*INFO*] Finished at: 2019-05-21T21:07:04+02:00
> >> >
> >> > [*INFO*]
> >> >
> >>
> *------------------------------------------------------------------------*
> >> >
> >> > [*ERROR*] Failed to execute goal
> >> > org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process
> >> > *(process-resource-bundles)* on project Binding: *Failed to resolve
> >> > dependencies for one or more projects in the reactor. Reason:
> Missing:*
> >> >
> >> > [*ERROR*] *----------*
> >> >
> >> > [*ERROR*] *1) org.apache.royale.framework:Core:swc:swf:0.9.6-SNAPSHOT*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *  Try downloading the file manually from the project
> >> website.*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *  Then, install it using the command: *
> >> >
> >> > [*ERROR*] *      mvn install:install-file
> >> > -DgroupId=org.apache.royale.framework -DartifactId=Core
> >> > -Dversion=0.9.6-SNAPSHOT -Dclassifier=swf -Dpackaging=swc
> >> > -Dfile=/path/to/file*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *  Alternatively, if you host your own repository you can
> >> deploy
> >> > the file there: *
> >> >
> >> > [*ERROR*] *      mvn deploy:deploy-file
> >> > -DgroupId=org.apache.royale.framework -DartifactId=Core
> >> > -Dversion=0.9.6-SNAPSHOT -Dclassifier=swf -Dpackaging=swc
> >> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *  Path to dependency: *
> >> >
> >> > [*ERROR*] *  1)
> org.apache.royale.framework:Binding:swc:0.9.6-SNAPSHOT*
> >> >
> >> > [*ERROR*] *  2)
> org.apache.royale.framework:Core:swc:swf:0.9.6-SNAPSHOT*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *----------*
> >> >
> >> > [*ERROR*] *1 required artifact is missing.*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *for artifact: *
> >> >
> >> > [*ERROR*] *  org.apache.royale.framework:Binding:swc:0.9.6-SNAPSHOT*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] *from the specified remote repositories:*
> >> >
> >> > [*ERROR*] *  apache-snapshots (
> http://repository.apache.org/snapshots/
> >> > <http://repository.apache.org/snapshots/>, releases=false,
> >> > snapshots=true),*
> >> >
> >> > [*ERROR*] *  apache-release
> >> > (https://repository.apache.org/content/repositories/releases
> >> > <https://repository.apache.org/content/repositories/releases>,
> >> > releases=true, snapshots=false),*
> >> >
> >> > [*ERROR*] *  apache.snapshots (
> https://repository.apache.org/snapshots
> >> > <https://repository.apache.org/snapshots>, releases=false,
> >> > snapshots=true),*
> >> >
> >> > [*ERROR*] *  central (https://repo.maven.apache.org/maven2
> >> > <https://repo.maven.apache.org/maven2>, releases=true,
> >> snapshots=false)*
> >> >
> >> > [*ERROR*]
> >> >
> >> > [*ERROR*] -> *[Help 1]*
> >> >
> >> > Someone knows the way to solve this?
> >> >
> >> > I don't know if this is something related to some change in past
> >> months, or
> >> > maybe I'm doing something wrong, but was trying multiple things
> without
> >> > success.
> >> >
> >> > Thanks in advance for any advice on this
> >> >
> >> > Carlos
> >> >
> >> > [1]
> >> >
> >>
> https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven
> >> >
> >> > --
> >> > Carlos Rovira
> >> > http://about.me/carlosrovira
> >> >
> >>
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Reply via email to