Re: Apache Flex namespace and build script changes

2012-03-22 Thread Carol Frampton
responses I got from the FB team are inline On 3/20/12 5 :49PM, "Justin Mclean" wrote: >Hi, > >> 1. FB checks in SDK/frameworks/locale/{locale} directory to find out the >> relevant rb swcs. >Can you ask if it checks from a known list of swcs or if it checks any >swc in the framework/lib dire

Re: Apache Flex namespace and build script changes

2012-03-20 Thread Justin Mclean
Hi, > 1. FB checks in SDK/frameworks/locale/{locale} directory to find out the > relevant rb swcs. Can you ask if it checks from a known list of swcs or if it checks any swc in the framework/lib directory. (I suspect it's a known list.) > FB has a list of swcs for various SDKs and it refers to

Re: Apache Flex namespace and build script changes

2012-03-20 Thread Carol Frampton
Justin, Here is what an engineer from the FlashBuilder team sent me: 1. FB checks in SDK/frameworks/locale/{locale} directory to find out the relevant rb swcs. Here {locale} represents the FB installation locale and not the SDK locale. And if the relevant rb swc is not found in the {locale} folde

Re: Apache Flex namespace and build script changes

2012-03-16 Thread Justin Mclean
Hi, Two outstanding issues: 1. How does the source attachment get set for a framework swc? It's shown n Flex Build Path in the Library Path tab when you expand a swc. It's needed so you can ctrl click on a class name to go to the class. 2. How does FB work out that the ADDocs for a framework sw

Re: Apache Flex namespace and build script changes

2012-03-16 Thread Carol Frampton
Justin, I'm only sort of up-to-date on this thread. If you tell me what your exact problem is I can ask Gaurev or the FlexBuilder team how to do whatever it is that isn't working for you. Carol On 3/16/12 12 :08AM, "Justin Mclean" wrote: >Hi, > >Sorted out the issue (the docs directory now ex

Re: Apache Flex namespace and build script changes

2012-03-15 Thread Justin Mclean
Hi, Sorted out the issue (the docs directory now exists and contains the ADdocs for the classes in XML format) but the help still doesn't show in FB. I'm guessing that it's a FB feature and the it knows to look in the _rb.swc file for the ASdocs for a class in a corresponding .swc file.

Re: Apache Flex namespace and build script changes

2012-03-15 Thread Justin Mclean
Hi, > Have you tried looking inside the swc with a zip tool, like 7zip? > Should contain (at a minimum): > xyz.swf > catalog.xml Contains those and the resource files. > docs But is missing this so that's probably the issue. Your help is appreciated. Thanks, Justin

Re: Apache Flex namespace and build script changes

2012-03-15 Thread Peter Ginneberge
"tempdita" is what asdoc tool creates when using keep-xml="true" skip-xsl="true" "docs" is where FlashBuilder looks for the documentation within a swc. Have you tried looking inside the swc with a zip tool, like 7zip? Should contain (at a minimum): xyz.swf catalog.xml docs The docs directory (in

Re: Apache Flex namespace and build script changes

2012-03-15 Thread Justin Mclean
Hi, > You doing this? > http://gauravj.com/blog/2010/01/creating-swc-files-with-asdoc-comments/ Basically yes. It's the xxx_rb.swc that is "fat" so I'm not sure how FB works out that it needs to look into it for classes contained in xxx.swc. The contents of the temp directory look fine and t

Re: Apache Flex namespace and build script changes

2012-03-15 Thread Tink
On 14 Mar 2012, at 23:15, Justin Mclean wrote: Hi, Unfortunately we haven't donated the asdoc directory yet That's OK I can use the directory from the OS Adobe SDK. Thanks for the help. I've managed to generate a "fat" rb swc. However the help still doesn't show in FB. Unless I doing d

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, > Unfortunately we haven't donated the asdoc directory yet That's OK I can use the directory from the OS Adobe SDK. Thanks for the help. I've managed to generate a "fat" rb swc. However the help still doesn't show in FB. Unless I doing do something wrong (which is quite possible) there must

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, > I'm in agreement with Jonathan here, using just Apache with no component set > name will give us problems further down the line if we dev a new set of > comps. So we could use 'a' + 'the first letter of the marketing name', then, > tag the full name on the end of the URL. We could end up

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Tink
I'm in agreement with Jonathan here, using just Apache with no component set name will give us problems further down the line if we dev a new set of comps. So we could use 'a' + 'the first letter of the marketing name', then, tag the full name on the end of the URL. Tink Jonathan Campos wro

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Carol Frampton
Unfortunately we haven't donated the asdoc directory yet but I just looked in the mpl kit which I downloaded awhile ago from the Adobe site and the asdoc directory appears to be in there. If you take a look at the build.xml file in the asdoc directory you will find all the path info. I just updat

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Peter Ginneberge
My inclination would have been "asf" rather than "a" but I am sure many others have opinions. Was thinking about "asf" or "af" myself. FlexBuilder uses fat swcs which include the Asdocs for that component. I just realized yesterday that this is something I/we will have to deal with once we

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, > My inclination would have been "asf" rather than "a" but I am sure many > others have opinions. As I'm sure you know what you specify as a namespace prefix is totally up to each component/application. I could for example do this: ... It's more the name space URI that's th

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Jonathan Campos
On Wed, Mar 14, 2012 at 9:26 AM, Justin Mclean wrote: > > My vote is to keep the spark ns in the 4.x branch and then have a new > > namespace when we decide to create a new set of components. > 100% agree with that. Again not suggestion we change existing name space > just that we add one or two.

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, > My vote is to keep the spark ns in the 4.x branch and then have a new > namespace when we decide to create a new set of components. 100% agree with that. Again not suggestion we change existing name space just that we add one or two. > I do agree with Daniel in that we don't use "apache" o

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Carol Frampton
On 3/14/12 2 :25AM, "Justin Mclean" wrote: > >I made a couple of decisions in doing this that will probably generate >some discussion. The major one being the Apache Flex namespace. > >The flex-config.xml file has a new namespace added for Apache Flex: > >http://www.apache.org/flex >a

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Jonathan Campos
On Wed, Mar 14, 2012 at 2:40 AM, Justin Mclean wrote: > Forgot to say there is an one advantage in having a different name space > for new stuff in that it tell you straight away that you need to use the > Apache Flex SDK not the Adobe 4.6 SDK. My vote is to keep the spark ns in the 4.x branch a

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, >> If someone wants to add an "mx-ish" component, should that go in the >> mx namespace or the apache namespace? Forgot to say there is an one advantage in having a different name space for new stuff in that it tell you straight away that you need to use the Apache Flex SDK not the Adobe 4.6

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Justin Mclean
Hi, > Does adding a new apache component namespace paint us into a corner in the > future as opposed to using something more abstract (halo, spark, etc.)? I don't think so we can change it at any time and we're a while away from the first non parity release. I thought I just go ahead and do it to

Re: Apache Flex namespace and build script changes

2012-03-14 Thread Daniel Reicher
> > > I made a couple of decisions in doing this that will probably generate > some discussion. The major one being the Apache Flex namespace. > > The flex-config.xml file has a new namespace added for Apache Flex: > >http://www.apache.org/flex >apache-manifest.xml > > > This means you w

Apache Flex namespace and build script changes

2012-03-13 Thread Justin Mclean
Hi, I just checked in (to patches branch) changes to the build script for a new apache sub project that produces an apache.swc and apache_rb.swc. (Anyone feel the swc should have a different name?) This gives a clean separation between the current swc namespaces and the apache one. This is wer