[kepler-users] Error when trying to compile Kepler

Derik Barseghian barseghian at nceas.ucsb.edu
Fri Jun 24 13:31:40 PDT 2011


Hey Jonathan,
I'm unable to replicate this. I tried on a couple machines, including a fresh check out.
Can you verify you're fully up to date and don't have local changes:
cd kepler.modules; svn stat -u *

If it's still happening, can you tell me your OS, Java, and SVN versions?
I see our build page was out of date, I just fixed it, we require java 1.6 now. Apologies if this was the issue.
Derik

On Jun 24, 2011, at 1:00 PM, Jonathan Boright wrote:

> Apologies for the basic question... but I keep getting the following error when trying to run Kepler:
> 
> $ ant run
> Buildfile: build.xml
> 
> compile:
>      [echo] Note that you may need to run "ant force-ptolemy compile" to compile ptolemy.
>   [compile] Compiling configuration-manager...
>   [compile] Compiling module-manager...
>   [compile] Compiling core...
>   [compile] Compiling 70 source files to C:\kepler\svn\core\target\classes
>   [compile] C:\kepler\svn\core\src\org\kepler\objectmanager\cache\LocalRepositoryManager.java:140: cannot find symbol
>   [compile] symbol  : method getPersistentUserWorkflowsDir()
>   [compile] location: class org.kepler.util.DotKeplerManager
>   [compile]             _defaultUserWorkflowDirectory = dkm.getPersistentUserWorkflowsDir();//new File(persistentDir, "w
> orkflows");
>   [compile]                                                ^
>   [compile] C:\kepler\svn\core\src\org\kepler\objectmanager\cache\LocalRepositoryManager.java:549: cannot find symbol
>   [compile] symbol  : method getPersistentUserWorkflowsDirName()
>   [compile] location: class org.kepler.util.DotKeplerManager
>   [compile]                     addLocalRepoRootDir(_defaultUserWorkflowDirectory, dkm.getPersistentUserWorkflowsDirName
> ());
>   [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] 2 errors
> 
> BUILD FAILED
> C:\kepler\svn\build-area\build.xml:48: Compile failed; see the compiler error output for details.
> 
> Total time: 5 seconds
>  
> I've re-checkout (svn) the build area, completed (several) "ant updates"... to no avail... Any assistance would be greatly appreciated.
> 
> Thanks in advance!
> 
> Jon Boright
>  
> ---------------------------------------
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list