Ok I don't see any objections here. I'm going to ask infra for cloning our
Royale-asjs job.

czw., 4 lis 2021 o 15:36 Greg Dove <greg.d...@gmail.com> napisał(a):

> +1
>
> It sounds good to me.
> I made the change to do that because the swf-swcs were not being deployed
> to the maven repo at all, and we do need something to do that, as it seems
> some people are still using these.
> If we need to make a nightly sdk distribution with the swf-js combination
> from maven at some future point, we can figure that out, and hopefully
> deploy it to a different nightly build location so it does not conflict
> with historical download urls.
> The with-distribution profile when option-with-swf profile is active
> probably just (somehow) needs to add the new playerglobal from typedefs
> build, but I did not look at any of this yet... for later.
>
>
>
>
>
> On Fri, Nov 5, 2021 at 3:21 AM Piotr Zarzycki <piotrzarzyck...@gmail.com>
> wrote:
>
> > My suggestion is to clone current
> > https://ci-builds.apache.org/job/Royale/job/Royale-asjs/ and create node
> > called Royale-asjs-distribution - which produces JS only distribution for
> > nightlies -> https://nightlies.apache.org/Royale/Royale-asjs/
> >
> > The older node Royale-asjs won't produce distribution at all, so we can
> > switch that to build with option-with-swf.
> >
> > Thoughts ?
> >
> > czw., 4 lis 2021 o 14:22 Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > napisał(a):
> >
> > > It looks like added on Jenkins configuration option-with-swf causes
> that
> > > issue, which probably make sense, cause distribution version of builded
> > SDK
> > > are JS/SWF. If we would like to have JS/SWF build on Jenkins by maven I
> > > think it should be separate build, cause current one produces binary
> > > distribution for nightlies.
> > >
> > > czw., 4 lis 2021 o 11:46 Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > > napisał(a):
> > >
> > >> Hi All,
> > >>
> > >> It looks like something has been changed either in Maven configuration
> > on
> > >> Jenkins here [1] or the way of building. We are providing in Moonshine
> > SDK
> > >> Installer ability to download binary distribution JS only SDK from
> here
> > >> [2]. Yesterday downloading from there SDK allows me build my project
> in
> > >> Moonshine, right now I'm getting:
> > >>
> > >> ": This SDK does not contains playerglobal.swc in
> > >> frameworks/libs/player/20.0/playerglobal.swc. Download playerglobal
> > here "
> > >>
> > >> Not that this is not an message from SDK - this is something in
> > >> Moonshine. Anyway what has changed ?
> > >>
> > >> [1] https://ci-builds.apache.org/job/Royale/
> > >> [2] https://nightlies.apache.org/Royale/Royale-asjs/
> > >>
> > >> śr., 3 lis 2021 o 09:29 Maria Jose Esteve <mjest...@iest.com>
> > napisał(a):
> > >>
> > >>> 😝 Why a double repo? Right
> > >>>
> > >>>
> > >>>
> > >>> Hiedra.
> > >>>
> > >>>
> > >>>
> > >>> -----Mensaje original-----
> > >>> De: Greg Dove <greg.d...@gmail.com>
> > >>> Enviado el: miércoles, 3 de noviembre de 2021 8:55
> > >>> Para: Apache Royale Development <dev@royale.apache.org>
> > >>> Asunto: Re: playerglobal artifact not exist when building royale
> echart
> > >>> example project
> > >>>
> > >>>
> > >>>
> > >>> Hi Maria,
> > >>>
> > >>>
> > >>>
> > >>> I don't think that alone is enough, because maven was downloading the
> > >>> flash playerglobal swc from jspresso before, not from apache. It is
> > cached
> > >>> in your local .m2 from the last successful download, so now that
> > previously
> > >>> downloaded swc continues to work with the 3.8.3 maven. But if you
> > cleared
> > >>> that from your .m2 or if someone else tried this without the jspresso
> > >>> download already in .m2 , it would not work.
> > >>>
> > >>>
> > >>>
> > >>> What I meant was that you could remove that jspresso repo definition
> > >>> entirely (because you already have apache-release and
> apache-snapshots
> > >>> repos defined.
> > >>>
> > >>>
> > >>>
> > >>> then in your pom.xml, replace this one (which comes from  jspresso )
> :
> > >>>
> > >>>
> > >>>
> > >>>     <dependency>
> > >>>
> > >>>       <groupId>com.adobe.flash.framework</groupId>
> > >>>
> > >>>       <artifactId>playerglobal</artifactId>
> > >>>
> > >>>       <version>${player.version}</version>
> > >>>
> > >>>       <type>swc</type>
> > >>>
> > >>>       <scope>runtime</scope>
> > >>>
> > >>>     </dependency>
> > >>>
> > >>>
> > >>>
> > >>> with this one (which comes from apache):
> > >>>
> > >>>     <dependency>
> > >>>
> > >>>       <groupId>org.apache.royale.typedefs</groupId>
> > >>>
> > >>>       <artifactId>royale-typedefs-playerglobal</artifactId>
> > >>>
> > >>>       <version>${royale.typedefs.version}</version>
> > >>>
> > >>>       <type>swc</type>
> > >>>
> > >>>       <classifier>swf</classifier>
> > >>>
> > >>>       <scope>runtime</scope>
> > >>>
> > >>>     </dependency>
> > >>>
> > >>>
> > >>>
> > >>> (The  org.apache.royale.typedefs version of playerglobal is actually
> in
> > >>> the apache snapshots repository. the com.adobe.flash.framework one is
> > not)
> > >>>
> > >>>
> > >>>
> > >>> I tried the above and it worked for me, but please check it first.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> On Tue, Nov 2, 2021 at 10:10 PM Maria Jose Esteve <mjest...@iest.com
> > >>> <mailto:mjest...@iest.com>> wrote:
> > >>>
> > >>>
> > >>>
> > >>> > Hi, Good morning
> > >>>
> > >>> > I have re-mapped Maven 3.8.3 and made this change to my pom's [1]
> and
> > >>>
> > >>> > the builds have been successful in all cases. I'm going to leave it
> > >>>
> > >>> > with this version and test for any other problems.
> > >>>
> > >>> >
> > >>>
> > >>> > [1]
> > >>>
> > >>> >     <repository>
> > >>>
> > >>> >       <id>jspresso</id>
> > >>>
> > >>> > <!--  <url>http://repository.jspresso.org/maven2</url<
> > >>> http://repository.jspresso.org/maven2%3c/url>> -->
> > >>>
> > >>> >       <url>
> > https://repository.apache.org/content/repositories/releases
> > >>>
> > >>> > </url>
> > >>>
> > >>> >       <releases>
> > >>>
> > >>> >         <enabled>true</enabled>
> > >>>
> > >>> >         <updatePolicy>daily</updatePolicy>
> > >>>
> > >>> >       </releases>
> > >>>
> > >>> >       <snapshots>
> > >>>
> > >>> >         <enabled>false</enabled>
> > >>>
> > >>> >       </snapshots>
> > >>>
> > >>> >     </repository>
> > >>>
> > >>> >
> > >>>
> > >>> >
> > >>>
> > >>> > Thx.
> > >>>
> > >>> > Hiedra
> > >>>
> > >>> >
> > >>>
> > >>> > -----Mensaje original-----
> > >>>
> > >>> > De: Greg Dove <greg.d...@gmail.com<mailto:greg.d...@gmail.com>>
> > >>>
> > >>> > Enviado el: lunes, 1 de noviembre de 2021 22:51
> > >>>
> > >>> > Para: Apache Royale Development <dev@royale.apache.org<mailto:
> > >>> dev@royale.apache.org>>
> > >>>
> > >>> > Asunto: Re: playerglobal artifact not exist when building royale
> > >>>
> > >>> > echart example project
> > >>>
> > >>> >
> > >>>
> > >>> > Nice - thanks for clarifying that, Josh (great work on those
> updates,
> > >>>
> > >>> > btw, that was another substantial progress point)
> > >>>
> > >>> >
> > >>>
> > >>> > So there was a 0.9.8 release build, but that means it should be
> > >>>
> > >>> > available as 0.9.9 SNAPSHOT already, I can see it here:
> > >>>
> > >>> >
> > >>>
> > >>> >
> > >>>
> > >>> >
> > https://repository.apache.org/content/repositories/snapshots/org/apach
> > >>>
> > >>> > e/royale/typedefs/royale-typedefs-playerglobal/0.9.9-SNAPSHOT/
> > >>>
> > >>> >
> > >>>
> > >>> > <groupId>org.apache.royale.typedefs</groupId>
> > >>>
> > >>> > <artifactId>royale-typedefs-playerglobal</artifactId>
> > >>>
> > >>> > <version>0.9.9-SNAPSHOT</version>
> > >>>
> > >>> > <classifier>swf</classifier>
> > >>>
> > >>> > <scope>runtime</scope>
> > >>>
> > >>> >
> > >>>
> > >>> > So, in theory, that should be an option to replace the jspresso
> http
> > >>>
> > >>> > download, Maria, and perhaps it means that you can continue to use
> > the
> > >>>
> > >>> > latest maven version.
> > >>>
> > >>> >
> > >>>
> > >>> >
> > >>>
> > >>> >
> > >>>
> > >>> >
> > >>>
> > >>> > On Tue, Nov 2, 2021 at 4:59 AM Josh Tynjala
> > >>>
> > >>> > <joshtynj...@bowlerhat.dev<mailto:joshtynj...@bowlerhat.dev>>
> > >>>
> > >>> > wrote:
> > >>>
> > >>> >
> > >>>
> > >>> > > It looks like we published it in 0.9.8:
> > >>>
> > >>> > >
> > >>>
> > >>> > >
> > >>>
> > >>> > >
> > https://search.maven.org/artifact/org.apache.royale.typedefs/royale-
> > >>>
> > >>> > > ty
> > >>>
> > >>> > > pedefs-playerglobal/0.9.8/swc
> > >>>
> > >>> > >
> > >>>
> > >>> > > I noticed recently that [Event] metadata was missing, so this
> > >>>
> > >>> > > artifact may not work correctly in certain contexts, until the
> > 0.9.9
> > >>> release.
> > >>>
> > >>> > >
> > >>>
> > >>> > > --
> > >>>
> > >>> > > Josh Tynjala
> > >>>
> > >>> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >>>
> > >>> > >
> > >>>
> > >>> > >
> > >>>
> > >>> > > On Sun, Oct 31, 2021 at 3:46 PM Greg Dove <greg.d...@gmail.com
> > >>> <mailto:greg.d...@gmail.com>> wrote:
> > >>>
> > >>> > >
> > >>>
> > >>> > > > Hi Maria,
> > >>>
> > >>> > > >
> > >>>
> > >>> > > > Just a quick reply:
> > >>>
> > >>> > > > Did you upgrade your maven version recently?
> > >>>
> > >>> > > > For maven version 3.8.1 and higher there is a new setting that
> > >>>
> > >>> > > > blocks all http (i.e. NOT https) repositories by default. That
> > >>>
> > >>> > > > will very likely be what is affecting the jspresso download.
> > >>>
> > >>> > > > (it is sort of explained by this: " maven-default-http-blocker
> (
> > >>>
> > >>> > > > http://0.0.0.0/): Blocked mirror for repositories: [jspresso (
> > >>>
> > >>> > > > http://repository.jspresso.org/maven2"; ) There is a way to
> > >>> 'unblock'
> > >>>
> > >>> > > > that in the maven settings.xml, so you could research that.
> > >>>
> > >>> > > >
> > >>>
> > >>> > > > Otherwise if you use version 3.6.3 or lower it should still
> work
> > >>>
> > >>> > > > if that repo is still live.
> > >>>
> > >>> > > >
> > >>>
> > >>> > > > But iiuc Josh has now made a compiler tool for generating
> > >>>
> > >>> > > > non-adobe playerglobal swc, so presumably we could publish this
> > >>>
> > >>> > > > ourselves within royale maven build if it is not already done
> - I
> > >>>
> > >>> > > > am not sure about that, but it is worth discussing on-list I
> > think.
> > >>>
> > >>> > > >
> > >>>
> > >>> > > >
> > >>>
> > >>> > > >
> > >>>
> > >>> > > > On Mon, Nov 1, 2021 at 11:33 AM Maria Jose Esteve
> > >>>
> > >>> > > > <mjest...@iest.com<mailto:mjest...@iest.com>>
> > >>>
> > >>> > > > wrote:
> > >>>
> > >>> > > >
> > >>>
> > >>> > > > > Hi guys, let's see if anyone can help me and Ichsan.... We
> have
> > >>>
> > >>> > > problems
> > >>>
> > >>> > > > > with playglobal.swc when compiling.
> > >>>
> > >>> > > > > I "always" referenced version 15.0 of playglobal.swc and
> never
> > >>>
> > >>> > > > > had any problems until now.
> > >>>
> > >>> > > > > When ichsan tried to compile the same project, he got an
> error:
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > [INFO] BUILD FAILURE
> > >>>
> > >>> > > > > [INFO]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > --------------------------------------------------------------------
> > >>>
> > >>> > > --
> > >>>
> > >>> > > --
> > >>>
> > >>> > > > > [INFO] Total time: 28.466 s
> > >>>
> > >>> > > > > [INFO] Finished at: 2021-10-30T02:18:39+07:00 [INFO]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > --------------------------------------------------------------------
> > >>>
> > >>> > > --
> > >>>
> > >>> > > --
> > >>>
> > >>> > > > > [ERROR] Failed to execute goal
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > org.apache.royale.compiler:royale-maven-plugin:0.9.9-SNAPSHOT:compil
> > >>>
> > >>> > > e-
> > >>>
> > >>> > > as
> > >>>
> > >>> > > > > (default-compile-as) on project royale-echarts: Could not
> > >>>
> > >>> > > > > resolve dependencies for project
> > >>>
> > >>> > > > > com.iest.royale.echarts:royale-echarts:swc:1.0-SNAPSHOT:
> Failed
> > >>>
> > >>> > > > > to
> > >>>
> > >>> > > > collect
> > >>>
> > >>> > > > > dependencies at
> com.adobe.flash.framework:playerglobal:swc:15.
> > 0:
> > >>>
> > >>> > > Failed
> > >>>
> > >>> > > > to
> > >>>
> > >>> > > > > read artifact descriptor for
> > >>>
> > >>> > > > > com.adobe.flash.framework:playerglobal:swc:15.0: Could not
> > >>>
> > >>> > > > > transfer artifact
> > >>>
> > >>> > > > > com.adobe.flash.framework:playerglobal:pom:15.0
> > >>>
> > >>> > > > > from/to maven-default-http-blocker (http://0.0.0.0/):
> Blocked
> > >>>
> > >>> > > > > mirror for
> > >>>
> > >>> > > > > repositories: [jspresso (
> http://repository.jspresso.org/maven2
> > ,
> > >>>
> > >>> > > default,
> > >>>
> > >>> > > > > releases)] -> [Help1]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > At that moment I understood that the version that Ichsan had
> > >>>
> > >>> > > > > referenced
> > >>>
> > >>> > > > in
> > >>>
> > >>> > > > > the pom was not in his repo and I tried to reference version
> > >>>
> > >>> > > > > 11.7, the
> > >>>
> > >>> > > > SDK
> > >>>
> > >>> > > > > version.
> > >>>
> > >>> > > > > After making this change, and even if I go back to version
> 15.0
> > >>>
> > >>> > > > > it has been impossible to compile: always the same error
> (with
> > >>>
> > >>> > > > > version 15.0,
> > >>>
> > >>> > > > with
> > >>>
> > >>> > > > > version 11.7, with version 20.0, with all of them).
> > >>>
> > >>> > > > > I tried to create the PLAYGLOBAL_HOME environment variable
> but
> > >>>
> > >>> > > > > it
> > >>>
> > >>> > > doesn't
> > >>>
> > >>> > > > > solve it.
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > How can we fix it? I can't compile any other project on this
> > >>>
> > >>> > > > > machine
> > >>>
> > >>> > > > (none
> > >>>
> > >>> > > > > of the examples, none of my work project, nothing...).
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Any help would be welcome.
> > >>>
> > >>> > > > > Thank you.
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Hiedra
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > -----Mensaje original-----
> > >>>
> > >>> > > > > De: Maria Jose Esteve <mjest...@iest.com<mailto:
> > >>> mjest...@iest.com>> Enviado el: domingo,
> > >>>
> > >>> > > > > 31 de octubre de 2021 1:41
> > >>>
> > >>> > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org>
> > >>>
> > >>> > > > > Asunto: RE: playerglobal artifact not exist when building
> > royale
> > >>>
> > >>> > > > > echart example project
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > It does not work.
> > >>>
> > >>> > > > > Also, I did the test "after sending the message" and now
> when I
> > >>>
> > >>> > > > > go back
> > >>>
> > >>> > > > to
> > >>>
> > >>> > > > > version 15.0 I can't compile either.
> > >>>
> > >>> > > > > I've messed it up even more. :(
> > >>>
> > >>> > > > > This is what happens when you "unknowingly" reply.
> > >>>
> > >>> > > > > Sorry, maybe someone else can help us both. :P
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Hiedra
> > >>>
> > >>> > > > > -----Mensaje original-----
> > >>>
> > >>> > > > > De: Maria Jose Esteve <mjest...@iest.com<mailto:
> > >>> mjest...@iest.com>> Enviado el: domingo,
> > >>>
> > >>> > > > > 31 de octubre de 2021 1:21
> > >>>
> > >>> > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org>
> > >>>
> > >>> > > > > Asunto: RE: playerglobal artifact not exist when building
> > royale
> > >>>
> > >>> > > > > echart example project
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Ichsan, try to set version 11.7 as the version that exists in
> > >>>
> > >>> > > > > the SDK
> > >>>
> > >>> > > > > (ROYALE_HOME/frameworks/libs/player/11.7)
> > >>>
> > >>> > > > > (If you didn't have playerglobal.swc pre-cached from sometime
> > >>>
> > >>> > > > > prior to
> > >>>
> > >>> > > > its
> > >>>
> > >>> > > > > removal by Adobe, I imagine this will work for you.)
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Hiedra
> > >>>
> > >>> > > > > -----Mensaje original-----
> > >>>
> > >>> > > > > De: ichsan anam <ichsan.a...@gmail.com<mailto:
> > >>> ichsan.a...@gmail.com>> Enviado el: viernes, 29
> > >>>
> > >>> > > > > de octubre de 2021 21:27
> > >>>
> > >>> > > > > Para: dev@royale.apache.org<mailto:dev@royale.apache.org>
> > >>>
> > >>> > > > > Asunto: playerglobal artifact not exist when building royale
> > >>>
> > >>> > > > > echart example project
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > Dear Maria,
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > i have download and build apache echart example you have
> posted
> > >>>
> > >>> > > > > in
> > >>>
> > >>> > > > github.
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > https://github.com/mjesteve/Royale-ECharts/tree/develop
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > but when i compile with maven build failure with messages:
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > [INFO] BUILD FAILURE
> > >>>
> > >>> > > > > [INFO]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > --------------------------------------------------------------------
> > >>>
> > >>> > > --
> > >>>
> > >>> > > --
> > >>>
> > >>> > > > > [INFO] Total time:  28.466 s
> > >>>
> > >>> > > > > [INFO] Finished at: 2021-10-30T02:18:39+07:00 [INFO]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > --------------------------------------------------------------------
> > >>>
> > >>> > > --
> > >>>
> > >>> > > --
> > >>>
> > >>> > > > > [ERROR] Failed to execute goal
> > >>>
> > >>> > > > >
> > >>>
> > >>> > >
> > org.apache.royale.compiler:royale-maven-plugin:0.9.9-SNAPSHOT:compil
> > >>>
> > >>> > > e-
> > >>>
> > >>> > > as
> > >>>
> > >>> > > > > (default-compile-as) on project royale-echarts: Could not
> > >>>
> > >>> > > > > resolve dependencies for project
> > >>>
> > >>> > > > > com.iest.royale.echarts:royale-echarts:swc:1.0-SNAPSHOT:
> Failed
> > >>>
> > >>> > > > > to
> > >>>
> > >>> > > > collect
> > >>>
> > >>> > > > > dependencies at
> > com.adobe.flash.framework:playerglobal:swc:15.0:
> > >>>
> > >>> > > > > Failed
> > >>>
> > >>> > > > to
> > >>>
> > >>> > > > > read artifact descriptor for
> > >>>
> > >>> > > > > com.adobe.flash.framework:playerglobal:swc:15.0: Could not
> > >>>
> > >>> > > > > transfer artifact
> > >>>
> > >>> > > > > com.adobe.flash.framework:playerglobal:pom:15.0
> > >>>
> > >>> > > > > from/to maven-default-http-blocker (http://0.0.0.0/):
> Blocked
> > >>>
> > >>> > > > > mirror for
> > >>>
> > >>> > > > > repositories: [jspresso (
> http://repository.jspresso.org/maven2
> > ,
> > >>>
> > >>> > > default,
> > >>>
> > >>> > > > > releases)] -> [Help1]
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > > > it seem artifact for playerglobal is not exist, is it
> removed?
> > >>>
> > >>> > > > > any
> > >>>
> > >>> > > > update?
> > >>>
> > >>> > > > >
> > >>>
> > >>> > > >
> > >>>
> > >>> > >
> > >>>
> > >>> >
> > >>>
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>


-- 

Piotr Zarzycki

Reply via email to