Hi Antoine, 
I wrote the additional text to using.html and I am
sending you diff file: diffusing.txt.

Regards Ivan
PS. Just for information: ant -version shows
Apache Ant version 1.5.3 compiled on April 16 2003
PPS. I created the diff file in the following way:
1) cp using.html using_new.html
2) I added the text in using_new.html
3) diff using.html using_new.html > diffusing.txt
Then I checked it with 
patch using.html diffusing.txt
and it appeared to be all right. I hope I haven't made
a mistake.


--- Antoine_L�vy-Lambert <[EMAIL PROTECTED]> wrote:
> 
> Hi Ivan,
> 
> yes, please do it, this is a good idea. :-) 
> 
> the best would be if you send a patch of the
> using.html file to the list.
> 
> Cheers,
> 
> Antoine
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
525a526,612
> 
> <p>If you want to control your path-like structures better, you may use selectors. 
> Selectors
> provide more sophisticated way to build filesets than &lt;include&gt; and 
> &lt;exclude&gt;
> filesets attributes. Consider the following scenatrio: in your project's lib dir you
> have jar files used for testing (like junit.jar), jar files used by the very project
> (like JavaMail API mail.jar) and some jar files used by both (like jdbc drivers).
> You may organize all jars in this way:</p>
> 
> <blockquote><pre>
> &lt;selector id="common.lib"&gt;
>   &lt;or&gt;
>     &lt;filename name="common1.jar"/&gt;
>     &lt;filename name="common2.jar"/&gt;
>   &lt;/or&gt;
> &lt;/selector&gt;
> 
> &lt;selector id="test.lib" description="Describes jars used for testing"&gt;
>   &lt;or&gt;
>     &lt;filename name="test1.jar"/&gt;
>     &lt;filename name="test2.jar"/&gt;
>     &lt;filename name="test3.jar"/&gt;
>     &lt;filename name="test4.jar"/&gt;
>   &lt;/or&gt;
> &lt;/selector&gt;
> </pre></blockquote>
> 
> <p>Here &lt;or&gt; means that when nested in a fileset these selectors will pick all
> files, whose name is one of the name in &lt;filename&gt; attributes.</p>
> 
> <blockquote><pre>
> &lt;selector id="project.lib" description="Describes jars used by the project"&gt;
>   &lt;not&gt;
>     &lt;selector refid="test.lib"/&gt;
>   &lt;/not&gt;
> &lt;/selector&gt;
> </pre></blockquote>
> 
> <p>Here &lt;not&gt; means that these selector will pick all files, except those that
> are matched by "test.lib" selector.
> 
> From these selector you can build paths, so that you use it later when compiling
> or running your project or your proejcts tests in this way:</p>
> 
> <blockquote><pre>
> &lt;path id="test.classpath"&gt;
>   &lt;fileset dir="${project.lib}"&gt;
>     &lt;or&gt;
>       &lt;selector refid="test.lib"/&gt;
>       &lt;selector refid="common.lib"/&gt;
>     &lt;/or&gt;
>   &lt;/fileset&gt;
> &lt;/path&gt;
> </pre></blockquote>
> 
> <p>Here this path will contain all files from project's lib directory that are 
> picked by
> one of "test.lib" or "common.lib" selectors.</p>
> 
> <blockquote><pre>
> &lt;path id="project.classpath"&gt;
>   &lt;fileset dir="${project.lib}"&gt;
>     &lt;selector refid="project.lib"/&gt;
>   &lt;/fileset&gt;
> &lt;/path&gt;
> </pre></blockquote>
> 
> <p>Later in you compile target and compile-test target you can use these path's in 
> the usual way:</p>
> 
> <blockquote><pre>
> &lt;target name="compile" depends="..." ...&gt;
>   &lt;javac ...&gt;
>     &lt;classpath refid="project.classpath"/&gt;
>   &lt;/javac&gt;
> &lt;/target&gt;
> 
> &lt;target name="compile-test" depends="..." ...&gt;
>   &lt;javac ...&gt;
>     &lt;classpath refid="test.classpath"/&gt;
>   &lt;/javac&gt;
> &lt;/target&gt;
> </pre></blockquote>
> 
> <p>You can also easily exclude test jars from your project distributions simply by 
> applying &lt;not&gt;
> to "test.lib" selector in the fileset containing your jars for the distribution.</p>
> 
> <p>See the page about <a href="CoreTypes/selectors.html">Selector</a>s to see all 
> the criterea that
> can be used in selectors.</p>
> 

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

Reply via email to