why are you so mad at this anyway? you never reported concerns on the build system.

On Tuesday, Sep 30, 2003, at 14:43 Europe/Rome, Berin Loritsch wrote:

Reinhard Poetz wrote:


The thing is that Ant 1.6 as promissing as it sounds is not released yet. If we keep the same build system, thats fine. However, I would prefer we do this with something we can expect to find *installed* on a developer's machine.
Cocoon comes with its own Ant - there's no need for an installed Ant on
the developer's machine. So if we decide to use Ant 1.6 the user will
get it automatically.

No. As Carsten said, we decided to ship released stuff to avoid the 'build on sand principle".


<shudder/><twitch/>


<rant>
Really. Why do we keep insisting on overloading the repository with all
these JARs and our own pet version of ANT, etc. etc.?

as a matter of fact, we don't. It's plain vanilla ant 1.5.4 and it's there only because not everybody has ant installed. Same thing for jetty, it's called "convenience" and makes it easier for users and developers to get started.


You are, so far, the first one who complained.

Cocoon is supposed
to be about integrating a bunch of standards, yet we ignore existing build
standards.

what is your build standard? does typing 'ant' is standard enough for you?


There has been a push to get projects out of the habit of
including the build system as part of the repository.

Really? where? [curious]


Things like ANT should
be installed like the tool that it is. It should be installed like Make.
Will some people be early adopters? Of course. But we should expect users
to go with released versions.

That's exactly what we do. We have a plain vanilla Ant distributed for convenience but if you have your own installed, use that, it works anyway.


</rant>

Seriously. I never use the "build.sh" script, and I get angry if the build
doesn't work. Why torture our users to do something that should be considered
non-standard?

here is the build.sh script


------------------------------- cut here -------------------------

#!/bin/sh

echo
echo "Apache Cocoon Build System"
echo "--------------------------"

cp ./lib/*/xalan*.jar ./tools/lib
cp ./lib/*/xerces*.jar ./tools/lib
cp ./lib/*/xml-api*.jar ./tools/lib

chmod u+x ./tools/bin/antRun
chmod u+x ./tools/bin/ant

unset ANT_HOME

CP=$CLASSPATH
export CP
unset CLASSPATH

ANT_OPTS=-Djava.endorsed.dirs=lib/endorsed
export ANT_OPTS

$PWD/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@

CLASSPATH=$CP
export CLASSPATH

------------------------------------------------------------------------

which is just, as you can see, a "convenience" for you, but if you have ant installed, you simply type

ant

and it works perfectly.

If not, please submit a bug report, and I'll be glad to look into it and fix it.

--
Stefano.



Reply via email to