[kepler-dev] errors during compilations

supriya gulati supgulati at gmail.com
Sat Feb 7 13:52:23 PST 2009


Hey David,

I could finally compile it with no errors. The problem was that I had some
java 1.5 for eclipse installed and that's why I was gettting errors.  Though
I could compile, I am not able to generate Kar files. It gives me the
following error:
BUILD FAILED
Target "kar" does not exist in the project "kepler".

My directory ~/modules/build-area/ant-tasks/target$ contains only
kepler-tasks.jar.

How do I proceed from here?

On Fri, Feb 6, 2009 at 1:47 PM, supriya gulati <supgulati at gmail.com> wrote:

> So following are the versions:
> java version "1.5.0"
> Apache Ant version 1.7.1
> svn, version 1.5.1
>
>
>
> On Fri, Feb 6, 2009 at 1:13 PM, David Welker <david.v.welker at gmail.com>wrote:
>
>> I cannot reproduce the problem. What version of ant are you using?
>>
>> David
>>
>>> No. I am using java5-jdk 1.5
>>>
>>> On Fri, Feb 6, 2009 at 12:54 PM, David Welker <david.v.welker at gmail.com<mailto:
>>> david.v.welker at gmail.com>> wrote:
>>>
>>>    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>
>>>        <mailto: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>
>>>               <mailto: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
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Supriya
>>>
>>
>>
>
>
> --
> Regards,
> Supriya
>



-- 
Regards,
Supriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20090207/b4b0de27/attachment.html>


More information about the Kepler-dev mailing list