Good to know. However, assuming that Yishay is building the distribution as part of his efforts to do a release, it's probably best for him to run the longer clean build from the root so that he can be sure that his distribution doesn't unexpectedly include older build output.
-- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Thu, Apr 15, 2021 at 9:24 AM Piotr Zarzycki <piotrzarzyck...@gmail.com> wrote: > Josh, > > It is possible to generate distribution by running following command from > distribution folder; > > mvn clean install DdistributionTargetFolder=path_to_empty_folder > > Maybe it is neccassery build sdk upfront in first attempt, but later > creating distribution is a matter of 5 minutes max. > > Thanks, > Piotr > > czw., 15 kwi 2021 o 18:20 Josh Tynjala <joshtynj...@bowlerhat.dev> > napisaĆ(a): > > > You need to run Maven in the root of the repo rather than the > distribution > > folder: > > > > C:\dev\full_royale_sdk\royale-asjs > > > > To build a distribution you need to enable the with-distribution profile. > > > > To include SWF support you need to enable the option-with-swf profile > too. > > > > So something like this should give you a distribution: > > > > C:\dev\full_royale_sdk\royale-asjs>mvn clean install -P > > with-distribution,option-with-swf > > > > More details (and some additional profiles) here: > > > > > https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven > > > > -- > > Josh Tynjala > > Bowler Hat LLC <https://bowlerhat.dev> > > > > > > On Thu, Apr 15, 2021 at 7:05 AM Yishay Weiss <yishayj...@hotmail.com> > > wrote: > > > > > > > > Sorry if this has come up already but can anyone point me in the right > > > direction? > > > > > > I ran > > > > > > C:\dev\full_royale_sdk\royale-asjs\distribution>mvn clean install > > > > > > And got > > > > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single > > > (create-distro-packages) on project distribution: Failed to create as > > > sembly: Error adding file to archive: > > > > > > C:\dev\full_royale_sdk\royale-asjs\distribution\jars\compiler-mxmljsc\target\compiler-mxmljsc-0.9.8-SNAPSHOT.jar > > > -> [Help > > > 1] > > > > > > > > -- > > Piotr Zarzycki >