--- [EMAIL PROTECTED] wrote:
> You need to have the appropriate package structure in place for your
> classes. e.g. If there is a class BeanA in the folder
> ${src}/beans/formbeans then you package BeanA.java appropriately (say
> have "package /usr/home/peter/beans/formbeans;" as the first line).
> Thereafter compilation in ant will recreate the directory structure as
> required on its own.
Just a couple of corrections:
- A package statement uses the "dot" format, not a path format, and
shouldn't include anything more than just the package (ie., in your
example, no /usr/home/peter [or usr.home.peter either]).
- If the file is declared as being part of a package, it's the compiler
that creates the subdirs and outputs the classfiles into that subdir
structure, based on the package, not Ant.
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/