RE: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-08 Thread Yishay Weiss
Thank you josh! Will upgrade CI server to 3.6.3.

From: Josh Tynjala
Sent: Thursday, April 8, 2021 1:31 AM
To: Apache Royale Development
Subject: Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF 
target now that Adobe removed Flash Player in 2021 (Re: How to build from now 
on?))

I was able to find binaries for Maven 3.6.0, and I compared the output
between 3.6.0 and 3.6.3 (which is, coincidentally, the version that I have
installed on my computer too). Maven 3.6.0 omits playerglobal.swc from
flex-compiler-oem.jar's META-INF/DEPENDENCES and Maven 3.6.3 includes it.
So it appears that you either need to switch to Maven 3.6.0 locally, or you
need to upgrade Maven on the CI server.

If it helps, here's where I downloaded Maven 3.6.0:

https://archive.apache.org/dist/maven/maven-3/3.6.0/binaries/

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Apr 7, 2021 at 1:43 AM Yishay Weiss  wrote:

> Running  ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8
> succeeds on the CI server but fails my local pc because of this difference
> in DEPENDENCIES. So it’s the same command being run with different results,
> which means we can’t release.
>
> The only differences I can think of are the mvn version (mine is 3.6.3,
> CI’s is 3.6.0), and the java version (mine is 1.8.0_281, CI’s is 1.8.0_201).
>
> I tried removing the playerglobal.swc from CI server’s .m2 repo and
> letting mvn download it but it’s the same result.
>
> From: Josh Tynjala
> Sent: Tuesday, April 6, 2021 7:42 PM
> To: Apache Royale Development
> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> Flash Player in 2021 (Re: How to build from now on?)
>
> I have tested locally and confirmed that playerglobal.swc is listed in
> flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
> option-with-swf. That makes sense. So I guess you didn't use -P
> option-with-swf on one of the computers.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala 
> wrote:
>
> > Yeah, that could be where it comes from. By why would that affect one
> > computer, but not another? That doesn't make sense to me. Unless maybe a
> > slightly different command is being run on the two computers. Are both
> > using option-with-swf?
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
> >
> > On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss 
> > wrote:
> >
> >> Not sure if this is related, but I found this in
> >> royale-compiler/compiler/pom.xml
> >>
> >> 
> >>   option-with-swf
> >>   
> >> 
> >> 
> >>   com.adobe.flash.framework
> >>   playerglobal
> >>   ${flash.version}
> >>   swc
> >>   runtime
> >> 
> >>   
> >> 
> >>
> >> From: Josh Tynjala
> >> Sent: Monday, April 5, 2021 7:26 PM
> >> To: Apache Royale Development
> >> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> >> Flash Player in 2021 (Re: How to build from now on?)
> >>
> >> I wouldn't expect a compiler .jar file to have a dependency on any .swc
> >> files. That doesn't really make any sense to me. Chris might know, since
> >> he
> >> did the Maven stuff, but he may or may not be around to help anymore.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC 
> >>
> >>
> >> On Mon, Apr 5, 2021 at 4:14 AM Yishay Weiss 
> >> wrote:
> >>
> >> > One more thing, perhaps related. I’m getting a different in the
> >> > flex-compiler-oem-0.9.8.jar between my local system and the CI server
> >> > because of this line
> >> >
> >> > +  - playerglobal  com.adobe.flash.framework:playerglobal:swc:20.0
> >> >
> >> > In META-INF/DEPENDENCIES
> >> >
> >> > which only exists in one of the systems. Any ideas on how to get
> around
> >> > that?
> >> >
> >> > Thanks.
> >> >
> >> > From: Yishay Weiss
> >> > Sent: Monday, April 5, 2021 10:36 AM
> >> > To: dev@royale.apache.org
> >> > Subject: RE: [Discuss] What to do with SWF target now that Adobe
> removed
> >> > Flash Player in 2021 (Re: How to build from now on?)
> >> >
> >> > Hi Josh,
> >> >
> >> > I’m running release ant script which has
> >> >
> >> >  >> > failonerror="true" >
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > This results in
> >> >
> >> >  [exec] [INFO] Installing
> >> >
> >>
> C:\temp2\sources\compiler-playerglobalc\target\compiler-playerglobalc-0.9.8-tests.jar
> >> > to C:\Users\yisha\.m2\repository\org\apache\royale\compile
> >> > r\compiler-playerglobalc\0.9.8\compiler-playerglobalc-0.9.8-tests.jar
> >> >  [exec] [INFO]
> >> >  [exec] [INFO] <
> 

Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Josh Tynjala
I was able to find binaries for Maven 3.6.0, and I compared the output
between 3.6.0 and 3.6.3 (which is, coincidentally, the version that I have
installed on my computer too). Maven 3.6.0 omits playerglobal.swc from
flex-compiler-oem.jar's META-INF/DEPENDENCES and Maven 3.6.3 includes it.
So it appears that you either need to switch to Maven 3.6.0 locally, or you
need to upgrade Maven on the CI server.

If it helps, here's where I downloaded Maven 3.6.0:

https://archive.apache.org/dist/maven/maven-3/3.6.0/binaries/

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Apr 7, 2021 at 1:43 AM Yishay Weiss  wrote:

> Running  ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8
> succeeds on the CI server but fails my local pc because of this difference
> in DEPENDENCIES. So it’s the same command being run with different results,
> which means we can’t release.
>
> The only differences I can think of are the mvn version (mine is 3.6.3,
> CI’s is 3.6.0), and the java version (mine is 1.8.0_281, CI’s is 1.8.0_201).
>
> I tried removing the playerglobal.swc from CI server’s .m2 repo and
> letting mvn download it but it’s the same result.
>
> From: Josh Tynjala
> Sent: Tuesday, April 6, 2021 7:42 PM
> To: Apache Royale Development
> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> Flash Player in 2021 (Re: How to build from now on?)
>
> I have tested locally and confirmed that playerglobal.swc is listed in
> flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
> option-with-swf. That makes sense. So I guess you didn't use -P
> option-with-swf on one of the computers.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala 
> wrote:
>
> > Yeah, that could be where it comes from. By why would that affect one
> > computer, but not another? That doesn't make sense to me. Unless maybe a
> > slightly different command is being run on the two computers. Are both
> > using option-with-swf?
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
> >
> > On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss 
> > wrote:
> >
> >> Not sure if this is related, but I found this in
> >> royale-compiler/compiler/pom.xml
> >>
> >> 
> >>   option-with-swf
> >>   
> >> 
> >> 
> >>   com.adobe.flash.framework
> >>   playerglobal
> >>   ${flash.version}
> >>   swc
> >>   runtime
> >> 
> >>   
> >> 
> >>
> >> From: Josh Tynjala
> >> Sent: Monday, April 5, 2021 7:26 PM
> >> To: Apache Royale Development
> >> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> >> Flash Player in 2021 (Re: How to build from now on?)
> >>
> >> I wouldn't expect a compiler .jar file to have a dependency on any .swc
> >> files. That doesn't really make any sense to me. Chris might know, since
> >> he
> >> did the Maven stuff, but he may or may not be around to help anymore.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC 
> >>
> >>
> >> On Mon, Apr 5, 2021 at 4:14 AM Yishay Weiss 
> >> wrote:
> >>
> >> > One more thing, perhaps related. I’m getting a different in the
> >> > flex-compiler-oem-0.9.8.jar between my local system and the CI server
> >> > because of this line
> >> >
> >> > +  - playerglobal  com.adobe.flash.framework:playerglobal:swc:20.0
> >> >
> >> > In META-INF/DEPENDENCIES
> >> >
> >> > which only exists in one of the systems. Any ideas on how to get
> around
> >> > that?
> >> >
> >> > Thanks.
> >> >
> >> > From: Yishay Weiss
> >> > Sent: Monday, April 5, 2021 10:36 AM
> >> > To: dev@royale.apache.org
> >> > Subject: RE: [Discuss] What to do with SWF target now that Adobe
> removed
> >> > Flash Player in 2021 (Re: How to build from now on?)
> >> >
> >> > Hi Josh,
> >> >
> >> > I’m running release ant script which has
> >> >
> >> >  >> > failonerror="true" >
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > This results in
> >> >
> >> >  [exec] [INFO] Installing
> >> >
> >>
> C:\temp2\sources\compiler-playerglobalc\target\compiler-playerglobalc-0.9.8-tests.jar
> >> > to C:\Users\yisha\.m2\repository\org\apache\royale\compile
> >> > r\compiler-playerglobalc\0.9.8\compiler-playerglobalc-0.9.8-tests.jar
> >> >  [exec] [INFO]
> >> >  [exec] [INFO] <
> org.apache.royale.compiler:compiler
> >> > >-
> >> >  [exec] [INFO] Building Apache Royale: Compiler: Compiler 0.9.8
> >> >   [6/13]
> >> >  [exec] [INFO] [ jar
> >> > ]-
> >> >  [exec] [INFO] Couldn't find artifact:
> >> > com.adobe.flash.framework:20.0:playerglobal:pom
> >> >  [exec] [INFO]
> 

Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Josh Tynjala
The .jar file downloaded from the CI server doesn't include the
playerglobal.swc dependency, so it seems like it isn't using
option-with-swf.

For Release Step 11 on the CI server (when royale-asjs is built with Maven)
option-with-swf is explicitly included in the Maven options, even though it
looks to me like that's supposed to be automatic too.

I'd say it doesn't hurt to try.

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Apr 7, 2021 at 10:29 AM Alex Harui  wrote:

> royale-release profile should turn on option-with-swf.
>
> On 4/7/21, 10:24 AM, "Josh Tynjala"  wrote:
>
> I just logged into the CI server. I see that the configuration for
> Release
> Step 2 includes running Maven with the following options:
>
> -X
> --batch-mode
> -Proyale-release,apache-release
> release:prepare
> -Dtag=org.apache.royale.compiler-$releaseversion-rc$RCNUMBER
> -DpushChanges=false
> -Dusername=$GITUSERNAME
>
> Notice that -P does not include option-with-swf.
>
> I think that you need to update Release Step 2 on the CI server. Since
> releasesteps.xml includes option-with-swf, the CI server should too.
>
> --
> Josh Tynjala
> Bowler Hat LLC <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2Fdata=04%7C01%7Caharui%40adobe.com%7Cf4650810c8834be7649108d8f9ea0e57%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637534130955865526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=B0wjSNGoZZKTB8k%2BJBAxHaPHsRXNpMWTooLEIutGnm4%3Dreserved=0
> >
>
>
> On Wed, Apr 7, 2021 at 1:43 AM Yishay Weiss 
> wrote:
>
> > Running  ant -f releasesteps.xml Release_Step_003
> -Drelease.version=0.9.8
> > succeeds on the CI server but fails my local pc because of this
> difference
> > in DEPENDENCIES. So it’s the same command being run with different
> results,
> > which means we can’t release.
> >
> > The only differences I can think of are the mvn version (mine is
> 3.6.3,
> > CI’s is 3.6.0), and the java version (mine is 1.8.0_281, CI’s is
> 1.8.0_201).
> >
> > I tried removing the playerglobal.swc from CI server’s .m2 repo and
> > letting mvn download it but it’s the same result.
> >
> > From: Josh Tynjala
> > Sent: Tuesday, April 6, 2021 7:42 PM
> > To: Apache Royale Development
> > Subject: Re: [Discuss] What to do with SWF target now that Adobe
> removed
> > Flash Player in 2021 (Re: How to build from now on?)
> >
> > I have tested locally and confirmed that playerglobal.swc is listed
> in
> > flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
> > option-with-swf. That makes sense. So I guess you didn't use -P
> > option-with-swf on one of the computers.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2Fdata=04%7C01%7Caharui%40adobe.com%7Cf4650810c8834be7649108d8f9ea0e57%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637534130955865526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=B0wjSNGoZZKTB8k%2BJBAxHaPHsRXNpMWTooLEIutGnm4%3Dreserved=0
> >
> >
> >
> > On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala <
> joshtynj...@bowlerhat.dev>
> > wrote:
> >
> > > Yeah, that could be where it comes from. By why would that affect
> one
> > > computer, but not another? That doesn't make sense to me. Unless
> maybe a
> > > slightly different command is being run on the two computers. Are
> both
> > > using option-with-swf?
> > >
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbowlerhat.dev%2Fdata=04%7C01%7Caharui%40adobe.com%7Cf4650810c8834be7649108d8f9ea0e57%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637534130955865526%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=B0wjSNGoZZKTB8k%2BJBAxHaPHsRXNpMWTooLEIutGnm4%3Dreserved=0
> >
> > >
> > >
> > > On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss <
> yishayj...@hotmail.com>
> > > wrote:
> > >
> > >> Not sure if this is related, but I found this in
> > >> royale-compiler/compiler/pom.xml
> > >>
> > >> 
> > >>   option-with-swf
> > >>   
> > >> 
> > >> 
> > >>   com.adobe.flash.framework
> > >>   playerglobal
> > >>   ${flash.version}
> > >>   swc
> > >>   runtime
> > >> 
> > >>   
> > >> 
> > >>
> > >> From: Josh Tynjala
> > >> Sent: Monday, April 5, 2021 7:26 PM
> > >> To: Apache Royale Development
> > >> Subject: Re: 

Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Alex Harui
royale-release profile should turn on option-with-swf.

On 4/7/21, 10:24 AM, "Josh Tynjala"  wrote:

I just logged into the CI server. I see that the configuration for Release
Step 2 includes running Maven with the following options:

-X
--batch-mode
-Proyale-release,apache-release
release:prepare
-Dtag=org.apache.royale.compiler-$releaseversion-rc$RCNUMBER
-DpushChanges=false
-Dusername=$GITUSERNAME

Notice that -P does not include option-with-swf.

I think that you need to update Release Step 2 on the CI server. Since
releasesteps.xml includes option-with-swf, the CI server should too.

--
Josh Tynjala
Bowler Hat LLC 



On Wed, Apr 7, 2021 at 1:43 AM Yishay Weiss  wrote:

> Running  ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8
> succeeds on the CI server but fails my local pc because of this difference
> in DEPENDENCIES. So it’s the same command being run with different 
results,
> which means we can’t release.
>
> The only differences I can think of are the mvn version (mine is 3.6.3,
> CI’s is 3.6.0), and the java version (mine is 1.8.0_281, CI’s is 
1.8.0_201).
>
> I tried removing the playerglobal.swc from CI server’s .m2 repo and
> letting mvn download it but it’s the same result.
>
> From: Josh Tynjala
> Sent: Tuesday, April 6, 2021 7:42 PM
> To: Apache Royale Development
> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> Flash Player in 2021 (Re: How to build from now on?)
>
> I have tested locally and confirmed that playerglobal.swc is listed in
> flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
> option-with-swf. That makes sense. So I guess you didn't use -P
> option-with-swf on one of the computers.
>
> --
> Josh Tynjala
> Bowler Hat LLC 

>
>
> On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala 
> wrote:
>
> > Yeah, that could be where it comes from. By why would that affect one
> > computer, but not another? That doesn't make sense to me. Unless maybe a
> > slightly different command is being run on the two computers. Are both
> > using option-with-swf?
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 

> >
> >
> > On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss 
> > wrote:
> >
> >> Not sure if this is related, but I found this in
> >> royale-compiler/compiler/pom.xml
> >>
> >> 
> >>   option-with-swf
> >>   
> >> 
> >> 
> >>   com.adobe.flash.framework
> >>   playerglobal
> >>   ${flash.version}
> >>   swc
> >>   runtime
> >> 
> >>   
> >> 
> >>
> >> From: Josh Tynjala
> >> Sent: Monday, April 5, 2021 7:26 PM
> >> To: Apache Royale Development
> >> Subject: Re: [Discuss] What to do with SWF target now that Adobe 
removed
> >> Flash Player in 2021 (Re: How to build from now on?)
> >>
> >> I wouldn't expect a compiler .jar file to have a dependency on any .swc
> >> files. That doesn't really make any sense to me. Chris might know, 
since
> >> he
> >> did the Maven stuff, but he may or may not be around to help anymore.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC 

Re: META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Josh Tynjala
I just logged into the CI server. I see that the configuration for Release
Step 2 includes running Maven with the following options:

-X
--batch-mode
-Proyale-release,apache-release
release:prepare
-Dtag=org.apache.royale.compiler-$releaseversion-rc$RCNUMBER
-DpushChanges=false
-Dusername=$GITUSERNAME

Notice that -P does not include option-with-swf.

I think that you need to update Release Step 2 on the CI server. Since
releasesteps.xml includes option-with-swf, the CI server should too.

--
Josh Tynjala
Bowler Hat LLC 


On Wed, Apr 7, 2021 at 1:43 AM Yishay Weiss  wrote:

> Running  ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8
> succeeds on the CI server but fails my local pc because of this difference
> in DEPENDENCIES. So it’s the same command being run with different results,
> which means we can’t release.
>
> The only differences I can think of are the mvn version (mine is 3.6.3,
> CI’s is 3.6.0), and the java version (mine is 1.8.0_281, CI’s is 1.8.0_201).
>
> I tried removing the playerglobal.swc from CI server’s .m2 repo and
> letting mvn download it but it’s the same result.
>
> From: Josh Tynjala
> Sent: Tuesday, April 6, 2021 7:42 PM
> To: Apache Royale Development
> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> Flash Player in 2021 (Re: How to build from now on?)
>
> I have tested locally and confirmed that playerglobal.swc is listed in
> flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
> option-with-swf. That makes sense. So I guess you didn't use -P
> option-with-swf on one of the computers.
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala 
> wrote:
>
> > Yeah, that could be where it comes from. By why would that affect one
> > computer, but not another? That doesn't make sense to me. Unless maybe a
> > slightly different command is being run on the two computers. Are both
> > using option-with-swf?
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
> >
> > On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss 
> > wrote:
> >
> >> Not sure if this is related, but I found this in
> >> royale-compiler/compiler/pom.xml
> >>
> >> 
> >>   option-with-swf
> >>   
> >> 
> >> 
> >>   com.adobe.flash.framework
> >>   playerglobal
> >>   ${flash.version}
> >>   swc
> >>   runtime
> >> 
> >>   
> >> 
> >>
> >> From: Josh Tynjala
> >> Sent: Monday, April 5, 2021 7:26 PM
> >> To: Apache Royale Development
> >> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
> >> Flash Player in 2021 (Re: How to build from now on?)
> >>
> >> I wouldn't expect a compiler .jar file to have a dependency on any .swc
> >> files. That doesn't really make any sense to me. Chris might know, since
> >> he
> >> did the Maven stuff, but he may or may not be around to help anymore.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC 
> >>
> >>
> >> On Mon, Apr 5, 2021 at 4:14 AM Yishay Weiss 
> >> wrote:
> >>
> >> > One more thing, perhaps related. I’m getting a different in the
> >> > flex-compiler-oem-0.9.8.jar between my local system and the CI server
> >> > because of this line
> >> >
> >> > +  - playerglobal  com.adobe.flash.framework:playerglobal:swc:20.0
> >> >
> >> > In META-INF/DEPENDENCIES
> >> >
> >> > which only exists in one of the systems. Any ideas on how to get
> around
> >> > that?
> >> >
> >> > Thanks.
> >> >
> >> > From: Yishay Weiss
> >> > Sent: Monday, April 5, 2021 10:36 AM
> >> > To: dev@royale.apache.org
> >> > Subject: RE: [Discuss] What to do with SWF target now that Adobe
> removed
> >> > Flash Player in 2021 (Re: How to build from now on?)
> >> >
> >> > Hi Josh,
> >> >
> >> > I’m running release ant script which has
> >> >
> >> >  >> > failonerror="true" >
> >> > 
> >> > 
> >> > 
> >> > 
> >> >
> >> > This results in
> >> >
> >> >  [exec] [INFO] Installing
> >> >
> >>
> C:\temp2\sources\compiler-playerglobalc\target\compiler-playerglobalc-0.9.8-tests.jar
> >> > to C:\Users\yisha\.m2\repository\org\apache\royale\compile
> >> > r\compiler-playerglobalc\0.9.8\compiler-playerglobalc-0.9.8-tests.jar
> >> >  [exec] [INFO]
> >> >  [exec] [INFO] <
> org.apache.royale.compiler:compiler
> >> > >-
> >> >  [exec] [INFO] Building Apache Royale: Compiler: Compiler 0.9.8
> >> >   [6/13]
> >> >  [exec] [INFO] [ jar
> >> > ]-
> >> >  [exec] [INFO] Couldn't find artifact:
> >> > com.adobe.flash.framework:20.0:playerglobal:pom
> >> >  [exec] [INFO]
> >> > 

META-INF/DEPENDENCIES Diff (was RE: [Discuss] What to do with SWF target now that Adobe removed Flash Player in 2021 (Re: How to build from now on?))

2021-04-07 Thread Yishay Weiss
Running  ant -f releasesteps.xml Release_Step_003 -Drelease.version=0.9.8 
succeeds on the CI server but fails my local pc because of this difference in 
DEPENDENCIES. So it’s the same command being run with different results, which 
means we can’t release.

The only differences I can think of are the mvn version (mine is 3.6.3, CI’s is 
3.6.0), and the java version (mine is 1.8.0_281, CI’s is 1.8.0_201).

I tried removing the playerglobal.swc from CI server’s .m2 repo and letting mvn 
download it but it’s the same result.

From: Josh Tynjala
Sent: Tuesday, April 6, 2021 7:42 PM
To: Apache Royale Development
Subject: Re: [Discuss] What to do with SWF target now that Adobe removed Flash 
Player in 2021 (Re: How to build from now on?)

I have tested locally and confirmed that playerglobal.swc is listed in
flex-compiler-oem's META-INF/DEPENDENCIES only when using -P
option-with-swf. That makes sense. So I guess you didn't use -P
option-with-swf on one of the computers.

--
Josh Tynjala
Bowler Hat LLC 


On Tue, Apr 6, 2021 at 9:23 AM Josh Tynjala 
wrote:

> Yeah, that could be where it comes from. By why would that affect one
> computer, but not another? That doesn't make sense to me. Unless maybe a
> slightly different command is being run on the two computers. Are both
> using option-with-swf?
>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Tue, Apr 6, 2021 at 1:58 AM Yishay Weiss 
> wrote:
>
>> Not sure if this is related, but I found this in
>> royale-compiler/compiler/pom.xml
>>
>> 
>>   option-with-swf
>>   
>> 
>> 
>>   com.adobe.flash.framework
>>   playerglobal
>>   ${flash.version}
>>   swc
>>   runtime
>> 
>>   
>> 
>>
>> From: Josh Tynjala
>> Sent: Monday, April 5, 2021 7:26 PM
>> To: Apache Royale Development
>> Subject: Re: [Discuss] What to do with SWF target now that Adobe removed
>> Flash Player in 2021 (Re: How to build from now on?)
>>
>> I wouldn't expect a compiler .jar file to have a dependency on any .swc
>> files. That doesn't really make any sense to me. Chris might know, since
>> he
>> did the Maven stuff, but he may or may not be around to help anymore.
>>
>> --
>> Josh Tynjala
>> Bowler Hat LLC 
>>
>>
>> On Mon, Apr 5, 2021 at 4:14 AM Yishay Weiss 
>> wrote:
>>
>> > One more thing, perhaps related. I’m getting a different in the
>> > flex-compiler-oem-0.9.8.jar between my local system and the CI server
>> > because of this line
>> >
>> > +  - playerglobal  com.adobe.flash.framework:playerglobal:swc:20.0
>> >
>> > In META-INF/DEPENDENCIES
>> >
>> > which only exists in one of the systems. Any ideas on how to get around
>> > that?
>> >
>> > Thanks.
>> >
>> > From: Yishay Weiss
>> > Sent: Monday, April 5, 2021 10:36 AM
>> > To: dev@royale.apache.org
>> > Subject: RE: [Discuss] What to do with SWF target now that Adobe removed
>> > Flash Player in 2021 (Re: How to build from now on?)
>> >
>> > Hi Josh,
>> >
>> > I’m running release ant script which has
>> >
>> > > > failonerror="true" >
>> > 
>> > 
>> > 
>> > 
>> >
>> > This results in
>> >
>> >  [exec] [INFO] Installing
>> >
>> C:\temp2\sources\compiler-playerglobalc\target\compiler-playerglobalc-0.9.8-tests.jar
>> > to C:\Users\yisha\.m2\repository\org\apache\royale\compile
>> > r\compiler-playerglobalc\0.9.8\compiler-playerglobalc-0.9.8-tests.jar
>> >  [exec] [INFO]
>> >  [exec] [INFO] < org.apache.royale.compiler:compiler
>> > >-
>> >  [exec] [INFO] Building Apache Royale: Compiler: Compiler 0.9.8
>> >   [6/13]
>> >  [exec] [INFO] [ jar
>> > ]-
>> >  [exec] [INFO] Couldn't find artifact:
>> > com.adobe.flash.framework:20.0:playerglobal:pom
>> >  [exec] [INFO]
>> > ===
>> >  [exec] [INFO]  - Installing Adobe Flash SDK 20.0
>> >  [exec] SLF4J: Class path contains multiple SLF4J bindings.
>> >  [exec] SLF4J: Found binding in
>> >
>> [jar:file:/C:/Users/yisha/.m2/repository/org/apache/flex/utilities/converter/flex-sdk-converter-maven-extension/1.0.0/flex-sdk-converter-m
>> > aven-extension-1.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> >  [exec] SLF4J: Found binding in
>> >
>> [jar:file:/C:/Users/yisha/.m2/repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> >  [exec] SLF4J: Found binding in
>> >
>> [jar:file:/C:/Users/yisha/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder
>> > .class]
>> >  [exec] SLF4J: Found binding in
>>