[FlexJS] Asdocs ANT build

2015-05-26 Thread Michael Schmalle
Hi,

I finally committed some changes! Anyway I am not an ANT expert but there
is something that annoys me about that script and anybody that can fix it,
I will thank you. :)

In /asdoc/build.xml we have;

property name=FLEX_HOME value=${basedir}/../../flex-sdk/

Can somebody put a conditional in there to look for 'sdk' as well. I
checked out my repo in sdk and not flex-sdk.

I am only saying this because I have seen Fred's comments elsewhere and the
git checkout page says use sdk.

As it stands, I have asdocs for all the 10+ projects going so people that
like to see API or read asdoc, run the asdocs/build.xml and it should work.

I just rendered them 30 minutes ago using the current code and HEAD of
develop in asjs.

Mike


Re: [FlexJS] Asdocs ANT build

2015-05-26 Thread Alex Harui
Ok try it.

On 5/26/15, 1:12 PM, Michael Schmalle teotigraphix...@gmail.com wrote:

Hi,

I finally committed some changes! Anyway I am not an ANT expert but there
is something that annoys me about that script and anybody that can fix it,
I will thank you. :)

In /asdoc/build.xml we have;

property name=FLEX_HOME value=${basedir}/../../flex-sdk/

Can somebody put a conditional in there to look for 'sdk' as well. I
checked out my repo in sdk and not flex-sdk.

I am only saying this because I have seen Fred's comments elsewhere and
the
git checkout page says use sdk.

As it stands, I have asdocs for all the 10+ projects going so people that
like to see API or read asdoc, run the asdocs/build.xml and it should
work.

I just rendered them 30 minutes ago using the current code and HEAD of
develop in asjs.

Mike



Re: [FlexJS] Asdocs ANT build

2015-05-26 Thread Michael Schmalle
Ok it works great. For some reason it ran fine but now it's barfing on the
TitleBarView.mxml. I took the mx namespace declaration out but it still
gives an error. So I just committed something that comments out HTML/asjs
source.

Teoti@TEOTI-PC ~/Documents/ApacheFlex/asjs/asdoc (develop)
$ ant
Buildfile: c:\Users\Teoti\Documents\ApacheFlex\asjs\asdoc\build.xml
 [echo] FLEX_HOME =
c:\Users\Teoti\Documents\ApacheFlex\asjs\asdoc/../../sdk
 [echo] flexlib = c:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks
 [echo] doc_output =
c:\Users\Teoti\Documents\ApacheFlex\asjs\asdoc-output
 [echo] compiler.source-path =
c:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks\projects/*/as/src
 [echo] compiler.source-path =
c:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks\projects/*/asjs/src

clean:
   [delete] Deleting directory
c:\Users\Teoti\Documents\ApacheFlex\asjs\asdoc-output

doc:
[asdoc] Loading configuration file
C:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks\asdoc-config.xml
[asdoc]
C:\Users\Teoti\Documents\ApacheFlex\asjs\frameworks\projects\HTML\asjs\src\org\apache\flex\html\beads\TitleBarView.mxml(-1):
Error: Namespace was n
ot found or is not a compile-time constant.
[asdoc]
[asdoc] ?xml version=1.0 encoding=utf-8?
[asdoc]

BUILD FAILED
c:\Users\Teoti\Documents\ApacheFlex\asjs\asdoc\build.xml:74: asdoc task
failed.

Total time: 5 seconds


Mike



On Tue, May 26, 2015 at 4:28 PM, Alex Harui aha...@adobe.com wrote:

 Ok try it.

 On 5/26/15, 1:12 PM, Michael Schmalle teotigraphix...@gmail.com wrote:

 Hi,
 
 I finally committed some changes! Anyway I am not an ANT expert but there
 is something that annoys me about that script and anybody that can fix it,
 I will thank you. :)
 
 In /asdoc/build.xml we have;
 
 property name=FLEX_HOME value=${basedir}/../../flex-sdk/
 
 Can somebody put a conditional in there to look for 'sdk' as well. I
 checked out my repo in sdk and not flex-sdk.
 
 I am only saying this because I have seen Fred's comments elsewhere and
 the
 git checkout page says use sdk.
 
 As it stands, I have asdocs for all the 10+ projects going so people that
 like to see API or read asdoc, run the asdocs/build.xml and it should
 work.
 
 I just rendered them 30 minutes ago using the current code and HEAD of
 develop in asjs.
 
 Mike