[kepler-dev] simple question with rebuilding kepler from sources

Ilkay Altintas altintas at sdsc.edu
Mon Apr 23 13:07:32 PDT 2007


Unni,

The problem seems to be your PTII variable. To be able to build the  
nightly build from scratch, you need a version of Ptolemy in your  
home directory (it probably already installs a version) and point the  
PTII variable to that directory.

You can also request a read-only kepler cvs account from  
"pmc at ecoinformatics.org" and check out both kepler and ptolemy to  
build everything from scratch.

-ilkay

On Apr 23, 2007, at 12:13 PM, Unni Pillai wrote:

> Hi
>
> Following Lucas suggestion, I had downloaded the nightly build  
> (April 18th) and got it up and running using kepler.sh, but I've  
> run into some silly problems.
>
> Since I plan on doing some hacks locally I decided to be a bit wild  
> and did the following from a shell
> ant full-clean ptolemy.
>
> I'm testing on Mac OSX v 10.4.9
> My environment variables are set as follows:
> asterix:~/Documents/projects/ndiipp-ptv/kepler unni$ echo $KEPLER
> /Users/unni/Documents/projects/ndiipp-ptv/kepler
> asterix:~/Documents/projects/ndiipp-ptv/kepler unni$ echo $PTII
> /Users/unni/Documents/projects/ndiipp-ptv/kepler/build
> asterix:~/Documents/projects/ndiipp-ptv/kepler unni$ echo $JAVA_HOME
> /Library/Java/Home
>
> My concern is did the nightly build bring in the appropriate  
> Ptolemy sources or am I missing some step since not sure if Ptolemy  
> came through or most likely I set my PTII environment variable  
> incorrectly.
>
> I'm getting whole slew of errors when I attempt to build
> BUILD FAILED
> /Users/unni/Documents/projects/ndiipp-ptv/kepler/build.xml:748: The  
> following error occurred while executing this line:
> /Users/unni/Documents/projects/ndiipp-ptv/kepler/build-ptolemy.xml: 
> 106: /Users/unni/Documents/projects/ndiipp-ptv/kepler/build/ptolemy/ 
> distributed/config not found.
>
> Something is fishy with my PTII variable
> Can someone point me to the correct environment variable setup for  
> working with nightly builds.
>
> Thanks
>
> Unni
>
> P.S.  My previous postings to kepler dev list never show up, hence  
> decided to contact you folks who do development with the nightly  
> builds or build from source.
>
> Also as reference this is how my kepler directory looks after ant  
> clean
>
> asterix:~/Documents/projects/ndiipp-ptv/kepler unni$ ls -l
> total 656
> -rw-r--r--    1 unni  unni    6802 Apr 23 13:59 INSTALL
> -rw-r--r--    1 unni  unni    7005 Apr 23 13:59 README.txt
> -rw-r--r--    1 unni  unni     991 Apr 23 13:59 UDF_skolem.class
> -rw-r--r--    1 unni  unni     736 Apr 23 13:59 UDF_split.class
> -rw-r--r--    1 unni  unni    3497 Apr 23 13:59 build-doc.xml
> -rw-r--r--    1 unni  unni   20897 Apr 23 13:59 build-ptolemy.xml
> -rw-r--r--    1 unni  unni    5146 Apr 23 13:59 build-scia.xml
> -rw-r--r--    1 unni  unni   66921 Apr 23 13:59 build.xml
> drwxr-xr-x    6 unni  unni     204 Apr 23 13:59 cog
> drwxr-xr-x    4 unni  unni     136 Apr 23 13:58 configs
> -rw-r--r--    1 unni  unni    1230 Apr 23 13:59 copyright.txt
> drwxr-xr-x    7 unni  unni     238 Apr 23 13:58 demos
> drwxr-xr-x    4 unni  unni     136 Apr 23 13:59 dev
> drwxr-xr-x    4 unni  unni     136 Apr 23 13:58 doc
> -rw-r--r--    1 unni  unni    3583 Apr 23 13:59 hsql-license.txt
> -rw-r--r--    1 unni  unni      59 Apr 23 13:59 hsqlTool.bat
> -rw-r--r--    1 unni  unni    4418 Apr 23 13:59 kepler.bat
> -rw-r--r--    1 unni  unni    4394 Apr 23 13:59 kepler.sh
> -rw-r--r--    1 unni  unni     121 Apr 23 13:59 keplerLog4J.log
> drwxr-xr-x   50 unni  unni    1700 Apr 23 13:58 lib
> -rw-r--r--    1 unni  unni  143360 Apr 23 13:59 libexpat.dll
> -rw-r--r--    1 unni  unni    2012 Apr 23 13:59 log4j.properties
> -rw-r--r--    1 unni  unni    4397 Apr 23 13:59 momlexecute.sh
> drwxr-xr-x    5 unni  unni     170 Apr 23 13:57 plugins
> drwxr-xr-x   11 unni  unni     374 Apr 23 13:58 src
> -rw-r--r--    1 unni  unni   14379 Apr 23 13:59 start.html
> drwxr-xr-x   12 unni  unni     408 Apr 23 13:58 webservice
> drwxr-xr-x    4 unni  unni     136 Apr 23 13:58 website
> drwxr-xr-x   24 unni  unni     816 Apr 23 13:58 workflows
> drwxr-xr-x    3 unni  unni     102 Apr 23 13:58 zipdir
>
>
>
>
>
> Unni Pillai | Software Engineer / Analyst | Digital Library |  
> NDIIPP-PDPTV
>unni.pillai at nyu.edu | ✆ (212) 992-9741 | AIM: upillai at mac.com  
> | Jabber: unni.pillainyc at gmail.com
>
>

-- 
Ilkay ALTINTAS
Lab Director, Scientific Workflow Automation Technologies (SWAT)
San Diego Supercomputer Center(SDSC), UCSD
9500 Gilman Drive, MC: 0505  La Jolla, CA  92093-0505
phone: (858) 822-5453                        fax: (858) 534-8303
web: http://users.sdsc.edu/~altintas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20070423/c77f5b9f/attachment.htm


More information about the Kepler-dev mailing list