Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6334637

Can't redeploy the app if rename the default ".jnlp" file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 6
    • deploy
    • None
    • generic
    • generic

      The new file type JNLP file support common files properties , includ "rename".
      But if rename the default ".jnlp" file , the app can't be redeploy and run with jaws even changed the jnlp link on the index page .

      NetBeans build:
      NetBeans IDE 5.0 Beta Build200509261930
      JNLP Plug-in build:
      08-Oct-2005 16:18:37

      Steps :
      --------
      1. Create a new Java Application with existing sources
      2. Select this application in Projects View , right click mouse and invoke "Enable Java Web Start" from contextual menu . The default .jnlp file will open in JNLP Visual Editor
      3. Select the jnlp file in Files View and invoke "rename" from contextual menu and give a new name to the file
      4. Edit the index.jsp which is the default index page , change the jnlp filename to the new one(my.jnlp)
      5. Rebuild the app and invoke "Run with Java Web Start" from project's contextual menu

      The default index page will open and click the jnlp link on that file will only get an error "The requested resource (/JavaApplication1/my.jnlp) is not available."
      The description information for JNLP file need to be update.

      Now the information is :
      "Select Java Application to create a standard project containing an empty J2SE application. You can also generate a main class in the project. A standard project uses the IDE-generated build script to build, run, and debug your project."
      This information is not correct for JNLP file type.

      NetBeans build:
      NetBeans IDE 5.0 Beta Build200509261930
      JNLP Plug-in build:
      08-Oct-2005 16:18:37

      Steps to see the informaiton:
      -----------------------------
      1. Create a new Java Application or open an existing Java Application
      2. Create a new JNLP file from menu "File" --> "New File..." , select JNLP file type from "Other" Categories
      The information for this file type will show in "Description"
      The new file type JNLP file support common files properties , includ "rename".
      But if rename the default ".jnlp" file , the app can't be redeploy and run with jaws even changed the jnlp link on the index page .

      NetBeans build:
      NetBeans IDE 5.0 Beta Build200509261930
      JNLP Plug-in build:
      08-Oct-2005 16:18:37

      Steps :
      --------
      1. Create a new Java Application with existing sources
      2. Select this application in Projects View , right click mouse and invoke "Enable Java Web Start" from contextual menu . The default .jnlp file will open in JNLP Visual Editor
      3. Select the jnlp file in Files View and invoke "rename" from contextual menu and give a new name to the file
      4. Edit the index.jsp which is the default index page , change the jnlp filename to the new one(my.jnlp)
      5. Rebuild the app and invoke "Run with Java Web Start" from project's contextual menu

      The default index page will open and click the jnlp link on that file will only get an error "The requested resource (/JavaApplication1/my.jnlp) is not available."

            duke J. Duke
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: