Announcement Announcement Module
Collapse
No announcement yet.
Why no build.sh in the distribution file? Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why no build.sh in the distribution file?

    I know this can be easily created by customers. But why not include one since build.bat is included for windows?

  • #2
    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

    Comment


    • #3
      One simple build.sh

      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

      Comment

      Working...
      X