> I have some problem adding exactly one directory to the java classpath
> using ant. I tried the following lines but got no only the directory
[quoted text clipped - 7 lines]
>
> How is it possible to add exactly one directory to the classpath?
I tried the following exclusion pattern and it did the job. :)
<dirset dir="${main.dst}" excludes="*" />
<dirset dir="${tests.dst}" excludes="*" />
Greetings,
Marco.
pintman - 01 Sep 2006 09:46 GMT
> I tried the following exclusion pattern and it did the job. :)
>
> <dirset dir="${main.dst}" excludes="*" />
> <dirset dir="${tests.dst}" excludes="*" />
Sorry, what I ment was the following pattern. :)
<dirset dir="${main.dst}" excludes="*/**" />
<dirset dir="${tests.dst}" excludes="*/**" />
Greetings,
Marco.
Jacques-Olivier Haenni - 01 Sep 2006 09:46 GMT
Hi,
What about <pathelement path="${main.dst}"/> instead of the <dirset.../> ?
I haven't tested it so I cannot ensure it works as is.
Hope this helps,
Jacques-Olivier
>
>> I have some problem adding exactly one directory to the java classpath
[quoted text clipped - 17 lines]
> Greetings,
> Marco.