tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <>
Subject Re: Building modapp for Tomcat4.0 and apache1_3.23
Date Thu, 11 Apr 2002 13:59:56 GMT
"GOMEZ Henri" <> wrote:

>> Ant is a good choice for java projects, not too bad for c projects
>> and will be veru usefull when playing with gcj.
> And you could still use ant to call make ;)

Yeah. Looks like RPM... So f***ed up... To convert:


If [ -z "$INSTALL_DIR"] INSTALL_DIR=/usr/local/eclipse
If [ -z "$TEMP_DIR" ] TEMP_DIR=build_temp
If [ -z "$SO_NAME" ]

mkdir "$TEMP_DIR"
unzip "$INSTALL_DIR/plugins/org.eclipse.swt/" -d TEMP_DIR
unzip "$INSTALL_DIR/plugins/org.eclipse.swt/swtjar" -d TEMP_DIR
patch "$TEMP_DIR/org/eclipse/swt/widgets/" <
patch "$TEMP_DIR$/org/eclipse/swt/widgets/" < Widget.patch
patch -p0 <

touch `find . -name '*.java'`
touch `find . -name '*.java'`
cp "$OLD_DIR/Makefile .
make -f Makefile
cd "$OLD_DIR"

rm -rf "$TEMP_DIR"

It is indeed a very stupid script (three patches? What's wrong with one?),
but I don't have to get idiotic to debug it, it's 1/4 of the original size,
and I don't have to download 1.5 megs of ANT. WHATEVERRRR1!!!


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

View raw message