Results 1 to 3 of 3

Thread: Why no build.sh in the distribution file?

  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    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

  3. #3
    Join Date
    Sep 2004
    Posts
    2

    Default 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

Similar Threads

  1. Replies: 5
    Last Post: Mar 17th, 2010, 04:32 AM
  2. Saving large files to a db using hibernate?
    By Dan Washusen in forum Data
    Replies: 10
    Last Post: Sep 20th, 2006, 12:18 PM
  3. Deferred file upload
    By Thomas Matzner in forum Web
    Replies: 4
    Last Post: Sep 30th, 2005, 12:06 PM
  4. Replies: 0
    Last Post: Sep 5th, 2005, 08:49 AM
  5. Replies: 2
    Last Post: Nov 15th, 2004, 07:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •