[as2api-dev] error: No packages specified

David Holroyd dave at badgers-in-foil.co.uk
Thu Sep 1 15:53:53 UTC 2005


On Thu, Sep 01, 2005 at 11:31:48AM -0400, Jim Kremens wrote:
> 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?

Sorry; I didn't explain that you can give multiple <package spec>
arguments, so you should be able to have something like:

  <target name="document">
      <exec executable="${as2api}" failonerror="false">
          <arg line='--classpath "${dist}"'/>
          <arg line='com.example.myapp.*'/>  <!-- all 'myapp' packages -->
          <arg line='org.example.utils'/>
          <arg line='net.example.foobar.net'/>
          <arg line='net.example.foobar.io'/>
      </exec>
  </target>



dave

-- 
http://david.holroyd.me.uk/



More information about the as2api-dev mailing list