Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: future-release
    • Component/s: bootstrap
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: Other

    • Issuezilla Id:
      1,783

      Description

      Mirror issue for:

      https://glassfish.dev.java.net/issues/show_bug.cgi?id=7135

      Quoting relevant description:

      This patch makes the updatetool work with Cygwin (see
      http://www.weiqigao.com/blog/2008/03/10/java_bash_cygwin.html)

      — old/updatetool 2009-02-04 18:09:50.280527500 -0800
      +++ new/updatetool 2009-02-04 18:11:55.751327500 -0800
      @@ -39,6 +39,12 @@

      1. Startup stub
        #

      +# detect Cygwin
      +cygwin=false;
      +case "`uname`" in
      + CYGWIN*) cygwin=true;
      +esac
      +

      1. Resolve a symbolic link to the true file location
        resolve_symlink () {
        file="$1"
        @@ -240,6 +246,13 @@
      2. Create property file with bootstrap settings
        create_bootstrap_props

      +
      +if $cygwin; then
      + BOOTSTRAPJAR=`cygpath --path --windows $BOOTSTRAPJAR`
      + BOOTSTRAPPROPS=`cygpath --path --windows $BOOTSTRAPPROPS`
      + image_path=`cygpath --path --windows $image_path`
      +fi
      +
      while [ true ]; do
      echo
      "$my_java" -Dimage.path="$image_path" -jar "$BOOTSTRAPJAR" "$BOOTSTRAPPROPS"

        Activity

        Hide
        Joe Di Pol added a comment -

        At this time support for running our Unix shell scripts under cygwin is not a
        high priority.

        Show
        Joe Di Pol added a comment - At this time support for running our Unix shell scripts under cygwin is not a high priority.
        Hide
        Tom Mueller added a comment -

        Note that updatetool.exe runs fine under cygwin. This is the expected way to
        start updatetool on Windows.

        Show
        Tom Mueller added a comment - Note that updatetool.exe runs fine under cygwin. This is the expected way to start updatetool on Windows.

          People

          • Assignee:
            Joe Di Pol
            Reporter:
            Snjezana Sevo-Zenzerovic
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: