[as2api-dev] error: No packages specified
Jim Kremens
kremens at gmail.com
Thu Sep 1 15:31:48 UTC 2005
Thanks!
What if I have one source folder with .com and .org in it? I pass
as2api the source folder, but how do I pass multiple packages?
Thanks,
Jim Kremens
On 9/1/05, David Holroyd <dave at badgers-in-foil.co.uk> wrote:
> 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/
>
> _______________________________________________
> as2api-dev mailing list
> as2api-dev at lists.badgers-in-foil.co.uk
> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev
>
More information about the as2api-dev
mailing list