You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Simon Brunning <SB...@trisystems.co.uk> on 2003/03/12 12:56:21 UTC

Building a classpath using includesfile

I'm trying to use a classpath from an external patternset file, thus:

<javac destdir="${location.build}" srcdir="${location.source}">
  <classpath>
    <fileset includesfile="classpath.patternset"/>
  </classpath>
  <includesfile name="jvm13.patternset"/>
</javac>

Trying this, I get: "No directory specified for fileset." Which is fair
enough, I suppose, though the filenames in the patternset are fully
qualified and don't *need* a base directory. The problem is that I've tried
including dir=".", and dir="..", and both of these stop the classpath
including anything. Is there any way to do this?

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning@trisystems.co.uk





-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.