Chris,

frameworks/libs doesn't exists at all.

What occurs to me that I actually don't know what kind of distribution
package I'm building. Is it js-only distribution or is it js-swf
distribution ?

Thanks,
Piotr

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

> Hi Piotr,
>
> this is strange ... from the log output it seems as if the
> "frameworks/libs" doesn't contain any of the libraries.
> Could you please confirm if the directory really doesn't contain them?
>
> Chris
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Piotr Zarzycki <piotrzarzyck...@gmail.com>
> Gesendet: Freitag, 5. März 2021 12:19
> An: Apache Royale Development <dev@royale.apache.org>
> Betreff: Re: PRs ready for distribution alignment
>
> Hi Chris,
>
> Thanks for all work. After rebuilding whole framework I just tried produce
> distribution by going to the folder of it and do:
>
> mvn clean install
> -DdistributionTargetFolder=d:\Work\royale_ide\distribution
>
> It works without doing set
> distributionTargetFolder=d:\Work\royale_ide\distribution.
>
> I went to Moonshine and tried to build with produced distribution our
> project and I got following errors - I won't post here full stacktrace [1]
>
> [1] https://paste.apache.org/c2qv1
>
> Thanks,
> Piotr
>
>
>
>
>
>
>
>
> pt., 5 mar 2021 o 10:10 Christofer Dutz <christofer.d...@c-ware.de>
> napisał(a):
>
> > Hi all,
> >
> > I have, as far as I know, finished the work on aligning the Maven
> > built and the Ant built distribution.
> > A few things have changed in the Maven distribution compared to the
> > earlier ones:
> >
> >
> >   *   All scripts (in the bin and js/bin) directory are now identical to
> > the ones in the Ant distribution.
> >   *   The manifests are no longer contained in a "manifests" directory
> but
> > are in the same location as they are for the Ant build.
> >   *   I now include the sources of the projects, which should simplify
> > debugging.
> >
> > The probably most important change is that I no longer have copies of
> > the scripts and main manifests in the distribution resources. These
> > resources now only contain the empty dummy files needed by
> > FlashBuilder. It seems these were updated in the project, but the
> > copies weren't. Therefore, the scripts as well as the manifests
> > weren't identical in Ant and Maven distributions. I solved that
> > problem by now taking the exact same files and copying them in the
> > assembly. The manifests needed minor tweaking which I am now doing via
> an XSLT in the build.
> >
> > Also did I refactor everything just needed for FlashBuilder support
> > out into a separate assembly file. This way we have all the stuff that
> > doesn't seem to make sense in one place and if we should decide to
> > drop FB support, we just need to remove that assembly descriptor.
> >
> > Would be cool if you could give the changes a try.
> >
> > Please note that you need to checkout the feature branch
> > "feature/distribution" in both the compiler as well as the asjs repo
> > (For some reason my addition of the ACE typedef seems to have gone to
> > the develop branch of the typedef repo, so it should already be
> available.
> >
> > Hope you like the changes and hope they work for you the same way they
> > do for me (I think Carlos also reported that he was successfully able
> > to compile every example he tried in VSCode with it)
> >
> > The two PRs needing merging after review are:
> > Feature/distribution allignment by chrisdutz * Pull Request #180 *
> > apache/royale-compiler (github.com)<
> > https://github.com/apache/royale-compiler/pull/180>
> > Feature/distribution allignment by chrisdutz * Pull Request #1087 *
> > apache/royale-asjs (github.com)<
> > https://github.com/apache/royale-asjs/pull/1087>
> >
> >
> > Chris
> >
> >
>
> --
>
> Piotr Zarzycki
>


-- 

Piotr Zarzycki

Reply via email to