[sword-cvs] sword/bindings/corba/java/src/org/crosswire/sword/orb SwordOrb.java,1.4,1.5
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 6 May 2003 00:43:21 -0700
Update of /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb
In directory www:/tmp/cvs-serv4686/bindings/corba/java/src/org/crosswire/sword/orb
Modified Files:
SwordOrb.java
Log Message:
Index: SwordOrb.java
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/java/src/org/crosswire/sword/orb/SwordOrb.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SwordOrb.java 6 May 2003 03:27:56 -0000 1.4
--- SwordOrb.java 6 May 2003 07:43:18 -0000 1.5
***************
*** 9,13 ****
import javax.servlet.http.HttpSessionBindingEvent;
! class SwordOrb extends Object implements HttpSessionBindingListener {
static org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(new String[]{}, null);
String ior = null;
--- 9,17 ----
import javax.servlet.http.HttpSessionBindingEvent;
! public class SwordOrb extends Object implements HttpSessionBindingListener {
! public static final String BIBLES = "Biblical Texts";
! public static final String COMMENTARIES = "Commentaries";
! public static final String LEXDICT = "Lexicons / Dictionaries";
! public static final String BOOKS = "Generic Books";
static org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(new String[]{}, null);
String ior = null;
***************
*** 51,55 ****
try {
// start external process
! java.lang.Process p = Runtime.getRuntime().exec("./swordorbserver");
InputStream is = p.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
--- 55,59 ----
try {
// start external process
! java.lang.Process p = Runtime.getRuntime().exec("swordorbserver");
InputStream is = p.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
***************
*** 110,112 ****
}
! }
\ No newline at end of file
--- 114,116 ----
}
! }