Jeff Kuehn wrote:
> Platform:
>       Linux (Fedora Core 6 w/ 2.6.18 kernel)
>       Sun JVMs 1.5.0_09, 1.5.0_11, 1.6.0_01
>       IBM JVM  1.5.0
>
> Where I'm having difficulty is with Eclipse. I have both 3.2.2
> (Callisto) and 3.3.1 (Europa) installed. I understand from the
> documentation, that 3.3.1 should be expected to be problematic, so I've
> been focusing on the 3.2.2 version.
>
> On 3.2.2, I run into TWO problems in the process of creating a new
> eclipse X10 project, even something as simple as "Hello World".
>
> (1) As I try to create a new X10 project, I receive a dialog when I
> click "Finsh" that says: "Creation of element failed. Invalid thread
> access".  If I dismiss the dialog and click "Finish" in the new X10
> project dialog again, the project directory tree is created in the
> workspace.
>   

This is a known bug that unfortunately has proven very hard to
reproduce. I personally have only seen it a couple of times in the
last year, and never when I had my debugger at the ready. :-(
Most of us run on Windows, except for those who recently
switched over to MacOS. If it occurs reliably for you on your
system, then perhaps we can try to duplicate that configuration
to at least give us a better shot at reproducing the problem.

> (2) Next I create a new class within that project, default package,
> x10.lang.Object as its superclass, public scope. In the new class, I add
>  a psv main(...) and save. I receive an error saying x10.lang.Object
> can't be found:
>
> Severity and Description      Path    Resource        Location        
> Creation Time   Id
> Could not find type "x10.lang.Object".        HelloWorld/src  HelloWorld.x10
> /home/kxi/X10DT/HelloWorld/src/HelloWorld.x10:1       1193338815887   37
>
> Neither setting CLASSPATH, nor copying the jar into the project
> directory alters the result. The result is repeatable with both the Sun
> and IBM JVMs (1.5.0).
>   

How are you setting the classpath? You should be able to fix
the problem by putting the latest X10 runtime jar on the Libraries
portion of the "Java Build Path" from the Project Properties.
If that's not it, can you check whether there's anything relevant
in the Error Log view? ("Window" -> "Show View" -> "Other..."
-> "PDE Runtime" -> "Error Log")

-- 
Cheers,
  -- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to