Re: Getting source working in Flash Builder
Hi, > I'm having an awfully difficult time getting the source working in Flash > Builder. Either use the installer [1] or use the ide/flashbuilder/makeApacheFlexForFlashBuilder script to package up an SDK so it can be used for Flash Builder. > Also, why does it need 11.1 rather than 10.2 or so? Is that really necessary? You can use FP 10.2, just be aware that it has not been fully tested and you may run into some issues using newer feature like mobile controls. No issues have been reported as yet. If you're on OSX look at the scripts in the ide directory checkAlPlayPlayerGlobals.sh (download and check all player globals) and setFlashPlayerVerion.sh (set Flash Player version), otherwise edit the flex-config.xml file and change the Flash Player and swf version numbers. Thanks, Justin 1 http://flex.apache.org/installer.html
Re: Getting source working in Flash Builder
Hi, There's good instructions under "Using the Binary Distribution" in the README file. If you have any other questions just ask. Justin
Re: Getting source working in Flash Builder
I did use the installer. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. I tried just copying those components, but that's not working either. I'm assuming it's a namespace/package issue. Does the source need to be compiled before it can work? That doesn't make sense to me. I wonder if now would be a good time to try InteliJ IDEA... On Feb 21, 2013, at 1:47 AM, Justin Mclean wrote: > Hi, > >> I'm having an awfully difficult time getting the source working in Flash >> Builder. > Either use the installer [1] or use the > ide/flashbuilder/makeApacheFlexForFlashBuilder script to package up an SDK so > it can be used for Flash Builder. > >> Also, why does it need 11.1 rather than 10.2 or so? Is that really necessary? > You can use FP 10.2, just be aware that it has not been fully tested and you > may run into some issues using newer feature like mobile controls. No issues > have been reported as yet. > > If you're on OSX look at the scripts in the ide directory > checkAlPlayPlayerGlobals.sh (download and check all player globals) and > setFlashPlayerVerion.sh (set Flash Player version), otherwise edit the > flex-config.xml file and change the Flash Player and swf version numbers. > > Thanks, > Justin > > 1 http://flex.apache.org/installer.html
Re: Getting source working in Flash Builder
Hi, > I did use the installer. Which would of given you last release 4.9. > The issue is that I'm trying to use the source rather than the distribution > for two reasons: > 1) I wanted to look into the TLF bugs that were reported. > 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. > Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. > I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
Okay. There's too much about the process that's kind of black magic to me. I guess after I finish getting this working I'll understand how everything ties together better. That's a good thing I guess… ;-) I was under the impression that you could link to the source files instead of the swcs. Why is the SDK libs different than regular libs? On Feb 21, 2013, at 2:27 AM, Justin Mclean wrote: > Hi, > >> I did use the installer. > Which would of given you last release 4.9. > >> The issue is that I'm trying to use the source rather than the distribution >> for two reasons: >> 1) I wanted to look into the TLF bugs that were reported. >> 2) I need the Alert and ColorPicker components that's not in the 4.9 release. > > Make a release build from the source with ant release, copy and unzip/untar > the release and use the script in the IDE directory to make an SDK usable for > Flash Builder or any other IDE. > >> Does the source need to be compiled before it can work? > Um yes. The source gets compiled in swcs (in the frameworks/lib directory) > that your Flex application uses. > >> I wonder if now would be a good time to try InteliJ IDEA... > You would still have the package the SDK up, your issue is not unique to just > Flash Builder. > > Hope that helps. > > Justin
Re: Getting source working in Flash Builder
Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: > Harbs, > >> 2) I need the Alert and ColorPicker components that's not in the 4.9 release. > > If you're talking about the ones in the experimental.swc, there are in the > 4.9 but you can use them with en_US only, I re-worked them in the develop > branch, so if you want to use them and even to have an SDK you can use with > IntelliJ, constantly updated, chekout the develop branch, do a first build, a > release, use the makeApacheFlexForFlashBuilder on the released develop branch > itself, not the resulting binaries. > > Like that you can set this fresh SDK as the SDK you use if you want to make > change in the SDK, you'll have only to run the ant target corresponding to > the lib you modified (and the other.locales too) and you'll be able to test > it right away on your sample projects. > > Ask me if I haven't been completly clear. > > -Fred > > -Message d'origine----- From: Justin Mclean > Sent: Thursday, February 21, 2013 1:27 AM > To: dev@flex.apache.org > Subject: Re: Getting source working in Flash Builder > > Hi, > >> I did use the installer. > Which would of given you last release 4.9. > >> The issue is that I'm trying to use the source rather than the distribution >> for two reasons: >> 1) I wanted to look into the TLF bugs that were reported. >> 2) I need the Alert and ColorPicker components that's not in the 4.9 release. > > Make a release build from the source with ant release, copy and unzip/untar > the release and use the script in the IDE directory to make an SDK usable for > Flash Builder or any other IDE. > >> Does the source need to be compiled before it can work? > Um yes. The source gets compiled in swcs (in the frameworks/lib directory) > that your Flex application uses. > >> I wonder if now would be a good time to try InteliJ IDEA... > You would still have the package the SDK up, your issue is not unique to just > Flash Builder. > > Hope that helps. > > Justin
Re: Getting source working in Flash Builder
I think theoricaly, that's could be possible, first the flex-config.xml shouldn't contain any declarations to the librairies except playerglobal, the lib folder should be emptied, you would have to create a project for each lib in your IDE, the build configuration of each one should take care of the dependecies,, may keeping an ant target for the locales... I should give a try to that at time to see if I miss something. -Fred -Message d'origine- From: Harbs Sent: Thursday, February 21, 2013 9:03 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Okay. There's too much about the process that's kind of black magic to me. I guess after I finish getting this working I'll understand how everything ties together better. That's a good thing I guess… ;-) I was under the impression that you could link to the source files instead of the swcs. Why is the SDK libs different than regular libs? On Feb 21, 2013, at 2:27 AM, Justin Mclean wrote: Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
Weird, because I remember I mavenized the SDK 4.9 and been able to use them, I can't see how you couldn't use them. -Fred -Message d'origine- From: Harbs Sent: Thursday, February 21, 2013 9:31 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Yes. I'm talking about experimental. I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. I'm using the en_US locale. Not sure what to say here… This is all clear as mud to me. I'll play around a bit trying to wrap my head around this. I'll probably come back with more questions later… On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: Harbs, 2) I need the Alert and ColorPicker components that's not in the 4.9 release. If you're talking about the ones in the experimental.swc, there are in the 4.9 but you can use them with en_US only, I re-worked them in the develop branch, so if you want to use them and even to have an SDK you can use with IntelliJ, constantly updated, chekout the develop branch, do a first build, a release, use the makeApacheFlexForFlashBuilder on the released develop branch itself, not the resulting binaries. Like that you can set this fresh SDK as the SDK you use if you want to make change in the SDK, you'll have only to run the ant target corresponding to the lib you modified (and the other.locales too) and you'll be able to test it right away on your sample projects. Ask me if I haven't been completly clear. -Fred -Message d'origine- From: Justin Mclean Sent: Thursday, February 21, 2013 1:27 AM To: dev@flex.apache.org Subject: Re: Getting source working in Flash Builder Hi, I did use the installer. Which would of given you last release 4.9. The issue is that I'm trying to use the source rather than the distribution for two reasons: 1) I wanted to look into the TLF bugs that were reported. 2) I need the Alert and ColorPicker components that's not in the 4.9 release. Make a release build from the source with ant release, copy and unzip/untar the release and use the script in the IDE directory to make an SDK usable for Flash Builder or any other IDE. Does the source need to be compiled before it can work? Um yes. The source gets compiled in swcs (in the frameworks/lib directory) that your Flex application uses. I wonder if now would be a good time to try InteliJ IDEA... You would still have the package the SDK up, your issue is not unique to just Flash Builder. Hope that helps. Justin
Re: Getting source working in Flash Builder
Yes. Very weird. I did a search, and experimental.swc is there. I tried copying it to my project libs folder, and that did not help either. When I copied the source code to my src folder, I was able to address the components in ActionScript, but not mxml. I tried creating a new Flex 4.9 project, and still nothing. I'm using FB 4.5. Could that be making a difference? On Feb 21, 2013, at 10:40 AM, Frédéric THOMAS wrote: > Weird, because I remember I mavenized the SDK 4.9 and been able to use them, > I can't see how you couldn't use them. > > -Fred > > -Message d'origine- From: Harbs > Sent: Thursday, February 21, 2013 9:31 AM > To: dev@flex.apache.org > Subject: Re: Getting source working in Flash Builder > > Yes. I'm talking about experimental. > > I linked to the 4.9 release and s:Alert and s:ColorPicker were not available. > I'm using the en_US locale. Not sure what to say here… > > This is all clear as mud to me. I'll play around a bit trying to wrap my head > around this. I'll probably come back with more questions later… > > On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: > >> Harbs, >> >>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>> release. >> >> If you're talking about the ones in the experimental.swc, there are in the >> 4.9 but you can use them with en_US only, I re-worked them in the develop >> branch, so if you want to use them and even to have an SDK you can use with >> IntelliJ, constantly updated, chekout the develop branch, do a first build, >> a release, use the makeApacheFlexForFlashBuilder on the released develop >> branch itself, not the resulting binaries. >> >> Like that you can set this fresh SDK as the SDK you use if you want to make >> change in the SDK, you'll have only to run the ant target corresponding to >> the lib you modified (and the other.locales too) and you'll be able to test >> it right away on your sample projects. >> >> Ask me if I haven't been completly clear. >> >> -Fred >> >> -Message d'origine- From: Justin Mclean >> Sent: Thursday, February 21, 2013 1:27 AM >> To: dev@flex.apache.org >> Subject: Re: Getting source working in Flash Builder >> >> Hi, >> >>> I did use the installer. >> Which would of given you last release 4.9. >> >>> The issue is that I'm trying to use the source rather than the distribution >>> for two reasons: >>> 1) I wanted to look into the TLF bugs that were reported. >>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>> release. >> >> Make a release build from the source with ant release, copy and unzip/untar >> the release and use the script in the IDE directory to make an SDK usable >> for Flash Builder or any other IDE. >> >>> Does the source need to be compiled before it can work? >> Um yes. The source gets compiled in swcs (in the frameworks/lib directory) >> that your Flex application uses. >> >>> I wonder if now would be a good time to try InteliJ IDEA... >> You would still have the package the SDK up, your issue is not unique to >> just Flash Builder. >> >> Hope that helps. >> >> Justin >
Re: Getting source working in Flash Builder
>From what I understand, the experimental swc had a different namespace... I don't think it was in spark yet -Nick On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: > Yes. I'm talking about experimental. > > I linked to the 4.9 release and s:Alert and s:ColorPicker were not > available. I'm using the en_US locale. Not sure what to say here… > > This is all clear as mud to me. I'll play around a bit trying to wrap my > head around this. I'll probably come back with more questions later… > > On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: > > > Harbs, > > > >> 2) I need the Alert and ColorPicker components that's not in the 4.9 > release. > > > > If you're talking about the ones in the experimental.swc, there are in > the 4.9 but you can use them with en_US only, I re-worked them in the > develop branch, so if you want to use them and even to have an SDK you can > use with IntelliJ, constantly updated, chekout the develop branch, do a > first build, a release, use the makeApacheFlexForFlashBuilder on the > released develop branch itself, not the resulting binaries. > > > > Like that you can set this fresh SDK as the SDK you use if you want to > make change in the SDK, you'll have only to run the ant target > corresponding to the lib you modified (and the other.locales too) and > you'll be able to test it right away on your sample projects. > > > > Ask me if I haven't been completly clear. > > > > -Fred > > > > -Message d'origine- From: Justin Mclean > > Sent: Thursday, February 21, 2013 1:27 AM > > To: dev@flex.apache.org > > Subject: Re: Getting source working in Flash Builder > > > > Hi, > > > >> I did use the installer. > > Which would of given you last release 4.9. > > > >> The issue is that I'm trying to use the source rather than the > distribution for two reasons: > >> 1) I wanted to look into the TLF bugs that were reported. > >> 2) I need the Alert and ColorPicker components that's not in the 4.9 > release. > > > > Make a release build from the source with ant release, copy and > unzip/untar the release and use the script in the IDE directory to make an > SDK usable for Flash Builder or any other IDE. > > > >> Does the source need to be compiled before it can work? > > Um yes. The source gets compiled in swcs (in the frameworks/lib > directory) that your Flex application uses. > > > >> I wonder if now would be a good time to try InteliJ IDEA... > > You would still have the package the SDK up, your issue is not unique to > just Flash Builder. > > > > Hope that helps. > > > > Justin > >
Re: Getting source working in Flash Builder
Indeed, it's not in the spark namespace yet. Try using direct namespaces. On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski wrote: > From what I understand, the experimental swc had a different namespace... > I don't think it was in spark yet > > -Nick > > On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: > > > Yes. I'm talking about experimental. > > > > I linked to the 4.9 release and s:Alert and s:ColorPicker were not > > available. I'm using the en_US locale. Not sure what to say here… > > > > This is all clear as mud to me. I'll play around a bit trying to wrap my > > head around this. I'll probably come back with more questions later… > > > > On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: > > > > > Harbs, > > > > > >> 2) I need the Alert and ColorPicker components that's not in the 4.9 > > release. > > > > > > If you're talking about the ones in the experimental.swc, there are in > > the 4.9 but you can use them with en_US only, I re-worked them in the > > develop branch, so if you want to use them and even to have an SDK you > can > > use with IntelliJ, constantly updated, chekout the develop branch, do a > > first build, a release, use the makeApacheFlexForFlashBuilder on the > > released develop branch itself, not the resulting binaries. > > > > > > Like that you can set this fresh SDK as the SDK you use if you want to > > make change in the SDK, you'll have only to run the ant target > > corresponding to the lib you modified (and the other.locales too) and > > you'll be able to test it right away on your sample projects. > > > > > > Ask me if I haven't been completly clear. > > > > > > -Fred > > > > > > -Message d'origine- From: Justin Mclean > > > Sent: Thursday, February 21, 2013 1:27 AM > > > To: dev@flex.apache.org > > > Subject: Re: Getting source working in Flash Builder > > > > > > Hi, > > > > > >> I did use the installer. > > > Which would of given you last release 4.9. > > > > > >> The issue is that I'm trying to use the source rather than the > > distribution for two reasons: > > >> 1) I wanted to look into the TLF bugs that were reported. > > >> 2) I need the Alert and ColorPicker components that's not in the 4.9 > > release. > > > > > > Make a release build from the source with ant release, copy and > > unzip/untar the release and use the script in the IDE directory to make > an > > SDK usable for Flash Builder or any other IDE. > > > > > >> Does the source need to be compiled before it can work? > > > Um yes. The source gets compiled in swcs (in the frameworks/lib > > directory) that your Flex application uses. > > > > > >> I wonder if now would be a good time to try InteliJ IDEA... > > > You would still have the package the SDK up, your issue is not unique > to > > just Flash Builder. > > > > > > Hope that helps. > > > > > > Justin > > > > > -- http://www.badu.ro
Re: Getting source working in Flash Builder
Something is odd here. Here's the symptoms that I'm seeing: Using either Flex 4.9 or putting experimental.swc in my libs, I do not get the components in either mxml hints or ActionScript hints. If I copy the source into my source folder I get hints for spark.compenents.ColorPicker, but I don't get anything in mxml. I see this in the css file, but I'm not sure where the namespace is assigned. (I never quite understood how this stuff works) @namespace "http://flex.apache.org/experimental/ns";; On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: > Indeed, it's not in the spark namespace yet. Try using direct namespaces. > > On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski > wrote: > >> From what I understand, the experimental swc had a different namespace... >> I don't think it was in spark yet >> >> -Nick >> >> On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: >> >>> Yes. I'm talking about experimental. >>> >>> I linked to the 4.9 release and s:Alert and s:ColorPicker were not >>> available. I'm using the en_US locale. Not sure what to say here… >>> >>> This is all clear as mud to me. I'll play around a bit trying to wrap my >>> head around this. I'll probably come back with more questions later… >>> >>> On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: >>> >>>> Harbs, >>>> >>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>> release. >>>> >>>> If you're talking about the ones in the experimental.swc, there are in >>> the 4.9 but you can use them with en_US only, I re-worked them in the >>> develop branch, so if you want to use them and even to have an SDK you >> can >>> use with IntelliJ, constantly updated, chekout the develop branch, do a >>> first build, a release, use the makeApacheFlexForFlashBuilder on the >>> released develop branch itself, not the resulting binaries. >>>> >>>> Like that you can set this fresh SDK as the SDK you use if you want to >>> make change in the SDK, you'll have only to run the ant target >>> corresponding to the lib you modified (and the other.locales too) and >>> you'll be able to test it right away on your sample projects. >>>> >>>> Ask me if I haven't been completly clear. >>>> >>>> -Fred >>>> >>>> -Message d'origine- From: Justin Mclean >>>> Sent: Thursday, February 21, 2013 1:27 AM >>>> To: dev@flex.apache.org >>>> Subject: Re: Getting source working in Flash Builder >>>> >>>> Hi, >>>> >>>>> I did use the installer. >>>> Which would of given you last release 4.9. >>>> >>>>> The issue is that I'm trying to use the source rather than the >>> distribution for two reasons: >>>>> 1) I wanted to look into the TLF bugs that were reported. >>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>> release. >>>> >>>> Make a release build from the source with ant release, copy and >>> unzip/untar the release and use the script in the IDE directory to make >> an >>> SDK usable for Flash Builder or any other IDE. >>>> >>>>> Does the source need to be compiled before it can work? >>>> Um yes. The source gets compiled in swcs (in the frameworks/lib >>> directory) that your Flex application uses. >>>> >>>>> I wonder if now would be a good time to try InteliJ IDEA... >>>> You would still have the package the SDK up, your issue is not unique >> to >>> just Flash Builder. >>>> >>>> Hope that helps. >>>> >>>> Justin >>> >>> >> > > > > -- > http://www.badu.ro
Re: Getting source working in Flash Builder
I got things to work -- sort of, by copying the source and sub-classing ColorPicker to use it in mxml. Now things are totally wonky with my setup. I get the following error (5 times -- I have a main app and six modules. I have no idea which modules cause the problem.) Unable to resolve resource bundle "alert" for locale "en_US". This happens even when I go back to targeting 4.5. On Feb 21, 2013, at 3:13 PM, Harbs wrote: > Something is odd here. > > Here's the symptoms that I'm seeing: > > Using either Flex 4.9 or putting experimental.swc in my libs, I do not get > the components in either mxml hints or ActionScript hints. > > If I copy the source into my source folder I get hints for > spark.compenents.ColorPicker, but I don't get anything in mxml. > > I see this in the css file, but I'm not sure where the namespace is assigned. > (I never quite understood how this stuff works) > @namespace "http://flex.apache.org/experimental/ns";; > > On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: > >> Indeed, it's not in the spark namespace yet. Try using direct namespaces. >> >> On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski >> wrote: >> >>> From what I understand, the experimental swc had a different namespace... >>> I don't think it was in spark yet >>> >>> -Nick >>> >>> On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: >>> >>>> Yes. I'm talking about experimental. >>>> >>>> I linked to the 4.9 release and s:Alert and s:ColorPicker were not >>>> available. I'm using the en_US locale. Not sure what to say here… >>>> >>>> This is all clear as mud to me. I'll play around a bit trying to wrap my >>>> head around this. I'll probably come back with more questions later… >>>> >>>> On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: >>>> >>>>> Harbs, >>>>> >>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>> release. >>>>> >>>>> If you're talking about the ones in the experimental.swc, there are in >>>> the 4.9 but you can use them with en_US only, I re-worked them in the >>>> develop branch, so if you want to use them and even to have an SDK you >>> can >>>> use with IntelliJ, constantly updated, chekout the develop branch, do a >>>> first build, a release, use the makeApacheFlexForFlashBuilder on the >>>> released develop branch itself, not the resulting binaries. >>>>> >>>>> Like that you can set this fresh SDK as the SDK you use if you want to >>>> make change in the SDK, you'll have only to run the ant target >>>> corresponding to the lib you modified (and the other.locales too) and >>>> you'll be able to test it right away on your sample projects. >>>>> >>>>> Ask me if I haven't been completly clear. >>>>> >>>>> -Fred >>>>> >>>>> -Message d'origine- From: Justin Mclean >>>>> Sent: Thursday, February 21, 2013 1:27 AM >>>>> To: dev@flex.apache.org >>>>> Subject: Re: Getting source working in Flash Builder >>>>> >>>>> Hi, >>>>> >>>>>> I did use the installer. >>>>> Which would of given you last release 4.9. >>>>> >>>>>> The issue is that I'm trying to use the source rather than the >>>> distribution for two reasons: >>>>>> 1) I wanted to look into the TLF bugs that were reported. >>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>> release. >>>>> >>>>> Make a release build from the source with ant release, copy and >>>> unzip/untar the release and use the script in the IDE directory to make >>> an >>>> SDK usable for Flash Builder or any other IDE. >>>>> >>>>>> Does the source need to be compiled before it can work? >>>>> Um yes. The source gets compiled in swcs (in the frameworks/lib >>>> directory) that your Flex application uses. >>>>> >>>>>> I wonder if now would be a good time to try InteliJ IDEA... >>>>> You would still have the package the SDK up, your issue is not unique >>> to >>>> just Flash Builder. >>>>> >>>>> Hope that helps. >>>>> >>>>> Justin >>>> >>>> >>> >> >> >> >> -- >> http://www.badu.ro >
Re: Getting source working in Flash Builder
Okay. I straightened this out by copying the resource bundles and updating my compiler settings. This is a pretty hacky way to get it to work, but it'll do for now… On Feb 21, 2013, at 10:05 PM, Harbs wrote: > I got things to work -- sort of, by copying the source and sub-classing > ColorPicker to use it in mxml. > > Now things are totally wonky with my setup. > > I get the following error (5 times -- I have a main app and six modules. I > have no idea which modules cause the problem.) > Unable to resolve resource bundle "alert" for locale "en_US". > > This happens even when I go back to targeting 4.5. > > On Feb 21, 2013, at 3:13 PM, Harbs wrote: > >> Something is odd here. >> >> Here's the symptoms that I'm seeing: >> >> Using either Flex 4.9 or putting experimental.swc in my libs, I do not get >> the components in either mxml hints or ActionScript hints. >> >> If I copy the source into my source folder I get hints for >> spark.compenents.ColorPicker, but I don't get anything in mxml. >> >> I see this in the css file, but I'm not sure where the namespace is >> assigned. (I never quite understood how this stuff works) >> @namespace "http://flex.apache.org/experimental/ns";; >> >> On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: >> >>> Indeed, it's not in the spark namespace yet. Try using direct namespaces. >>> >>> On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski >>> wrote: >>> >>>> From what I understand, the experimental swc had a different namespace... >>>> I don't think it was in spark yet >>>> >>>> -Nick >>>> >>>> On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: >>>> >>>>> Yes. I'm talking about experimental. >>>>> >>>>> I linked to the 4.9 release and s:Alert and s:ColorPicker were not >>>>> available. I'm using the en_US locale. Not sure what to say here… >>>>> >>>>> This is all clear as mud to me. I'll play around a bit trying to wrap my >>>>> head around this. I'll probably come back with more questions later… >>>>> >>>>> On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: >>>>> >>>>>> Harbs, >>>>>> >>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>>> release. >>>>>> >>>>>> If you're talking about the ones in the experimental.swc, there are in >>>>> the 4.9 but you can use them with en_US only, I re-worked them in the >>>>> develop branch, so if you want to use them and even to have an SDK you >>>> can >>>>> use with IntelliJ, constantly updated, chekout the develop branch, do a >>>>> first build, a release, use the makeApacheFlexForFlashBuilder on the >>>>> released develop branch itself, not the resulting binaries. >>>>>> >>>>>> Like that you can set this fresh SDK as the SDK you use if you want to >>>>> make change in the SDK, you'll have only to run the ant target >>>>> corresponding to the lib you modified (and the other.locales too) and >>>>> you'll be able to test it right away on your sample projects. >>>>>> >>>>>> Ask me if I haven't been completly clear. >>>>>> >>>>>> -Fred >>>>>> >>>>>> -Message d'origine- From: Justin Mclean >>>>>> Sent: Thursday, February 21, 2013 1:27 AM >>>>>> To: dev@flex.apache.org >>>>>> Subject: Re: Getting source working in Flash Builder >>>>>> >>>>>> Hi, >>>>>> >>>>>>> I did use the installer. >>>>>> Which would of given you last release 4.9. >>>>>> >>>>>>> The issue is that I'm trying to use the source rather than the >>>>> distribution for two reasons: >>>>>>> 1) I wanted to look into the TLF bugs that were reported. >>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>>> release. >>>>>> >>>>>> Make a release build from the source with ant release, copy and >>>>> unzip/untar the release and use the script in the IDE directory to make >>>> an >>>>> SDK usable for Flash Builder or any other IDE. >>>>>> >>>>>>> Does the source need to be compiled before it can work? >>>>>> Um yes. The source gets compiled in swcs (in the frameworks/lib >>>>> directory) that your Flex application uses. >>>>>> >>>>>>> I wonder if now would be a good time to try InteliJ IDEA... >>>>>> You would still have the package the SDK up, your issue is not unique >>>> to >>>>> just Flash Builder. >>>>>> >>>>>> Hope that helps. >>>>>> >>>>>> Justin >>>>> >>>>> >>>> >>> >>> >>> >>> -- >>> http://www.badu.ro >> >
Re: Getting source working in Flash Builder
I'm not sure if it's my hacky setup, or this is a real bug, but I'm getting the following error: ReferenceError: Error #1069: Property icon not found on spark.skins.ColorPickerButtonSkin and there is no default value. The error is in SparkSkin.as at this line: var exclusionObject:Object = this[exclusions[i]]; Line 34 in the file seems to be the problem: static private const exclusions:Array = ["icon"]; I did not see an icon property anywhere… Should I log a bug? On Feb 21, 2013, at 10:53 PM, Harbs wrote: > Okay. I straightened this out by copying the resource bundles and updating my > compiler settings. > > This is a pretty hacky way to get it to work, but it'll do for now… > > On Feb 21, 2013, at 10:05 PM, Harbs wrote: > >> I got things to work -- sort of, by copying the source and sub-classing >> ColorPicker to use it in mxml. >> >> Now things are totally wonky with my setup. >> >> I get the following error (5 times -- I have a main app and six modules. I >> have no idea which modules cause the problem.) >> Unable to resolve resource bundle "alert" for locale "en_US". >> >> This happens even when I go back to targeting 4.5. >> >> On Feb 21, 2013, at 3:13 PM, Harbs wrote: >> >>> Something is odd here. >>> >>> Here's the symptoms that I'm seeing: >>> >>> Using either Flex 4.9 or putting experimental.swc in my libs, I do not get >>> the components in either mxml hints or ActionScript hints. >>> >>> If I copy the source into my source folder I get hints for >>> spark.compenents.ColorPicker, but I don't get anything in mxml. >>> >>> I see this in the css file, but I'm not sure where the namespace is >>> assigned. (I never quite understood how this stuff works) >>> @namespace "http://flex.apache.org/experimental/ns";; >>> >>> On Feb 21, 2013, at 2:50 PM, Bogdan DINU wrote: >>> >>>> Indeed, it's not in the spark namespace yet. Try using direct namespaces. >>>> >>>> On Thu, Feb 21, 2013 at 2:46 PM, Nicholas Kwiatkowski >>>> wrote: >>>> >>>>> From what I understand, the experimental swc had a different namespace... >>>>> I don't think it was in spark yet >>>>> >>>>> -Nick >>>>> >>>>> On Thu, Feb 21, 2013 at 3:31 AM, Harbs wrote: >>>>> >>>>>> Yes. I'm talking about experimental. >>>>>> >>>>>> I linked to the 4.9 release and s:Alert and s:ColorPicker were not >>>>>> available. I'm using the en_US locale. Not sure what to say here… >>>>>> >>>>>> This is all clear as mud to me. I'll play around a bit trying to wrap my >>>>>> head around this. I'll probably come back with more questions later… >>>>>> >>>>>> On Feb 21, 2013, at 2:45 AM, Frédéric THOMAS wrote: >>>>>> >>>>>>> Harbs, >>>>>>> >>>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>>>> release. >>>>>>> >>>>>>> If you're talking about the ones in the experimental.swc, there are in >>>>>> the 4.9 but you can use them with en_US only, I re-worked them in the >>>>>> develop branch, so if you want to use them and even to have an SDK you >>>>> can >>>>>> use with IntelliJ, constantly updated, chekout the develop branch, do a >>>>>> first build, a release, use the makeApacheFlexForFlashBuilder on the >>>>>> released develop branch itself, not the resulting binaries. >>>>>>> >>>>>>> Like that you can set this fresh SDK as the SDK you use if you want to >>>>>> make change in the SDK, you'll have only to run the ant target >>>>>> corresponding to the lib you modified (and the other.locales too) and >>>>>> you'll be able to test it right away on your sample projects. >>>>>>> >>>>>>> Ask me if I haven't been completly clear. >>>>>>> >>>>>>> -Fred >>>>>>> >>>>>>> -Message d'origine- From: Justin Mclean >>>>>>> Sent: Thursday, February 21, 2013 1:27 AM >>>>>>> To: dev@flex.apache.org >>>>>>> Subject: Re: Getting source working in Flash Builder >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>>> I did use the installer. >>>>>>> Which would of given you last release 4.9. >>>>>>> >>>>>>>> The issue is that I'm trying to use the source rather than the >>>>>> distribution for two reasons: >>>>>>>> 1) I wanted to look into the TLF bugs that were reported. >>>>>>>> 2) I need the Alert and ColorPicker components that's not in the 4.9 >>>>>> release. >>>>>>> >>>>>>> Make a release build from the source with ant release, copy and >>>>>> unzip/untar the release and use the script in the IDE directory to make >>>>> an >>>>>> SDK usable for Flash Builder or any other IDE. >>>>>>> >>>>>>>> Does the source need to be compiled before it can work? >>>>>>> Um yes. The source gets compiled in swcs (in the frameworks/lib >>>>>> directory) that your Flex application uses. >>>>>>> >>>>>>>> I wonder if now would be a good time to try InteliJ IDEA... >>>>>>> You would still have the package the SDK up, your issue is not unique >>>>> to >>>>>> just Flash Builder. >>>>>>> >>>>>>> Hope that helps. >>>>>>> >>>>>>> Justin >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> http://www.badu.ro >>> >> >
Re: Getting source working in Flash Builder
HI, > Using either Flex 4.9 or putting experimental.swc in my libs, I do not get > the components in either mxml hints or ActionScript hints. FB is gets this info from the "fat" swcs, swcs with ASDoc XML info in them, do you have the experimental_rb.swc file in frameworks/locale/en_US? It may be that FB is only looking at a named set of swc's in this location rather than any swc. There was some dicussion about this way back but I can't recall what FB actually does. Thanks, Justin
Re: Getting source working in Flash Builder
Yes. I have that file, but the whole file is 2KB. Opening it up shows there's not much there: experimental.properties only has the header: ## ## Licensed to the Apache Software Foundation (ASF) under one or more ## contributor license agreements. See the NOTICE file distributed with ## this work for additional information regarding copyright ownership. ## The ASF licenses this file to You under the Apache License, Version 2.0 ## (the "License"); you may not use this file except in compliance with ## the License. You may obtain a copy of the License at ## ## http://www.apache.org/licenses/LICENSE-2.0 ## ## Unless required by applicable law or agreed to in writing, software ## distributed under the License is distributed on an "AS IS" BASIS, ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ## See the License for the specific language governing permissions and ## limitations under the License. ## library.swf is 650 bytes. The dita is empty. Here's the catalog: http://www.adobe.com/flash/swccatalog/9";>On Feb 22, 2013, at 1:21 AM, Justin Mclean wrote: > HI, > >> Using either Flex 4.9 or putting experimental.swc in my libs, I do not get >> the components in either mxml hints or ActionScript hints. > > FB is gets this info from the "fat" swcs, swcs with ASDoc XML info in them, > do you have the experimental_rb.swc file in frameworks/locale/en_US? > > It may be that FB is only looking at a named set of swc's in this location > rather than any swc. There was some dicussion about this way back but I can't > recall what FB actually does. > > Thanks, > Justin
Re: Getting source working in Flash Builder
I did not read this whole thread but I will tell you what I do. Assuming I am using the develop tree and have all my environment variables set up correctly. cd develop ant cd develop/ide/flashbuilder ant make-sdk In FlashBuilder Add the develop branch as an sdk File -> Import -> Existing Project into Workspace -> Select develop/frameworks/projects as the root directory -> Select mx, core, frameworks and textLayout In your FlashBuilder project, Properties -> Flex Build Path -> Add Project and add mx, core, frameworks and textLayout Carol On 2/20/13 6:29 PM, "Harbs" wrote: >I'm having an awfully difficult time getting the source working in Flash >Builder. I did a full checkout of the sdk and used ant >thirdparty-downloads to add dependencies. I could not add the Develop SDK >to FB because it was complaining about mxmlc.jar missing. I copied all >the jars from a different distribution. Was that supposed to happpen? > >Okay. Now I was able to import the SDK. I might have needed to import >some other stuff as well. Don't remember exactly, but now I'm stuck with >the following error: >unable to open '/Users/harbs/Documents/Apache >Flex/svn/sdk/branches/develop/frameworks/{playerglobalHome}/11.1/playerglo >bal.swc' > >I copied 11.1 and 11.4 playerglobal from the 4.9 release to the same >path, but it did not help. It looks like it's not expanding the token? > >Also, why does it need 11.1 rather than 10.2 or so? Is that really >necessary? > >Harbs
Re: Getting source working in Flash Builder
Thank you. I'll try this as soon as I can. On Feb 26, 2013, at 8:28 PM, Carol Frampton wrote: > I did not read this whole thread but I will tell you what I do. > > Assuming I am using the develop tree and have all my environment variables > set up correctly. > > cd develop > ant > cd develop/ide/flashbuilder > ant make-sdk > > In FlashBuilder > Add the develop branch as an sdk > File -> Import -> Existing Project into Workspace -> Select > develop/frameworks/projects as the root directory -> Select mx, core, > frameworks and textLayout > In your FlashBuilder project, Properties -> Flex Build Path -> Add Project > and add mx, core, frameworks and textLayout > > Carol > > > On 2/20/13 6:29 PM, "Harbs" wrote: > >> I'm having an awfully difficult time getting the source working in Flash >> Builder. I did a full checkout of the sdk and used ant >> thirdparty-downloads to add dependencies. I could not add the Develop SDK >> to FB because it was complaining about mxmlc.jar missing. I copied all >> the jars from a different distribution. Was that supposed to happpen? >> >> Okay. Now I was able to import the SDK. I might have needed to import >> some other stuff as well. Don't remember exactly, but now I'm stuck with >> the following error: >> unable to open '/Users/harbs/Documents/Apache >> Flex/svn/sdk/branches/develop/frameworks/{playerglobalHome}/11.1/playerglo >> bal.swc' >> >> I copied 11.1 and 11.4 playerglobal from the 4.9 release to the same >> path, but it did not help. It looks like it's not expanding the token? >> >> Also, why does it need 11.1 rather than 10.2 or so? Is that really >> necessary? >> >> Harbs >