You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Peter Ent <pe...@adobe.com> on 2013/11/14 16:23:35 UTC

[FalconJX] Build and install

Hi,

I've done a git pull on the flex-falcon git repository. I've looked at the README at the top level and in compiler.jx. I've run "ant main" and got a successful build.

Now what? How I install this so FlexJS can use it from within Flash Builder? I've tried to figure it out with either no change (meaning things that were fix aren't fixed) or I can a Java Null Pointer error immediately probably because I didn't copy the right thing(s) to the right place(s).

I'll be happy to update the README with the details.

Thanks,
Peter Ent
Adobe Systems

Re: [FalconJX] Build and install

Posted by Alex Harui <ah...@adobe.com>.
If you have an overlaid SDK, updating its Falcon Jars should be as
straightforward as taking the new Jars from the build and replacing them.
Jars built in the compiler folder end up in
compiler/generated/dist/sdk/lib and should overlay the overlaid SDK's lib
folder, and Jars built in compiler.jx end up in compiler.jx/lib and go in
the overlaid SDK's js/lib folder.

-Alex

On 11/14/13 7:44 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

>First, to get everything set up, in the root of your 'flex-falcon'
>directory, run 'ant wipe-all all'. This will build both the compiler
>and compiler.jx, setting up their dependencies etc. etc.
>
>I don't know another way to set it up in Flash Builder other than
>installing Alex's overlay and editing the .launch files. However, it
>is "very easy" to run a build from the command line:
>
>/Users/erik/Documents/ApacheFlex/git/flex-falcon/compiler.jx/bin/mxmlc
>-load-config="/Applications/Adobe Flash Builder
>4.7/sdks/4.11.0_overlay/frameworks/flex-config.xml"
>-compiler.binding-value-change-event-type=valueChange
>-compiler.mxml.children-as-data -js-output-type=FLEXJS
>-sdk-js-lib="/Users/erik/Documents/ApacheFlex/git/flex-asjs/frameworks/js/
>FlexJS/src"
>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/
>library"
>"/Users/erik/Documents/ApacheFlex/git/flex-asjs/examples/DataGridExample/s
>rc/DataGridExample.mxml"
>
>Play with that for a bit, and let me know. I'm here to help out.
>
>EdB
>
>
>
>On Thu, Nov 14, 2013 at 4:23 PM, Peter Ent <pe...@adobe.com> wrote:
>> Hi,
>>
>> I've done a git pull on the flex-falcon git repository. I've looked at
>>the README at the top level and in compiler.jx. I've run "ant main" and
>>got a successful build.
>>
>> Now what? How I install this so FlexJS can use it from within Flash
>>Builder? I've tried to figure it out with either no change (meaning
>>things that were fix aren't fixed) or I can a Java Null Pointer error
>>immediately probably because I didn't copy the right thing(s) to the
>>right place(s).
>>
>> I'll be happy to update the README with the details.
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems
>
>
>
>-- 
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl


Re: [FalconJX] Build and install

Posted by Peter Ent <pe...@adobe.com>.
Ah - that was the problem - I was on master, not develop.
Thanks again.
--peter

On 11/14/13 11:09 AM, "Alex Harui" <ah...@adobe.com> wrote:

>Are you on the develop branch?
>
>On 11/14/13 8:05 AM, "Peter Ent" <pe...@adobe.com> wrote:
>
>>I must have gotten the wrong thing from git. Here's my directory:
>>
>>% pwd
>>/Users/pent/dev/flex-falcon
>>
>>
>>% ls
>>README			compiler		compiler.jx		compiler.tests
>>build.xml		compiler.js		compiler.jx.tests	jenkins.xml
>>
>>
>>When I enter 'ant wipe-all all' I get this:
>>
>>% ant wipe-all all
>>Buildfile: build.xml
>>
>>BUILD FAILED
>>Target "wipe-all" does not exist in the project "falcon".
>>
>>Total time: 0 seconds
>>
>>
>>--peter
>>
>>On 11/14/13 10:44 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>>
>>>First, to get everything set up, in the root of your 'flex-falcon'
>>>directory, run 'ant wipe-all all'. This will build both the compiler
>>>and compiler.jx, setting up their dependencies etc. etc.
>>>
>>>I don't know another way to set it up in Flash Builder other than
>>>installing Alex's overlay and editing the .launch files. However, it
>>>is "very easy" to run a build from the command line:
>>>
>>>/Users/erik/Documents/ApacheFlex/git/flex-falcon/compiler.jx/bin/mxmlc
>>>-load-config="/Applications/Adobe Flash Builder
>>>4.7/sdks/4.11.0_overlay/frameworks/flex-config.xml"
>>>-compiler.binding-value-change-event-type=valueChange
>>>-compiler.mxml.children-as-data -js-output-type=FLEXJS
>>>-sdk-js-lib="/Users/erik/Documents/ApacheFlex/git/flex-asjs/frameworks/j
>>>s
>>>/
>>>FlexJS/src"
>>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosur
>>>e
>>>/
>>>library"
>>>"/Users/erik/Documents/ApacheFlex/git/flex-asjs/examples/DataGridExample
>>>/
>>>s
>>>rc/DataGridExample.mxml"
>>>
>>>Play with that for a bit, and let me know. I'm here to help out.
>>>
>>>EdB
>>>
>>>
>>>
>>>On Thu, Nov 14, 2013 at 4:23 PM, Peter Ent <pe...@adobe.com> wrote:
>>>> Hi,
>>>>
>>>> I've done a git pull on the flex-falcon git repository. I've looked at
>>>>the README at the top level and in compiler.jx. I've run "ant main" and
>>>>got a successful build.
>>>>
>>>> Now what? How I install this so FlexJS can use it from within Flash
>>>>Builder? I've tried to figure it out with either no change (meaning
>>>>things that were fix aren't fixed) or I can a Java Null Pointer error
>>>>immediately probably because I didn't copy the right thing(s) to the
>>>>right place(s).
>>>>
>>>> I'll be happy to update the README with the details.
>>>>
>>>> Thanks,
>>>> Peter Ent
>>>> Adobe Systems
>>>
>>>
>>>
>>>-- 
>>>Ix Multimedia Software
>>>
>>>Jan Luykenstraat 27
>>>3521 VB Utrecht
>>>
>>>T. 06-51952295
>>>I. www.ixsoftware.nl
>>
>


Re: [FalconJX] Build and install

Posted by Alex Harui <ah...@adobe.com>.
Are you on the develop branch?

On 11/14/13 8:05 AM, "Peter Ent" <pe...@adobe.com> wrote:

>I must have gotten the wrong thing from git. Here's my directory:
>
>% pwd
>/Users/pent/dev/flex-falcon
>
>
>% ls
>README			compiler		compiler.jx		compiler.tests
>build.xml		compiler.js		compiler.jx.tests	jenkins.xml
>
>
>When I enter 'ant wipe-all all' I get this:
>
>% ant wipe-all all
>Buildfile: build.xml
>
>BUILD FAILED
>Target "wipe-all" does not exist in the project "falcon".
>
>Total time: 0 seconds
>
>
>--peter
>
>On 11/14/13 10:44 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:
>
>>First, to get everything set up, in the root of your 'flex-falcon'
>>directory, run 'ant wipe-all all'. This will build both the compiler
>>and compiler.jx, setting up their dependencies etc. etc.
>>
>>I don't know another way to set it up in Flash Builder other than
>>installing Alex's overlay and editing the .launch files. However, it
>>is "very easy" to run a build from the command line:
>>
>>/Users/erik/Documents/ApacheFlex/git/flex-falcon/compiler.jx/bin/mxmlc
>>-load-config="/Applications/Adobe Flash Builder
>>4.7/sdks/4.11.0_overlay/frameworks/flex-config.xml"
>>-compiler.binding-value-change-event-type=valueChange
>>-compiler.mxml.children-as-data -js-output-type=FLEXJS
>>-sdk-js-lib="/Users/erik/Documents/ApacheFlex/git/flex-asjs/frameworks/js
>>/
>>FlexJS/src"
>>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure
>>/
>>library"
>>"/Users/erik/Documents/ApacheFlex/git/flex-asjs/examples/DataGridExample/
>>s
>>rc/DataGridExample.mxml"
>>
>>Play with that for a bit, and let me know. I'm here to help out.
>>
>>EdB
>>
>>
>>
>>On Thu, Nov 14, 2013 at 4:23 PM, Peter Ent <pe...@adobe.com> wrote:
>>> Hi,
>>>
>>> I've done a git pull on the flex-falcon git repository. I've looked at
>>>the README at the top level and in compiler.jx. I've run "ant main" and
>>>got a successful build.
>>>
>>> Now what? How I install this so FlexJS can use it from within Flash
>>>Builder? I've tried to figure it out with either no change (meaning
>>>things that were fix aren't fixed) or I can a Java Null Pointer error
>>>immediately probably because I didn't copy the right thing(s) to the
>>>right place(s).
>>>
>>> I'll be happy to update the README with the details.
>>>
>>> Thanks,
>>> Peter Ent
>>> Adobe Systems
>>
>>
>>
>>-- 
>>Ix Multimedia Software
>>
>>Jan Luykenstraat 27
>>3521 VB Utrecht
>>
>>T. 06-51952295
>>I. www.ixsoftware.nl
>


Re: [FalconJX] Build and install

Posted by Peter Ent <pe...@adobe.com>.
I must have gotten the wrong thing from git. Here's my directory:

% pwd
/Users/pent/dev/flex-falcon


% ls
README			compiler		compiler.jx		compiler.tests
build.xml		compiler.js		compiler.jx.tests	jenkins.xml


When I enter 'ant wipe-all all' I get this:

% ant wipe-all all
Buildfile: build.xml

BUILD FAILED
Target "wipe-all" does not exist in the project "falcon".

Total time: 0 seconds


--peter

On 11/14/13 10:44 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

>First, to get everything set up, in the root of your 'flex-falcon'
>directory, run 'ant wipe-all all'. This will build both the compiler
>and compiler.jx, setting up their dependencies etc. etc.
>
>I don't know another way to set it up in Flash Builder other than
>installing Alex's overlay and editing the .launch files. However, it
>is "very easy" to run a build from the command line:
>
>/Users/erik/Documents/ApacheFlex/git/flex-falcon/compiler.jx/bin/mxmlc
>-load-config="/Applications/Adobe Flash Builder
>4.7/sdks/4.11.0_overlay/frameworks/flex-config.xml"
>-compiler.binding-value-change-event-type=valueChange
>-compiler.mxml.children-as-data -js-output-type=FLEXJS
>-sdk-js-lib="/Users/erik/Documents/ApacheFlex/git/flex-asjs/frameworks/js/
>FlexJS/src"
>-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/
>library"
>"/Users/erik/Documents/ApacheFlex/git/flex-asjs/examples/DataGridExample/s
>rc/DataGridExample.mxml"
>
>Play with that for a bit, and let me know. I'm here to help out.
>
>EdB
>
>
>
>On Thu, Nov 14, 2013 at 4:23 PM, Peter Ent <pe...@adobe.com> wrote:
>> Hi,
>>
>> I've done a git pull on the flex-falcon git repository. I've looked at
>>the README at the top level and in compiler.jx. I've run "ant main" and
>>got a successful build.
>>
>> Now what? How I install this so FlexJS can use it from within Flash
>>Builder? I've tried to figure it out with either no change (meaning
>>things that were fix aren't fixed) or I can a Java Null Pointer error
>>immediately probably because I didn't copy the right thing(s) to the
>>right place(s).
>>
>> I'll be happy to update the README with the details.
>>
>> Thanks,
>> Peter Ent
>> Adobe Systems
>
>
>
>-- 
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl


Re: [FalconJX] Build and install

Posted by Erik de Bruin <er...@ixsoftware.nl>.
First, to get everything set up, in the root of your 'flex-falcon'
directory, run 'ant wipe-all all'. This will build both the compiler
and compiler.jx, setting up their dependencies etc. etc.

I don't know another way to set it up in Flash Builder other than
installing Alex's overlay and editing the .launch files. However, it
is "very easy" to run a build from the command line:

/Users/erik/Documents/ApacheFlex/git/flex-falcon/compiler.jx/bin/mxmlc
-load-config="/Applications/Adobe Flash Builder
4.7/sdks/4.11.0_overlay/frameworks/flex-config.xml"
-compiler.binding-value-change-event-type=valueChange
-compiler.mxml.children-as-data -js-output-type=FLEXJS
-sdk-js-lib="/Users/erik/Documents/ApacheFlex/git/flex-asjs/frameworks/js/FlexJS/src"
-closure-lib="/Users/erik/Documents/ApacheFlex/dependencies/GoogleClosure/library"
"/Users/erik/Documents/ApacheFlex/git/flex-asjs/examples/DataGridExample/src/DataGridExample.mxml"

Play with that for a bit, and let me know. I'm here to help out.

EdB



On Thu, Nov 14, 2013 at 4:23 PM, Peter Ent <pe...@adobe.com> wrote:
> Hi,
>
> I've done a git pull on the flex-falcon git repository. I've looked at the README at the top level and in compiler.jx. I've run "ant main" and got a successful build.
>
> Now what? How I install this so FlexJS can use it from within Flash Builder? I've tried to figure it out with either no change (meaning things that were fix aren't fixed) or I can a Java Null Pointer error immediately probably because I didn't copy the right thing(s) to the right place(s).
>
> I'll be happy to update the README with the details.
>
> Thanks,
> Peter Ent
> Adobe Systems



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl