ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Kurki-Suonio <>
Subject Ordering classpath
Date Thu, 09 Aug 2001 06:46:37 GMT
Thought to let you know how I handled it.

First, I wrote the path in a properties files a bit like this:


Then, in build files I

 1) Define a filter to replace @LD@ with proper library directory
    as seen from the build file
 2) Copy the the property template with filtering to another file "bar"
 3) Load that file as a property file
    <property file="bar"/>
 4) Use that property as pathelement
    <pathelement path="${classpath}"

This technique provides the flexibility I needed. The downside is that the
actual list file is somewhat ugly to look at.


View raw message