Ah, I see. Thanks for the explanation, John.

On Wed, 01 Sep 2004, at 17:28:42 [GMT -0400] John Casey wrote:

> That would fail simply because it would cause his package declarations 
> to be wrong. For example, if he has:

> DIR
>    SUBDIR
>      com.myco.pkg.Class.java
>    SUBDIR2
>      com.myco.pkg.Class2.java

> then specifying <sourceDirectory>DIR</sourceDirectory> would lead to 
> javac believing the classes to be:

> SUBDIR.com.myco.pkg.Class.java
> SUBDIR2.com.myco.pkg.Class2.java

> while the actual package declarations in each java file would be 
> inconsistent with this.

> Unfortunately, the directory structure is important to javac.

> Cheers,
> -john

> Jefferson K. French wrote:
>> I guess I misunderstood the question. I thought he was trying to build
>> a single artifact, but just had his source laid out in multiple
>> subdirectories under a single parent directory. In that case, I
>> figured he could just specify the parent as the one source dir.
>> 

-- 
mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to