[eclipse-clp-users] executing eclipse code from java

From: Andre Trudel <andre.trudel_at_acadiau.ca>
Date: Wed, 16 Dec 2009 16:10:19 -0400
I installed the latest version of eclipse 6.0.

I then checked out section 8.1 of the user manual. 

I tried to run QuickTest.java.

I couldn't get the "-D" option to work:

 

> java -Declipse.directory="C:\\Program Files\\ECLiPSe 6.0" QuickTest

Bad left expression in assignment

> 

 

I then tried adding the line:

System.setProperty("eclipse.directory", "C:\\Program Files\\ECLiPSe
6.0");

to QuickTest.java

 

This got rid of the eclipse.directory problem. 

But I now get:

 

> java QuickTest

com.parctechnologies.eclipse.Throw

                at
com.parctechnologies.eclipse.EclipseConnectionImpl.executeRpc(EclipseCon
nectionImpl.java:396)

                at
com.parctechnologies.eclipse.EclipseConnectionImpl.rpc(EclipseConnection
Impl.java:312)

                at QuickTest.main(QuickTest.java:50)

> 

 

Any help would be greatly appreciated.

 

andre
Received on Wed Dec 16 2009 - 20:10:30 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET