ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Kramer <Douglas.Kra...@Sun.COM>
Subject Ant: pathelement relative?
Date Wed, 02 Feb 2005 20:45:15 GMT
Does pathelement take only a relative path?

This page:

        <pathelement path="${classpath}"/>
        <pathelement location="lib/helper.jar"/>

   The location attribute specifies a single file or directory relative
   to the project's base directory (or an absolute filename),

I assume "absolute filename" means "abolute path".  (What else could
it mean?)

But when I try an abolute path, it fails:

        <pathelement path="/Users/programs/jdk1.5.0/lib/tools.jar" />

With this error:

    dropping /Users/dkramer/javadoc/mifdoclet/ws/dkramer-1.4b1-1.5b1/make/"/Users/programs/jdk1.5.0/lib/tools.jar"
path as it doesn't exist

where basedir is


Must pathelement be relative?  What does "or absolute filename" mean?


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

View raw message