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

Relative Path Jar files passed to Packager, cannot be deployed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.4.2
    • deploy
    • beta
    • x86
    • generic
    • Verified

      Tested_Java_Release : Mantis 1.4.2
      Tested_Build : build 10/11/12
      Tested_Build_Location : /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b10/bundles/windows-i586
      /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b11/bundles/windows-i586
      /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b12/bundles/windows-i586
      Test_Location :
      http://sqesvr.sfbay/deployment2/rpallath/mantis_ws_plugin/ATF/scripts/exclusive/
      Tested_Machine_Name : namrata
      Tested O/S : Win32
      Tested_ Browsers : NA
        
      Problem Description:
      --------------------
      On deploying , Jar file does not get created under <public jre>/axbridge/lib dir., if the original jar file passed to the packager had relative dir.
      for example
       packager x.jar x.class -> will work
       packager dir1/dir2/x.jar x.class -> will not work


      Steps to reproduce:
      -------------------
       1) Install j2sdk (1.4.2)
          (ensure that public JRE is alos created (<drive>/program files/java/j2re)
       2) mkdir c:/mytmp (could use any drive or dir).
       3) cd c:/mytmp
       4) mkdir res/axbridge/beans
       5) copy attached Jar file to this directory and rename it to
           bndprop.jar
           You could also get it from
                http://sqesvr.sfbay/deployment2/rpallath/mantis_ws_plugin/ATF/scripts/exclusive/res/axbridge/beans/bndprop.jar

       6) fire of the command
      c:/j2sdk1.4.2/bin/packager res/axbridge/beans/bndprop.jar test.activex.bean.BoundProperties

      Once the packager is done,
      See Registry entries under
      [HKEY_CLASSES_ROOT\CLSID\{DCF8BD5F-A59A-45E4-9D65-F377129D7FFFE}]

       Now Deploy:
       7) mkdir -p "C:/Program Files/Java/j2re1.4.2/axbridge/bin"
       8) mv "BoundProperties.dll" "C:/Program Files/Java/j2re1.4.2/axbridge/bin"
       9) regsvr32 "C:/Progra~1/Java/j2re1.4.2/axbridge/bin/BoundProperties.dll"


      Now look under C:/Progra~1/Java/j2re1.4.2/axbridge/lib dir.
      No Jar file is created.


      I have set priority to 2 because our automation suites use relative paths to Jar files.

            djayaramsunw Devananda Jayaraman (Inactive)
            rpallathsunw Rajendra Pallath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: