Hi Ganesh,

For part 3, step 1, go to a console window on your machine, and cd into the
x10.dist project directory in your workspace. Be sure that you have
internet access.
Then simply type:

ant distclean dist update-host-fragment

This runs an ant script and takes a little while to run. It basically
builds the X10 runtime.
The instructions on that page miss a couple of things that I outlined in a
previous email to this list (copied below for convenience). I will update
that page shortly.

Please let me know if you run into any problems.

Thanks

Mandana
--------------------------------------

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. 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.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to