tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: Tomcat 3.2 b7 build broken???
Date Fri, 17 Nov 2000 17:47:38 GMT
Stefán F. Stefánsson wrote:

> It can't be that... must be something on my side... but I keep getting
> the following error when I try to run build (doesn't matter if I do
> build or build dist).
>
> C:\jakarta\jakarta-tomcat>build
> Buildfile: build.xml
>
> BUILD FAILED
>
> build.xml:33: Could not create task of type: copy because I can't find
> it in the list of task class definitions
>
> Anybody have a clue???
>

As others have mentioned, you need to use Ant 1.2 or later.  The README file has
been revised to say this -- in general, it's always a good idea to check that
when trying to build source distros.

>
> Also... why is b7 being distributed under the "jakarta-tomcat-b7-src"
> folder?  Why not just the regular "jakarta-tomcat" folder?  What I've
> done is that I've copied all the stuff from the "jakarta-tomcat-b7-src"
> folder to the regular "jakarta-tomcat" folder and I'm trying to build it
> from there.
>

The name of the folder that you build in turns out not to be relevant, because
all of the external directory references are either relative (like
../jakarta-ant) or set via environment variables.

My preference is to name the source and binary directories for each distribution
uniquely, so that you as a developer could have the sources for both b6 and b7
present at the same time.  If the distributed directory name were
"jakarta-tomcat", this would be ambiguous (at best) or impossible (at worst).

Since I'm running mostly on Unix systems, I establish a symlink from
"jakarta-tomcat" to the version I normally want to run by default, so I can have
my cake and eat it too.

>
> 3.2b6 worked like a charm!
>
> Kind regards, Stefan
>

Craig McClanahan



Mime
View raw message