Java - OutofProcessEclipse and EclipseEngine.rpc()

From: Lloyd Kamara <l.kamara_at_ic.ac.uk>
Date: Wed 30 Jan 2002 03:49:20 PM GMT
Message-ID: <20020130.15492000.2838457358@oracee.ee.ic.ac.uk>
I have noticed a possible problem with the OutofProcessEclipse
and EclipseEngine.rpc when running the following code (adapted
from QuickTest.java, included in the distribution):

import com.parctechnologies.eclipse.*;
import java.io.*;
public class QuickTest {
 public static void main(String[] args) throws Exception {
    EclipseEngineOptions eclipseEngineOptions = new 
EclipseEngineOptions();
    EclipseEngine eclipse;
    eclipseEngineOptions.setUseQueues(false);
    eclipse = new OutOfProcessEclipse(eclipseEngineOptions);
    // The problematic line is below
    eclipse.rpc( "recorda( test, a, _ )" );
   ((OutOfProcessEclipse) eclipse).destroy();
  }
}


When running this code, the program appears to block at the
line reading:

eclipse.rpc( "recorda( test, a, X )" );

The code runs to completion if an EmbeddedEclipse is used in
place of the  OutOfProcessEclipse.  It also finishes if recorda/3
is replaced by a corresponding recorda/2 call.  It may be
significant that the call to recorda/3 in the rpc invocation would
return a term including a single quote (e.g. 16'8194060).  Could this
cause communication problems between Java and Eclipse (i.e. term-reading
problems), despite the use of an anonymous variable?  I am using
eclipse 5.3 on a Linux system.

Regards,
	Lloyd Kamara
Received on Wed Jan 30 15:50:49 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:12 PM GMT GMT