Jenkins build is back to normal : royale-asjs_jsonly #1251

2018-07-31 Thread apacheroyaleci
See 




Re: compc compiler error

2018-07-31 Thread Alex Harui
I see some code in the compiler that does try to resolve from source-path and 
library-path.  It assumes the path isn't absolute.  What does the associated 
[Embed] metadata tags look like for the examples below?

I also see some code about the symbols '|' and '#' affecting where the source 
is.  I still haven't found any official documentation of this capability.

Thanks,
-Alex

On 7/31/18, 2:19 PM, "bhau"  wrote:

Hi Alex,

Here are few of these errors:

"Could not find Embed source 'remove_item.gif'. Searched

'D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui\com\component\flexuiplatform\core\action\remove_item.gif',
'remove_item.gif' in SWCs on the library path

Could not find Embed source 'remove_item_d.gif'. Searched

'D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui\com\component\flexuiplatform\core\action\remove_item_d.gif',
'remove_item_d.gif' in SWCs on the library path

Could not find Embed source 'open.gif'. Searched

'D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui\com\component\flexuiplatform\core\action\open.gif',
'open.gif' in SWCs on the library path

Could not find Embed source 'open_d.gif'. Searched

'D:\Learn\MyFirstRoyaleApp\src\FlexUIPlatform\src-flexui\com\component\flexuiplatform\core\action\open_d.gif',
'open_d.gif' in SWCs on the library path"

What are alternatives to replace these Embed instructions ? Does royale
compiler has any ignore flag to skip these instructions? 

Thanks,
--Bhau



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C6de92fca6ea64e3ece4408d5f72b3ace%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636686687426350708sdata=cpep6%2FO49wWNGFhM6bSq4SI4MSnrHiAZp6xIShrQxo8%3Dreserved=0




Re: compc compiler error

2018-07-31 Thread Alex Harui
Hmm.  I wasn't aware that the regular Flex compiler would search the library 
path.  It should be searching the source-path.  Do you know of any 
documentation or other references to that capability?  I'm guessing that the 
Royale Compiler isn't set up to do that.  Patches are welcome.

If you have specified -js-source-path anywhere in any options, then additional 
source paths must also be specified using -js-source-path, not just plain 
-source-path.

That said, there is no embedding support currently in Royale.  I'm not clear 
there is a significant advantage to embedding a base64 version of an asset in 
an HTML file, especially sinces support for that still seems to be lacking in 
Internet Explorer.

HTH,
-Alex

On 7/31/18, 1:22 PM, "bhau"  wrote:

Hi Alex,

I tried to compile without flex-config and got many errors. I will replace
flex api reference and will try again. But I don't know how to deal with
'[Embed(source="somegif.gif")]' . It is showing in error log that search for
gif file is being done in same folder as client instead of  being search in
library-path or source-path.

Do I need some configuration changes for that?

Thanks,
--Bhau



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C204e0524fd3e4ac5747008d5f7234e8e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636686653373543581sdata=VTYHAoMFK30qaULSUKIVY%2FXgPDZ%2FVJct0j%2BIg0AGIzM%3Dreserved=0




Re: SecureAMFStreaming channel BlazeDS support in Appache Royale

2018-07-31 Thread bhau
Hi Alex,

I have uploaded an image which shows param object detail on right side. I
just replaced param.body to param in highlighted line and in mxml I used
_timestamp value for display of server data. It is just a temporary
workaround.


 

--Bhau





--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: SecureAMFStreaming channel BlazeDS support in Appache Royale

2018-07-31 Thread Alex Harui
Hi,

Can you make a .patch file or GitHub Pull Request with your changes so we can 
see what you changed?

Thanks,
-Alex

On 7/31/18, 1:03 PM, "bhau"  wrote:

Hi carlos,
I wrote simple mxml client using remote object to connect existing back end
java server. It is not returning  proper data back.  I did some debugging
and noticed that it actually called back end server api but data returned in
AcknowledgeMessage object was not bound to _body property, instead it was
bound to _timestamp property. So resultHandler method call in
RemoteObject.js dispatches event with param.body(which is not correct data).
After modifying this in RemoteObject.js my client works fine. But I think it
is a bug. Data should be populated in _body property instead of _timestamp.

If it is not a bug then I am doing something wrong. 

Please advise.

Thanks,
--Bhau



--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7C965eae3dcb47487475e208d5f720bd45%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636686642343725756sdata=o8NWMPXuc%2Bm%2FiTWRvuY%2BqLdd9wfNJ%2FCE6sPx9CNzjU0%3Dreserved=0




Re: SecureAMFStreaming channel BlazeDS support in Appache Royale

2018-07-31 Thread bhau
Hi carlos,
I wrote simple mxml client using remote object to connect existing back end
java server. It is not returning  proper data back.  I did some debugging
and noticed that it actually called back end server api but data returned in
AcknowledgeMessage object was not bound to _body property, instead it was
bound to _timestamp property. So resultHandler method call in
RemoteObject.js dispatches event with param.body(which is not correct data).
After modifying this in RemoteObject.js my client works fine. But I think it
is a bug. Data should be populated in _body property instead of _timestamp.

If it is not a bug then I am doing something wrong. 

Please advise.

Thanks,
--Bhau



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: Migrating Enterprise Flex Application

2018-07-31 Thread Alex Harui
Use js/bin/mxmlc insead of bin/mxmlc.

HTH,
-Alex

On 7/31/18, 4:00 AM, "chembali"  wrote:

I tried to run the Royale mxmlc compiler using the below command and it
errors out.


C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src>C:\devenv\GitHub\royale-asjs/b
in/mxmlc
-compiler.source-path=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src
 -include-sources+=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src\com 
C:\dev
env\BlazeDSRemoteObjects\BlazeDsExample\src/BlazeDsExample.mxml

Using Royale codebase: C:\devenv\GitHub\royale-asjs\js\bin\..\..
Using Royale SDK: C:\devenv\GitHub\royale-asjs
Unknown tag:compiler.targets
Loading configuration:
C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml


C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml(33): col: 0 Error:
unk
nown configuration variable 'compiler.targets'.
C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml (line: 33)

  


I have the following entry in the royale-config.xml line 33. Any ideas?


  
  JSRoyale




--
Sent from: 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-development.20373.n8.nabble.com%2Fdata=02%7C01%7Caharui%40adobe.com%7Cd3b03ba63e984988b88608d5f6d4db24%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636686316438465559sdata=e6CXv04UakebtKNZL2lHw%2FDpgosU8kze1ugiZjXeXco%3Dreserved=0




Re: Migrating Enterprise Flex Application

2018-07-31 Thread chembali
I tried to run the Royale mxmlc compiler using the below command and it
errors out.

C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src>C:\devenv\GitHub\royale-asjs/b
in/mxmlc
-compiler.source-path=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src
 -include-sources+=C:\devenv\BlazeDSRemoteObjects\BlazeDsExample\src\com 
C:\dev
env\BlazeDSRemoteObjects\BlazeDsExample\src/BlazeDsExample.mxml

Using Royale codebase: C:\devenv\GitHub\royale-asjs\js\bin\..\..
Using Royale SDK: C:\devenv\GitHub\royale-asjs
Unknown tag:compiler.targets
Loading configuration:
C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml


C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml(33): col: 0 Error:
unk
nown configuration variable 'compiler.targets'.
C:\devenv\GitHub\royale-asjs\frameworks\royale-config.xml (line: 33)

  


I have the following entry in the royale-config.xml line 33. Any ideas?


  
  JSRoyale




--
Sent from: http://apache-royale-development.20373.n8.nabble.com/


Re: SecureAMFStreaming channel BlazeDS support in Appache Royale

2018-07-31 Thread Carlos Rovira
Hi Radu,

to complement what Alex said, in the particular case you ask of secure
streaming channel I'm right now off and don't have access to the code but I
think that is already supported since. Give a try and let us know if that
already works or if not, what problems did you find.

thanks

Carlos


2018-07-30 17:58 GMT+02:00 Alex Harui :

> Hi Radu,
>
> Apache projects are driven by volunteers.  So any feature you want that
> doesn't currently exist can be made to exist by you.  You can code it
> yourself or hire folks to code it.  Unless there is something
> Flash-specific about a feature, any feature should be reproducible in
> Royale.  All Royale really does is present APIs around some functionality.
> Whatever the HTML/JS/CSS equivalent is for any feature of Flex, once
> someone figures out what that is, it then gets packaged up as a Royale
> component.
>
> So, if you need secure streaming, figure out what the equivalent
> HTML/JS/CSS would be.  Then it can get tied into the BlazeDS/RemoteObject
> support.
>
> HTH,
> -Alex
>
> On 7/30/18, 12:46 AM, "radu birsan"  wrote:
>
> Hi,
>
>We have a client flex applcitcaton that connects to BlazeDS server
> using
> secure streaming channel.
>   Is this uspported in Apache Royale?
>   Do you plan to continue supportting BlazeDS?
>
> Thank you,
> Radu
>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira