Re: Re: Compiling with multiple sources on NB 4.0

Mark McKay <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Vincent Brabant wrote:

> Jesse Glick a écrit :
>
>>
>> Vincent Brabant wrote:
>>
>>> Maybe it's better to swithc to Netbeans 4.1, even if it's only the
>>> EA2. Reason is that NetBeans 4.1 supports multiple sources
>>> directories.
>>
>>
>>
>> NB 4.0 supports multiple source directories in freeform projects, so 
>> this is no reason to switch to 4.1.
>>
>> -J.
>>
> What I mean is that with NetBeans 4.1 you are not obliged to adopt 
> freeform to have multiple source support. You can use the standard 
> projects. by doing so, a lot of work you had to do manually with 
> freeform project (to support debug, single-file compilation, ...) are 
> not any more necessary with NetBeans 4.1.
>
> NB4.0 support multiple source directories only if your ant script is 
> written therefore. Here, NB4.1 is really supporting multiple source 
> directories, out of the box, for free, without any user's effort 
> (don't need to create a Ant task, to keep it synchronised with the 
> properties panel of the project in the IDE).
>
Well, while I can use multiple source directories (and I am using a 
freeform project), NB4.0 doesn't seem to be friendly to the single file 
tasks such as compile single file or debug single file in multiple 
source directories.  If I'm working in one and need to single file 
compile in another source directory, I need to modify my project.xml's 
properties file to set a new source root.

Is there a way around this in NB 4.0, or does NB 4.1 fix it?  Also, any 
good documents on what all the tags inproject.xml mean and how I can 
more effectively write my own?

Mark McKay
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.