harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r312648 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h
Date Mon, 10 Oct 2005 13:42:59 GMT
Author: geirm
Date: Mon Oct 10 06:42:57 2005
New Revision: 312648

URL: http://svn.apache.org/viewcvs?rev=312648&view=rev
Log:
Add Windows-specific definitions.

For now, just call out to a bat file for classfile
extraction.  

Ugly, but this is a temporary fix until jar support
is in place...

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h?rev=312648&r1=312647&r2=312648&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/jvmcfg.h Mon
Oct 10 06:42:57 2005
@@ -1197,8 +1197,16 @@
 /*!
  * @brief Temporary area default when no @b TMPDIR environment variable
  */
+#ifdef CONFIG_WINDOWS
+
+#define JVMCFG_TMPAREA_DEFAULT "c:\\temp"
+
+#else
+
 #define JVMCFG_TMPAREA_DEFAULT "/tmp"
 
+#endif
+
 /*!
  * @brief Remove temporary directory
  */
@@ -1220,7 +1228,16 @@
 
 #ifdef CONFIG_WINDOWS
 
-/* Need Windows equivalents here... */
+#define JVMCFG_JARFILE_DATA_EXTRACT_SCRIPT \
+    ".\\jjdes.bat %s %s %s %c %s %s "
+
+/*    "chdir %s; %s/bin/jar -xf %s%c%s %s; chmod -R +w ." */
+
+#define JVMCFG_JARFILE_MANIFEST_EXTRACT_SCRIPT \
+    "jjmes %s %s %s"
+
+/*    "chdir %s; %s/bin/jar -xf %s; chmod -R +w ."  */
+
 
 #else
 



Mime
View raw message