Back to GrewpEdit

GrewpEdit FAQ

  1. How do I specify a C Compiler, a Java Compiler and a Java Runtime for a CodeDocument?
  2. How do I build a customized GrewpEdit.jar from the source distribution?
  3. How do I dowload, build and run GrewpEdit from the source distribution?
  4. How do I run a rendezvous server?

How do I specify a C Compiler, a Java Compiler and a Java Runtime for a CodeDocument?

  1. Open a CodeDocument
  2. At the Options button at the buttom of the window to open the options window.
  3. For Java, click the Java tab located below the Change Working Directory button and field
  4. Click Browse button located next to the Jave Compiler or Java Runtime fields to browse for your desired application.
  5. For C, click the C/C++ tab.
  6. If you have gcc, cc, or acc installed and it is in your path, you can just click on the one you would like to use.
    Otherwise, you can just click the Browse button and select your compiler
FAQ

How do I build a customized GrewpEdit.jar from the source distribution?

  1. Dowload the source distribution from CVS.(See Here)
  2. Open the file groupscheme/src/groupscheme/platform/StartVars.scm
    which should look like this: (define WebVars {http://groupscheme.sourceforge.net/grewpedit/WebVars.scm}) (define localPlugins (list {groupscheme/platform/grewplet/GrewpDocument.scm} {groupscheme/platform/grewplet/GrewpWhiteboard.scm} {groupscheme/platform/grewplet/GrewpChat.scm} {groupscheme/platform/grewplet/GrewpCoding.scm})) (define minPort 14400) (define maxPort 14500) (define rendezvousPort 14400) (define rendezvousHost {delphi.cs-i.brandeis.edu}) (define rendezvousPW {public})
  3. Change minPort: 14400 and maxPort: 14500 to the port range you would like GrewpEdit to use.
  4. Change rendezvousPort: 14400 and rendezvousHost: delphi.cs-i.brandeis.edu to the port and host where your rendezvous server is located.
  5. Change WebVars: http://groupscheme.sourceforge.net/grewpedit/WebVars.scm to your own URL if you would like to change these values in the future without having to rebuild GrewpEdit.
  6. GrewpEdit uses definitions in your WebVars URL if and only if that URL exists and contains the loaded line (define loaded? #t) If you would like to temporarily disable your WebVars configuration, simply change the loaded line to(define loaded? #f)
    An example of the current WebVars is located at the WebVars URL
  7. Now follow the build instructions here
FAQ

How do I dowload, build and run GrewpEdit from the source distribution?

Use the following commands to login,
(when prompted for a password, simply press the Enter key.) % cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/groupscheme login download the source, % cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/groupscheme co groupscheme and build the project. % cd groupscheme % src/groupscheme/platform/build-GrewpEdit.sh At this point you have created GrewpEdit.jar in he current directory, which you can run by double clicking or by issuing a "java -jar" command: % java -jar GrewpEdit.jar However, you can run the source code directly, by issuing the following commands: % cd src % java jscheme.REPL groupscheme/platform/GrewpEdit.scm
FAQ

How do I run a rendezvous server?

From the GrewpEdit application:
  1. Go to the main login window.
  2. Go to the menu Options and click the Rendezvous Server.
  3. Enter the port number that the server will be running on into the Port field.
  4. Before starting your rendezvous server, be sure to check the address that will be used by going to the Options menu and clicking Set Local Host. Note that the server is going to run on your computer (local host) not the address in the Host field.
  5. Now click the 'Start your own Rendezvous Server' button. This will try to start and connect you to your Rendezvous Server.
From a command prompt:
  1. Locate a GrewpEdit.jar by downloading it or building one from the source.
  2. change your directory to the one containing the GrewpEdit.jar
  3. For a server with a GUI issue the command:
    java -cp GrewpEdit.jar jscheme.REPL groupschatform/RendezvousServer.scm '(run PORTNUMBER)'
    Or for a server with No GUI:
    java -cp GrewpEdit.jar jscheme.REPL groupschatform/RendezvousServer.scm '(run-no-gui PORTNUMBER)'
  4. A rendezvous server will try to start on PORTNUMBER.
FAQ