[kepler-dev] build kepler-trunk

Chris Weed chrisweed at gmail.com
Fri Mar 13 11:38:02 PDT 2009


OK, I see the problem now:

[change-to] ptolemy:
[change-to] Downloading ptolemy...
[change-to] svn co svn://source.eecs.berkeley.edu/chess/ptII/trunk
/home/deer/cweed/code/kepler-build/ptolemy
[change-to] svn: Unknown hostname 'source.eecs.berkeley.edu'

I am behind a proxy, so this command should be
svn co https://source.eecs.berkeley.edu/svn/chess/ptII/trunk
/home/deer/cweed/code/kepler-build/ptolemy

as described here:
http://chess.eecs.berkeley.edu/ptexternal/

You guys should probably update the script to use the https address.

Chris

On Fri, Mar 13, 2009 at 2:20 PM, David Welker <david.v.welker at gmail.com> wrote:
> Hi Chris,
>
> It looks like ptolemy did not download correctly and you must not have a
> .svn directory inside of the ptolemy folder. (Thus, "ant update" does not
> work.)
>
> Try the following:
>
> (1) Delete the ptolemy directory.
>
> Then type the following commands again:
>
> ant change-to -Dsuite=kepler-trunk
> ant run
>
> David
>>
>> I ran ant update, and got the following output
>> this line is curious:
>> [update-modules] Skipped '/home/deer/cweed/code/kepler-build/ptolemy'
>>
>> Do I need to run a "change-to" command for ptolemy?
>> I really don't know anything about ant, so I am a little baffled by this.
>>
>> Chris
>>
>> bash-3.2$ ant update
>> Buildfile: build.xml
>>
>> update:
>> [update-modules] Updating loader...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/loader
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating util...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/util
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating core...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/core
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating actors...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/actors
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating directors...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/directors
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating common...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/common
>> [update-modules] At revision 16964.
>> [update-modules]
>> [update-modules] Updating ptolemy...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/ptolemy
>> [update-modules] Skipped '/home/deer/cweed/code/kepler-build/ptolemy'
>> [update-modules]
>> [update-modules] Updating ptolemy-lib...
>> [update-modules] svn update /home/deer/cweed/code/kepler-build/ptolemy-lib
>> [update-modules] At revision 16964.
>> [update-modules]
>>
>> BUILD SUCCESSFUL
>> Total time: 1 minute 10 seconds
>>
>>
>> On Fri, Mar 13, 2009 at 1:47 PM, Matt Jones <jones at nceas.ucsb.edu> wrote:
>>
>>>
>>> It appears the ptolemy module did not get fully checked out from the
>>> svn repository.  Maybe the change-to didn't get complete properly?
>>> Try running 'ant update' and see if any files are updated in the
>>> various modules.  Then, do 'ant run' again.
>>>
>>> Matt
>>>
>>> On Fri, Mar 13, 2009 at 9:30 AM, Chris Weed <chrisweed at gmail.com> wrote:
>>>
>>>>
>>>> Hi,
>>>> I am going through the instructions to build kepler-trunk found here:
>>>>
>>>> https://kepler-project.org/developers/teams/build/documentation/build-system-instructions
>>>>
>>>> I have run the following:
>>>> mkdir kepler-build
>>>> cd kepler-build
>>>> svn co
>>>> https://code.kepler-project.org/code/kepler/trunk/modules/build-area
>>>> cd build-area
>>>>
>>>> ant change-to -Dsuite=kepler-trunk
>>>> ant run
>>>>
>>>> After this last command I get a bunch of errors as follows:
>>>> bash-3.2$ ant run
>>>> Buildfile: build.xml
>>>>
>>>> compile:
>>>>  [compile] Compiling common...
>>>>  [compile] Compiling directors...
>>>>  [compile] Compiling actors...
>>>>  [compile] Compiling core...
>>>>  [compile] Compiling 95 source files to
>>>> /home/deer/cweed/code/kepler-build/core/target/classes
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:55:
>>>> package ptolemy.actor does not exist
>>>>  [compile] import ptolemy.actor.TypedAtomicActor;
>>>>  [compile]                     ^
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:56:
>>>> package ptolemy.actor does not exist
>>>>  [compile] import ptolemy.actor.TypedCompositeActor;
>>>>  [compile]                     ^
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:57:
>>>> cannot find symbol
>>>>  [compile] symbol  : class CompositeEntity
>>>>  [compile] location: package ptolemy.kernel
>>>>  [compile] import ptolemy.kernel.CompositeEntity;
>>>>  [compile]                      ^
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:58:
>>>> cannot find symbol
>>>>  [compile] symbol  : class Entity
>>>>  [compile] location: package ptolemy.kernel
>>>>  [compile] import ptolemy.kernel.Entity;
>>>>  [compile]                      ^
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:59:
>>>> cannot find symbol
>>>>  [compile] symbol  : class IllegalActionException
>>>>  [compile] location: package ptolemy.kernel.util
>>>>  [compile] import ptolemy.kernel.util.IllegalActionException;
>>>>  [compile]                           ^
>>>>  [compile]
>>>> /home/deer/cweed/code/kepler-build/core/src/org/kepler/kar/KARBuilder.java:60:
>>>> cannot find symbol
>>>>  [compile] symbol  : class NamedObj
>>>>  [compile] location: package ptolemy.kernel.util
>>>>  [compile] import ptolemy.kernel.util.NamedObj;
>>>>  [compile]                           ^
>>>>
>>>> [... snipped more errors ... ]
>>>>
>>>>  [compile] Note: Some input files use or override a deprecated API.
>>>>  [compile] Note: Recompile with -Xlint:deprecation for details.
>>>>  [compile] Note: Some input files use unchecked or unsafe operations.
>>>>  [compile] Note: Recompile with -Xlint:unchecked for details.
>>>>  [compile] 100 errors
>>>>
>>>> BUILD FAILED
>>>> /home/deer/cweed/code/kepler-build/build-area/build.xml:31: Compile
>>>> failed; see the compiler error output for details.
>>>>
>>>> Total time: 8 seconds
>>>>
>>>> It looks like ptolemy is either missing or it can't find it.
>>>> Any help would be appreciated.
>>>> Chris
>>>> _______________________________________________
>>>> Kepler-dev mailing list
>>>> Kepler-dev at kepler-project.org
>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>>>
>>>>
>>>
>>> --
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> Matthew B. Jones
>>> Director of Informatics Research and Development
>>> National Center for Ecological Analysis and Synthesis (NCEAS)
>>> UC Santa Barbara
>>> jones at nceas.ucsb.edu                       Ph: 1-907-523-1960
>>> http://www.nceas.ucsb.edu/ecoinfo
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>>
>>
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>
>>
>
>


More information about the Kepler-dev mailing list