[kepler-dev] kepler-2.0 build bug

David Welker david.v.welker at gmail.com
Tue Mar 2 13:09:14 PST 2010


Hi Tom,

Based on your error, I am guessing that for some reason the following  
file was missing from your check out:

ptolemy/lib/batik-all-1.6.jar

But, if that is the case, "ant update"  should have solved this  
problem for you...

Why didn't it?  I am going to look into this a little more.

-David

On Mar 2, 2010, at 1:55 PM, Tom Parris wrote:

> I'm not sure what I did wrong, but a fresh build solved the problem.
> I had done "ant update" and looked for ptolemy-head files.  But still
> had the compilation errors. I'm good to go now.  Apologies.
>
> -- Tom
>
> On Tue, Mar 2, 2010 at 2:45 PM, Chad Berkley  
> <berkley at nceas.ucsb.edu> wrote:
>> Hey Tom,
>>
>> I'm not seeing any compilation errors related to this.  Have you  
>> tried a
>> clean build or reimporting the project?  Note you can clean your  
>> eclipse
>> .project and .classpath files and recreate them with 'ant clean-ides
>> eclipse'.  Also make sure that you don't have a 'ptolemy-head' file  
>> your
>> modules directory then try the 'ant update-ptolemy -Drev=stable'.  
>> You'll
>> also need to update your build-area for David's fix to get in there  
>> from
>> last night.
>>
>> chad
>>
>>
>> Tom Parris wrote:
>>>
>>> I think I'm having problems with this as well.  But, I'm trying to
>>> build off the trunk.  I think I have the stable version of ptolemy,
>>> but am still getting fatal java compilation errors.
>>>
>>> [update-modules] Using the stable version of ptolemy. Use 'ant
>>> update-ptolemy -Drev=head' to work from the head.
>>> <stuff deleted>
>>> [update-modules] Updated to revision 57397.
>>> [update-modules]
>>>
>>> $ ant run
>>> Buildfile: build.xml
>>>
>>> compile:
>>>  [compile] Compiling ptolemy...
>>>  [compile] Compiling 3444 source files to C:\Program
>>> Files\Kepler-svn\ptolemy\target\classes
>>>  [compile] C:\Program
>>>
>>> Files\Kepler-svn\ptolemy\src\diva\util\java2d\svg 
>>> \SVGPaintedObject.java:46:
>>> package org.apache.batik.gvt does n
>>> ot exist
>>>  [compile] import org.apache.batik.gvt.GraphicsNode;
>>>  [compile]                            ^
>>>  [compile] C:\Program
>>>
>>> Files\Kepler-svn\ptolemy\src\diva\util\java2d\svg 
>>> \SVGPaintedObject.java:47:
>>> package org.apache.batik.swing.svg
>>> does not exist
>>>
>>> <stuff deleted>
>>>
>>>  [compile]         AudioPlayer.player.start(_instream);
>>>  [compile]         ^
>>>  [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] 12 errors
>>>  [compile] 10 warnings
>>>
>>> BUILD FAILED
>>> C:\Program Files\Kepler-svn\build-area\build.xml:31: Compile failed;
>>> see the compiler error output for details.
>>>
>>> Total time: 1 minute 58 seconds
>>>
>>> parris at Hickory /cygdrive/c/Program Files/Kepler-svn/build-area
>>> $
>>>
>>> On Tue, Mar 2, 2010 at 1:02 PM, Chad Berkley  
>>> <berkley at nceas.ucsb.edu>
>>> wrote:
>>>>
>>>> Hey David,
>>>>
>>>> There is one more bug.  If you have previously updated to the  
>>>> ptolemy
>>>> head,
>>>> if you then do update-ptolemy -Drev=stable, it does not delete the
>>>> ptolemy-head file so it keeps trying to update to head.  Deleting  
>>>> this
>>>> file
>>>> made this work for me, but it seems like the build should nuke it  
>>>> for you
>>>> when you change to stable (or any other rev).
>>>>
>>>> chad
>>>>
>>>>
>>>> Chad Berkley wrote:
>>>>>
>>>>> Thanks, David.  I just updated it yesterday to 57384.
>>>>>
>>>>> chad
>>>>>
>>>>>
>>>>> David Welker wrote:
>>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> This is fixed now. If you are working on kepler-2.0 and type in:
>>>>>>
>>>>>>   ant update-ptolemy -Drev=stable
>>>>>>
>>>>>> Then any further issuances of the ant update command will get the
>>>>>> proper
>>>>>> stable revision.
>>>>>>
>>>>>> Please note that the current stable revision varies from Chad's
>>>>>> instructions below. ptolemy-8.0/module-info/revisions.txt has a  
>>>>>> value
>>>>>> of
>>>>>> 57284. Chad, do you know what value revisions.txt in  
>>>>>> ptolemy-8.0 should
>>>>>> have?
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>> On Mar 1, 2010, at 4:39 PM, Chad Berkley wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> There seems to be a bug in the build which is causing the  
>>>>>>> kepler-2.0
>>>>>>> branch to use the wrong version of ptolemy.  Until we fix  
>>>>>>> this, if you
>>>>>>> are
>>>>>>> working on the branch, please go into your ptolemy-8.0/src  
>>>>>>> directory
>>>>>>> and do
>>>>>>> the following:
>>>>>>>
>>>>>>> svn update -r 57289
>>>>>>>
>>>>>>> You may have to re-run this after you issue an 'ant update'  
>>>>>>> command
>>>>>>> since the build will try to update ptolemy to the head (which we
>>>>>>> should not
>>>>>>> be using in the 2.0 branch).
>>>>>>>
>>>>>>> We'll hopefully have this fixed soon. Sorry for the hassle.
>>>>>>>
>>>>>>> chad
>>>>>>> _______________________________________________
>>>>>>> Kepler-dev mailing list
>>>>>>> Kepler-dev at kepler-project.org
>>>>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>>>>
>>>>> _______________________________________________
>>>>> Kepler-dev mailing list
>>>>> Kepler-dev at kepler-project.org
>>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>>>
>>>> _______________________________________________
>>>> 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