Ok, now that the mx-manifest.xml was copied, you didn't list this I think.

It's compiling! BUT;

C:\Users\Teoti\Documents\ApacheFlex\TestFlexJSNightly\src\MyInitialView.mxml
Error:(47, 22) [TestFlexJSNightly]: Ambiguous reference to CustomEvent
Error:(121, 83) [TestFlexJSNightly]: Ambiguous reference to CustomEvent
Error:(130, 100) [TestFlexJSNightly]: Ambiguous reference to CustomEvent
Warning:(131, 76) [TestFlexJSNightly]: Data binding will not be able to
detect assignments to 'strings'.
C:\Users\Teoti\Documents\ApacheFlex\TestFlexJSNightly\src\controllers\MyController.as
Error:(30, 2) [TestFlexJSNightly]: No default constructor found in base
class Object.
Error:(43, 43) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(50, 50) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(58, 43) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(64, 47) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(69, 50) [TestFlexJSNightly]: Ambiguous reference to Event
C:\Users\Teoti\Documents\ApacheFlex\TestFlexJSNightly\src\models\MyModel.as
Error:(43, 22) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(45, 23) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(79, 22) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(80, 22) [TestFlexJSNightly]: Ambiguous reference to Event
Error:(113, 22) [TestFlexJSNightly]: Ambiguous reference to Event


ALEX! This is what I was talking about naming collisions the with JS.swc!
The CustomEvent in the DOM is clashing with a non qualified CustomEvent of
apache flex.

This sucks...

Mike




On Mon, Jun 15, 2015 at 11:50 AM, Michael Schmalle <
teotigraphix...@gmail.com> wrote:

> Damn, I am wasting your time, I freking set ActionScript only project! So
> Script is now resolved. :)
>
> But now I have;
>
> Information:[TestFlexJSNightly]: Starting Flex compiler:
> "C:\Program Files (x86)\JetBrains\IntelliJ IDEA
> 14.1.1\jre\jre\bin\java.exe"
> -Dapplication.home=C:\Users\Teoti\Documents\ApacheFlex\FlexJS\FlexJS-Nightly
> -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en
> -Duser.region=en -Xmx512m -classpath "C:\Program Files
> (x86)\JetBrains\IntelliJ IDEA
> 14.1.1\plugins\flex\lib\idea-flex-compiler-fix.jar;C:\Program Files
> (x86)\JetBrains\IntelliJ IDEA
> 14.1.1\plugins\flex\lib\flex-compiler.jar;C:\Users\Teoti\Documents\ApacheFlex\FlexJS\FlexJS-Nightly\lib\flex-compiler-oem.jar"
> com.intellij.flex.compiler.FlexCompiler 53072
> Information:[TestFlexJSNightly]: mxmlc
> -load-config=C:\Users\Teoti\.IntelliJIdea14\system\compile-server\_temp_\IntelliJ_IDEA\idea-A12FAC1E-993C1820.xml
> -load-config+=C:\Users\Teoti\Documents\ApacheFlex\FlexJS\ide\IDEA\intellij-config.xml
> -js-output-type=FLEXJS_DUAL
> Information:[TestFlexJSNightly]: Compilation failed
> Information:6/15/2015 11:49 AM - Compilation completed with 2 errors and 0
> warnings in 3s 925ms
> Error:[TestFlexJSNightly]: command line: unable to open
> 'C:\Users\Teoti\Documents\ApacheFlex\FlexJS\ide\IDEA\intellij-config.xml'.
>
> C:\Users\Teoti\.IntelliJIdea14\system\compile-server\_temp_\IntelliJ_IDEA\idea-A12FAC1E-993C1820.xml
> Error:(32, 0) [TestFlexJSNightly]: unable to open
> 'C:\Users\Teoti\Documents\ApacheFlex\FlexJS\FlexJS-Nightly\frameworks\mx-manifest.xml'.
> C:\Users\Teoti\.IntelliJIdea14\system\compile-server\_temp_\IntelliJ_IDEA\idea-A12FAC1E-993C1820.xml
> (line: 32)
>
> Mike
>
>
>
> On Mon, Jun 15, 2015 at 11:48 AM, Michael Schmalle <
> teotigraphix...@gmail.com> wrote:
>
>>
>>
>> On Mon, Jun 15, 2015 at 11:47 AM, Frédéric THOMAS <
>> webdoubl...@hotmail.com> wrote:
>>
>>> > To use JS.swc, it is expected to be in the external-library-path like
>>> > playerglobal, not the regular library-path
>>> > There is a js\bin\jsc.bat that calls mxmlc with external-library-path
>>>
>>> Thanks for the info, I got it working without to call the jsc.bat but
>>> directly from IJ, marking the js.swc as external :-)
>>>
>>
>> BTW, the JS.swc is pretty neat eh? :)
>>
>>
>>>
>>> Frédéric THOMAS
>>>
>>>
>>> ----------------------------------------
>>> > From: aha...@adobe.com
>>> > To: dev@flex.apache.org
>>> > Subject: Re: Re : Re: Re : Re: AW: AW: AW: [FlexJS] IntelliJ
>>> Integration
>>> > Date: Mon, 15 Jun 2015 15:35:23 +0000
>>> >
>>> >
>>> >
>>> > On 6/15/15, 8:19 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com>
>>> wrote:
>>> >
>>> >>
>>> >>> What did you run?
>>> >>
>>> >>The compiler from IJ
>>> >
>>> > To use JS.swc, it is expected to be in the external-library-path like
>>> > playerglobal, not the regular library-path
>>> > There is a js\bin\jsc.bat that calls mxmlc with external-library-path
>>> >
>>> > -Alex
>>> >
>>>
>>>
>>
>>
>

Reply via email to