incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Mclean <jus...@classsoftware.com>
Subject Re: Apache Flex namespace and build script changes
Date Thu, 15 Mar 2012 09:51:28 GMT
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 the the _rb.swc increases in size.

Here's the ANT bits I'm using (modified from the existing Adobe build.xml files). It's all
a bit odd to me ie why the "tempdita" dir and why prefix="docs"?

<asdoc output="${FLEX_HOME}/tempDoc" lenient="true" failonerror="true" keep-xml="true"
skip-xsl="true" fork="true">
	<compiler.source-path path-element="${apache.dir}/src"/>
	<doc-classes class="ApacheClasses"/>
	<doc-namespaces uri="http://www.adobe.com/flex"/>
	<namespace uri="http://www.adobe.com/flex" manifest="${apache.dir}/manifest.xml"/>
	<jvmarg line="-Xmx512m"/>
</asdoc>

<zip destfile="${basedir}/locale/${locale}/apache_rb.swc" update="true">
	<zipfileset dir="${FLEX_HOME}/tempDoc/tempdita" prefix="docs">
		<include name="*.*"/>
		<exclude name="ASDoc_Config.xml"/>
		<exclude name="overviews.xml"/>
	</zipfileset>
</zip>

Thanks,
Justin
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message