ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harkness, David" <>
Subject RE: How to specify classpath with "refid" AND additional elements?
Date Tue, 07 Oct 2003 23:58:24 GMT
Karr, David <> once said:
> If I use a "path" element at my "project" level, I can
> specify the "id" attribute to specify a classpath that I'll
> reuse in more than one place. I can get that to work with
> both the "javac" and "java" targets. However, what if I want
> to specify a classpath that uses the reused classpath, with
> additional entries? 

You were on the right track. You want <path refid="<ref>"/> -- no ${}.
For example,

    <path id="">

    <path id="">
        <path refid=""/>
        <pathelement location="${lib.dir}/cdp/emailService.jar"/>

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message