The error was simple. I did not enable "Build Automatically" option.
Now, I think it builds fine; I have not written a valid executable X10
class yet and hence couldn't check if it runs fine. For now, when I
run my test class (which is an empty class), I get some runtime error
which make sense.
However, this works only for the new classes that I create in the
X10DT. If I import the source files from my local file system (e.g.
x10-1.0.44-src, which I downloaded from x10.sf.net), then I am unable
to run them. I don't see the correspoing JAVA files for the x10 source
files in the common/examples/ directories.
BTW, is there a repository for the x10 source that is accessible from
within the IBM firewall? I am unable to access the current repository
at x10.cvs.sourceforge.net, as my firewall is blocking the access.
Ganesh
On 2/8/07, Robert M. Fuhrer <rf...@wa...> wrote:
> Ganesh Bikshandi wrote:
> > Hi All,
> >
> > I recently installed the X10CDT in Eclipse and I was successful in
> > creating a new x10 class. But, when I try to RunAs x10 Application, I
> > get the following error message:
> >
> > Generated JAVA application not found for X10 Application HelloWorld.x10;
> > Perhaps there is a pending compilation error?
> >
> > What am I doing wrong?
> >
> As the message says, there is probably a compilation (or build) error in
> the X10 application.
> Does the Problems View show any "interesting" messages? Also, I'd look
> at the Java Build
> Path in the project's Properties dialog to make sure it can find the X10
> runtime and the Java
> runtime.
>
> Please let us know what you find.
>
> Thanks!
>
> BTW, it's "the X10DT" (for X10 Development Toolkit), like "the JDT" or "
> theCDT".
>
> Cheers,
> - Bob
>
>
|