glassfish
  1. glassfish
  2. GLASSFISH-7135

(UC) Patch makes updatetool work for Cygwin

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: not determined
    • Component/s: update_center
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      7,135

      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
        rebeccas added a comment -

        bug miss catagorized. This is "updatetool" (i.e update center issue).
        changing catagory.

        Show
        rebeccas added a comment - bug miss catagorized. This is "updatetool" (i.e update center issue). changing catagory.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        Taking ownership.

        Since bootstrap scripts come from updatecenter project, I will open
        corresponding issue there and add submitter to the interest list.

        Show
        Snjezana Sevo-Zenzerovic added a comment - Taking ownership. Since bootstrap scripts come from updatecenter project, I will open corresponding issue there and add submitter to the interest list.
        Hide
        Snjezana Sevo-Zenzerovic added a comment -
        Show
        Snjezana Sevo-Zenzerovic added a comment - Corresponding UC issue filed: https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=1783
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

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

            Dates

            • Created:
              Updated: