Thanks Brian, but I goofed, I installed in the wrong folder, found it out like 
5 mins after I send the email. Its all working and very cool. I also like how 
it barfs on un-used imports, it helped me clean certain things out :)

Now I just have to tweak all the comments.

Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.

-----Original Message-----
From: [email protected] on behalf of Brian Deitte
Sent: Thu 8/31/2006 5:10 PM
To: [email protected]
Subject: RE: [flexcoders] Using ASDoc
 
That class is in flex.jar.  You need to include all the jars in the 
flex2.home/lib directory.  So replace the second pathelement in your classpath 
with this:
 
                <fileset dir="${flex2.home}/lib" includes="*.jar"/>



________________________________

        From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
Dimitrios Gianninas
        Sent: Thursday, August 31, 2006 4:06 PM
        To: [email protected]
        Subject: [flexcoders] Using ASDoc
        
        
        Using ASDoc for the first time, here is my ant task:
         
        <target name="asdoc">
             <property name="flex2.home" value="C:/dev/libraries/fxcore/asdoc"/>
             <java classname="flex2.tools.ASDoc" fork="true">
               <classpath>
                 <pathelement 
location="${flex2.home}/asdoc/hotfix/flex_asdoc_hotfix.jar"/>
                 <pathelement location="${flex2.home}/lib/asdoc.jar"/>
               </classpath>
               <jvmarg value="-Dapplication.home=${flex2.home}"/>
               <jvmarg value="-Xmx1024m"/>
               <jvmarg value="-Dsun.io.useCanonCaches=false"/>
               <jvmarg 
value="-Xbootclasspath/p:${flex2.home}/asdoc/lib/xalan.jar"/>
               <arg line="-doc-sources src -output docs"/>
             </java>
           </target>
         
        When this runs, the error below is thrown, what jar contains that 
class? Can't find it anywhere.. any ideas?
         
        C:\dev\fxcommon2>ant asdoc
        Buildfile: build.xml
         
        asdoc:
             [java] java.lang.NoClassDefFoundError: flex2/tools/Tool
             [java]     at java.lang.ClassLoader.defineClass0(Native Method)
             [java]     at 
java.lang.ClassLoader.defineClass(ClassLoader.java:539)
             [java]     at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
             [java]     at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
             [java]     at 
java.net.URLClassLoader.access$100(URLClassLoader.java:55)
             [java]     at 
java.net.URLClassLoader$1.run(URLClassLoader.java:194)
             [java]     at java.security.AccessController.doPrivileged(Native 
Method)
             [java]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
             [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
             [java]     at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
             [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
             [java]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
             [java] Exception in thread "main"
             [java] Java Result: 1
         
        Dimitrios Gianninas
        RIA Developer
        Optimal Payments Inc.
         
AVIS IMPORTANT

WARNING

Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé. L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système. La lecture, la distribution, la copie ou tout 
autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient. No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message. If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system. The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful. If you have received this e-mail in error, please notify the 
sender.

         


-- 
WARNING
-------
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--------------
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<<winmail.dat>>

Reply via email to