ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Burke" <mbu...@bestweb.net>
Subject Re: Build Failed
Date Thu, 10 Jan 2002 02:59:21 GMT
You're right Stefan my basedir is being prepended to the directory but I
don't know why that's happening. Line 212 is
"optimize="@{compile.optimize}"/> the next line which I think is causing the
problem is:
"<classpath refid="compile.classpath"/>. "compile.classpath" is:
<pathelement location="${catalina.home}/common/classes"/>
fileset dir="${catalina.home}/common/lib">
etc,etc, so I don't see how my basedir is being prepended. Any ideas?
----- Original Message -----
From: Stefan Bodewig <bodewig@apache.org>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, January 08, 2002 2:05 AM
Subject: Re: Build Failed


> On Mon, 07 Jan 2002, Michael Burke <mburke@bestweb.net> wrote:
>
> > /home/mburke/jakarta-tomcat-4.0.1/webapps/cdtest/build.xml:212:
> >
/home/mburke/jakarta-tomcat-4.0.1/webapps/cdtest/home/mburke/jakarta-tomcat-
4.0.1/common/lib
> > not found.
> >
> > If anyone can point out what the problem is I'd be very grateful.
>
> In line 212 of your build file, you are using a fileset with a dir
> attribute that points to
>
/home/mburke/jakarta-tomcat-4.0.1/webapps/cdtest/home/mburke/jakarta-tomcat-
4.0.1/common/lib
> and that directory doesn't exist.
>
> I guess your dir attribute is defined by some property and you should
> take a closer look at how this property is defined (it seems as if
> ${basedir} was blindly prepended to it, which shouldn't be necessary
> anyway, see the location attribute of <property>).
>
> Stefan
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message