harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-8) Generalization of Windows .BAT file for temporary JAR access
Date Thu, 06 Jul 2006 00:03:30 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-8?page=all ]

Geir Magnusson Jr reassigned HARMONY-8:

    Assign To:     (was: Geir Magnusson Jr)

Dan can do it

> Generalization of Windows .BAT file for temporary JAR access
> ------------------------------------------------------------
>          Key: HARMONY-8
>          URL: http://issues.apache.org/jira/browse/HARMONY-8
>      Project: Harmony
>         Type: Improvement

>   Components: VM
>  Environment: CygWin and Windows
>     Reporter: Bootstrap JVM (Daniel Lydick)
>     Priority: Minor

> In his initial port, Geir added at my suggestion a .BAT file as
> a temporary (repeat TEMPORARY) workaround for JAR access
> for loading Java .class files.  Ultimately, code needs to be written
> to support this without having to call system(3) and forking a
> process to call the JDK utilities.  (There will eventually be another
> JIRA entry to document this issue.)
> The initial .BAT file looks like this (SVN 312649)
>     cd %1
>     %2\bin\jar -xfv %3%4%5 %6
> In order to generalize this .BAT file, the following needs to
> be added to be handle setup of this environment.  Remember
> that MS-DOS has effectively a two-part `pwd`, namely, a disk
> partition drive letter and a directory on that volume.  Thus,
> in order to make this script run the first time for new developers,
> it should probably look something like this, where a new parameter
> number 1 is the disk drive letter, and all parameter numbers are
> increased by 1:
>     %1:
>     if not exist %2\*.* mkdir %2
>     cd %2
>     %3\bin\jar -xfv %4%5%6 %7
>     exit
> This should completely generalize the script.  The corresponding
> adjustment should then be made in 'bootJVM/jvm/src/jvmcfg.h'
> (SVN 312648) and the change should be comlete.
> Once full JAR support is added, both the .BAT file and the 'jvmcfg.h'
> change (and nearby code) will go away, along with the code in the
> class loader that uses it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message