Hi Yash, I went trough the instructions to make sure that they work and found a couple of places where they need to be updated (will do that shortly). To build your workspace you need these additional steps
1. You need to check out x10.doc which is not included in the X10DT.psf. -> Go to SVN repository exploring, under X10-tools-integration and check out x10.doc. 2. You need to manually add an external jar file to the classpaths of the following projects: x10dt.ui.launch.java x10dt.ui.launch.rms.core -> Go to the Properties -> Java Build Path for each project. In Libraries tab -> Add External Jars... Add utils_core.jar, from /*your_eclipse*/plugins/org.eclipse.ptp.utils.core_3.0.0.201011121412 You may need to first unjar that plugin to make utils_core.jar visible. This is an ugly step but necessary since ptp has nested jar files and eclipse doesn't like them. 3. You need to manually create the following 2 folders in x10.dist.*your_platform*.fragment (e.g., x10.dist.macosx.x86.fragment on a mac): etc stdlib This is annoying and I will correct this problem in the host fragments shortly. 4. You need to update all x10.* projects because I just recently updated the tools-integration branch to get the latest compiler changes and to make sure that the latest X10DT compiles against it. Every time you update the X10.* projects, you need to run the build script in x10.dist. -> cd into x10.dist -> ant distclean; -> ant dist update-host-fragment It's important to do distclean before each time you run the script. Every time you do this, you need to refresh eclipse otherwise it will not notice the changes. I just select all my projects and refresh since it's fast. x10.runtime, x10.compiler, and the host fragment definitely need to be refreshed. Once you've done this, do a clean of the whole workspace in eclipse and everything should compile. If you run into any issues (aside the one you pointed out before), please let me know. Hopefully Igor's answer was useful for your previous issue. --Mandana Mandana Vaziri IBM T. J. Watson Research Center http://www.research.ibm.com/people/m/mvaziri/ Igor Peshansky <ig...@acm.org> wrote on 08/04/2011 10:05:58 AM: > From: Igor Peshansky <ig...@acm.org> > To: yvo...@iitk.ac.in, Mailing list for users of the X10 programming > language <x10-users@lists.sourceforge.net> > Date: 08/04/2011 10:11 AM > Subject: Re: [X10-users] Build failed in x10dt installation from source > > My guess is that x10.runtime/build.xml tries to execute bash, which is > not found. > Igor > > On Thu, Aug 4, 2011 at 7:16 AM, yash vohra <yvo...@iitk.ac.in> wrote: > > Hi, > > > > I tried building x10dt from source. Following the steps given on > > http://x10-lang.org/software/building-from-svn-head/building- > x10dt-from-source.html > > . > > I completed all steps till part 2, but got following error in part 3 after > > executing 'ant dist update host fragment' command- > > > > > > BUILD FAILED > > /media/D4BCDD31BCDD0F3C/UBUNTU > > material/X10+mpi+jdk+jre/x10-2.1.2-src/x10.dist/build.xml:299: Thefollowing > > error occurred while executing this line: > > /media/D4BCDD31BCDD0F3C/UBUNTU > > material/X10+mpi+jdk+jre/x10-2.1.2-src/x10.runtime/build.xml:313: exec > > returned: 1 > > > > I've also attached a complete log file showing complete output of running > > ant command. > > How can I proceed further? > > > > > > Yash > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users