ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Flegman" <adam.fleg...@astracon.com.au>
Subject Classpath not present problem
Date Fri, 11 May 2001 01:42:11 GMT
Hello,


I'm having some trouble with a classpath declaration.


The format of my make file is load properties, declared patternsets, then
create path entries (some of which are based on properties whilst others are
based on patternsets).


The offending path declaration is listed below:

<!-- Orbix -->
<path id="orbix.classpath">
     <fileset dir="${output.vc.lib.dir}">
        <patternset refid="orbix.files"/>
    </fileset>
</path>


I think the line of code failing is the <fileset dir="...." command. The
directory it is referring to isnt actually in existence at the begining of
the whole process, but rather it gets created as a result of a cvs checkout.

The orbix.files pattern set is only 3 jars so I suppose i could do something
like the following but was wondering if there was a more elegant way to
address this:
<!-- Orbix -->
<path id="orbix.classpath">
    <pathelement location="${output.vc.lib.dir}">/cm.orbix2000.jar"/>
    <pathelement location="${output.vc.lib.dir}">/omg.jar"/>
    <pathelement location="${output.vc.lib.dir}">/orbix2000.jar"/>
</path>



Cheers,

          Ad.

==========================================================
Adam Flegman - Senior Software Engineer
Astracon (Australia) Pty Ltd
Email:  adam.flegman@astracon.com.au
Phone: (07) 3368 6979,  DID: +617 3368 6979
Fax: (07) 3368 6999
PO Box 1656,
Milton   4064,
Australia.
==========================================================


Mime
View raw message