Skip to main content

Java Ant target to generate Flex 3 | 4 ASDocs [ gnu/Linux - windows compatible ]

Java Ant target to generate Flex 3 | 4 ASDocs [ gnu/Linux - windows compatible ]

The below Ant target may be ran unmodified for both gnu/Linux and windows environments.

[ pull down a complete working Flex 4 application using the 'ASDocs' Java Ant target ]

Some of the dependent Java Apache Ant 'property values' necessary for the generating Flex 4 ASDocs.


# also successfully tested with 'tomcat 6.x'
#apache.tomcat7=/Program Files/Apache Software Foundation/Apache Tomcat 7.0.11


Some more of the dependent Java Apache Ant 'property values' necessary for the generating Flex 4 ASDocs.

    <target name="_init" description="set all properties">
        <echo>- target - _init</echo>
        <echo>- read and set properties for build</echo>

        <property file=""/>

        <property name="appName" value="customSpriteControl"/>

        <property name="build" value="${basedir}/build"/>
        <property name="merge" value="${basedir}/merge"/>
        <property name="dist" value="${basedir}/dist"/>


The actual Java - Apache Ant - 'target' which generates Flex 4 ASDocs.

    <target name="_asdocs" depends="_makeBuildFolder, _addAntTokensToSourceCode"
            description="generate 'asdoc' documentation from flex source code">
        <echo>- target - asdocs</echo>
        <echo>- generate documentation from flex source code</echo>

        <java className="" fork="true">
                <fileset dir="${flex4.sdk}/lib">
                    <include name="**/*.jar"/>

            <jvmarg value="-Dapplication.home=${flex4.sdk}"/>
            <jvmarg value="-Xmx1024m"/>
            <jvmarg value=""/>
            <jvmarg value="-Xbootclasspath/p:${flex4.sdk}/asdoc/lib/xalan.jar"/>

            <arg line='-external-library-path+="${build}/flex/lib/"'/>

            <arg line='-main-title "cool main title"'/>
            <arg line='-window-title "cool window title"'/>
            <arg line='-footer "cool simple application"'/>

            <arg line='-doc-sources "${build}/flex/src/"'/>
            <arg line='-exclude-sources "${build}/flex/src/com/linuxclicks/flex/control/skin/linechart/LineChartSkin.mxml"'/>

            <arg line='-output "${build}/asdocs"'/>


Example Flex 4 ASDoc output from the above Java Apache Ant ASDoc target.

From Linux Clicks...

What the overall project which used the above Java Apache Ant ASDoc target looks like...

available at:

From Linux Clicks...


Popular posts from this blog

clonezilla - creating a wifi ad-hoc hotspot and running a ssh server

Here are some notes on connecting to a wifi-hotspot from a running clonezilla

[ target machine to save a backup hard-disk clone/image ]
[ target machine is also running a wifi hotspot and an ssh server ]
Ubuntu 11.04 - Natty Narwhal

terry@terry-HP:~$ uname -a
Linux terry-HP 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[ Creating an 'ad-hoc' wifi spot ]
Click the 'up down arrow' icon ( or what have you )

[ choose menu item to create a wifi ad-hoc hotspot ]

[ create the ad-hoc wifi hotspot ]

[ the eth1 connection is the created ad-hoc network with an essid of 'terry' ]

[ the ad-hoc wifi hotspot is now visible on the 'host' computer and other computer as well now ]

[ enter the following on the machine being cloned with clonezilla
[ at the appropriate place in the clonezilla backup image step ]
terry@terry-HP:~$ ip link set wlan0 down
terry@terry-HP:~$ iwconfig wlan0 mode ad-hoc

Translators, maps, conduits, and containers

The Amiga had a hardware emulator which transformed instruction to instruction to a dedicated x86 hardware interpreter in the Amiga could run Microsoft DOS spreadsheet programs in the Amiga OS.

MS-DOS on Amiga via Sidecar or Bridgeboard[edit]
MS-DOS compatibility was a major issue during the early years of the Amiga's lifespan in order to promote the machine as a serious business machine. In order to run the MS-DOS operating system, Commodore released the Sidecar for the Amiga 1000, basically a 8088 board in a closed case that connected to the side of the Amiga. Clever programming (a library named Janus, after the two-faced Roman god of doorways) made it possible to run PC software in an Amiga window without use of emulation. At the introduction of the Sidecar the crowd was stunned to see the MS-DOS version of Microsoft Flight Simulator running at full speed in an Amiga window on the Workbench.

Later the Sidecar was implemented on an expansion card named "Bridgebo…

Use Gwenview to upload images to

Use Gwenview to upload images to

install the following KDE4 plugins:

terry@narwhal:~/download$ sudo apt-get install kipi-plugins
From Linux Clicks...
the Gwenview application...

From Linux Clicks...