Re: Adding exactly one directory to the classpath
- From: "pintman" <marco.bakera@xxxxxxxxx>
- Date: 1 Sep 2006 01:39:37 -0700
pintman wrote:
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
specified but all subdirectories as well.
<path id="project.class.path">
<fileset dir="${lib.src}" includes="**/*.jar"/>
<dirset dir="${main.dst}" />
<dirset dir="${tests.dst}" />
</path>
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.
.
- Follow-Ups:
- Re: Adding exactly one directory to the classpath
- From: Jacques-Olivier Haenni
- Re: Adding exactly one directory to the classpath
- From: pintman
- Re: Adding exactly one directory to the classpath
- References:
- [ant] Adding exactly one directory to the classpath
- From: pintman
- [ant] Adding exactly one directory to the classpath
- Prev by Date: [ant] Adding exactly one directory to the classpath
- Next by Date: Re: Adding exactly one directory to the classpath
- Previous by thread: [ant] Adding exactly one directory to the classpath
- Next by thread: Re: Adding exactly one directory to the classpath
- Index(es):
Relevant Pages
|
|