[kepler-dev] Build problem: ShutdownListener not found

Christopher Brooks cxh at eecs.berkeley.edu
Tue Jun 21 15:08:05 PDT 2011


Hi Dan,
Thanks, it works now.

BTW - I did "ant update", which failed:
  [compile] symbol  : method closeDatabase()
   [compile] location: class org.kepler.objectmanager.lsid.LSIDGenerator
   [compile]         LSIDGenerator.closeDatabase();
   [compile]                      ^

so then I did
ant update clean-all run

which worked.

_Christopher

On 6/21/11 2:47 PM, Daniel Crawl wrote:
>
> Hi Christopher,
>
> I just fixed in r27754.
>
> --dan
>
> On 6/21/11 2:38 PM, Christopher Brooks wrote:
>> Daniel,
>> I'm having problems building Kepler, it looks like ShutdownListener is
>> missing?
>> I've seen this problem on a Linux box and under Windows.
>>
>>
>> ant update clean-all run
>> ...
>>
>> [compile] Compiling 152 source files to
>> /Users/cxh/src/kepler/gui/target/classes
>> [compile]
>> /Users/cxh/src/kepler/gui/src/org/kepler/gui/KeplerGraphFrame.java:162:
>> cannot find symbol
>> [compile] symbol : class ShutdownListener
>> [compile] location: class org.kepler.gui.KeplerGraphFrame
>> [compile] private static Set<ShutdownListener> _shutdownListeners =
>> [compile] ^
>> [compile]
>> /Users/cxh/src/kepler/gui/src/org/kepler/gui/KeplerGraphFrame.java:1593:
>> cannot find symbol
>> [compile] symbol : class ShutdownListener
>> [compile] location: class org.kepler.gui.KeplerGraphFrame
>> [compile] public static void addShutdownListener(ShutdownListener
>> listener) {
>> [compile] ^
>> [compile]
>> /Users/cxh/src/kepler/gui/src/org/kepler/gui/KeplerGraphFrame.java:163:
>> cannot find symbol
>> [compile] symbol : class ShutdownListener
>> [compile] location: class org.kepler.gui.KeplerGraphFrame
>> [compile] Collections.synchronizedSet(new HashSet<ShutdownListener>());
>> [compile] ^
>> [compile]
>> /Users/cxh/src/kepler/gui/src/org/kepler/gui/KeplerGraphFrame.java:1150:
>> cannot find symbol
>> [compile] symbol : class ShutdownListener
>> [compile] location: class org.kepler.gui.KeplerGraphFrame
>> [compile] for(ShutdownListener shutdownListener : _shutdownListeners) {
>> [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] 4 errors
>>
>> _Christopher
>>
>

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841      	                      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


More information about the Kepler-dev mailing list