[kepler-users] Kepler Build Error

Chad Berkley berkley at nceas.ucsb.edu
Tue Dec 22 09:45:41 PST 2009


Yeah, if that file isn't there, it needs to be there.  Try updating your 
ptolemy module.  I've also attached a .classpath.default file if that's 
easier for you.  (You'll need to rename the file after you save it, 
since I had to take the '.' out of it to get my email program to find it.)

chad


prakash bisht wrote:
> Hi Chad,
> 
> I don't see any problem with javac compilier. It's there in the PATH 
> variable.
> Also I am able to successfully compile and run simple HelloWorld.java 
> program.
> 
> In the error line below
> *******************************************************************
> [compile] ERROR: could not find the ptolemy paths.txt file at 
> /home/prakashs/Kepler-Latest-
> Build/ptolemy/.classpath.default.  No ptolemy classpath elements have 
> been added.
> *******************************************************************
> 
> It's seems to find ".classpath.default" and not getting it.
> I checked in the folder "/home/prakashs/Kepler-Latest-Build/ptolemy/" . 
> There is no ".classpath.default" exists there. Is that the reason for 
> the error?
> 
> Thanks,
> Prakash Singh Bisht
> 
> On Fri, Dec 18, 2009 at 11:09 PM, Chad Berkley <berkley at nceas.ucsb.edu 
> <mailto:berkley at nceas.ucsb.edu>> wrote:
> 
>     Hi Prakash,
> 
>     It looks like something may be wrong with your javac path. Can you
>     run your java compiler at /home/prakashs/jdk1.6.0_10/bin/javac from
>     the command line?  Is it in your PATH?
> 
>     chad
> 
> 
>     prakash bisht wrote:
> 
>         Hi All,
> 
>         Thanks to you  for your response.
> 
>         Retrieving Kepler and Ptolemy part is done now.
>         and now I am facing problem compiling it using 'ant run ' commad.
>         Below is the error
>         **************************************************************
>         [prakashs at PrakashS build-area]$ ant run
>         Buildfile: build.xml
> 
>         compile:
>          [compile] Compiling ptolemy...
>          [compile] Getting Ptolemy paths from
>         /home/prakashs/Kepler-Latest-Build/ptolemy/.classpath.default
>          [compile] ERROR: could not find the ptolemy paths.txt file at
>         /home/prakashs/Kepler-Latest-Build/ptolemy/.classpath.default.
>          No ptolemy classpath elements have been added.
>          [compile] Compiling 1063 source files to
>         /home/prakashs/Kepler-Latest-Build/ptolemy/target/classes
> 
>         BUILD FAILED
>         /home/prakashs/Kepler-Latest-Build/build-area/build.xml:31:
>         Error running /home/prakashs/jdk1.6.0_10/bin/javac compiler
> 
>         Total time: 3 seconds
>         ********************************************************************
> 
> 
>         Thanks in Advance,
>         Prakash Singh Bisht
> 
>         On Tue, Dec 15, 2009 at 9:44 PM, David Welker
>         <david.v.welker at gmail.com <mailto:david.v.welker at gmail.com>
>         <mailto:david.v.welker at gmail.com
>         <mailto:david.v.welker at gmail.com>>> wrote:
> 
>            Hi Prakash,
> 
>            I just tried this and it works for me. It looks like it must have
>            been a temporary outage for the Ptolemy SVN repository. Try
>         again.
> 
>            David
> 
>            On Dec 15, 2009, at 5:34 AM, prakash bisht wrote:
> 
>                Hi,
> 
>                while building Kepler using following commands
>                mkdir <modules.dir>
>                cd <modules.dir>
> 
> 
>                svn co
>             https://code.kepler-project.org/code/kepler/trunk/modules/build-area
> 
> 
>                cd build-area
>                ant change-to -Dsuite=kepler
> 
>                It's giving following error .
>                ***********************************************************
> 
> 
>                [change-to] ptolemy:
>                [change-to] Downloading ptolemy...
>                [change-to] svn co -r 56633
>             svn://source.eecs.berkeley.edu/chess/ptII/trunk
>             <http://source.eecs.berkeley.edu/chess/ptII/trunk>
>             <http://source.eecs.berkeley.edu/chess/ptII/trunk>
>             /home/prakashs/Kepler-Latest-Build/ptolemy
> 
>                [change-to] svn: Can't connect to host
>             'source.eecs.berkeley.edu <http://source.eecs.berkeley.edu>
>             <http://source.eecs.berkeley.edu>': Connection refused
> 
>                [change-to]
>                BUILD FAILED
>                ERROR: It appears that the command did not execute
>             properly and exited with an exit code of: 1
> 
> 
> 
>                Total time: 0 seconds
>                ************************************************************
> 
>                Please help me out.
> 
>                Thanks in advance,
>                Prakash
>                _______________________________________________
> 
>                Kepler-users mailing list
>                Kepler-users at kepler-project.org
>             <mailto:Kepler-users at kepler-project.org>
>                <mailto:Kepler-users at kepler-project.org
>             <mailto:Kepler-users at kepler-project.org>>
> 
>              
>              http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
> 
> 
> 
> 
>         ------------------------------------------------------------------------
> 
> 
>         _______________________________________________
>         Kepler-users mailing list
>         Kepler-users at kepler-project.org
>         <mailto:Kepler-users at kepler-project.org>
>         http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classpath.default
Type: text/xml
Size: 2316 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20091222/a9abf084/attachment.xml>


More information about the Kepler-users mailing list