ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Ant: pathelement relative?
Date Wed, 02 Feb 2005 20:57:44 GMT
--- Douglas Kramer <Douglas.Kramer@Sun.COM> wrote:

> SunOS  (Solaris 9 on SPARC)
> 
>    % uname -a
>    SunOS dooghome 5.9 Generic_112233-12 sun4u sparc
> SUNW,Sun-Blade-100
> 
> Follow-up question -- how do I provide an absolute
> path

Assuming that /Users/programs/jdk1.5.0/lib/tools.jar
exists, you are doing it correctly AFAICT.

-Matt

> 
> -Doug
> 
> Matt Benson wrote:
> > what OS are you running on?
> > 
> > -Matt
> > 
> > --- Douglas Kramer <Douglas.Kramer@Sun.COM> wrote:
> > 
> > 
> >>Does pathelement take only a relative path?
> >>
> >>This page:
> >>http://ant.apache.org/manual/using.html#projects
> >>says:
> >>
> >>     <classpath>
> >>        <pathelement path="${classpath}"/>
> >>        <pathelement location="lib/helper.jar"/>
> >>     </classpath>
> >>
> >>   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:
> >>
> >>     <classpath>
> >>        <pathelement
> >>path="/Users/programs/jdk1.5.0/lib/tools.jar" />
> >>     </classpath>
> >>
> >>With this error:
> >>
> >>    dropping
> >>
> > 
> >
>
/Users/dkramer/javadoc/mifdoclet/ws/dkramer-1.4b1-1.5b1/make/"/Users/programs/jdk1.5.0/lib/tools.jar"
> > 
> >>from 
> >>path as it doesn't exist
> >>
> >>where basedir is
> >>
> >>   
> >>
> > 
> >
>
/Users/dkramer/javadoc/mifdoclet/ws/dkramer-1.4b1-1.5b1/make/
> > 
> >>Must pathelement be relative?  What does "or
> >>absolute filename" mean?
> >>
> >>-Doug
> >>
> >>
> > 
> >
>
---------------------------------------------------------------------
> > 
> >>To unsubscribe, e-mail:
> >>user-unsubscribe@ant.apache.org
> >>For additional commands, e-mail:
> >>user-help@ant.apache.org
> >>
> >>
> > 
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________ 
> > Do you Yahoo!? 
> > Yahoo! Mail - You care about security. So do we. 
> > http://promotions.yahoo.com/new_mail
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> > 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message