<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All I don&#039;t know &#187; AsDoc</title>
	<atom:link href="http://blog.derraab.com/category/asdoc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.derraab.com</link>
	<description>About Flash™, Flex™, software development and my computer. And JavaScript.</description>
	<lastBuildDate>Sat, 26 Nov 2011 18:31:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Running Adobe AsDoc on my Mac using ANT!</title>
		<link>http://blog.derraab.com/2007/11/23/running-adobe-asdoc-on-my-mac-using-ant/</link>
		<comments>http://blog.derraab.com/2007/11/23/running-adobe-asdoc-on-my-mac-using-ant/#comments</comments>
		<pubDate>Fri, 23 Nov 2007 13:48:12 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[AsDoc]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[ANT]]></category>
		<category><![CDATA[build.xml]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/2007/11/23/running-adobe-asdoc-on-my-mac-using-ant/</guid>
		<description><![CDATA[Wow, this was really challenging! But now, finally, I found out how to use AsDoc on my Mac.There must be another solution out there, but I simply want to document this workaround hoping that this also works on your Mac. &#8230; <a href="http://blog.derraab.com/2007/11/23/running-adobe-asdoc-on-my-mac-using-ant/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wow, this was really challenging! But now, finally, I found out how to use AsDoc on my Mac.There must be another solution out there, but I simply want to document this workaround hoping that this also works on your Mac.</p>
<p>What you need is a Flex SDK 2.0.1 which comes with <a HREF="http://www.adobe.com/products/flex/">Flex Builder</a> or as a <a HREF="http://www.adobe.com/products/flex/sdk/">free download from Adobe</a> and the knowledge how to use ANT (I use <a HREF="http://www.eclipse.org">eclipse</a>).</p>
<p>I tried <a HREF="http://www.levelofindustry.com/journal/2007/5/2/taming-asdoc-in-flex-builder-on-os-x.html">this tutorial</a> several times but it never worked for me. I don&#8217;t know why.But after hours of testing I Â hopefully found a proper solution which works find with Flex SDK 2.0.1. The main idea simply is separating the AsDoc functionality from the normal Flex Builder environment. Basically the only thing you have to do is avoiding whitespaces from your directory names. However I tried to use Flex Builder for this and Flex Builder installs into the directory &#8220;Flex Builder 3&#8243;.So this is what I did and you might try:</p>
<ul>
<li>Create a new directory within the applications folder (don&#8217;t use whitespace!) &#8220;Applications/Adobe_AsDoc&#8221;</li>
<li>Copy the Flex SDK 2.0.1 into that &#8220;Adobe_AsDoc&#8221; directory</li>
<li>Rename the Flex SDK directory to &#8220;FlexSDK_201&#8243; (which might not be necessary, but I tried to avoid any special characters within the directory names)</li>
</ul>
<p>Great. So all you have to do now is download and use this ANT build.xml <a HREF="http://blog.derraab.com/wp-content/uploads/2007/11/build.xml">(download)</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;project</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Documentation&quot;</span> <span style="color: #000066;">default</span>=<span style="color: #ff0000;">&quot;asdoc&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">environment</span>=<span style="color: #ff0000;">&quot;env&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">            Markus Raab - derRaab.com / superclass.de</span>
&nbsp;
<span style="color: #808080; font-style: italic;">            This ANT build.xml works on a Mac with a FLEX SDK 2.0.1 in the following location:</span>
<span style="color: #808080; font-style: italic;">            /Applications/Adobe_AsDoc/FlexSDK_201</span>
&nbsp;
<span style="color: #808080; font-style: italic;">            For more informations see: blog.derraab.com</span>
&nbsp;
<span style="color: #808080; font-style: italic;">            ATTENTION: Use relative paths (according to this build.xml)</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
&nbsp;
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    ActionScript directory location in source-path and doc-sources (both are needed?)</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;source-path&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;../src/as/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;doc-sources&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;../src/as/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    List with all your used library SWC files (using a directory causes asdoc not to write any documentation files?)</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;library-path&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;../src/as/mdm.swc ../src/as/layout.swc&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    Documentation output directory</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;output&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;./classes&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    SDK Location (without whitespace!)</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;flex-sdk&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'/Applications/Adobe_AsDoc/FlexSDK_201'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    Location of the asdoc templates</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;templates-path&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'${flex-sdk}/asdoc/templates'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!--</span>
<span style="color: #808080; font-style: italic;">    run</span>
<span style="color: #808080; font-style: italic;">    --&gt;</span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;asdoc&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">'${flex-sdk}/bin/asdoc'</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
&nbsp;
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'-source-path ${source-path}'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'-doc-sources ${doc-sources}'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'-library-path ${library-path}'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'-output ${output}'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">'-templates-path ${templates-path}'</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/project<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2007/11/23/running-adobe-asdoc-on-my-mac-using-ant/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

