Comment 2 for bug 495505

Revision history for this message
Ludovic Claude (ludovicc) wrote :

I'm adding the following to debian/rules in Debian. Do you see any problem with starting Tomcat or is it only in Debian?
Ludovic

T_VER_MAJOR := $(echo $(T_VER) | cut -d'.' -f1)
T_VER_MINOR := $(echo $(T_VER) | cut -d'.' -f2)
T_VER_BUILD := $(echo $(T_VER) | cut -d'.' -f3)

ANT_ARGS := -Dcompile.debug=true \
 -Dant.build.javac.source=1.5 \
 -Dant.build.javac.target=1.5 \
 -Djdt.jar=/usr/share/java/ecj.jar \
 -Dversion=$(T_VER) \
    -Dversion.major="$(T_VER_MAJOR)" \
    -Dversion.minor="$(T_VER_MINOR)" \
    -Dversion.build="$(T_VER_BUILD)" \
    -Dversion.patch="0" \
    -Dversion.suffix=""