[kepler-dev] errors during compilations

David Welker david.v.welker at gmail.com
Fri Feb 6 12:54:15 PST 2009


Are you running something other than Java 1.5?

Type:

java -version

and

ant -diagnostics

And make sure that the version of Java you are using is 1.5.

-David

> Thank you for your reply. I have been working on the older version 
> since 2 days. It will be really helpful if you can remove the older 
> instructions.
>
> I used the following link to get kepler running but I get the 
> following errors:
>
>  [compile] Compiling 8 source files to 
> /home/supriya/modules/loader/target/classes
>   [compile] ----------
>   [compile] 1. ERROR in 
> /home/supriya/modules/loader/src/org/kepler/core/loader/CreateIntroFileTask.java 
> (at line 48)
>   [compile]     for (String module : modules) {
>   [compile]          ^^^^^^^^^^^^^^^^^^^^^^^
>   [compile] Syntax error, 'for each' statements are only available if 
> source level is 5.0
>   [compile] ----------
>   [compile] 2. ERROR in 
> /home/supriya/modules/loader/src/org/kepler/core/loader/CreateIntroFileTask.java 
> (at line 48)
>   [compile]     for (String module : modules) {
>   [compile]                          ^^^^^^^
>   [compile] Can only iterate over an array or an instance of 
> java.lang.Iterable
>   [compile] ----------
>   [compile] ----------
>   [compile] 3. ERROR in 
> /home/supriya/modules/loader/src/org/kepler/core/loader/ModulesManager.java 
> (at line 16)
>   [compile]     protected static List<String> modules;
>   [compile]                                     ^^^^^^
>   [compile] Syntax error, parameterized types are only available if 
> source level is 5.0
>   [compile] ----------
>   [compile] 4. ERROR in 
> /home/supriya/modules/loader/src/org/kepler/core/loader/ModulesManager.java 
> (at line 17)
>   [compile]     protected static List<String> reversedModules;
>   [compile]                                    ^^^^^^
>   [compile] Syntax error, parameterized types are only available if 
> source level is 5.0
>   [compile] ----------
>   [compile] ----------
>   [compile] 5. ERROR in 
> /home/supriya/modules/loader/src/org/kepler/core/loader/ProjectLocator.java 
> (at line 43)
>   [compile]     public static List<File> getAllModules() {
>   [compile]                                 ^^^^
>   [compile] Syntax error, parameterized types are only available if 
> source level is 5.0
>   [compile] ----------
>   [compile] 5 problems (5 errors)
>
> BUILD FAILED
> /home/supriya/modules/build-area/build.xml:24: Compile failed; see the 
> compiler error output for details.
>
> What is the problem?
>
>
> On Fri, Feb 6, 2009 at 10:55 AM, David Welker 
> <david.v.welker at gmail.com <mailto:david.v.welker at gmail.com>> wrote:
>
>     Hi Supriya,
>
>     You are trying to use older instructions that are now out of date.
>     We are going to make it so that these older instructions are not
>     publicly visible. Anyway, please try the instructions located here:
>
>     https://dev.kepler-project.org/developers/teams/build/documentation/build-system-instructions/view
>
>     Let me know if you have any further issues or questions.
>
>     David
>
>
>         Hello Everyone,
>
>         I am trying to compile kepler from source code using the
>         instructions given on
>         https://dev.kepler-project.org/developers/reference/kepler-and-eclipse#1-download-and-configure.
>         I get the following errors after I configure the
>         classpath(default option):
>
>         Project kepler is missing required library:
>         'modules/build-area/ant-tasks/lib/svnant-1.0.0/lib/svnant.jar'
>               Project kepler is missing required library:
>         'modules/build-area/ant-tasks/lib/svnant-1.0.0/lib/svnClientAdapter.jar'
>               Project kepler is missing required library:
>         'modules/build-area/ant-tasks/lib/svnant-1.0.0/lib/svnjavahl.jar'
>               Project kepler is missing required library:
>         'modules/ptII/lib/chic.jar'         Project kepler is missing
>         required library: 'modules/ptII/lib/diva.jar'         Project
>         kepler is missing required library:
>         'modules/ptII/lib/jasminclasses.jar'        Project kepler is
>         missing required library: 'modules/ptII/lib/java_cup.jar'    
>          Project kepler is missing required library:
>         'modules/ptII/lib/jython.jar'       Project kepler is missing
>         required library: 'modules/ptII/lib/mapss.jar'      Project
>         kepler is missing required library:
>         'modules/ptII/lib/matlab.jar'     Project kepler is missing
>         required library: 'modules/ptII/lib/matlabSunOS.jar'    
>          Project kepler is missing required library:
>         'modules/ptII/lib/matlabWindows.jar'   Project kepler is
>         missing required library:
>         'modules/ptII/lib/polyglotclasses-1.3.2.jar'     Project
>         kepler is missing required library:
>         'modules/ptII/lib/ptCal.jar'       Project kepler is missing
>         required library: 'modules/ptII/lib/ptcolt.jar'    Project
>         kepler is missing required library:
>         'modules/ptII/lib/ptjacl.jar'       Project kepler is missing
>         required library: 'modules/ptII/lib/ptvr.jar'       Project
>         kepler is missing required library:
>         'modules/ptII/lib/saxon8-dom.jar'      Project kepler is
>         missing required library: 'modules/ptII/lib/saxon8.jar'      
>         Project kepler is missing required library:
>         'modules/ptII/lib/sootclasses.jar'
>         Project kepler is missing required source folder:
>         'modules/ptII'      
>         What should I do?
>
>         -- 
>         Regards,
>         Supriya
>         ------------------------------------------------------------------------
>
>
>
>         _______________________________________________
>         Kepler-dev mailing list
>         Kepler-dev at kepler-project.org
>         <mailto:Kepler-dev at kepler-project.org>
>         http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>          
>
>
>
>
>
> -- 
> Regards,
> Supriya



More information about the Kepler-dev mailing list