apache / royale-asjs

Apache Royale ASJS
Apache License 2.0
370 stars 116 forks source link

Build failure: 0.96 #530

Open T-San001 opened 4 years ago

T-San001 commented 4 years ago

The following problem was fixed by removing -SNAPSHOT from royale.framework.version in examples¥Pom.xml.

————————————————— I run "mvn clean install" at C:\apache-royale-0.9.6-bin-js\royale-asjs\examples on Windows 10 with Japanese.  Build failed with the following console.

This is the first time build of Apache Royale examples on this machine.  I cannot fine the subject WAR file in the designated link. 

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time:  19:06 min [INFO] Finished at: 2019-10-27T14:01:01+09:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-fonts) on project DataBindingExample_Flat: Unable to find artifact.: Could not find artifact org.apache.royale.framework:Fonts:war:0.9.6-SNAPSHOT in apache-snapshots (https://repository.apache.org/content/repositories/snapshots) [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR]     mvn install:install-file -DgroupId=org.apache.royale.framework -DartifactId=Fonts -Dversion=0.9.6-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file

carlosrovira commented 4 years ago

Hi,

to build examples, first you need to build in your local machine the three repos of Royale in order: 1.- compiler 2.- typedefs 3.- framework (royale-asjs)

have you perform that three steps?

then you'll have in your .m2 the latest snapshot (currently 0.9.7-SNAPSHOT) and you can go to examples dir an run mvn clean install to build all examples.

T-San001 commented 4 years ago

Carlos, that’s mvn build. What I’m asking now is how to compile application tutorial’s mxml with project.json using mxmlc. Tutorial does not mention where to put project.json. Then, I’m asking it.

2019年10月28日(月) 17:56 Carlos Rovira notifications@github.com:

Hi,

to build examples, first you need to build in your local machine the three repos of Royale in order: 1.- compiler 2.- typedefs 3.- framework (royale-asjs)

have you perform that three steps?

then you'll have in your .m2 the latest snapshot (currently 0.9.7-SNAPSHOT) and you can go to examples dir an run mvn clean install to build all examples.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/530?email_source=notifications&email_token=AESPMHW3NBDOLNRWTSXU5J3QQ2SK7A5CNFSM4JFUOBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMETII#issuecomment-546851233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESPMHXDCAYRYUBWNVPPMSLQQ2SK7ANCNFSM4JFUOBRA .

-- Shoichiro Takeshita 武下 祥一郎

carlosrovira commented 4 years ago

Hi Takeshita, but that refers to the other issue I just responded right? Anyway for this maven issue, I just read you conversation with @aharui . I'm just building all, to test nothing is broken, but I'm not on windows, I'm on Mac, so maybe there's still an issue in Windows for what I read of that conversation. thanks

T-San001 commented 4 years ago

Carols, this is different than Maven issue. It is solved. This is a new question re Application Tutorial build explained in the Royale homepage.

2019年10月28日(月) 18:03 Carlos Rovira notifications@github.com:

Hi Takeshita, but that refers to the other issue I just responded right? Anyway for this maven issue, I just read you conversation with @aharui https://github.com/aharui . I'm just building all, to test nothing is broken, but I'm not on windows, I'm on Mac, so maybe there's still an issue in Windows for what I read of that conversation. thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/530?email_source=notifications&email_token=AESPMHT5BRPPSUZ5A3GRWZDQQ2TG7A5CNFSM4JFUOBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMFHQA#issuecomment-546853824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESPMHW37PE5B3NJCDS7JZTQQ2TG7ANCNFSM4JFUOBRA .

-- Shoichiro Takeshita 武下 祥一郎

piotrzarzycki21 commented 4 years ago

Carlos,

It is not needed. All stuff is available online on main Apache, so those example should be buildable without building anything else by using -s settings-template.xml or even without that.

Thanks, Piotr

pon., 28 paź 2019 o 09:56 Carlos Rovira notifications@github.com napisał(a):

Hi,

to build examples, first you need to build in your local machine the three repos of Royale in order: 1.- compiler 2.- typedefs 3.- framework (royale-asjs)

have you perform that three steps?

then you'll have in your .m2 the latest snapshot (currently 0.9.7-SNAPSHOT) and you can go to examples dir an run mvn clean install to build all examples.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/530?email_source=notifications&email_token=AF3K2K4BJJTAGT74P5GJZ7TQQ2SK5A5CNFSM4JFUOBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMETII#issuecomment-546851233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF3K2K6A2ZOM2ONL5274OR3QQ2SK5ANCNFSM4JFUOBRA .

--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki https://www.patreon.com/piotrzarzycki

piotrzarzycki21 commented 4 years ago

Hi,

to build examples, first you need to build in your local machine the three repos of Royale in order: 1.- compiler 2.- typedefs 3.- framework (royale-asjs)

have you perform that three steps?

then you'll have in your .m2 the latest snapshot (currently 0.9.7-SNAPSHOT) and you can go to examples dir an run mvn clean install to build all examples.

@carlosrovira

It is not needed. All stuff is available online on main Apache repository, so those example should be buildable without building anything else by using -s settings-template.xml or even without that.

T-San001 commented 4 years ago

Hi,

project.json is explained here. https://apache.github.io/royale-docs/create-an-application/application-tutorial/data-model

Compile command is here, but no project.json specified.

https://apache.github.io/royale-docs/create-an-application/application-tutorial/build

On Mon, Oct 28, 2019 at 8:17 PM Piotr Zarzycki notifications@github.com wrote:

Hi,

to build examples, first you need to build in your local machine the three repos of Royale in order: 1.- compiler 2.- typedefs 3.- framework (royale-asjs)

have you perform that three steps?

then you'll have in your .m2 the latest snapshot (currently 0.9.7-SNAPSHOT) and you can go to examples dir an run mvn clean install to build all examples.

@carlosrovira https://github.com/carlosrovira

It is not needed. All stuff is available online on main Apache, so those example should be buildable without building anything else by using -s settings-template.xml or even without that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/530?email_source=notifications&email_token=AESPMHXDUTAPX55YKXWLZ4TQQ3C33A5CNFSM4JFUOBRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMQZ3Y#issuecomment-546901231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESPMHQTI4GJFC6EWVV3NHDQQ3C33ANCNFSM4JFUOBRA .

-- Shoichiro Takeshita 武下 祥一郎

Harbs commented 2 years ago

The instructions are not very clear on how to build. I think the easiest path for the tutorial is using asconfig.json to configure the project. @cottage14 thoughts?

cottage14 commented 2 years ago

I will take a look over the next day or so. We are much involved with closing up the house of a dear friend who died just at Christmas.

On Wed, Dec 29, 2021 at 6:56 PM Harbs @.***> wrote:

The instructions are not very clear on how to build. I think the easiest path for the tutorial is using asconfig.json to configure the project. @cottage14 https://github.com/cottage14 thoughts?

— Reply to this email directly, view it on GitHub https://github.com/apache/royale-asjs/issues/530#issuecomment-1002804668, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3RFXOLHP3RNX7UB5VBRS3UTOGZJANCNFSM4JFUOBRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- Andrew Wetmore

Editor, Moose House Publications https://moosehousepress.com Editor-Writer, The Apache Software Foundation https://apache.org

Harbs commented 2 years ago

No worries. So sorry to hear! 😢