Back to GrewpEdit
GrewpEdit FAQ
- How do I specify a C Compiler, a Java Compiler and a Java Runtime for a CodeDocument?
- How do I build a customized GrewpEdit.jar from the source distribution?
- How do I dowload, build and run GrewpEdit from the source distribution?
- How do I run a rendezvous server?
How do I specify a C Compiler, a Java Compiler and a Java Runtime for a CodeDocument?
- Open a CodeDocument
- At the Options button at the buttom of the window to open the options window.
- For Java, click the Java tab located below the Change Working Directory button and field
- Click Browse button located next to the Jave Compiler or Java Runtime fields to browse for your desired application.
- For C, click the C/C++ tab.
- 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?
- Dowload the source distribution from CVS.(See Here)
- 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})
- Change minPort: 14400 and maxPort: 14500 to the port range you would like GrewpEdit to use.
- Change rendezvousPort: 14400 and rendezvousHost: delphi.cs-i.brandeis.edu to the port and host where your rendezvous server is located.
- 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.
- 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
- 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:
- Go to the main login window.
- Go to the menu Options and click the Rendezvous Server.
- Enter the port number that the server will be running on into the Port field.
- 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.
- 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:
- Locate a GrewpEdit.jar by downloading it or building one from the source.
- change your directory to the one containing the GrewpEdit.jar
- 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)'
- A rendezvous server will try to start on PORTNUMBER.
FAQ