[as2api-dev] Re: multiple classpaths using Ant

David Holroyd dave at badgers-in-foil.co.uk
Wed Sep 14 10:44:45 UTC 2005


On Tue, Sep 13, 2005 at 03:20:21PM -0400, Jim Kremens wrote:
> Hi David,
> 
> I'm really enjoying using as2api.  I hope my comments about the
> stylesheet did not offend!

Not at all!  Just been too busy to write a proper reply.


> Anyway, I'm trying to send multiple packages to as2api, but can't seem
> to get it working.  Here's my Ant task:
> 
> 	<target name="document">
> 		<exec executable="${as2api}" failonerror="false">
> 			<arg value='org.flashcodersny.*'/>
> 			<arg line='--classpath "${dist}" --classpath "${macromedia_classes}"'/>
> 			<arg line='--output-dir "${docs}"'/>
> 			<arg line='--sources'/>
> 			<arg line='--draw-diagrams --dot-exe "${graphviz}"'/>	
> 		</exec>
> 		<delete file="${docs}/style.css" />
> 		<copy file="../utilities/style.css" todir="${docs}"/>
> 	</target>

What is it that actually goes wrong?  Error message?  Unexpected output?

Can you get ant to show you exactly the command line it tries to execute,
and post that too?


> Note that I'm passing in ''org.flashcodersny.*'  What I'd really like
> to do is pass in org.* to get all of the packages in org.  Is that
> possible?  If not, what syntax should I use to pass in multiple
> packages?

If you always want to document all classes packaged under 'org/..', then
you should indeed be able to just use 'org.*'.  When you start making
use of other libs which are also in the org namespace, this may not be
desirable though.


thanks,
dave



More information about the as2api-dev mailing list