>  Maven central only serves released stuff. We get SNAPSHOT stuff from the
Apache Maven repo.

True saying Maven central I meant Apache Maven repo or whatever place this
is stored.

śr., 3 mar 2021 o 15:41 Christofer Dutz <christofer.d...@c-ware.de>
napisał(a):

> Hi Piotr,
>
> SNAPSHOT stuff is never downloaded from Maven central.
>
> Maven central only serves released stuff. We get SNAPSHOT stuff from the
> Apache Maven repo.
>
> BUT ... we only deploy snapshots for stuff on develop. Otherwise, the
> versions of feature branches would keep on overwriting the develop
> artifacts and we would have a non-deterministic behavior. So ... if we
> merged my changes in compiler and typedefs to develop, then the artifacts
> would be available in Apache's maven repo, otherwise you have to build them
> yourself.
>
> So, assuming my changes were merged to develop, then you could do it as
> you describe.
>
> Hope that explains things.
>
> Chris
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <piotrzarzyck...@gmail.com>
> Gesendet: Mittwoch, 3. März 2021 15:30
> An: Apache Royale Development <dev@royale.apache.org>
> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
>
> Chris,
>
> I'm reporting you how I used to create distribution and how I expected to
> be working. If I remember correctly If I run my command pom from
> distribution should take care of compiler/royale version - if the freshest
> stuff doesn't exists locally it should download from Maven central - where
> is the problem ? What has been changed that this doesn't work like that
> anymore ?
>
> In general preparing distribution should take max 5 minutes - I don't have
> to build whole framework at all.
>
> Thanks,
> Piotr
>
> śr., 3 mar 2021 o 14:53 Christofer Dutz <christofer.d...@c-ware.de>
> napisał(a):
>
> > Hi Piotr,
> >
> > Well, that's something completely different. So, you want to create a
> > distribution from what was already released?
> > That's not how the maven-assembly-plugin works. You can't think of the
> > distribution as some tooling you can apply to something else.
> > It's more a facet of the current build.
> >
> > Theoretically you should be able to do that if we also had a "
> > royale.framework.version" property and would use that in the
> distribution.
> > Then you could override the 4 properties:
> >
> >     <royale.build-tools.version>1.2.1</royale.build-tools.version>
> >     <royale.compiler.version>0.9.8-SNAPSHOT</royale.compiler.version>
> >     <royale.typedefs.version>0.9.8-SNAPSHOT</royale.typedefs.version>
> >     <royale.framework.version>0.9.8-SNAPSHOT</royale.
> > framework.version>
> >
> > But even that wouldn't work as we would still be missing 2 artifacts
> > for the older versions.
> > (I now zip up the shell scripts of the compiler module as one artifact
> > and the ACE typedef as a second artifact)
> >
> > If the distribution built from the current state works, we can start
> > shipping Maven-built distributions starting now, but not for earlier
> > versions.
> >
> > Chris
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > Gesendet: Mittwoch, 3. März 2021 14:36
> > An: Apache Royale Development <dev@royale.apache.org>
> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> >
> > Chris,
> >
> > What you are showing me is running and building SDK with distribution
> > - that is ok - this is one option, but If I already build whole SDK or
> > I would like to based my distribution on what I have in maven central
> > - I should be able to go to directory royale-asjs\distribution\ and run
> command:
> >
> > mvn clean compile
> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution
> >
> > I don't have to be forced to build SDK in order to prepare distribution.
> >
> >
> > śr., 3 mar 2021 o 14:30 Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > napisał(a):
> >
> > > You are running in what directory ?
> > >
> > > śr., 3 mar 2021 o 14:27 Christofer Dutz <christofer.d...@c-ware.de>
> > > napisał(a):
> > >
> > >> So I'm running:
> > >>
> > >> mvn  -DskipTests=true clean install
> > >> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P
> > >> with-distribution,option-with-swf
> > >>
> > >> And It's working nicely .. same as
> > >>
> > >> mvn -DskipTests=true clean install
> > >> -DdistributionTargetFolder=C:\Temp\RoyaleSDK-with-swf -P
> > >> with-distribution
> > >>
> > >>
> > >> Chris
> > >>
> > >>
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > >> Gesendet: Mittwoch, 3. März 2021 13:59
> > >> An: Apache Royale Development <dev@royale.apache.org>
> > >> Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven aligned
> > >>
> > >> Unfortunately it didn't work. After build in distribution I have
> > >> empty folder. Whole build of distribution took 36 seconds, which
> > >> definitely is not good:
> > >>
> > >> [INFO] Reactor Summary for Apache Royale: Distribution 0.9.8-SNAPSHOT:
> > >> [INFO]
> > >> [INFO] compc .............................................. SUCCESS
> > >> [
> > >>  8.952 s]
> > >> [INFO] compiler-asc ....................................... SUCCESS
> > >> [
> > >>  1.559 s]
> > >> [INFO] compiler-compc ..................................... SUCCESS
> > >> [
> > >>  1.567 s]
> > >> [INFO] compiler-compjsc ................................... SUCCESS
> > >> [
> > >>  1.284 s]
> > >> [INFO] compiler-mxmlc ..................................... SUCCESS
> > >> [
> > >>  1.347 s]
> > >> [INFO] compiler-mxmljsc ................................... SUCCESS
> > >> [
> > >>  1.683 s]
> > >> [INFO] compiler-optimizer ................................. SUCCESS
> > >> [
> > >>  1.675 s]
> > >> [INFO] compiler-swfdump ................................... SUCCESS
> > >> [
> > >>  1.295 s]
> > >> [INFO] mxmlc .............................................. SUCCESS
> > >> [
> > >>  1.305 s]
> > >> [INFO] Apache Royale: Distribution ........................ SUCCESS
> > >> [
> > >> 14.948 s]
> > >> [INFO]
> > >> -------------------------------------------------------------------
> > >> --
> > >> ---
> > >> [INFO] BUILD SUCCESS
> > >> [INFO]
> > >> -------------------------------------------------------------------
> > >> --
> > >> ---
> > >> [INFO] Total time:  36.807 s
> > >> [INFO] Finished at: 2021-03-03T13:55:54+01:00 [INFO]
> > >> -------------------------------------------------------------------
> > >> --
> > >> ---
> > >>
> > >> D:\Work\royale-sources\royale-asjs\distribution>
> > >>
> > >> I'm not sure what is happening.
> > >>
> > >> śr., 3 mar 2021 o 13:32 Christofer Dutz <christofer.d...@c-ware.de>
> > >> napisał(a):
> > >>
> > >> > Hi Piotr,
> > >> >
> > >> > sorry for the confusion earlier ... guess that was something that
> > >> > changed in Maven ...
> > >> > What you did should work and be all you need.
> > >> > But be sure to check-out all 3 repos in the feature-branch and
> > >> > run a mvn install on them as they need one new artifact from
> > >> > compiler and one new artifact from typedefs.
> > >> >
> > >> > Chris
> > >> >
> > >> >
> > >> > -----Ursprüngliche Nachricht-----
> > >> > Von: Piotr Zarzycki <piotrzarzyck...@gmail.com>
> > >> > Gesendet: Mittwoch, 3. März 2021 12:09
> > >> > An: Apache Royale Development <dev@royale.apache.org>
> > >> > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > aligned
> > >> >
> > >> > Cool. I have switched to your branch. How do I generate
> > >> > distribution now using Maven ? I did that previously by:
> > >> >
> > >> > royale-asjs\distribution\ mvn clean compile
> > >> > -DdistributionTargetFolder=d:\Work\royale_ide\distribution\
> > >> >
> > >> > śr., 3 mar 2021 o 11:43 Christofer Dutz
> > >> > <christofer.d...@c-ware.de>
> > >> > napisał(a):
> > >> >
> > >> > > Ok ...
> > >> > >
> > >> > > you don't need to switch all 3 to my "ranch" but to my "branch"
> > >> > > - Mainly because I don't have a ranch.
> > >> > >
> > >> > > But I think I've addressed everything I found ... would be cool
> > >> > > if you folks could mass-test it.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > > -----Ursprüngliche Nachricht-----
> > >> > > Von: Christofer Dutz <christofer.d...@c-ware.de>
> > >> > > Gesendet: Mittwoch, 3. März 2021 00:09
> > >> > > An: dev@royale.apache.org
> > >> > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > > aligned
> > >> > >
> > >> > > And regarding that Halo.swc,
> > >> > >
> > >> > > I would use a different one, as using the js typedef really
> > >> > > feels a bit random.
> > >> > > But that's something for tomorrow... Signing off for today.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > > Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
> > >> > >
> > >> > > ________________________________
> > >> > > From: Christofer Dutz <christofer.d...@c-ware.de>
> > >> > > Sent: Wednesday, March 3, 2021 12:06:32 AM
> > >> > > To: dev@royale.apache.org <dev@royale.apache.org>
> > >> > > Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > > aligned
> > >> > >
> > >> > > No,
> > >> > >
> > >> > > Unfortunately you need to switch all 3 to my ranch and build
> > >> > > all of them, cause it produces one more artifact in compiler
> > >> > > and in the
> > >> typedef.
> > >> > >
> > >> > > Chris
> > >> > >
> > >> > > Holen Sie sich Outlook für Android<https://aka.ms/ghei36>
> > >> > >
> > >> > > ________________________________
> > >> > > From: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > Sent: Tuesday, March 2, 2021 11:14:19 PM
> > >> > > To: Apache Royale Development <dev@royale.apache.org>
> > >> > > Subject: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > > aligned
> > >> > >
> > >> > > I'm guessing that Flash Builder expects
> > >> > > frameworks/themes/Halo/Halo.swc to exist, and it must be a
> > >> > > valid .swc file. So, the person who set that up probably just
> > >> > > copied one of the
> > >> > existing .swc files.
> > >> > >
> > >> > > --
> > >> > > Josh Tynjala
> > >> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > >
> > >> > >
> > >> > > On Tue, Mar 2, 2021 at 2:01 PM Christofer Dutz
> > >> > > <christofer.d...@c-ware.de>
> > >> > > wrote:
> > >> > >
> > >> > > > Hi Josh,
> > >> > > >
> > >> > > > Well it would probably take me 10 seconds to add them ... I
> > >> > > > just didn't want to add stuff we don't need.
> > >> > > > So I'll leave them away and if someone complains - I'll add
> > >> > > > them
> > >> > > > ;-)
> > >> > > >
> > >> > > > However the comment in the Ant script says:
> > >> > > >
> > >> > > >         <!-- fake a bunch of files to make the folder appear
> > >> > > > like a valid Flex SDK to Flash Builder -->
> > >> > > >
> > >> > > > So I already had all the other dummy files in there, so I now
> > >> > > > just added these.
> > >> > > >
> > >> > > > In this block there is however this command which sort of
> > >> > > > seems pretty strange ... can anyone explain what it's required
> for?
> > >> > > >
> > >> > > >         <copy file="${ROYALE_HOME}/js/libs/js.swc"
> > >> > > >         tofile="${ROYALE_HOME}/frameworks/themes/Halo/Halo.swc"
> > >> > > > />
> > >> > > >
> > >> > > > It looks like just providing some random SWC file in a
> > >> > > > location the FlashBuilder might be looking for.
> > >> > > >
> > >> > > > Perhaps it would make sense to refactor my descriptors to
> > >> > > > have a "flashbuilder-support-assembly.xml" which we could one
> > >> > > > day simply
> > >> > remove.
> > >> > > >
> > >> > > > Chris
> > >> > > >
> > >> > > > -----Ursprüngliche Nachricht-----
> > >> > > > Von: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > > Gesendet: Dienstag, 2. März 2021 22:47
> > >> > > > An: Apache Royale Development <dev@royale.apache.org>
> > >> > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > > > aligned
> > >> > > >
> > >> > > > > Can anyone tell me what the localfonts.ser, macfonts.ser
> > >> > > > > and winfonts.ser
> > >> > > > files are needed for?
> > >> > > >
> > >> > > > It's something related to SWF font embedding. I would assume
> > >> > > > that Flash Builder expects those files to exist, but if the
> > >> > > > Flash Builder integration document doesn't mention them, then
> > >> > > > I don't
> > >> know.
> > >> > > >
> > >> > > > --
> > >> > > > Josh Tynjala
> > >> > > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > > >
> > >> > > >
> > >> > > > On Tue, Mar 2, 2021 at 1:42 PM Christofer Dutz
> > >> > > > <christofer.d...@c-ware.de>
> > >> > > > wrote:
> > >> > > >
> > >> > > > > Hi Josh,
> > >> > > > >
> > >> > > > > Ok ... so that's done and looks a lot nicer now :-)
> > >> > > > >
> > >> > > > > I also finished the config-sanitazion and the config files
> > >> > > > > used in the Maven distribution should now match the file
> > >> > > > > names in the
> > >> > > distribution.
> > >> > > > >
> > >> > > > > Can anyone tell me what the localfonts.ser, macfonts.ser
> > >> > > > > and winfonts.ser files are needed for? They are simply
> > >> > > > > completely empty filed the Ant build createates via "touch"
> > >> > > > > commant. I could add them to the Maven distribution, but
> > >> > > > > only want to add stuff
> > >> > that's needed.
> > >> > > > >
> > >> > > > > But in it's current state I'm quite happy with the new
> > >> distribution.
> > >> > > > > It looks pretty clean, everything needed is in there and in
> > >> > > > > the same location as with the Ant build, but I left away
> > >> > > > > things I tought are probably not required in the
> > >> > > > > distribution and are results of simply packing the entire
> project up.
> > >> > > > >
> > >> > > > > I tested it with a number of example projects ant it worked
> > >> > > > > with all of them (Haven't tried all of them though)
> > >> > > > >
> > >> > > > > Would be cool if you could try it out and give me some
> > >> > > > > feedback on
> > >> > it.
> > >> > > > >
> > >> > > > > Chris
> > >> > > > >
> > >> > > > >
> > >> > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > Von: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > > > Gesendet: Dienstag, 2. März 2021 22:35
> > >> > > > > An: Apache Royale Development <dev@royale.apache.org>
> > >> > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and Maven
> > >> > > > > aligned
> > >> > > > >
> > >> > > > > The src directory is probably enough for a good IDE
> > >> > > > > experience while developing a Royale app.
> > >> > > > >
> > >> > > > > --
> > >> > > > > Josh Tynjala
> > >> > > > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > > > >
> > >> > > > >
> > >> > > > > On Tue, Mar 2, 2021 at 1:27 PM Christofer Dutz
> > >> > > > > <christofer.d...@c-ware.de>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hi all,
> > >> > > > > >
> > >> > > > > > one question: Is it enough to package up the src
> > >> > > > > > directories of all modules in the "projects" directory to
> > >> > > > > > allow the
> > >> code-insights?
> > >> > > > > >
> > >> > > > > > I'm asking, cause I'm only packing up the essential parts
> > >> > > > > > of the
> > >> > > "asjs"
> > >> > > > > > project and don't want to have a half build system included.
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Christofer Dutz <christofer.d...@c-ware.de>
> > >> > > > > > Gesendet: Montag, 1. März 2021 23:18
> > >> > > > > > An: dev@royale.apache.org
> > >> > > > > > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > > > > > Maven aligned
> > >> > > > > >
> > >> > > > > > Aaaaah ... ok ... thanks for the explanation.
> > >> > > > > >
> > >> > > > > > That does make sense ... guess I just never completely
> > >> > > > > > understood the typedef stuff ;)
> > >> > > > > >
> > >> > > > > > ... so I'll have to find a way to streamline the names of
> > >> > > > > > the typedef libraries in all of these 2 (Well actually
> > >> > > > > > probably just
> > >> > > > > > 2)
> > >> > > > > > - external-library-path
> > >> > > > > > - js-external-library-path
> > >> > > > > >
> > >> > > > > > But that will be a thing for tomorrow ... calling it a
> > >> > > > > > day and signing off for today.
> > >> > > > > >
> > >> > > > > > I just pushed my changes from today ... so if you folks
> > >> > > > > > want to check what I'm doing ... now you have something
> > >> > > > > > to look at
> > >> > > > > > :.)
> > >> > > > > >
> > >> > > > > > Chris
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > Von: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > > > > Gesendet: Montag, 1. März 2021 23:13
> > >> > > > > > An: Apache Royale Development <dev@royale.apache.org>
> > >> > > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > > > > > Maven aligned
> > >> > > > > >
> > >> > > > > > As you've seen, there are three different
> > >> > > > > > external-library-path
> > >> > > > options:
> > >> > > > > > external-library-path, js-external-library-path and
> > >> > > > > > swf-external-library-path.
> > >> > > > > >
> > >> > > > > > By default, external-library-path is used by both JS and
> > >> > > > > > SWF targets, but you can use js-external-library-path or
> > >> > > > > > swf-external-library-path to override the
> > >> > > > > > external-library-path for a
> > >> > > > specific target.
> > >> > > > > >
> > >> > > > > > In other words, if js-external-library-path is defined:
> > >> > > > > >
> > >> > > > > > - the JS target will use js-external-library-path, and it
> > >> > > > > > will ignore external-library-path
> > >> > > > > > - the SWF target will still use external-library-path
> > >> > > > > >
> > >> > > > > > Similarly, if swf-external-library-path is defined:
> > >> > > > > >
> > >> > > > > > - the SWF target will use swf-external-library-path, and
> > >> > > > > > it will ignore external-library-path
> > >> > > > > > - the JS target will still use external-library-path
> > >> > > > > >
> > >> > > > > >  If both js-external-library-path and
> > >> > > > > > swf-external-library-path are
> > >> > > > > > defined:
> > >> > > > > >
> > >> > > > > > - the JS target will use js-external-library-path, and it
> > >> > > > > > will ignore external-library-path
> > >> > > > > > - the SWF target will use swf-external-library-path, and
> > >> > > > > > it will ignore external-library-path
> > >> > > > > >
> > >> > > > > > The air-config.xml, flex-config.xml, and
> > >> > > > > > royale-config.xml configs are all expected to be used for
> > >> > > > > > both JS and SWF
> > targets.
> > >> > > > > > Different libraries are needed for each target, so we're
> > >> > > > > > using js-external-library-path to override which
> > >> > > > > > libraries are used for the JS target. The SWF target will
> > >> > > > > > use
> > >> external-library-path.
> > >> > > > > >
> > >> > > > > > The other -config.xml files are configs that are expected
> > >> > > > > > to be used with JS only. Basically, these ones can use
> > >> > > > > > external-library-path directly because they don't need to
> > >> > > > > > target SWF. If we wanted, we could change them to use
> > >> > > > > > js-external-library-path instead, and they should
> > >> > > > > still work.
> > >> > > > > >
> > >> > > > > > In theory, we could always use js-external-library-path
> > >> > > > > > and swf-external-library-path, and never use
> > external-library-path.
> > >> > > > > > However, I do not recall if there was some legacy reason
> > >> > > > > > (like Flash Builder support) for why we defaulted to
> > >> > > > > > playerglobal.swc on the external-library-path for the SWF
> > >> > > > > > target instead of using swf-external-library-path. I
> > >> > > > > > think that js-external-library-path or
> > >> > > > > > swf-external-library-path were introduced before I
> > >> > > > > > started working on
> > >> > > > > the compiler, so I can only guess.
> > >> > > > > >
> > >> > > > > > --
> > >> > > > > > Josh Tynjala
> > >> > > > > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > On Mon, Mar 1, 2021 at 1:45 PM Christofer Dutz
> > >> > > > > > <christofer.d...@c-ware.de>
> > >> > > > > > wrote:
> > >> > > > > >
> > >> > > > > > > Hi Josh,
> > >> > > > > > >
> > >> > > > > > > While comparing the results I noticed there are some
> > >> > > > > > > inconsistencies in the config files and I'm currently
> > >> > > > > > > not quite sure to which is the correct
> > >> > > > > > > version:
> > >> > > > > > >
> > >> > > > > > > In:
> > >> > > > > > > - ace-config.xml
> > >> > > > > > > - create-js-config.xml
> > >> > > > > > > - jquery-config.xml
> > >> > > > > > > - js-config.xml
> > >> > > > > > > - node-config.xml
> > >> > > > > > > The typedefs are defined in an element called:
> > >> > > > > > > external-library-path
> > >> > > > > > >
> > >> > > > > > > In:
> > >> > > > > > > - air-config.xml
> > >> > > > > > > - flex-config.xml
> > >> > > > > > > - royale-config.xml
> > >> > > > > > > The typedefs are defined in an element called:
> > >> > > > > > > js-external-library-path
> > >> > > > > > >
> > >> > > > > > > Which is the correct version?
> > >> > > > > > >
> > >> > > > > > > Also are the target-player and swf-version defined as
> > >> > > > > > > properties in all configs except:
> > >> > > > > > > - asdoc-config.xml (player 11.1 swf: 14)
> > >> > > > > > >
> > >> > > > > > > Probably it would make sense to process the
> > >> > > > > > > asdoc-config.xml the same way as all the others.
> > >> > > > > > > Right now I'd just keep it the way it is. Just thought
> > >> > > > > > > I'd point it
> > >> > > > > out.
> > >> > > > > > >
> > >> > > > > > > Chris
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > > Von: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > > > > > Gesendet: Montag, 1. März 2021 19:29
> > >> > > > > > > An: Apache Royale Development <dev@royale.apache.org>
> > >> > > > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > > > > > > Maven aligned
> > >> > > > > > >
> > >> > > > > > > Hi Chris,
> > >> > > > > > >
> > >> > > > > > > Yes, that looks to me to be what the Ant build is doing
> > >> > > > > > > too, so I think you are correct.
> > >> > > > > > >
> > >> > > > > > > --
> > >> > > > > > > Josh Tynjala
> > >> > > > > > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > On Mon, Mar 1, 2021 at 10:21 AM Christofer Dutz
> > >> > > > > > > <christofer.d...@c-ware.de
> > >> > > > > > > >
> > >> > > > > > > wrote:
> > >> > > > > > >
> > >> > > > > > > > Hi Josh
> > >> > > > > > > >
> > >> > > > > > > > Yeah .. I saw in the commit history, that they sort
> > >> > > > > > > > of were creatd shortly after the big-bang ;-) ...
> > >> > > > > > > >
> > >> > > > > > > > That's why I decided to take these as basis.
> > >> > > > > > > >
> > >> > > > > > > > What I'm now doing is generate a config from each by:
> > >> > > > > > > >
> > >> > > > > > > > 1. Replacing the playerversion 2. Replacing the
> > >> > > > > > > > swfversion
> > >> 3.
> > >> > > > > > > > Replacing the locale 4. In case of a no-swf
> > >> > > > > > > > distribution filtering out the references to
> > >> > > > > > > > playerglobal
> > >> > > > > > > >
> > >> > > > > > > > I hope I got things right ... but I'm only including
> > >> > > > > > > > the output in the distribution and not the templates,
> > >> > > > > > > > as I assume they are not
> > >> > > > > > needed.
> > >> > > > > > > >
> > >> > > > > > > > Is that corect?
> > >> > > > > > > >
> > >> > > > > > > > Chris
> > >> > > > > > > >
> > >> > > > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > > > Von: Josh Tynjala <joshtynj...@bowlerhat.dev>
> > >> > > > > > > > Gesendet: Montag, 1. März 2021 18:46
> > >> > > > > > > > An: Apache Royale Development <dev@royale.apache.org>
> > >> > > > > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > > > > > > > Maven aligned
> > >> > > > > > > >
> > >> > > > > > > > I can tell you that the template config files have
> > >> > > > > > > > existed since the Flex days. The "create-config" task
> > >> > > > > > > > in frameworks/build.xml replaces certain tokens in
> > >> > > > > > > > the template based on the Ant build's current
> > >> > > > > > > configuration.
> > >> > > > > > > >
> > >> > > > > > > > Traditionally, a distribution would include all of
> > >> > > > > > > > the Ant build.xml files to allow users to manually
> > >> > > > > > > > rebuild the framework with local changes. If this
> > >> > > > > > > > still holds true, then the config templates are
> > >> > > > > > > probably required.
> > >> > > > > > > >
> > >> > > > > > > > --
> > >> > > > > > > > Josh Tynjala
> > >> > > > > > > > Bowler Hat LLC <https://bowlerhat.dev>
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > On Sun, Feb 28, 2021 at 1:07 PM Christofer Dutz
> > >> > > > > > > > <christofer.d...@c-ware.de
> > >> > > > > > > > >
> > >> > > > > > > > wrote:
> > >> > > > > > > >
> > >> > > > > > > > > Hi Carlos,
> > >> > > > > > > > >
> > >> > > > > > > > > no ... the templates weren't created by me ... they
> > >> > > > > > > > > always were in the frameworks dir ... I think the
> > >> > > > > > > > > ANT build takes the templates and inserts variables
> > >> > > > > > > > > to generate the real
> > >> > > versions.
> > >> > > > > > > > > I think I'll try to use these to do the same with
> > >> > > > > > > > > maven
> > >> ...
> > >> > > > > > > > > unfortunately the files have gotten pretty out of
> sync.
> > >> > > > > > > > >
> > >> > > > > > > > > But can anyone here tell me if the "template" files
> > >> > > > > > > > > need to be in the distribution? Are they needed for
> > anything?
> > >> > > > > > > > > Cause I would just add the generated versions.
> > >> > > > > > > > >
> > >> > > > > > > > > Chris
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > > > > Von: Carlos Rovira <carlosrov...@apache.org>
> > >> > > > > > > > > Gesendet: Sonntag, 28. Februar 2021 16:53
> > >> > > > > > > > > An: Apache Royale Development
> > >> > > > > > > > > <dev@royale.apache.org>
> > >> > > > > > > > > Betreff: Re: [MAVEN DISTRIBUTION] getting the Ant
> > >> > > > > > > > > and Maven aligned
> > >> > > > > > > > >
> > >> > > > > > > > > Hi Chris,
> > >> > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > I do have some questions:
> > >> > > > > > > > > > - the "framework" directory contains a log of
> tupples:
> > >> > > > > > > > > > xyz-config-template.xml and xyz-config.xml: Where
> > >> > > > > > > > > > does the xyz-config.xml get generated from the
> > >> > > > > > > > > > template in the ANT
> > >> > > > build?
> > >> > > > > > > > > > (I assume it generates them from the templates as
> > >> > > > > > > > > > part of the
> > >> > > > > > > build)...
> > >> > > > > > > > > > could we possibly omit the "templates"? It seems
> > >> > > > > > > > > > as if they are only needed to generate the
> > >> > > > > > > > > > configs for a given set of configured properties.
> > >> > > > > > > > > > If that's the case, we don't need them in the
> > >> > > > > > > distribution.
> > >> > > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > I always though the template was created by you
> > >> > > > > > > > > when you created the maven build for Royale. So if
> > >> > > > > > > > > you think you can remove templates, I think it
> > >> > > > > > > > > would be good to reduce files if they are not
> > >> > > > > > used at all.
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > > - The root element of the flex-config.xml was
> > >> > > > > > > > > > named
> > >> > > > > > "roayale-config"
> > >> > > > > > > > > > in the Maven distribution and "flex-config" in
> > >> > > > > > > > > > the Ant distribution and it contained a reference
> > >> > > > > > > > > > to the mxml-2009-manifest.xml. Also did the Ant
> > >> > > > > > > > > > version contain a lot more implicit imports as
> > >> > > > > > > > > > well as a fxg-base-class element
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > maybe this could be the problem we're facing with
> > >> > > > > > > > > fx:Array
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > > So far the changes I found ... I updated the
> > >> > > > > > > > > > distribution in the
> "features/distribution-allignment"
> > >> > branch.
> > >> > > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > Great!
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > But I guess I'll keep working on this and try to
> > >> > > > > > > > > > get the maven distribution to have the same
> > >> > > > > > > > > > directory structure as the Ant one (but excluding
> > >> > > > > > > > > > all the
> > >> unnecessary stuff).
> > >> > > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > Chris, let us know when is safe to test, and I'll
> > >> > > > > > > > > do a
> > >> try.
> > >> > > > > > > > >
> > >> > > > > > > > > Thanks for working on this!
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > Chris
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > > > > > Von: Christofer Dutz <christofer.d...@c-ware.de>
> > >> > > > > > > > > > Gesendet: Sonntag, 28. Februar 2021 12:28
> > >> > > > > > > > > > An: dev@royale.apache.org
> > >> > > > > > > > > > Betreff: AW: [MAVEN DISTRIBUTION] getting the Ant
> > >> > > > > > > > > > and Maven aligned
> > >> > > > > > > > > >
> > >> > > > > > > > > > Ok ... regarding the Array problem ...
> > >> > > > > > > > > >
> > >> > > > > > > > > > I have found the "Array.as" file in
> "compiler-externc"
> > >> > > > > > > > > > and "royale-typedefs/js" ... both are identical ...
> > >> > > > > > > > > > I'm not quite sure which one is used (I'm a bit
> > >> > > > > > > > > > rusty regarding how all of these externs and
> > >> > > > > > > > > > stuff work
> > >> > > > > > > > > > together)
> > >> > > > > > > > > >
> > >> > > > > > > > > > I did check and the royale-config.xml lists the
> > >> > > > > > > > > > mxml-2009-manifest.xml (in both the non-swf as
> > >> > > > > > > > > > well as the with-swf
> > >> > > > > > > > > > version) so not quite sure why adding that to the
> > >> > > > > > > > > > configuration
> > >> > > > > > > > changes anything.
> > >> > > > > > > > > >
> > >> > > > > > > > > > Chris
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > -----Ursprüngliche Nachricht-----
> > >> > > > > > > > > > Von: Christofer Dutz <christofer.d...@c-ware.de>
> > >> > > > > > > > > > Gesendet: Sonntag, 28. Februar 2021 12:08
> > >> > > > > > > > > > An: dev@royale.apache.org
> > >> > > > > > > > > > Betreff: [MAVEN DISTRIBUTION] getting the Ant and
> > >> > > > > > > > > > Maven aligned
> > >> > > > > > > > > >
> > >> > > > > > > > > > Hi all,
> > >> > > > > > > > > >
> > >> > > > > > > > > > so thankfully Carlos re-sent me this link:
> > >> > > > > > > > > > flex-sdk/README_integration_with_Adobe_FlashBuild
> > >> > > > > > > > > > er
> > >> > > > > > > > > > .tx
> > >> > > > > > > > > > t
> > >> > > > > > > > > > at master
> > >> > > > > > > > > > * apache/flex-sdk (github.com)<
> > >> > > > > > > > > > https://github.com/apache/flex-sdk/blob/master/id
> > >> > > > > > > > > > e/
> > >> > > > > > > > > > fla
> > >> > > > > > > > > > sh
> > >> > > > > > > > > > bu il de r/ RE AD ME
> > >> > > > > > > > > > _integration_with_Adobe_FlashBuilder.txt
> > >> > > > > > > > > > >
> > >> > > > > > > > > >
> > >> > > > > > > > > > So it seems as if we don't have a
> > >> > > > > > > > > > ide/flashbuilder/flashbuilder-config.xml
> > >> > > > > > > > > > with a "express-install-swf" element in it (we
> > >> > > > > > > > > > don't have the entire
> > >> > > > > > > > > > file) ... do we need this?
> > >> > > > > > > > > >
> > >> > > > > > > > > > Besides that, it seems all is setup as expected.
> > >> > > > > > > > > >
> > >> > > > > > > > > > Will continue looking into other things that
> > >> > > > > > > > > > could be
> > >> > wrong.
> > >> > > > > > > > > >
> > >> > > > > > > > > > Chris
> > >> > > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > >
> > >> > > > > > > > > --
> > >> > > > > > > > > Carlos Rovira
> > >> > > > > > > > > Apache Member & Apache Royale PMC *Apache Software
> > >> > > > > > > > > Foundation* http://about.me/carlosrovira
> > >> > > > > > > > >
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Piotr Zarzycki
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Piotr Zarzycki
> > >>
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
>
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki

Reply via email to