[kepler-users] compile-error

Christopher Brooks cxh at eecs.berkeley.edu
Tue Mar 30 07:43:50 PDT 2010


Hi Santosh,
Strange, my nightly build in a clean tree worked, and
I just tried the build again on a separate tree with
  ant update
  ant clean-all
  ant run
and that worked.

It appears that the problem is that your configuration is set up
to compile under Mac OS X, yet you are on a different machine,
perhaps Linux.

Maybe try
  ant update
  ant change-to -Dsuite=kepler
  ant update
  ant clean-all
  ant run

If that does not work, try downloading a new tree as per
https://kepler-project.org/developers/teams/build/documentation/build-system-instructions

  svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
  cd build-area
  ant change-to -Dsuite=kepler
  ant run

_Christopher

On 3/30/10 3:45 AM, santosh k wrote:
> Hi,
>
> when i used '*ant run' *cmd.i got the following error:
>
> * [compile] Could not process osextension.txt file for module
> apple-extensions:
> /usr/local/EADS_AAOW/modules.dir/build-area/settings/os-dependent-excludes
> (Perm ission denied)
>    [compile] Compiling apple-extensions...
>    [compile] /usr/local/EADS_AAOW/modules.dir/build-area/build.xml:31:
> warning: ' includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to fa lse for repeatable builds
>    [compile] Compiling 2 source files to
> /usr/local/EADS_AAOW/modules.dir/apple-e xtensions/target/classes
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:50: package com.apple.eawt does not exist
>    [compile] import com.apple.eawt.ApplicationEvent;
>    [compile]                      ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:51: package com.apple.eawt does not exist
>    [compile] import com.apple.eawt.ApplicationListener;
>    [compile]                      ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:53: cannot find symbol
>    [compile] symbol: class ApplicationListener
>    [compile] public class KeplerApplicationListener implements
> ApplicationListene r
>    [compile]                                                   ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:55: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handleAbout(ApplicationEvent event)
>    [compile]                           ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:62: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handleOpenApplication(ApplicationEvent event)
>    [compile]                                     ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:67: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handleOpenFile(ApplicationEvent event)
>    [compile]                              ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:72: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handlePreferences(ApplicationEvent event)
>    [compile]                                 ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:77: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handlePrintFile(ApplicationEvent event)
>    [compile]                               ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:85: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handleQuit(ApplicationEvent event)
>    [compile]                          ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerApplicationListener.java:109: cannot find symbol
>    [compile] symbol  : class ApplicationEvent
>    [compile] location: class org.kepler.osx.KeplerApplicationListener
>    [compile]   public void handleReOpenApplication(ApplicationEvent event)
>    [compile]                                       ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerOSXExtension.java:32: package com.apple.eawt does not exist
>    [compile] import com.apple.eawt.Application;
>    [compile]                      ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerOSXExtension.java:46: cannot find symbol
>    [compile] symbol  : class Application
>    [compile] location: class org.kepler.osx.KeplerOSXExtension
>    [compile]     Application osxApplication = Application.getApplication();
>    [compile]     ^
>    [compile]
> /usr/local/EADS_AAOW/modules.dir/apple-extensions/src/org/kepler/osx
> /KeplerOSXExtension.java:46: cannot find symbol
>    [compile] symbol  : variable Application
>    [compile] location: class org.kepler.osx.KeplerOSXExtension
>    [compile]     Application osxApplication = Application.getApplication();
>    [compile]                                  ^
>    [compile] 13 errors
>
> *
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
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 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list