[as2api-dev] error: No packages specified
David Holroyd
dave at badgers-in-foil.co.uk
Thu Sep 1 14:24:21 UTC 2005
On Thu, Sep 01, 2005 at 09:51:19AM -0400, Jim Kremens wrote:
> I'm trying to use Ant to call as2api. I have the following:
>
> <target name="document">
> <exec executable="${as2api}" failonerror="false">
> <arg line='--classpath "${dist}"'/>
> </exec>
> </target>
>
> This task successfully calls as2api, and I think it passes it the
> right path for '--classpath'. But it seems to be looking for a
> '<package spec>'.
>
> What's a '<package spec>' and how can I pass one to as2api?
You need to tell as2api which packages are being documented, either by
naming the packages explicitly:
com.example.foo
or by giving the prefix shared by all packages to be documented:
com.example.*
So, you'll need to add something like this to the <exec>:
<arg line='com.example.*'/>
[I was working on an HTML version of the documentation when my laptop
died a few days back. Here's the relevant section:
http://www.badgers-in-foil.co.uk/projects/as2api/as2api-documentation.html#options
Note that this documents some options which were not yet implemented in
the last (0.3) release.]
hope that helps,
dave
--
http://david.holroyd.me.uk/
More information about the as2api-dev
mailing list