Thanks Robert and Beth. I started with a fresh copy of Eclipse 3.5 (Galileo) and followed the steps in the X10DT Development Setup Guide that you pointed to, and I did not set LOCAL_POLYGLOT_JAR to use the local polyglot. Build is now successful. Jeeva
On 2010-08-05, at 7:10 PM, x10-users-requ...@lists.sourceforge.net wrote: > Send X10-users mailing list submissions to > x10-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/x10-users > or, via email, send a message with subject or body 'help' to > x10-users-requ...@lists.sourceforge.net > > You can reach the person managing the list at > x10-users-ow...@lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of X10-users digest..." > Today's Topics: > > 1. Re: Compiling X10 source in Eclipse (Robert M. Fuhrer) > 2. Re: Compiling X10 source in Eclipse (Beth Tibbitts) > > From: "Robert M. Fuhrer" <rfuh...@watson.ibm.com> > Date: August 5, 2010 7:08:22 PM MDT > To: Mailing list for users of the X10 programming language > <x10-users@lists.sourceforge.net> > Subject: Re: [X10-users] Compiling X10 source in Eclipse > Reply-To: Mailing list for users of the X10 programming language > <x10-users@lists.sourceforge.net> > > > Hi, > > Looks like you aren't getting the right version of Polyglot - the > ForgivingVisitorGoal is a relatively recent addition. > > Are you setting LOCAL_POLYGLOT_JAR? If so, try not setting that, so that the > ant script picks up the version of Polyglot that it needs (which I *think* is > 3.2.0). You might have to clean out your x10.dist/lib directory and run "ant > update-jar-cache". > > Hope that helps... > > On Aug 5, 2010, at 4:29 PM, Jeeva Paudel wrote: > >> Hi all, >> >> I am trying to build X10 source in Eclipse (helios). I checked out all >> the modules (common, compiler, constraints, dist, doc, man, ..., tut) from >> the trunk as separate java projects. I am using JRE 1.6, and the >> polyglot-epl.jar. When I try to build the runtime module with ant (version >> 1.7.1), I get the following error: >> >> Buildfile: /Documents/X10Src/x10.runtime/build.xml >> init: >> check-xrx: >> gen-xrx: >> [echo] Building Java sources for XRX >> [echo] x10c -c x10/array/Array.x10 x10/array/BaseDist.x10 >> x10/array/Dist.x10 x10/array/DistArray.x10 x10/array/EmptyRegion.x10 >> x10/array/FullRegion.x10 x10/array/Layout.x10 x10/array/Mat.x10 >> x10/util/concurrent/atomic/AtomicInteger.x10 >> x10/util/concurrent/atomic/AtomicLong.x10 >> x10/util/concurrent/atomic/AtomicReference.x10 >> x10/util/concurrent/atomic/Fences.x10 >> [exec] Exception in thread "main" java.lang.Error: Unresolved compilation >> problems: >> [exec] The import polyglot.frontend.ForgivingVisitorGoal cannot be >> resolved >> [exec] The method getILexStream() from the type X10Lexer refers to the >> missing type ILexStream >> [exec] The method getIPrsStream() from the type X10Parser refers to >> the missing type IPrsStream >> [exec] The method TypesInitializedForCommandLineBarrier() is undefined >> for the type ExtensionInfo.X10Scheduler >> [exec] ForgivingVisitorGoal cannot be resolved to a type >> [exec] ForgivingVisitorGoal cannot be resolved to a type >> [exec] ForgivingVisitorGoal cannot be resolved to a type >> [exec] ForgivingVisitorGoal cannot be resolved to a type >> [exec] at x10.ExtensionInfo.<init>(ExtensionInfo.java:41) >> [exec] at x10c.ExtensionInfo.<init>(ExtensionInfo.java:31) >> [exec] at >> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >> [exec] at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> [exec] at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >> [exec] at >> java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> [exec] at java.lang.Class.newInstance0(Class.java:355) >> [exec] at java.lang.Class.newInstance(Class.java:308) >> [exec] at polyglot.main.Main.loadExtension(Main.java:189) >> [exec] at polyglot.main.Main.getExtensionInfo(Main.java:64) >> [exec] at polyglot.main.Main.start(Main.java:90) >> [exec] at polyglot.main.Main.start(Main.java:74) >> [exec] at polyglot.main.Main.main(Main.java:166) >> >> BUILD FAILED >> /Documents/X10Src/x10.runtime/build.xml:236: exec returned: 1 >> >> The builds of common, compiler and constraints modules are successful >> though. Can anyone suggest me what might be the problem here? >> >> Thanks, >> Jeeva P. >> U of Alberta > > -- > Cheers, > -- Bob > -------------------------------- > Robert M. Fuhrer > Research Staff Member > Programming Technologies Dept. > IBM T.J. Watson Research Center > > IMP Team Lead (http://www.eclipse.org/imp) > X10: Productivity for High-Performance Parallel Programming > (http://x10-lang.org) > > > From: Beth Tibbitts <tibbi...@us.ibm.com> > Date: August 5, 2010 7:10:42 PM MDT > To: Mailing list for users of the X10 programming language > <x10-users@lists.sourceforge.net> > Subject: Re: [X10-users] Compiling X10 source in Eclipse > Reply-To: Mailing list for users of the X10 programming language > <x10-users@lists.sourceforge.net> > > > Here's how we build it for x10dt - maybe this will help: > http://docs.codehaus.org/display/XTENLANG/X10DT+Development+Setup > > > ...Beth > > Beth Tibbitts > Eclipse Parallel Tools Platform http://eclipse.org/ptp > IBM STG Communications Protocols and Tools > Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New > Circle Road, Lexington, KY 40511 > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users