Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread Piotr Zarzycki
If you did it in both places try next set then FLEX_HOME in environment
variable.

How do you build project? Are you using Build as JavaScript?

Please post full stack trace from Moonshines console on some paste website.

Thanks,
Piotr

On Sun, Sep 17, 2017, 10:27 doug777  wrote:

> Hi Piotr,
>
> It was already set to 0.8.0 so I changed it to Nightly Build, but still get
> the same error.
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread Piotr Zarzycki
Hi Doug,

There are two places where you setup SDK.
1) Right click on the opened project and if I correct remember MXMLC
Compiler Plugin
2) Choose from menu File and Settings - that would be main settings and set
there sdk

Once you set in both places try to build. I don't have access to PC right
now.

FLEX_HOME is an environment variable but it shouldn't be bother by that
cause Moonshine tace care of that.

Let me know whether setup in both places help.

Piotr

On Sun, Sep 17, 2017, 06:24 doug777  wrote:

> Unfortunately on rebooting the computer and opening Moonshine, I now get an
> error if I try any of the Build options: Invalid SDK - Please configure a
> Flex SDK instead.
>
> The sdk is obviously okay, the mouse-over pop-ups appear correctly and so
> do
> the suggestion lists as you type in the Test.mxml file.
>
> I've tried removing the sdk then saving and then changing back to nightly
> build. All works as expected but the build options all return the fault no
> matter what the situation is with the sdk.
>
> Project>Clean doesn't seem to do anything - you have to close the IDE and
> re-open to get the new sdk setting to take effect.
>
> The build.xml file contains the line  SDK : ${FLEX_HOME}
>
> Where are these path variables defined in Win10 64-bit?
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS RemoteObject with ColdFusion

2017-09-15 Thread Piotr Zarzycki
Hi Harbs,

I just did quick look into RemoteObject class and I see that there is JS
library injected for AMF. If this is an outer script - can it be influenced
by renaming?

Thanks,
Piotr

On Fri, Sep 15, 2017, 13:59 Harbs  wrote:

> You probably have minification renaming problems.
>
> I have not tried RemoteObject, so it’s possible there are problems there,
> but...
>
> Check if you have untyped objects and/or object literals.
>
> For untyped objects, you should use myObj[“myProp”] rather than
> myObj.myProp.
>
> For object literals you need to quote the object keys:
>
> var myObj = {
> “name”:”Foo”,
> “age”:5
> }
> rather than:
>
> var myObj = {
> name:”Foo”,
> age:5
> }
>
>
> HTH,
> Harbs
>
> > On Sep 15, 2017, at 11:28 AM, doug777  wrote:
> >
> > In the Firefox web console I see this :
> >
> > destination fault handler Object { code: -1004, message: "Invalid
> response
> > type.", detail: "Invalid XMLHttpRequest response sta…", data: null }
> > Language.js:238:7
> >
> > Doug
> >
> >
> >
> > --
> > Sent from: http://apache-flex-users.246.n4.nabble.com/
>
>


Re: FlexJS RemoteObject with ColdFusion

2017-09-15 Thread Piotr Zarzycki
  * @param {org.apache.flex.geom.Size} contentSize
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/net/
> remoting/amf/AMFBinaryData.js:1213:
> WARNING - unreachable code
> :   return null;
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/getClassByAlias.js:8:
> WARNING - Parse error. duplicate @suppress tag
> :  * @suppress {checkTypes|accessControls}
>
> : WARNING: 0 error(s), 17 warning(s), 97.4% typed
> : Sep 15, 2017 3:31:07 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/
> HTMLElementWrapper.js:280:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :   * @type {org.apache.flex.core.WrappedHTMLElement} */
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/
> IRenderedObject.js:27:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> : /**  * @type {org.apache.flex.core.WrappedHTMLElement}
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/
> IViewportModel.js:29:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Rectangle.
> : /**  * @type {org.apache.flex.geom.Rectangle}
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:575:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :  * @type {org.apache.flex.core.WrappedHTMLElement}
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:867:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ e =
> document.body;
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:895:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ p =
> this.positioner.parentNode;
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1008:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :   * @type {org.apache.flex.core.WrappedHTMLElement} */
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/UIBase.js:1025:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> :   * @type {org.apache.flex.core.WrappedHTMLElement} */
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:98:
> WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
> https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for
> more
> information.
> :  * @override
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/
> beads/models/ViewportModel.js:37:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Rectangle.
> :  * @type {org.apache.flex.geom.Rectangle}
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/
> beads/models/ViewportModel.js:44:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Rectangle.
> :  * @type {org.apache.flex.geom.Rectangle}
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/
> beads/models/ViewportModel.js:84:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Rectangle.
> :   * @type {org.apache.flex.geom.Rectangle} */
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/
> beads/models/ViewportModel.js:90:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Rectangle.
> :   * @type {org.apache.flex.geom.Rectangle} */
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/
> supportClasses/Viewport.js:93:
> WARNING - Type annotation references non-existent type
> org.apache.flex.geom.Size.
> :  * @param {org.apache.flex.geom.Size} contentSize
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/net/
> remoting/amf/AMFBinaryData.js:1213:
> WARNING - unreachable code
> :   return null;
>
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/getClassByAlias.js:8:
> WARNING - Parse error. duplicate @suppress tag
> :  * @suppress {checkTypes|accessControls}
> :^
> : : WARNING: 0 error(s), 17 warning(s), 97.4% typed
> : Project Build Successfully
> : The project 'Test' has been successfully compiled and optimized.
> : 13.920425195 seconds
>
> Looks to me like there's something pretty fundamental wrong with the set
> up.
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS RemoteObject with ColdFusion

2017-09-15 Thread Piotr Zarzycki
not
> >provided yet
> >: goog.require('org.apache.flex.reflection.TypeDefinition');
> >
> >: SEVERE: C:/My
> >Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/AccessorD
> >efinition.js:13:
> >ERROR - required "org.apache.flex.reflection.VariableDefinition"
> namespace
> >not provided yet
> >: goog.require('org.apache.flex.reflection.VariableDefinition');
> >
> >: SEVERE: C:/My
> >Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/MethodDef
> >inition.js:14:
> >ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace
> not
> >provided yet
> >: goog.require('org.apache.flex.reflection.TypeDefinition');
> >
> >: SEVERE: C:/My
> >Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/Parameter
> >Definition.js:13:
> >ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace
> not
> >provided yet
> >: goog.require('org.apache.flex.reflection.TypeDefinition');
> >
> >: SEVERE: C:/My
> >Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/TypeDefin
> >ition.js:15:
> >ERROR - required "org.apache.flex.reflection.VariableDefinition"
> namespace
> >not provided yet
> >: goog.require('org.apache.flex.reflection.VariableDefinition');
> >
> >: WARNING: 5 error(s), 1 warning(s)
> >: Project Build Successfully
> >: The project 'Test' has been successfully compiled and optimized.
> >
> >Im not sure I need to add CF as a resource and not sure how to do that
> >anyway. Surely it should find CF from its localhost path anyway?
> >
> >Is there something missing from the Moonshine Build Options settings. Here
> >is the page :
> >
> ><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >ex-users.246.n4.nabble.com%2Ffile%2Ft784%2FBuild_
> Options.png&data=02%7
> >C01%7C%7C855a3c62c8be4582d57708d4fc0350a8%7Cfa7b1b5a7b34438794aed2c178de
> ce
> >e1%7C0%7C0%7C636410538543837063&sdata=Zy2xYvoHMQ2zUdjcN7DgtZv72kqcqc
> X2aZzV
> >fSBTCVs%3D&reserved=0>
> >
> >
> >
> >--
> >Sent from:
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fle
> >x-users.246.n4.nabble.com%2F&data=02%7C01%7C%
> 7C855a3c62c8be4582d57708d
> >4fc0350a8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636410538543837063&
> >sdata=52dxY1gdUNTWEGg6Jz40uVoRr3fBasxlPjpP0o1FCuI%3D&reserved=0
>
>


-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS RemoteObject with ColdFusion

2017-09-14 Thread Piotr Zarzycki
Doug,

Try to check in the settings where you are pointing path to the source
folder. I don't have capability to check in Moonshine your problem, cause
I'm travelling till the Sunday. If the question will be more urgent you can
try to specify it in our GIT repository as an issue [1].

[1] https://github.com/prominic/Moonshine-IDE/issues

Thanks,
Piotr


2017-09-15 8:30 GMT+02:00 doug777 :

> This is my simple tester:
>
> http://ns.adobe.com/mxml/2009";
> xmlns:js="library://ns.apache.org/flexjs/basic"
> xmlns:local="*"
> pageTitle="HelloWorld" xmlns:ns="library://ns.apache.
> org/flexjs/html5"
> initialize="init()">
>
> 
>  source="localhost:8500.mysite.STime"
> result="roCheckTestResultHandler(event)"
> fault="roFaultHandler(event)"/>
>
> 
>
> 
>
> 
>
> 
> 
> 
>
> 
> 
> 
>  width="200" />
> 
> 
> 
>
>  
>
> When I Build and Run as Javascript, Hello World appears in the browser. But
> there are several errors:
>
> WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:104:
> WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
> https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for
> more
> information.
> :
> : WARNING: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/html/Alert.js:104:
> WARNING - Bad type annotation. extra @override/@inheritDoc tag. See
> https://github.com/google/closure-compiler/wiki/Bad-Type-Annotation for
> more
> information.
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/AccessorDefinition.js:12:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
> : :
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/AccessorDefinition.js:13:
> ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
> not provided yet
> : goog.require('org.apache.flex.reflection.VariableDefinition');
> : :
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/MethodDefinition.js:14:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
> :
> : : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/
> ParameterDefinition.js:13:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/TypeDefinition.js:15:
> ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
> not provided yet
> : goog.require('org.apache.flex.reflection.VariableDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/AccessorDefinition.js:12:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/AccessorDefinition.js:13:
> ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
> not provided yet
> : goog.require('org.apache.flex.reflection.VariableDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/MethodDefinition.js:14:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/reflection/
> ParameterDefinition.js:13:
> ERROR - required "org.apache.flex.reflection.TypeDefinition" namespace not
> provided yet
> : goog.require('org.apache.flex.reflection.TypeDefinition');
>
> : SEVERE: C:/My
> Documents/Moonshine/Test/bin/js-debug/org/apache/flex/
> reflection/TypeDefinition.js:15:
> ERROR - required "org.apache.flex.reflection.VariableDefinition" namespace
&g

Re: FlexJS RemoteObject with ColdFusion

2017-09-14 Thread Piotr Zarzycki
Hi Doug,

I'm not sure what are you trying to do. Do you need add some resources to
output build? AFAIK there is an option to include resources in Moonshine's
settings.

Thanks,
Piotr

On Fri, Sep 15, 2017, 06:27 doug777  wrote:

> Hi Alex,
>
> I'm trying to work out how to get the path between the js-release folder
> and
> CF. In Flash Builder you could set the build path so that the equivalent of
> js-release gets built somewhere useful, but I can't find out how to do that
> in Moonshine. You can't just copy the folder to the place where I need it
> to
> be and run the html file I guess because there are lots of paths set up in
> the files that are now all wrong.
>
> I'll let you know as soon as I can work out how to access CF.
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


[FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-14 Thread Piotr Zarzycki
Hi All,

Erik on dev [1] list came up wit interesting question. I'm posting it also
here:


With the upcoming fork and renewed focus and most likely some publicity, I
want to ask the community to answer this question:

Why should a web dev choose FlexJS to write JS applications, and not go
with a more mainstream option like e.g. TypeScript/Angular?

I think that if we can answer that question in a compelling way, we are in
a good place as a project (from a code perspective, at least) and it gives
the marketing folks something to work with.


[1]
http://apache-flex-development.247.n4.nabble.com/FLEXJS-Marketing-why-should-a-web-dev-choose-FlexJS-td64292.html

Thanks,
Piotr


Re: How To Start Converting A Browser Project to FlexJS

2017-09-12 Thread Piotr Zarzycki
Hi Doug,

I'm not sure why but my message has been bounced, so resend.

First of all I'm glad that you are trying to use FlexJS to port your 
application. Thank you!

In case of tags and options - In FlexJS there are couple of modules which can 
be as a base used to build application.

Option 1:
Module Basic [1] and Express [2]. In Basic you have all components available in 
FlexJS - they need to be skinned (by css, Beads etc.). Express baked inside the 
components some beads as default.

Example: Basic Container do not have as default Scroller and you will not able 
to do the data binding if you will not add "ContainerDataBinding". Container in 
Express has both added as default. 

Option 2:
MaterialDesignLight module - where with Carlos and many others people we have 
wrap all the components from Google MDL light [3] library and add some features 
like "dataProvider" to List and ability to use item renderers etc. Using this 
component you will have look and fill as presented in [3].


Option 3:
Mixed Basic, Express and MDL - This require some tweaks in CSS, cause there are 
components which collide with each other. I think Yishay and Harbs can provide 
you more information cause they are using those modules like that in their 
apps. 

Take a look into the examples [4][5] which we have - build them and see how 
everything look like.

Documentation:
Olaf lately started the idea off putting together documentation in nice ordered 
way. There are already some information, but it is not finished [6] and there 
is our wiki [7].

Lately Alex add to FlexJS support for AMF. Carlos described how to test it on 
Dev [8] - it was merged to develop, so it is available in the newest Nightly 
Build  - 0.9.0. - I know that you already downloaded it but maybe try to do it 
again, since could not be available yet in yours.

I hope this initial information will help you dig into the FlexJS. 

[1] 
https://github.com/apache/flex-asjs/tree/develop/frameworks/projects/Basic/src/main/flex/org/apache/flex/html
[2] 
https://github.com/apache/flex-asjs/tree/develop/frameworks/projects/Express/src/main/flex/org/apache/flex/express
 
[3] https://getmdl.io/components/index.html
[4] https://github.com/apache/flex-asjs/tree/develop/examples/flexjs
[5] https://github.com/apache/flex-asjs/tree/develop/examples/flexjs/MDLExample
[6] https://github.com/ok-at-github/flexjs-docs/wiki
[7] https://cwiki.apache.org/confluence/display/FLEX/FlexJS
[8] 
http://apache-flex-development.247.n4.nabble.com/FlexJS-AMF-Steps-to-make-FlexJS-Java-RemoteObject-AMF-sample-work-td64146.html

Thanks,
Piotr

On 2017-09-13 06:16, doug777  wrote: 
> My old Spark project starts with the following mxml tags : Application,
> RemoteObject, BorderContainer, HGroup and so on.
> 
> Looking at the FlexJS API
> http://people.apache.org/~pent/asdoc-flexjs/index.html, I see four different
> Application tags. How to know which one to choose?
> 
> The HelloWorld example in the SDK uses js:View and others use many tags that
> are not in the API. How to know what is available?
> 
> There is no RemoteObject in the API, but the RemoteObjectAMFTest example in
> the SDK uses a bead called RemoteObject. How can I know what beads are
> available for a component?
> 
> What are the equivalents to Containers in FlexJS?
> 
> Just for starters. Any help appreciated.
> 
> Doug
> 
> 
> 
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
> 


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-11 Thread Piotr Zarzycki
Hans,

Completely agreed ! I hope my lost faith for them do not discourage anyone
from Voting on issue, Contacting with them etc. :)

Go for it!

Thank you,
Piotr


2017-09-11 15:23 GMT+02:00 Hans Nuecke :

> Hi Piotr,
>
> I agree. But we also all know how much daily business can keep us
> "distracted" from something that is not/no more in front of our brain ;-)
>
> Also the wish "to have a 48h day", mentioned in that that thread, points
> into that direction...
>
> So it might be worth giving it one more try ;-) ??
>
> Often it is just a question of luck and good timing. Perhaps the timing is
> better now/soon?
>
> Just my 2cts
>
> Regards
> Hans
>
>
>
> Am 11.09.2017 um 14:28 schrieb Piotr Zarzycki:
>
>> Hi Hans,
>>
>> Thank you for your input. I believe that if they don't want to respond in
>> this raised issue there is no sense contact with them. What can we also
>> said more ? If they would be interested in any kind we would get some
>> questions explicitly on those mailing lists.
>>
>> That is how I see it,
>> Piotr
>>
>>
>> 2017-09-11 14:22 GMT+02:00 Hans Nuecke :
>>
>> Good to know that Moonshine and VScode are working.
>>>
>>> Nevertheless I also liked to see FlexJS support in IDEA.
>>>
>>> There's a request in youtrack about this topic:
>>> https://youtrack.jetbrains.com/issue/IDEA-116986
>>>
>>> The last discussion now is 2.5 years old. And on my recent question about
>>> integration the answer was not a strict "no" but:
>>> "Sorry, but we don't have exact plan for this issue."
>>> And then I was pointed to that request above.
>>>
>>> This sounds to me there are still chances. Especially after FlexJS made a
>>> lot of progress in the meanwhile!
>>>
>>> Perhaps Chris or anybody else could contact IntelliJ again to check what
>>> is possible??
>>>
>>> Thanks and regards
>>> Hans
>>>
>>>
>>> Am 11.09.2017 um 09:45 schrieb Piotr Zarzycki:
>>>
>>> Hi Doug,
>>>>
>>>> Grat to hear that Moonshine works for you. We will soon release next
>>>> version with many fixes. I ensure you that support for that IDE will not
>>>> be
>>>> dropped suddenly. If you have any suggestion or find bug raise it here
>>>> [1].
>>>>
>>>> As for the IDE - about year ago Chris tried to fix plugin for flex build
>>>> in
>>>> order to have support for FlexJS in intellij. He figureout how its
>>>> working
>>>> and was going to made pull request to Jetbrains. They explicitly said
>>>> that
>>>> they will not accept that. Chris dropped that and fix never appear. As
>>>> you
>>>> can see we have to do right now magic in order to do anything there...
>>>>
>>>> [1] https://github.com/prominic/Moonshine-IDE
>>>>
>>>> Piotr
>>>>
>>>> On Mon, Sep 11, 2017, 03:42 doug777  wrote:
>>>>
>>>> Hi Piotr,
>>>>
>>>>> Moonshine works perfectly with no errors at all.
>>>>>
>>>>> I just felt that I would be able to work faster with IntelliJ and
>>>>> there's
>>>>> no
>>>>> rush as this is a new project and I have a lot of work to do before I
>>>>> need
>>>>> to compile and test anything.
>>>>>
>>>>> But now I wonder if FlexJS is going to be whole-heartedly supported by
>>>>> IntelliJ (and it doesn't sound that way right now), maybe ultimately
>>>>> Moonshine will be the better choice.
>>>>>
>>>>> Anyway many thanks for all your help.
>>>>>
>>>>> Doug
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sent from: http://apache-flex-users.246.n4.nabble.com/
>>>>>
>>>>>
>>>>>
>>>
>


-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-11 Thread Piotr Zarzycki
Hi Hans,

Thank you for your input. I believe that if they don't want to respond in
this raised issue there is no sense contact with them. What can we also
said more ? If they would be interested in any kind we would get some
questions explicitly on those mailing lists.

That is how I see it,
Piotr


2017-09-11 14:22 GMT+02:00 Hans Nuecke :

> Good to know that Moonshine and VScode are working.
>
> Nevertheless I also liked to see FlexJS support in IDEA.
>
> There's a request in youtrack about this topic:
> https://youtrack.jetbrains.com/issue/IDEA-116986
>
> The last discussion now is 2.5 years old. And on my recent question about
> integration the answer was not a strict "no" but:
> "Sorry, but we don't have exact plan for this issue."
> And then I was pointed to that request above.
>
> This sounds to me there are still chances. Especially after FlexJS made a
> lot of progress in the meanwhile!
>
> Perhaps Chris or anybody else could contact IntelliJ again to check what
> is possible??
>
> Thanks and regards
> Hans
>
>
> Am 11.09.2017 um 09:45 schrieb Piotr Zarzycki:
>
>> Hi Doug,
>>
>> Grat to hear that Moonshine works for you. We will soon release next
>> version with many fixes. I ensure you that support for that IDE will not
>> be
>> dropped suddenly. If you have any suggestion or find bug raise it here
>> [1].
>>
>> As for the IDE - about year ago Chris tried to fix plugin for flex build
>> in
>> order to have support for FlexJS in intellij. He figureout how its working
>> and was going to made pull request to Jetbrains. They explicitly said that
>> they will not accept that. Chris dropped that and fix never appear. As you
>> can see we have to do right now magic in order to do anything there...
>>
>> [1] https://github.com/prominic/Moonshine-IDE
>>
>> Piotr
>>
>> On Mon, Sep 11, 2017, 03:42 doug777  wrote:
>>
>> Hi Piotr,
>>>
>>> Moonshine works perfectly with no errors at all.
>>>
>>> I just felt that I would be able to work faster with IntelliJ and there's
>>> no
>>> rush as this is a new project and I have a lot of work to do before I
>>> need
>>> to compile and test anything.
>>>
>>> But now I wonder if FlexJS is going to be whole-heartedly supported by
>>> IntelliJ (and it doesn't sound that way right now), maybe ultimately
>>> Moonshine will be the better choice.
>>>
>>> Anyway many thanks for all your help.
>>>
>>> Doug
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Sent from: http://apache-flex-users.246.n4.nabble.com/
>>>
>>>
>
>


-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-11 Thread Piotr Zarzycki
Hi Doug,

Grat to hear that Moonshine works for you. We will soon release next
version with many fixes. I ensure you that support for that IDE will not be
dropped suddenly. If you have any suggestion or find bug raise it here [1].

As for the IDE - about year ago Chris tried to fix plugin for flex build in
order to have support for FlexJS in intellij. He figureout how its working
and was going to made pull request to Jetbrains. They explicitly said that
they will not accept that. Chris dropped that and fix never appear. As you
can see we have to do right now magic in order to do anything there...

[1] https://github.com/prominic/Moonshine-IDE

Piotr

On Mon, Sep 11, 2017, 03:42 doug777  wrote:

> Hi Piotr,
>
> Moonshine works perfectly with no errors at all.
>
> I just felt that I would be able to work faster with IntelliJ and there's
> no
> rush as this is a new project and I have a lot of work to do before I need
> to compile and test anything.
>
> But now I wonder if FlexJS is going to be whole-heartedly supported by
> IntelliJ (and it doesn't sound that way right now), maybe ultimately
> Moonshine will be the better choice.
>
> Anyway many thanks for all your help.
>
> Doug
>
>
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-09 Thread Piotr Zarzycki
Doug,

I have exact same configuration right now and for me everything is working.
Maybe in MySite.mxml there is something which compiler cannot parse...
Alternatively try Moonshine - if I came up with some other idea I will get
back to you. Definitely try open this project in Moonshine and use 0.9.0
for build.

Thank you for your patience,
Piotr


2017-09-09 10:01 GMT+02:00 doug777 :

> Here they are :
>
> <http://apache-flex-users.246.n4.nabble.com/file/
> t784/Compiler_Options.png>
>
> <http://apache-flex-users.246.n4.nabble.com/file/
> t784/Module_Defaults.png>
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-09 Thread Piotr Zarzycki
I'm sorry I forgot to ask you for Compiler Tab screenshot nad Module
defaults.

Thanks,
Piotr

On Sat, Sep 9, 2017, 09:46 doug777  wrote:

> Here are screenshots. Not sure if this is the launch configuration??
>
> 
>
> <
> http://apache-flex-users.246.n4.nabble.com/file/t784/Dependencies_Tab.png
> >
>
> <
> http://apache-flex-users.246.n4.nabble.com/file/t784/Launch_Config.png
> >
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread Piotr Zarzycki
Doug,

Look like compilation through command line was successful! You can run your
app going to generated "bin".

I think something is wrong in configuration of intellij. Could you paste
screenshot from module:
1) First Tab
2) Dependencies Tab

Screenshot of launch  configuration.

Thanks,
Piotr

On Sat, Sep 9, 2017, 07:36 doug777  wrote:

> The batch file generates the following warnings :
>
> Sep 09, 2017 1:27:30 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:102:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>  * @type {org.apache.flex.core.WrappedHTMLElement}
>   ^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:289:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>   * @type {org.apache.flex.core.WrappedHTMLElement} */
>^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/IRenderedObject.js:26:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
> /**  * @type {org.apache.flex.core.WrappedHTMLElement}
>   ^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/UIBase.js:584:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>  * @type {org.apache.flex.core.WrappedHTMLElement}
>   ^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/UIBase.js:876:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ e =
> document.body;
>  ^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/UIBase.js:904:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>   var /** @type {org.apache.flex.core.WrappedHTMLElement} */ p =
> this.positioner.parentNode;
>  ^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/UIBase.js:1017:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>   * @type {org.apache.flex.core.WrappedHTMLElement} */
>^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> println
> WARNING:
>
> C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/UIBase.js:1034:
> WARNING - Type annotation references non-existent type
> org.apache.flex.core.WrappedHTMLElement.
>   * @type {org.apache.flex.core.WrappedHTMLElement} */
>^^^
>
> Sep 09, 2017 1:27:36 PM com.google.javascript.jscomp.LoggerErrorManager
> printSummary
> WARNING: 0 error(s), 8 warning(s), 96.7% typed
> The project 'MySite' has been successfully compiled and optimized.
> 16.413062875 seconds
>
> Still, it says successfully compiled so what do I do next?
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread Piotr Zarzycki
Hi Doug,

I just prepared for you command line command [1]. It contains your paths,
but I may did mistake - check them carefully. If it will fail - the last
think which come up to my minds is that in SDK path I see dots. ->
C:/FlexJSSDKs/0.9.0/ -> 0.9.0. Maybe try to move SDK to no dots path.

[1] https://paste.apache.org/vGcB

Thanks,
Piotr


2017-09-08 12:05 GMT+02:00 Piotr Zarzycki :

> Doug,
>
> If you will use 0.9.0 Nightly with Moonshine you may experience with lot's
> of strange warnings in console. In order to get rid of them you need to
> temporary comment out line [1] in [2]. Once we release 0.9.0 this problem
> will get rid off.
>
> [1] flash.display.Sprite
> [2] https://github.com/apache/flex-asjs/blob/develop/
> frameworks/flex-config.xml
>
> Thanks,
> Piotr
>
>
>
> 2017-09-08 10:28 GMT+02:00 doug777 :
>
>> Thanks for your help. I will try Moonshine.
>>
>> Doug
>>
>>
>>
>> --
>> Sent from: http://apache-flex-users.246.n4.nabble.com/
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> mobile: +48 880 859 557 <+48%20880%20859%20557>
> skype: zarzycki10
>
> LinkedIn: http://www.linkedin.com/piotrzarzycki
> <https://pl.linkedin.com/in/piotr-zarzycki-92a53552>
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: Installed FlexJS using npm, but none of the binaries are executable?

2017-09-08 Thread Piotr Zarzycki
Hi Peter,

It is possible that we may have to ping FDT Team to make some updates in
case of that IDE for the compiler. There has been lot's of changes in
framework since I contact them. If you are using Ubuntu only I would
recommend try it out VSCode [1] with Josh extensions where you find support
for FlexJS.

[1] https://nextgenactionscript.com/

Thanks,
Piotr


2017-09-08 15:41 GMT+02:00 Peter Spierenburg :

> After finally getting FlexJS to install on my ubuntu 16.04 system, I added
> FDT, and tried to follow the steps at:
>
> https://nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/
> How to create a project in FDT to transpile ActionScript ... nextgenactionscript.com/tutorials/fdt-ide-apache-flexjs-setup/>
> nextgenactionscript.com
> FDT has been a powerful development environment available to ActionScript
> developers for many years. Recently, FDT added support for Apache FlexJS,
> with a project ...
>
>
> When I tried to compile my application:
>
> Starting Launcher HelloFDT-debug.
>
> Using: Apache FlexJS Compiler
> Adapter: Apache FlexJS 0.5 Compiler Adapter
> Starting Full Build of HelloFDT-debug.
> Compiler arguments:
>   -output /home/user/workspace/HelloFDT
>   +flexlib=
> /usr/local/lib/node_modules/flexjs/frameworks
>   -debug=false
>   -source-path+=
> /home/user/workspace/HelloFDT/src
>   -library-path+=
> /usr/local/lib/node_modules/flexjs/frameworks/libs/player/
> 25.0/playerglobal.swc
>   -library-path+=
> /usr/local/lib/node_modules/flexjs/js/libs/js.swc
>   -external-library-path+=
> /usr/local/lib/node_modules/flexjs/frameworks/libs/player/
> 25.0/playerglobal.swc
>   -external-library-path+=
> /usr/local/lib/node_modules/flexjs/js/libs/js.swc
>   -js-output-type=jsc
>   -target-player=25.0
>   -static-link-runtime-shared-libraries=
> false
>   -define=CONFIG::AUTHOR,"user"
>   -define=CONFIG::DEBUG,false
>   --
> /home/user/workspace/HelloFDT/src/HelloFDT.as
>
> Pure build time: 0 ms.
> Could not create file /home/user/workspace/HelloFDT.
> Build failed.
>
> Doing a cursory examination, it turns out that the binaries installed by
> npm:
>
>
> /usr/local/lib/node_modules/flexjs/bin$ ls -la
> total 428
> drwxr-xr-x  2 nobody root   4096 Sep  8 12:59 .
> drwxr-xr-x 23 nobody root   4096 Sep  8 12:59 ..
> -rw-r--r--  1 nobody root   1217 Sep  8 12:59 acompc
> -rw-r--r--  1 nobody root   1058 Sep  8 12:59 acompc.bat
> -rw-r--r--  1 nobody root 366152 Sep  8 12:58 adl.exe
> -rw-r--r--  1 nobody root 38 Sep  8 12:58 adt.bat
> -rw-r--r--  1 nobody root   1220 Sep  8 12:59 amxmlc
> -rw-r--r--  1 nobody root   1061 Sep  8 12:59 amxmlc.bat
> -rw-r--r--  1 nobody root   2134 Sep  8 12:59 compc
> -rw-r--r--  1 nobody root   1339 Sep  8 12:59 compc.bat
> -rw-r--r--  1 nobody root   2134 Sep  8 12:59 mxmlc
> -rw-r--r--  1 nobody root   1340 Sep  8 12:59 mxmlc.bat
> -rw-r--r--  1 nobody root   1938 Sep  8 12:59 optimizer
> -rw-r--r--  1 nobody root   1128 Sep  8 12:59 optimizer.bat
> -rw-r--r--  1 nobody root   2105 Sep  8 12:59 swcdepends
> -rw-r--r--  1 nobody root   1358 Sep  8 12:59 swcdepends.bat
> -rw-r--r--  1 nobody root   1891 Sep  8 12:59 swfdump
> -rw-r--r--  1 nobody root   1098 Sep  8 12:59 swfdump.bat
>
> are not executable...
>
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread Piotr Zarzycki
Doug,

If you will use 0.9.0 Nightly with Moonshine you may experience with lot's
of strange warnings in console. In order to get rid of them you need to
temporary comment out line [1] in [2]. Once we release 0.9.0 this problem
will get rid off.

[1] flash.display.Sprite
[2]
https://github.com/apache/flex-asjs/blob/develop/frameworks/flex-config.xml

Thanks,
Piotr



2017-09-08 10:28 GMT+02:00 doug777 :

> Thanks for your help. I will try Moonshine.
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread Piotr Zarzycki
Doug,

I will prepare today console command for and we will se whether you can
build it through that. In the mean time I encourage you to try Moonshine
which guide you step by step with the setup.

Thanks,
Piotr

On Fri, Sep 8, 2017, 08:01 doug777  wrote:

> If I open your project and then adjust the sdk paths then build I get the
> same error in my off-list email.
>
> I repeat the trace here.
>
> Information:[MySite]: Starting Flex compiler:
> "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe"
> -Dapplication.home=C:\FlexJSSDKs\0.9.0 -Dfile.encoding=UTF-8
> -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m
> -classpath "C:\Program Files\JetBrains\IntelliJ IDEA
> 2017.2.3\plugins\flex\lib\idea-flex-compiler-fix.jar;C:\Program
> Files\JetBrains\IntelliJ IDEA
>
> 2017.2.3\plugins\flex\lib\flex-compiler.jar;C:\FlexJSSDKs\0.9.0\lib\flex-compiler-oem.jar"
> com.intellij.flex.compiler.FlexCompiler 52838
> Information:[MySite]: mxmlc
>
> -load-config=C:\Users\Doug\.IntelliJIdea2017.2\system\compile-server\mysite_e8d3b3ca\_temp_\IntelliJ_IDEA\idea-79EF1DF0-2F7BBC26.xml
> -load-config+=C:/FlexJSSDKs/0.9.0/ide/IDEA/intellij-config.xml
> -targets=JSFlex,SWF
> -external-library-path+=C:/FlexJSSDKs/0.9.0/js/libs/js.swc
> -allow-subclass-overrides=true
> Information:[MySite]: Compilation failed
> Information:08/09/2017 13:58 - Compilation completed with 2 errors and 17
> warnings in 3s 988ms
> Error:[MySite]: : Unexpected exception 'java.lang.NullPointerException'.
> C:\FlexJSProjects\MySite\MySite\src\MySite.mxml
> Error:(5, 12) [MySite]: This tag could not be resolved to an ActionScript
> class. It will be ignored.
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc
> Warning:[MySite]: The definition org.apache.flex.core.IApplicationView
> depended on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition
> org.apache.flex.core.IInitialViewApplication depended on by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IStrand depended on
> by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IBead depended on by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IValuesImpl depended
> on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.events.IEventDispatcher
> depended on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IChild depended on by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.utils.MXMLDataInterpreter
> depended on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.ValuesManager
> depended
> on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.events.Event depended on
> by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IParent depended on
> by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IPopUpHost depended
> on
> by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IRenderedObject
> depended on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IUIBase depended on
> by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.ILayoutChild depended
> on by org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition
> org.apache.flex.events.utils.MouseEventConverter depended on by
> org.apache.flex.core.Application in the SWC
> C:\FlexJSSDKs\0.9.0\frameworks\libs\Basic.swc could not be found
> Warning:[MySite]: The definition org.apache.flex.core.IFlexInfo depended on
> by org.apache.flex.c

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread Piotr Zarzycki
Doug,

Let's discuss here all the problems not off the list. I have sent you my
project - open it in your Intellij. Compare with yours all the
configuration. Do you see any difference?

Thanks,
Piotr

On Thu, Sep 7, 2017, 18:58 piotrz  wrote:

> Hi Doug,
>
> I just went through the instruction and was able to setup and run in
> debugging mode JS only FlexJS application.
>
> I will send you off the list (list is stripping attachments) in zip my
> project. You will probably need to setup sdk, cause your paths are
> different, but the rest should work. Check out and let me know.
>
> Thanks,
> Piotr
>
>
>
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread Piotr Zarzycki
That is a way better, cause it means that compilation finally fired up!

Your project has one file MySite.xml ? - Could you please paste somewhere
your code - on some paste page.

Thanks, Piotr

2017-09-07 10:30 GMT+02:00 doug777 :

> This changed the result as follows but as Hello World has no event
> listeners
> I'm not sure what the new errors mean.
>
> Information:[MySite]: Starting Flex compiler:
> "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe"
> -Dapplication.home=C:\FlexJSSDKs\0.9.0 -Dfile.encoding=UTF-8
> -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m
> -classpath "C:\Program Files\JetBrains\IntelliJ IDEA
> 2017.2.3\plugins\flex\lib\idea-flex-compiler-fix.jar;C:\Program
> Files\JetBrains\IntelliJ IDEA
> 2017.2.3\plugins\flex\lib\flex-compiler.jar;C:\FlexJSSDKs\0.9.0\lib\flex-
> compiler-oem.jar"
> com.intellij.flex.compiler.FlexCompiler 62471
> Information:[MySite]: mxmlc
> -load-config=C:\Users\Doug\.IntelliJIdea2017.2\system\compile-server\
> tabletbookingwebsite_b0893d28\_temp_\IntelliJ_IDEA\idea-
> 2B980A45-2D8F3090.xml
> -load-config+=C:/FlexJSSDKs/0.9.0/ide/IDEA/intellij-config.xml
> -targets=JSFlex -external-library-path+=C:/FlexJSSDKs/0.9.0/js/libs/js.swc
> -allow-subclass-overrides=true
> Information:[MySite]: Compilation failed
> Information:07/09/2017 16:22 - Compilation completed with 4 errors and 0
> warnings in 5s 562ms
> Error:[MySite]: : interface method addEventListener in interface
> IEventDispatcher is implemented with an incompatible signature in class
> MySite
> Error:[MySite]: : interface method removeEventListener in interface
> IEventDispatcher is implemented with an incompatible signature in class
> MySite
> C:\My Documents\FlexJS Projects\MySite\src\MySite.mxml
> Error:[MySite]: interface method element in interface
> IInitialViewApplication not implemented by class MySite
> Error:[MySite]: interface method element in interface IRenderedObject not
> implemented by class MySite
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread Piotr Zarzycki
Doug,

I will try today/tomorrow morning to do myself whole process and get back
to you.

One thing which come up to my mind is the paths to intellij-config.xml and
js.swc - It contains spaces - Could you try to move your SDK to the place
where there will be no spaces in path.

Thanks, Piotr

2017-09-07 9:58 GMT+02:00 doug777 :

> OK so result is same and this line shows up as :
>
> Information:[MySite]: mxmlc
> -load-config=C:\Users\Doug\.IntelliJIdea2017.2\system\compile-server\
> tabletbookingwebsite_b0893d28\_temp_\IntelliJ_IDEA\idea-
> 2B980A45-2D8F3090.xml
> -load-config+=C:/My Documents/FlexJS SDKs/0.9.0/ide/IDEA/intellij-
> config.xml
> -targets=JSFlex -external-library-path+=C:/My Documents/FlexJS
> SDKs/0.9.0/js/libs/js.swc -allow-subclass-overrides=true
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread Piotr Zarzycki
That's enough. Could you make the test where in "Additional compiler
options" you have for argument targets only "-targets=JSFlex". Try to
"Rebuild" project - no run, cause it will be JS only compilation. Post the
results.

I just wanted to eliminate possibility that this is something with SWF
build, but I think there may be some missing pieces in the steps.

Thanks, Piotr

2017-09-07 9:30 GMT+02:00 doug777 :

> Piotr,
>
> I didn't try to run; just got as far as : You should be able to build your
> project now, click on Build -> Rebuild project.
>
> I then get the following in the Messages window -
>
> Information:[MySite]: Starting Flex compiler:
> "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe"
> "-Dapplication.home=C:\My Documents\FlexJS SDKs\0.9.0"
> -Dfile.encoding=UTF-8
> -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m
> -classpath "C:\Program Files\JetBrains\IntelliJ IDEA
> 2017.2.3\plugins\flex\lib\idea-flex-compiler-fix.jar;C:\Program
> Files\JetBrains\IntelliJ IDEA
> 2017.2.3\plugins\flex\lib\flex-compiler.jar;C:\My Documents\FlexJS
> SDKs\0.9.0\lib\flex-compiler-oem.jar"
> com.intellij.flex.compiler.FlexCompiler 61713
>
> Information:[MySite]: mxmlc
> -load-config=C:\Users\Doug\.IntelliJIdea2017.2\system\compile-server\
> tabletbookingwebsite_b0893d28\_temp_\IntelliJ_IDEA\idea-
> 2B980A45-2D8F3090.xml
> -load-config+=C:/My Documents/FlexJS SDKs/0.9.0/ide/IDEA/intellij-
> config.xml
> -targets=JSFlex,SWF -external-library-path+=C:/My Documents/FlexJS
> SDKs/0.9.0/js/libs/js.swc -allow-subclass-overrides=true
>
> Information:[MySite]: Compilation failed
>
> Information:07/09/2017 15:23 - Compilation completed with 1 error and 0
> warnings in 1s 56ms
>
> Error:[MySite]: command line: default arguments may not be interspersed
> with
> other options.
>
> Not sure where to find the real stack trace.
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-06 Thread Piotr Zarzycki
Doug,

You did try to run an swf version ? Could you show me the stack trace from
message tab - It shows up once you start building the project.

Thanks,
Piotr

2017-09-07 8:20 GMT+02:00 doug777 :

> Hi Piotr,
>
> The nightly build downloads with no problems at all.
>
> I have followed through the setup instructions then copied the Hello World
> example into the IDE window.
>
> No errors show up (green tick in top right-hand corner).
>
> But when I try to build, I get the error Compilation failed -
>
> command line: default arguments may not be interspersed with other options.
>
> Is there something else I need to set?
>
> Doug
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Piotr Zarzycki
 a problem with the flexjs package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node dependencies/download_dependencies.js
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR! npm bugs flexjs
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR! npm owner ls flexjs
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR! /home/user/npm-debug.log
>
>
> When I follow the instructions under "Installing FlexJS by Downloading a
> Binary Package" I get the following error:
>
> Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
>   [get] Getting: http://flex.apache.org/installer/properties/flexjs/
> en_US.properties
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/en_US.properties
>
> get-data:
>   [get] Getting: http://flex.apache.org/installer/sdk-installer-
> config-4.0.xml?ts=201709011343
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/sdk-installer-
> config-4.0.xml
>
> BUILD FAILED
> /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml:158: Reference
> air.sdk.server.linux.14.0 not found.
>
> Total time: 1 second
>
>
> I don't suppose there is a debian package that I can just install?
>
> Peter.
>
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: How do I install FlexJS and FDT on Ubuntu 16.04

2017-09-01 Thread Piotr Zarzycki
Hi Peter,

I see that on Windows there is node version 6.11.2. I see on the stack that
yours is node v4.2.6 - What is the nevest for your Ubuntu distribution ?
Maybe there is really need to be upgraded along with npm.

Thanks,
Piotr


2017-09-01 15:52 GMT+02:00 Peter Spierenburg :

> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller
>
> Getting Started With FlexJS - Apache Flex - Apache ...<
> https://cwiki.apache.org/confluence/display/FLEX/
> Getting+Started+With+FlexJS#GettingStartedWithFlexJS-ApacheFlexInstaller>
> cwiki.apache.org
> Application developers can create applications with Apache FlexJS via a
> number IDEs, from the command line, with Ant, and soon, Maven. Below are
> links to instructions ...
>
> I am trying to follow the instructions above, and I am failing miserably.
>
>
> When I follow the instructions under "Installing FlexJS via the Node
> Package Manager (npm)" I get the following error:
>
>
> npm ERR! Linux 4.10.0-33-generic
> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "flexjs" "-g"
> npm ERR! node v4.2.6
> npm ERR! npm  v3.5.2
> npm ERR! file sh
> npm ERR! code ELIFECYCLE
> npm ERR! errno ENOENT
> npm ERR! syscall spawn
>
> npm ERR! flexjs@0.8.0 postinstall: `node dependencies/download_
> dependencies.js`
> npm ERR! spawn ENOENT
> npm ERR!
> npm ERR! Failed at the flexjs@0.8.0 postinstall script 'node
> dependencies/download_dependencies.js'.
> npm ERR! Make sure you have the latest version of node.js and npm
> installed.
> npm ERR! If you do, this is most likely a problem with the flexjs package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! node dependencies/download_dependencies.js
> npm ERR! You can get information on how to open an issue for this project
> with:
> npm ERR! npm bugs flexjs
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR! npm owner ls flexjs
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR! /home/user/npm-debug.log
>
>
> When I follow the instructions under "Installing FlexJS by Downloading a
> Binary Package" I get the following error:
>
> Buildfile: /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml
>   [get] Getting: http://flex.apache.org/installer/properties/flexjs/
> en_US.properties
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/en_US.properties
>
> get-data:
>   [get] Getting: http://flex.apache.org/installer/sdk-installer-
> config-4.0.xml?ts=201709011343
>   [get] To: /home/user/apache-flex-flexjs-0.8.0-bin/sdk-installer-
> config-4.0.xml
>
> BUILD FAILED
> /home/user/apache-flex-flexjs-0.8.0-bin/installer.xml:158: Reference
> air.sdk.server.linux.14.0 not found.
>
> Total time: 1 second
>
>
> I don't suppose there is a debian package that I can just install?
>
> Peter.
>
> This communication, including any attached documentation, is intended only
> for the person or entity to which it is addressed, and may contain
> confidential, personal, and/or privileged information. Any unauthorized
> disclosure, copying, or taking action on the contents is strictly
> prohibited. If you have received this message in error, please contact us
> immediately so we may correct our records. Please then delete or destroy
> the original transmission and any subsequent reply. Thank you.
>



-- 

Piotr Zarzycki

mobile: +48 880 859 557
skype: zarzycki10

LinkedIn: http://www.linkedin.com/piotrzarzycki
<https://pl.linkedin.com/in/piotr-zarzycki-92a53552>


Re: Remote object for Flex JS

2017-08-23 Thread Piotr Zarzycki
Hi Alex,

Thank you! I would vote for getting API as close as it was in an old Flex.

Piotr

2017-08-23 7:41 GMT+02:00 Alex Harui :

> So, I played around with AMF today, adding SWF code for RemoteObject.  For
> me, the RemoteObjectAMFTest in examples/flexjs is working against the
> SampleAmfWebApp in examples/amf for both SWF and JS.  I don't think I had
> to touch the JS code in amf.js.  That's better than I was expecting.  Am I
> not doing something right or is there some other problem that needs
> solving?
>
> Some observations along the way:
>
> I was able to talk to the server in SWF code just by using
> NetConnection.call and passing in CommandMessages and RemotingMessages,
> but the amf.js code seems to be sending an ActionMessage wrapped around
> the CommandMessage and RemotingMessage.  Is that wrapping what
> NetConnection does?
>
> I'm tempted to try to refactor amf.js into several AS classes.  Is that
> worth doing or are there bigger fish to fry?
>
> The amf.js code includes a Promise implementation.  If we refactor to AS,
> should we try to use promises or make the API more compatible with regular
> Flex?  I'm leaning towards compatibility with regular Flex.
>
> Thoughts?
> -Alex
>
> On 8/21/17, 11:02 AM, "Harbs"  wrote:
>
> >There’s probably an advantage to converting it to FlexJS. You could
> >probably leverage BinaryData for some of the functionality.
> >
> >You can also create typedefs if you want.
> >
> >> On Aug 21, 2017, at 8:53 PM, PKumar  wrote:
> >>
> >> Alex,
> >>
> >> As per my analysis & testing, AMFJS supports following features:
> >>
> >> - All dataType serialization & deserialization support including
> >>Object ,
> >> Vector
> >> -  Connection with BlazeDS
> >> - Conection with AMFPHP
> >> -  Class Mapping Support using Alias Name & Class
> >> -   Inbuilt support for sending AMF request  & response
> >>
> >> I also checked James ward implementation but that does  not support
> >>vector
> >> and blazeds connectivity.
> >>
> >> I prepared  a demo for class mapping and blazeDs connection. If  you
> >>want to
> >> check, please let me know. I will share on github.
> >>
> >> one query i want  to ask , can we convert this amfJS library to  FlexJS
> >> Typedef  just like createJS library?
> >>
> >>
> >> Regards,
> >> Prashant
> >>
> >>
> >>
> >> -
> >> Regards,
> >> Prashant
> >> --
> >> View this message in context:
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fapache-fl
> >>ex-users.246.n4.nabble.com%2FRemote-object-for-Flex-
> JS-tp15510p15782.
> >>html&data=02%7C01%7C%7C1af098eb84194e4a169c08d4e8be
> bf0f%7Cfa7b1b5a7b34438
> >>794aed2c178decee1%7C0%7C0%7C636389353321386860&sdata=
> 9Vgilc%2FEEN6eQEGjDw
> >>mmQV8N952XqBSbgweg1VQ41g4%3D&reserved=0
> >> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>


<    1   2   3