Re: SWCs directory?

2020-02-03 Thread Josh Tynjala
Yes, that's why you are seeing these errors. royale-config.xml was not
supposed to reference SWF SWCs like frameworks/libs/Basic.swc in the
JS-only SDK.

--
Josh Tynjala
Bowler Hat LLC 


On Sun, Feb 2, 2020 at 10:04 PM OmPrakash Muppirala 
wrote:

> On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala 
> wrote:
>
> > royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
> > recall, we've already fixed the build scripts in the repo, but we haven't
> > done a new release yet.
> >
>
> Broken as in - is that why I am seeing these errors?
> Does it make sense to push out a new release with those changes?
>
> Thanks,
> Om
>
>
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
> >
> > On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala <
> bigosma...@gmail.com>
> > wrote:
> >
> > > The latest npm installation shows all the framework swcs here:
> > >
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> > >
> > > But as
> > > per
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > >
> > > it should be here:
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> > >
> > > That is if I understand this line correctly:
> > >
> > >  libs/Basic.swc
> > >
> > > I am seeing these errors when trying to compile:
> > >
> > > MacBook-Pro-8:first om$ royale serve:debug
> > > Compiling...
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > > col: 0 Error: unable to open
> > >
> > >
> >
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > > (line: 129)
> > >
> > > FYI, this is the command I am using to compile:
> > >
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> > >
> > >
> > > Also, this is how my directories look:
> > >
> > > MacBook-Pro-8:libs om$ ls
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> > >
> > > KeepsFBFromHanging.swc air player
> > >
> > >
> > >
> > > MacBook-Pro-8:libs om$ ls
> > >
> > >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> > >
> > > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> > >
> > > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> > >
> > > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> > >
> > > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> > >
> > > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> > >
> > > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> > >
> > > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> > >
> > > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> > >
> > > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> > >
> > >
> > > Any idea where this mismatch is coming from?
> > >
> > > Thanks
> > > Om
> > >
> >
>


Re: SWCs directory?

2020-02-02 Thread Alex Harui
Here's the past discussion:

https://lists.apache.org/thread.html/61504c2807493ff6f4bcaa945271ca1203bc5d839d47f027d9128471%40%3Cdev.royale.apache.org%3E

I think you can test the nightly via:
npm install 
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/lastSuccessfulBuild/artifact/out/apache-royale-0.9.7-bin-js.tar.gz

HTH,
-Alex

On 2/2/20, 10:04 PM, "OmPrakash Muppirala"  wrote:

On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala 
wrote:

> royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
> recall, we've already fixed the build scripts in the repo, but we haven't
> done a new release yet.
>

Broken as in - is that why I am seeing these errors?
Does it make sense to push out a new release with those changes?

Thanks,
Om


>
> --
> Josh Tynjala
> Bowler Hat LLC 

>
>
> On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
> wrote:
>
> > The latest npm installation shows all the framework swcs here:
> >
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> >  libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> >
> 
'/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fnpm%2Fcli%2Findex.js%23L95data=02%7C01%7Caharui%40adobe.com%7Cc6e996607701469ff49708d7a86eec6c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637163066717482659sdata=%2FfGeDZ%2FbAxewgKsV9t626CYnIZRSZ%2B%2FTxGMiGOn7gIs%3Dreserved=0
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
> >
>




Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
On Sun, Feb 2, 2020 at 5:21 PM Josh Tynjala 
wrote:

> royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
> recall, we've already fixed the build scripts in the repo, but we haven't
> done a new release yet.
>

Broken as in - is that why I am seeing these errors?
Does it make sense to push out a new release with those changes?

Thanks,
Om


>
> --
> Josh Tynjala
> Bowler Hat LLC 
>
>
> On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
> wrote:
>
> > The latest npm installation shows all the framework swcs here:
> >
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> >  libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> >
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
> >
>


Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
On Sun, Feb 2, 2020 at 12:45 PM Harbs  wrote:

> Probably this:
> var command = 'mxmlc ' + path.join(process.cwd(),
> SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true -targets=JSRoyale';
>

That does not seem to work.  I am getting the same exact errors as before.


>
> > On Feb 2, 2020, at 10:44 PM, Harbs  wrote:
> >
> > Set targets to JSRoyale
> >
> > In asconfig:
> > "targets": ["JSRoyale”],
> >
> > In ant:
> > 
> >
> > Not sure where to stick that in in your node script.
> >
> >> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala 
> wrote:
> >>
> >> Yes, that is expected.  I did npm install @apache-royale/royale-js -g
> which
> >> should get only the js stuff.
> >>
> >> Is there a way to specify to the mxmlc compiler to just consider the jas
> >> swcs?
> >>
> >> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
> >>
> >>> It sounds like you only have the JS swcs and not the swf ones.
> >>>
> >>> Does that make sense?
> >>>
>  On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala  >
> >>> wrote:
> 
>  The latest npm installation shows all the framework swcs here:
> 
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
>  But as
>  per
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> 
>  it should be here:
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
>  That is if I understand this line correctly:
> 
>  libs/Basic.swc
> 
>  I am seeing these errors when trying to compile:
> 
>  MacBook-Pro-8:first om$ royale serve:debug
>  Compiling...
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
>  col: 0 Error: unable to open
> 
> >>>
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>  (line: 129)
> 
>  FYI, this is the command I am using to compile:
> 
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> 
> 
>  Also, this is how my directories look:
> 
>  MacBook-Pro-8:libs om$ ls
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
>  KeepsFBFromHanging.swc air player
> 
> 
> 
>  MacBook-Pro-8:libs om$ ls
> 
> >>>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
>  AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> 
>  BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> 
>  BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> 
>  ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> 
>  CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> 
>  CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> 
>  CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> 
>  CruxJS.swc HTML5JS.swc ReflectionJS.swc
> 
>  DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> 
> 
>  Any idea where this mismatch is coming from?
> 
>  Thanks
>  Om
> >>>
> >>>
> >
>
>


Re: SWCs directory?

2020-02-02 Thread Josh Tynjala
royale-js 0.9.6 has always been broken (royale-js-swf is fine). As I
recall, we've already fixed the build scripts in the repo, but we haven't
done a new release yet.

--
Josh Tynjala
Bowler Hat LLC 


On Sun, Feb 2, 2020 at 10:34 AM OmPrakash Muppirala 
wrote:

> The latest npm installation shows all the framework swcs here:
>
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>
> But as
> per
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>
> it should be here:
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>
> That is if I understand this line correctly:
>
>  libs/Basic.swc
>
> I am seeing these errors when trying to compile:
>
> MacBook-Pro-8:first om$ royale serve:debug
> Compiling...
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> col: 0 Error: unable to open
>
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> (line: 129)
>
> FYI, this is the command I am using to compile:
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
>
>
> Also, this is how my directories look:
>
> MacBook-Pro-8:libs om$ ls
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>
> KeepsFBFromHanging.swc air player
>
>
>
> MacBook-Pro-8:libs om$ ls
>
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>
> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
>
> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
>
> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
>
> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
>
> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
>
> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
>
> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
>
> CruxJS.swc HTML5JS.swc ReflectionJS.swc
>
> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
>
>
> Any idea where this mismatch is coming from?
>
> Thanks
> Om
>


Re: SWCs directory?

2020-02-02 Thread Harbs
Probably this:
var command = 'mxmlc ' + path.join(process.cwd(), 
SOURCE_DIR_NAME , APP_START_FILE_NAME) + ' -debug=true -targets=JSRoyale';

> On Feb 2, 2020, at 10:44 PM, Harbs  wrote:
> 
> Set targets to JSRoyale
> 
> In asconfig:
> "targets": ["JSRoyale”],
> 
> In ant:
> 
> 
> Not sure where to stick that in in your node script.
> 
>> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala  wrote:
>> 
>> Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
>> should get only the js stuff.
>> 
>> Is there a way to specify to the mxmlc compiler to just consider the jas
>> swcs?
>> 
>> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
>> 
>>> It sounds like you only have the JS swcs and not the swf ones.
>>> 
>>> Does that make sense?
>>> 
 On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
>>> wrote:
 
 The latest npm installation shows all the framework swcs here:
 
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
 
 But as
 per
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
 
 it should be here:
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
 
 That is if I understand this line correctly:
 
 libs/Basic.swc
 
 I am seeing these errors when trying to compile:
 
 MacBook-Pro-8:first om$ royale serve:debug
 Compiling...
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
 col: 0 Error: unable to open
 
>>> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
 (line: 129)
 
 FYI, this is the command I am using to compile:
 https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
 
 
 Also, this is how my directories look:
 
 MacBook-Pro-8:libs om$ ls
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
 
 KeepsFBFromHanging.swc air player
 
 
 
 MacBook-Pro-8:libs om$ ls
 
>>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
 
 AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
 
 BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
 
 BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
 
 ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
 
 CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
 
 CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
 
 CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
 
 CruxJS.swc HTML5JS.swc ReflectionJS.swc
 
 DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
 
 
 Any idea where this mismatch is coming from?
 
 Thanks
 Om
>>> 
>>> 
> 



Re: SWCs directory?

2020-02-02 Thread Harbs
Set targets to JSRoyale

In asconfig:
"targets": ["JSRoyale”],

In ant:


Not sure where to stick that in in your node script.

> On Feb 2, 2020, at 9:25 PM, OmPrakash Muppirala  wrote:
> 
> Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
> should get only the js stuff.
> 
> Is there a way to specify to the mxmlc compiler to just consider the jas
> swcs?
> 
> On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:
> 
>> It sounds like you only have the JS swcs and not the swf ones.
>> 
>> Does that make sense?
>> 
>>> On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
>> wrote:
>>> 
>>> The latest npm installation shows all the framework swcs here:
>>> 
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>>> 
>>> But as
>>> per
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>>> 
>>> it should be here:
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>>> 
>>> That is if I understand this line correctly:
>>> 
>>> libs/Basic.swc
>>> 
>>> I am seeing these errors when trying to compile:
>>> 
>>> MacBook-Pro-8:first om$ royale serve:debug
>>> Compiling...
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
>>> col: 0 Error: unable to open
>>> 
>> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
>>> (line: 129)
>>> 
>>> FYI, this is the command I am using to compile:
>>> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
>>> 
>>> 
>>> Also, this is how my directories look:
>>> 
>>> MacBook-Pro-8:libs om$ ls
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
>>> 
>>> KeepsFBFromHanging.swc air player
>>> 
>>> 
>>> 
>>> MacBook-Pro-8:libs om$ ls
>>> 
>> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
>>> 
>>> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
>>> 
>>> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
>>> 
>>> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
>>> 
>>> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
>>> 
>>> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
>>> 
>>> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
>>> 
>>> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
>>> 
>>> CruxJS.swc HTML5JS.swc ReflectionJS.swc
>>> 
>>> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
>>> 
>>> 
>>> Any idea where this mismatch is coming from?
>>> 
>>> Thanks
>>> Om
>> 
>> 



Re: SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
Yes, that is expected.  I did npm install @apache-royale/royale-js -g which
should get only the js stuff.

Is there a way to specify to the mxmlc compiler to just consider the jas
swcs?

On Sun, Feb 2, 2020 at 10:59 AM Harbs  wrote:

> It sounds like you only have the JS swcs and not the swf ones.
>
> Does that make sense?
>
> > On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala 
> wrote:
> >
> > The latest npm installation shows all the framework swcs here:
> >
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > But as
> > per
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> >
> > it should be here:
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > That is if I understand this line correctly:
> >
> > libs/Basic.swc
> >
> > I am seeing these errors when trying to compile:
> >
> > MacBook-Pro-8:first om$ royale serve:debug
> > Compiling...
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> > col: 0 Error: unable to open
> >
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> > (line: 129)
> >
> > FYI, this is the command I am using to compile:
> > https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> >
> >
> > Also, this is how my directories look:
> >
> > MacBook-Pro-8:libs om$ ls
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> >
> > KeepsFBFromHanging.swc air player
> >
> >
> >
> > MacBook-Pro-8:libs om$ ls
> >
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> >
> > AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> >
> > BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> >
> > BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> >
> > ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> >
> > CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> >
> > CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> >
> > CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> >
> > CruxJS.swc HTML5JS.swc ReflectionJS.swc
> >
> > DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> >
> >
> > Any idea where this mismatch is coming from?
> >
> > Thanks
> > Om
>
>


Re: SWCs directory?

2020-02-02 Thread Harbs
It sounds like you only have the JS swcs and not the swf ones.

Does that make sense?

> On Feb 2, 2020, at 8:34 PM, OmPrakash Muppirala  wrote:
> 
> The latest npm installation shows all the framework swcs here:
> 
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
> But as
> per 
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> 
> it should be here:
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
> That is if I understand this line correctly:
> 
> libs/Basic.swc
> 
> I am seeing these errors when trying to compile:
> 
> MacBook-Pro-8:first om$ royale serve:debug
> Compiling...
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
> col: 0 Error: unable to open
> '/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
> (line: 129)
> 
> FYI, this is the command I am using to compile:
> https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95
> 
> 
> Also, this is how my directories look:
> 
> MacBook-Pro-8:libs om$ ls
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs
> 
> KeepsFBFromHanging.swc air player
> 
> 
> 
> MacBook-Pro-8:libs om$ ls
> /Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs
> 
> AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc
> 
> BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc
> 
> BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc
> 
> ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc
> 
> CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc
> 
> CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc
> 
> CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc
> 
> CruxJS.swc HTML5JS.swc ReflectionJS.swc
> 
> DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc
> 
> 
> Any idea where this mismatch is coming from?
> 
> Thanks
> Om



SWCs directory?

2020-02-02 Thread OmPrakash Muppirala
The latest npm installation shows all the framework swcs here:

/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs

But as
per 
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml

it should be here:
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs

That is if I understand this line correctly:

 libs/Basic.swc

I am seeing these errors when trying to compile:

MacBook-Pro-8:first om$ royale serve:debug
Compiling...
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml(129):
col: 0 Error: unable to open
'/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs/Basic.swc'.
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
(line: 129)

FYI, this is the command I am using to compile:
https://github.com/apache/royale-asjs/blob/develop/npm/cli/index.js#L95


Also, this is how my directories look:

MacBook-Pro-8:libs om$ ls
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/libs

KeepsFBFromHanging.swc air player



MacBook-Pro-8:libs om$ ls
/Users/om/.nvm/versions/node/v8.14.1/lib/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/js/libs

AceJS.swc EffectsJS.swc IconsJS.swc RoyaleUnitJS.swc

BasicJS.swc ExpressJS.swc JewelJS.swc SparkRoyaleJS.swc

BindingJS.swc FlatJS.swc LanguageJS.swc StorageJS.swc

ChartsJS.swc FontAwesomeJS.swc MXRoyaleJS.swc TLFJS.swc

CollectionsJS.swc FormattersJS.swc MaterialDesignLiteJS.swc TextJS.swc

CoreJS.swc GoogleMapsJS.swc MobileJS.swc XMLJS.swc

CreateJSJS.swc GraphicsJS.swc NetworkJS.swc jQueryJS.swc

CruxJS.swc HTML5JS.swc ReflectionJS.swc

DragDropJS.swc HTMLJS.swc RoyaleSiteJS.swc


Any idea where this mismatch is coming from?

Thanks
Om