You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2016/07/18 07:38:13 UTC

FlexJS release build working?

I can’t seem to get a release build in FlaconJX to work.

I was not sure if it’s my project, so I tried a couple of the examples and they do not seem to work either.

I just created a new Flash Builder project for ToDoListSampleApp. The debug runs (although it looks messed up), but the release does not build at all. ant does not work either.

Harbs

Re: FlexJS release build working?

Posted by Harbs <ha...@gmail.com>.
Yeah. That seemed to work.

The problem in Flash Builder was that -remove-circulars was not being used. Adding that argument fixed the release build.

Now comes the hard part of trying to make my app compile… ;-)

On Jul 18, 2016, at 10:40 PM, Alex Harui <ah...@adobe.com> wrote:

> Looks like another spaces-in-path problem.  Can you try using folders
> without spaces in the path?
> 
> Thanks,
> -Alex
> 
> On 7/18/16, 12:38 PM, "Harbs" <ha...@gmail.com> wrote:
> 
>> Here’s what I get from the DataBindingExample:
>> Harbss-MacBook-Pro:DataBindingExample harbs$ ant
>> Buildfile: /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/build.xml
>> 
>> clean:
>>  [delete] Deleting directory /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>> 
>> build_example.compile:
>>    [echo] Compiling DataBindingExample.swf
>>    [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly
>>   [mxmlc] Loading configuration: /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/frameworks/flex-config.xml
>>   [mxmlc] 
>>   [mxmlc] 106341 bytes written to /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/DataBindin
>> gExample.swf in 2.906 seconds
>>    [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>>    [copy] Copying 3 files to /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/history
>>    [copy] Copying 2 files to /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>>    [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/fonts
>> 
>> build_example.compilejs:
>>    [echo] Compiling DataBindingExample.js
>>    [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly
>>    [echo] FALCONJX_HOME:
>> /Users/harbs/Documents/ApacheFlex/flex-falcon/compiler-jx
>>    [echo] GOOG_HOME: /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/js/lib/google/closure-library
>>    [java] Error: Could not find or load main class Flex
>>    [java] Java Result: 1
>> 
>> BUILD FAILED
>> /Users/harbs/Documents/Apache Flex
>> Dist/FlexJSNightly/examples/build_example.xml:253: condition satisfied
>> 
>> On Jul 18, 2016, at 10:14 PM, Alex Harui <ah...@adobe.com> wrote:
>> 
>>> On 7/18/16, 12:12 PM, "Harbs" <ha...@gmail.com> wrote:
>>> 
>>>> The JS is totally blank with the exception of the comment about Falcon.
>>> 
>>> Could you post your ant console output?  There might be clues in there.
>>> 
>>> Thanks,
>>> -Alex
>>> 
>> 
> 


Re: FlexJS release build working?

Posted by Alex Harui <ah...@adobe.com>.
Looks like another spaces-in-path problem.  Can you try using folders
without spaces in the path?

Thanks,
-Alex

On 7/18/16, 12:38 PM, "Harbs" <ha...@gmail.com> wrote:

>Here’s what I get from the DataBindingExample:
>Harbss-MacBook-Pro:DataBindingExample harbs$ ant
>Buildfile: /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/build.xml
>
>clean:
>   [delete] Deleting directory /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>
>build_example.compile:
>     [echo] Compiling DataBindingExample.swf
>     [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly
>    [mxmlc] Loading configuration: /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/frameworks/flex-config.xml
>    [mxmlc] 
>    [mxmlc] 106341 bytes written to /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/DataBindin
>gExample.swf in 2.906 seconds
>     [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>     [copy] Copying 3 files to /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/history
>     [copy] Copying 2 files to /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
>     [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/fonts
>
>build_example.compilejs:
>     [echo] Compiling DataBindingExample.js
>     [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly
>     [echo] FALCONJX_HOME:
>/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler-jx
>     [echo] GOOG_HOME: /Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/js/lib/google/closure-library
>     [java] Error: Could not find or load main class Flex
>     [java] Java Result: 1
>
>BUILD FAILED
>/Users/harbs/Documents/Apache Flex
>Dist/FlexJSNightly/examples/build_example.xml:253: condition satisfied
>
>On Jul 18, 2016, at 10:14 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> On 7/18/16, 12:12 PM, "Harbs" <ha...@gmail.com> wrote:
>> 
>>> The JS is totally blank with the exception of the comment about Falcon.
>> 
>> Could you post your ant console output?  There might be clues in there.
>> 
>> Thanks,
>> -Alex
>> 
>


Re: FlexJS release build working?

Posted by Harbs <ha...@gmail.com>.
Here’s what I get from the DataBindingExample:
Harbss-MacBook-Pro:DataBindingExample harbs$ ant
Buildfile: /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/build.xml

clean:
   [delete] Deleting directory /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug

build_example.compile:
     [echo] Compiling DataBindingExample.swf
     [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly
    [mxmlc] Loading configuration: /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/frameworks/flex-config.xml
    [mxmlc] 
    [mxmlc] 106341 bytes written to /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/DataBindingExample.swf in 2.906 seconds
     [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
     [copy] Copying 3 files to /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/history
     [copy] Copying 2 files to /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug
     [copy] Copying 1 file to /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/flexjs/DataBindingExample/bin-debug/fonts

build_example.compilejs:
     [echo] Compiling DataBindingExample.js
     [echo] FLEX_HOME: /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly
     [echo] FALCONJX_HOME: /Users/harbs/Documents/ApacheFlex/flex-falcon/compiler-jx
     [echo] GOOG_HOME: /Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/js/lib/google/closure-library
     [java] Error: Could not find or load main class Flex
     [java] Java Result: 1

BUILD FAILED
/Users/harbs/Documents/Apache Flex Dist/FlexJSNightly/examples/build_example.xml:253: condition satisfied

On Jul 18, 2016, at 10:14 PM, Alex Harui <ah...@adobe.com> wrote:

> On 7/18/16, 12:12 PM, "Harbs" <ha...@gmail.com> wrote:
> 
>> The JS is totally blank with the exception of the comment about Falcon.
> 
> Could you post your ant console output?  There might be clues in there.
> 
> Thanks,
> -Alex
> 


Re: FlexJS release build working?

Posted by Alex Harui <ah...@adobe.com>.
On 7/18/16, 12:12 PM, "Harbs" <ha...@gmail.com> wrote:

>The JS is totally blank with the exception of the comment about Falcon.

Could you post your ant console output?  There might be clues in there.

Thanks,
-Alex


Re: FlexJS release build working?

Posted by Harbs <ha...@gmail.com>.
The JS is totally blank with the exception of the comment about Falcon.

On Jul 18, 2016, at 10:07 PM, Alex Harui <ah...@adobe.com> wrote:

> 
> 
> On 7/18/16, 12:38 AM, "Harbs" <ha...@gmail.com> wrote:
> 
>> I can’t seem to get a release build in FlaconJX to work.
>> 
>> I was not sure if it’s my project, so I tried a couple of the examples
>> and they do not seem to work either.
>> 
>> I just created a new Flash Builder project for ToDoListSampleApp. The
>> debug runs (although it looks messed up), but the release does not build
>> at all. ant does not work either.
> 
> I didn't try FB, but ant is working for me although I don't know
> ToDoListSampleApp very well.  There might be some layout issues, but I
> don't get any build or runtime errors.   What errors are you getting?
> 
> -Alex
> 


Re: FlexJS release build working?

Posted by Alex Harui <ah...@adobe.com>.

On 7/18/16, 12:38 AM, "Harbs" <ha...@gmail.com> wrote:

>I can’t seem to get a release build in FlaconJX to work.
>
>I was not sure if it’s my project, so I tried a couple of the examples
>and they do not seem to work either.
>
>I just created a new Flash Builder project for ToDoListSampleApp. The
>debug runs (although it looks messed up), but the release does not build
>at all. ant does not work either.

I didn't try FB, but ant is working for me although I don't know
ToDoListSampleApp very well.  There might be some layout issues, but I
don't get any build or runtime errors.   What errors are you getting?

-Alex