home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / jawed116.zip / JaWavedit_run.bat < prev    next >
DOS Batch File  |  1998-10-28  |  2KB  |  57 lines

  1. @echo off
  2. rem  Batch to run JaWavedit on Windows systems.
  3. rem .
  4. rem  1. Commandline options
  5. rem     -Dmodule.path=[path] : Specifies an additional path to
  6. rem        a directory with modules. e.g.:
  7. rem        javaw -Dmodule.path=C:\ JaWavedit %1
  8. rem        The module directory must be named JWModules, ie
  9. rem        C:\JWModules
  10. rem     -Dtest.debug=[on | off] : Debug mode on or off. Debug
  11. rem        mode will print additional informations and errors
  12. rem        to standard out. This might get handy when testing
  13. rem        own modules and JaWavedit does not load them correctly.
  14. rem        For this, you need to use java instead of javaw, to
  15. rem        have a terminal window (the dos box) where the messages
  16. rem        appear. Example:
  17. rem        java -Dtest.debug=on JaWavedit %1
  18. rem     -mx[Number]m : Sets maximum memory that can be used by
  19. rem        JaWavedit. Especially when undo is enabled, JaWavedit
  20. rem        might need a lot of memory  (default: 16 MB).
  21. rem        [Number] is in megabytes.
  22. rem        Example: set to 48MB: 
  23. rem        javaw -mx48m JaWavedit %1
  24. rem .
  25. rem  2. Loading of modules
  26. rem     JaWavedit looks for modules (in sub-directory JWModules)
  27. rem     in these directories in this order:
  28. rem     - module.path when given in command line (see above)
  29. rem     - $HOME , homedir of user (this is set by javaw to:
  30. rem       Windows 95: install path of JDK (eg C:\jdk1.1.4\ )
  31. rem       Windows NT: root of NT installation drive (eg D:\ )
  32. rem     - ./ , the path from where JaWavedit_run was executed
  33. rem     - the user-defined path (in $HOME/.JaWavedit.conf)
  34. rem       this is not implemented yet
  35. rem     It loads all valid modules that are found.
  36. rem .
  37. rem  3. Configuration file
  38. rem     The configuration file .JaWavedit.conf is stored
  39. rem     in the $HOME directory (see above).
  40. rem     It shouldn't be modified by hand.
  41. rem .
  42. rem  4. What is "javaw" ?
  43. rem     javaw is a virtual machine for Windows that doesn't
  44. rem     use a dos box. Consequently, you may specify as
  45. rem     options of the icon you created on the desktop 
  46. rem     (see readme.txt how to install an icon) 
  47. rem     "execute iconic" and "close automatically when 
  48. rem     finished". To get the options, click with right on
  49. rem     the icon and choose "Properties".
  50. rem .   
  51. rem  5. Anymore questions ? 
  52. rem     mail to: boemers@rumms.uni-mannheim.de
  53. rem .
  54.  
  55. set CLASSPATH=.;JaWavedit.jar
  56. javaw -mx32m JaWavedit %1
  57.