Re: PROPOSAL: Seperate *.class files from *.java files in build
Martin Matula <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Brian,
configurable target directories seem like a good idea. Go ahead and send
the patch.
Martin
Brian Smith wrote:
> Holger Krug wrote:
>
>> On Wed, Jul 17, 2002 at 11:13:24AM +0200, Holger Krug wrote:
>>
>>> Hence you probably won't get your patch through. The only possibility
>>> would be to simultaneously submit a patch to the core Netbeans
>>> infrastructure which hints Netbeans to look up the classes in a
>>> separate directory and to wait until this patch gets integrated into
>>> the Netbeans core. Actually I would not recommend to do this ;-)
>>
>>
>>
>> A simpler alternative would be to make this behaviour dependend on an
>> ant property `classes-besides-sources' which is by default set to true
>> in the build file.
>>
>> I think this would be acceptable ?!
>
>
> Well, instead of a boolean property, it would probably be better to just
> have "mdr.build.dir" and "jmi.build.dir" properties that point to the
> location to send the built items, with the defaults being "src" and
> "jmi" respectively. Then the javac calls would look something like this:
>
> <javac srcdir="src" destdir="${mdr.build.dir}">
> <javac srcdir="jmi" destdir="${jmi.build.dir}">
>
> And the JAR task calls would change as well.
>
> - Brian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]