[kepler-dev] devel build fails under Windows because of apple extensions

Chad Berkley berkley at nceas.ucsb.edu
Thu May 6 08:46:22 PDT 2010


The problem was that we set eol-style to native, so if we checked the 
file out on osx, it used \n, but then if you ran it on windows, the 
parser that the os extension system uses looks for the native line 
ending to parse the lines in the file, so it was looking for \r\n on 
windows and not finding it.  Originally, the parser had always looked 
for \n, but that was changed at some point.  However, even if the parser 
was changed to look for \n, then if you check it out on windows with 
eol-style=native, it still wouldn't have worked.

Derik, David and I talked about making the parser smarter so that it 
could figure out what the line endings were, or we could use an xml 
format or something.  I'm not sure what they worked out as I'm no longer 
working full time on Kepler.

I don't think we've ever had a problem with people using 
non-line-ending-aware editors.


chad


Christopher Brooks wrote:
> Too bad about NMI.  It seems like they need more Windows and Mac hosts.
> 
> My failure was with a clean check out:
> 
>  514  mkdir kepler-2.0
>  515  cd kepler-2.0
>  516  pwd
>  517  svn co 
> https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.0/ 
> build-area
>  518  cd build-area
>  519  ant change-to -Dsuite=kepler-2.0
>  520  ant run
> 
> Odd that eol-style would break this . . .
> 
> I noticed that ptolemy/module-info/revisions.txt had the eol-style removed,
> which means that the file is stored as a binary.
> 
> One issue is that if a user edits that file with a non-eol preserving 
> editor (notepad?)
> than the file will have native eol characters in it.  If this happens 
> under Windows,
> then when we check the file out under Mac OS X or Linux, it will have 
> \r\n in it.
> This could cause failures . . .
> 
> _Christopher
> 
> On 5/6/10 8:27 AM, Chad Berkley wrote:
>> Yeah, I've tried to set it up numerous times to run under osx and 
>> windows.  The machines they have for osx and windows are extremely 
>> over used.  It can sometimes take weeks for our jobs to get through
>> the queue. The only reliable machine they have is the fedora one so 
>> I've left it on there only.
>>
>> Derik and David were working on the apple-extensions problem. It was 
>> related to the eol-style svn change. I thought they had fixed it. Have 
>> you fully updated your tree?
>>
>> chad
>>
>>
>> Christopher Brooks wrote:
>>> The Kepler devel trunk built for me under Windows.
>>> The Kepler 2.0 branch did not. The problem is the apple extensions.
>>>
>>> I took a look at the nmi build and it looks like we are only building 
>>> under
>>> Fedora? It would be nice to build under Mac OS X and Windows.
>>>
>>> _Christopher
>>>
>>> On 5/4/10 9:43 AM, Jianwu Wang wrote:
>>>> Hi David
>>>>
>>>> I just checked out *Kepler-2.0 branch, and got the same message when 
>>>> compiling it. *
>>>> **
>>>>
>>>> Best wishes
>>>>
>>>> Sincerely yours
>>>>
>>>> Jianwu Wang
>>>> jianwu at sdsc.edu
>>>> http://users.sdsc.edu/~jianwu/
>>>>
>>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>>> San Diego Supercomputer Center
>>>> University of California, San Diego
>>>> San Diego, CA, U.S.A.
>>>>
>>>>
>>>> On 5/4/2010 12:40 AM, David Welker wrote:
>>>>> Does this only occur off the trunk build or does it also occur off 
>>>>> of build-2.0?
>>>>>
>>>>> On May 3, 2010, at 11:28 PM, Jianwu Wang wrote:
>>>>>
>>>>>> here too.
>>>>>>
>>>>>> Best wishes
>>>>>>
>>>>>> Sincerely yours
>>>>>>
>>>>>> Jianwu Wang
>>>>>> jianwu at sdsc.edu
>>>>>> http://users.sdsc.edu/~jianwu/
>>>>>>
>>>>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>>>>> San Diego Supercomputer Center
>>>>>> University of California, San Diego
>>>>>> San Diego, CA, U.S.A.
>>>>>>
>>>>>>
>>>>>> On 5/3/2010 10:10 PM, Christopher Brooks wrote:
>>>>>>> I can't build the Kepler devel trunk under Windows because of the
>>>>>>> apple extensions:
>>>>>>>
>>>>>>> I did:
>>>>>>> mkdir kepler
>>>>>>> cd kepler
>>>>>>> svn co 
>>>>>>> https://code.kepler-project.org/code/kepler/trunk/modules/build-area
>>>>>>> cd build-area
>>>>>>> ant change-to -Dsuite=kepler
>>>>>>>
>>>>>>> and then:
>>>>>>>
>>>>>>>
>>>>>>>> $ ant run
>>>>>>>> Buildfile: C:\tmp\cxh\src\kepler\build-area\build.xml
>>>>>>>>
>>>>>>>> compile:
>>>>>>>> [compile] Compiling configuration-manager...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling module-manager...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling core...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling event-state...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling util...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling component-library...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling sms...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling data-handling...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling ssh...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling io...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling job...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling repository...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling authentication...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling gui...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling module-manager-gui...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling authentication-gui...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling ecogrid...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling dataturbine...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling opendap...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling actors...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling loader...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling r...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] adding compilation exclude: class 
>>>>>>>> org.kepler.osx.KeplerOSXExtension
>>>>>>>> will only be compiled on Mac OS X
>>>>>>>> [compile] org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] Compiling apple-extensions...
>>>>>>>> [compile] C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> warning: 'includeantr
>>>>>>>> untime' was not set, defaulting to build.sysclasspath=last; set 
>>>>>>>> to false for rep
>>>>>>>> eatable builds
>>>>>>>> [compile] Compiling 1 source file to 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\ta
>>>>>>>> rget\classes
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:50: package com.apple.eawt does not exist
>>>>>>>> [compile] import com.apple.eawt.ApplicationEvent;
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:51: package com.apple.eawt does not exist
>>>>>>>> [compile] import com.apple.eawt.ApplicationListener;
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:53: cannot find symbol
>>>>>>>> [compile] symbol: class ApplicationListener
>>>>>>>> [compile] public class KeplerApplicationListener implements 
>>>>>>>> ApplicationListene
>>>>>>>> r
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:55: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handleAbout(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:62: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handleOpenApplication(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:67: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handleOpenFile(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:72: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handlePreferences(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:77: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handlePrintFile(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:85: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handleQuit(ApplicationEvent event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 
>>>>>>>> C:\tmp\cxh\src\kepler\apple-extensions\src\org\kepler\osx\KeplerAppl 
>>>>>>>>
>>>>>>>> icationListener.java:109: cannot find symbol
>>>>>>>> [compile] symbol : class ApplicationEvent
>>>>>>>> [compile] location: class org.kepler.osx.KeplerApplicationListener
>>>>>>>> [compile] public void handleReOpenApplication(ApplicationEvent 
>>>>>>>> event)
>>>>>>>> [compile] ^
>>>>>>>> [compile] 10 errors
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> C:\tmp\cxh\src\kepler\build-area\build.xml:31: 
>>>>>>>> C:\tmp\cxh\src\kepler\build-area\
>>>>>>>> build.xml:31: Compile failed; see the compiler error output for 
>>>>>>>> details.
>>>>>>>>
>>>>>>>> Total time: 5 seconds
>>>>>>>
>>>>>>> _Christopher
>>>>>>>
>>>>>> _______________________________________________
>>>>>> 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