royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Amended Button still not in Nightly Build
Date Thu, 08 Feb 2018 18:45:13 GMT
In bin/js-debug is a pile of JS files.  Some of them come from SWCs, some come from the compiling
of your application sources.  Every time you run the compiler, the JS files corresponding
to your application source MXML and AS files are overwritten.  But the JS files corresponding
to classes from a SWC are not overwritten.  So, if I change to a newer SWC with a fix for
Button, the Button.js will not be updated and I wonder why my fix didn't work.  That's the
only time I get burned by the logic that handles JS files in bin/js-debug.

You are correct that if you delete a class from a SWC or from your application source that
the old JS file will remain in bin/js-debug, but I'm asking if that actually causes a problem.
 I didn't think it does.  I don't think the minifier will see that obsolete file.

That my understanding of the problem.
-Alex

From: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:piotrzarzycki21@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Thursday, February 8, 2018 at 10:34 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: Re: Amended Button still not in Nightly Build

Alex,

I'm not sure why you are mentioning about swc. I'm talking about real world application which
is compiling to the bunch of JavaScript files. Maybe I don't understand your way of thinking.


2018-02-08 19:19 GMT+01:00 Alex Harui <aharui@adobe.com<mailto:aharui@adobe.com>>:
You are correct that if we make a file go away from an upgrade to a SWC that the compiler
does not know to delete the now obsolete JS file.  But does that actually cause something
to break?

IMO, the only time I've been burned is when we update a file in a SWC.  And that can be detected
by the IDEs.

-Alex

From: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:piotrzarzycki21@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Thursday, February 8, 2018 at 9:50 AM

To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: Re: Amended Button still not in Nightly Build

Problem is not about swc, problem is about that some files in JS output has been left. For
example if you in one build had file X, for another build that files has been removed it doesn't
mean that it disappear from the js-debug folder.

Piotr

2018-02-08 18:47 GMT+01:00 Alex Harui <aharui@adobe.com<mailto:aharui@adobe.com>>:
A clean option in an IDE is a good idea, but it doesn't have to be manually operated.  Moonshine
and other IDEs could get smarter and detect that a SWC's date has changed and do a clean.
 The compiler itself doesn't memorize stuff like SWC dates, but an IDE can.

My 2 cents,
-Alex

From: Piotr Zarzycki <piotrzarzycki21@gmail.com<mailto:piotrzarzycki21@gmail.com>>
Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Date: Thursday, February 8, 2018 at 1:44 AM
To: "users@royale.apache.org<mailto:users@royale.apache.org>" <users@royale.apache.org<mailto:users@royale.apache.org>>
Subject: Re: Amended Button still not in Nightly Build

Yeah. I'm quite often clean the build before starting it with Royale projects. I think we
should have in Moonshine options which combine those two steps. :)
1) Clean
2) Build

Thanks,
Piotr

2018-02-08 10:39 GMT+01:00 doug777 <doug777twn@gmail.com<mailto:doug777twn@gmail.com>>:
OK got it. Thanks to you both.

Doug



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Ce021e861ac59406727ea08d56ed88e12%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636536798731440044&sdata=Z366xpcHM59mkHbOvB94w3p9HemFPoFFPz6txIUbjSE%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ce021e861ac59406727ea08d56ed88e12%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636536798731440044&sdata=9tkqxNsj5Rh9TebHbIBBT4IbiVA4omA0n3axNT99bLA%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ca3154062c4cb48f38d7308d56f1c8153%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636537090575666047&sdata=9LnYRL99bN6A0QLfG33JMjHsrs%2FXGRxOBo%2Fk5RbtvNI%3D&reserved=0>



--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cd943cb5597544dce962d08d56f229e0d%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636537116826786340&sdata=ZEEsN0fjj7VrbmpR3FQozwTArgqBByCNIBNKoAW0saM%3D&reserved=0>
Mime
View raw message