home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 160 - Disc 2 / MF_UK_160_2.iso / pc / DiscContent / Trials / oxygen / treeEditorMac.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2005-07-21  |  455 b   |  25 lines

  1. #!/bin/sh
  2. # Oxygen Startup script
  3. # (c) 2003 Syncro Soft Ltd.
  4. case "$0" in 
  5. /*)
  6.   p=$0
  7. ;;
  8. *) p=`/bin/pwd`/$0
  9. ;;
  10. esac
  11. p=`dirname '$p'`
  12. CP=$p/lib/oxygen.jar:$p/classes:$p
  13.  
  14. #
  15. # To make the tree editor readonly, change the 
  16. # "com.oxygenxml.tree.readonly" property to true
  17. #
  18. java -Xdock:name=Oxygen\
  19.  -Dcom.oxygenxml.app.descriptor=ro.sync.ui.tree.TreeMainEditorDescriptor \
  20.  -Dcom.oxygenxml.tree.readonly=false\
  21.  -Xmx256m\
  22.  -cp $CP\
  23.  ro.sync.exml.Oxygen $1
  24.  
  25.