Bug #5010
2.0 branch fails to launch on XP - tries to compile apple-extensions-2.0
0%
Description
I did a fresh checkout of 2.0 on windows XP, and I'm getting this compilation issue:
C:\kepler.modules.20\build-area>ant run
Buildfile: C:\kepler.modules.20\build-area\build.xml
compile:
[echo] Note that you may need to run "ant force-ptolemy compile" to compile ptolemy.
[compile] Compiling configuration-manager-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling module-manager-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling core-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling event-state-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling util-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling component-library-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling sms-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling data-handling-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling ssh-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling io-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling job-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling repository-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling authentication-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling gui-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling module-manager-gui-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling authentication-gui-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling ecogrid-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling dataturbine-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling opendap-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling actors-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling loader-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling r-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] adding compilation exclude: class org.kepler.osx.KeplerOSXExtension will only be compile
d on Mac OS X
[compile] org.kepler.osx.KeplerApplicationListener
[compile] Compiling apple-extensions-2.0...
[compile] C:\kepler.modules.20\build-area\build.xml:32: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
[compile] Compiling 1 source file to C:\kepler.modules.20\apple-extensions-2.0\target\classes
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:50: package com.apple.eawt does not exist
[compile] import com.apple.eawt.ApplicationEvent;
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:51: package com.apple.eawt does not exist
[compile] import com.apple.eawt.ApplicationListener;
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:53: cannot find symbol
[compile] symbol: class ApplicationListener
[compile] public class KeplerApplicationListener implements ApplicationListener
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:55: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handleAbout(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:62: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handleOpenApplication(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:67: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handleOpenFile(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:72: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handlePreferences(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:77: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handlePrintFile(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava:85: cannot find symbol
[compile] symbol : class ApplicationEvent
[compile] location: class org.kepler.osx.KeplerApplicationListener
[compile] public void handleQuit(ApplicationEvent event)
[compile] ^
[compile] C:\kepler.modules.20\apple-extensions-2.0\src\org\kepler\osx\KeplerApplicationListener.j
ava: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:\kepler.modules.20\build-area\build.xml:32: C:\kepler.modules.20\build-area\build.xml:32: Compile
failed; see the compiler error output for details.
Total time: 8 seconds
C:\kepler.modules.20\build-area>
Related issues
History
#1 Updated by David Welker about 12 years ago
This should block Release Candidate 3.
#2 Updated by Derik Barseghian about 12 years ago
reporting trunk at r24422 is launching fine. Seems like maybe just an issue in 2.0 branch...
#3 Updated by Derik Barseghian about 12 years ago
This is a newline issue again on osextension.txt. If I use Notepad to change the newlines both classes specified are excluded, and kepler launches.
#4 Updated by Derik Barseghian about 12 years ago
fixed in trunk and 2.0 branch.
I changed osextensions.txt to use semicolon instead of newlines to separate classes. Use a semicolon if you add another class.
currently working for me at r24433:
kepler trunk on XP
kepler 2.0 on XP
kepler trunk on Vista
reporting trunk on os X
reporting 2.0 on os X
a fresh co at r24445 also works on:
kepler trunk on XP
#5 Updated by Redmine Admin over 9 years ago
Original Bugzilla ID was 5010