I know this can be easily created by customers. But why not include one since build.bat is included for windows?
I know this can be easily created by customers. But why not include one since build.bat is included for windows?
Hmm, good question. Maybe because we don't really need it (all of use use ant, which is used from the build.bat as well I guess).
Anyway, if you could translate the build.bat to a shell script, I'd be happy to include it.
Alef
Based on build.bat, I generated the following file on the fly to build the source
successfully on a Solaris 9 box. I don't have time to inverstigate in detail but at least it works for me. I named the file as build.sh
One obvious problem is that only one argument can be passed in but can be worked around. e.g.
./build.sh "-Dsome_property=${OBJDIR}/spring-dest build"
instead of
./build.sh -Dsome_property=${OBJDIR}/spring-dest build
build.sh
--------------------------------------------------------
#!/bin/sh
${JAVA_HOME}/bin/java -cp lib/ant/ant.jar:lib/ant/ant-launcher.jar:lib/ant/ant-junit.jar:lib/junit/junit.jar:${JAVA_HOME}/lib/tools.jar org.apache.tools.ant.Main $1