aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1006) Compilation error with JDK7
Date Mon, 19 May 2014 19:38:38 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14002221#comment-14002221
] 

ASF GitHub Bot commented on ARIES-1006:
---------------------------------------

GitHub user jbonofre opened a pull request:

    https://github.com/apache/aries/pull/13

    [ARIES-1006] Full compilation support with JDK 7

    Patch to fully support compilation with JDK 7

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbonofre/aries ARIES-1006

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/aries/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #13
    
----
commit 58c28575d2f030ae848805796d357becbe760db9
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Date:   2014-05-19T19:35:21Z

    [ARIES-1006] Full compilation support with JDK 7

----


> Compilation error with JDK7
> ---------------------------
>
>                 Key: ARIES-1006
>                 URL: https://issues.apache.org/jira/browse/ARIES-1006
>             Project: Aries
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Timothy Ward
>         Attachments: ARIES-1006.patch
>
>
> When I try to compile Aries with JDK 7, I have:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project org.apache.aries.testsupport.unit: Compilation failure: Compilation
failure:
> [ERROR] could not parse error message: warning: [options] bootstrap class path not set
in conjunction with -source 1.5
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:187:
warning: [deprecation] toURL() in File has been deprecated
> [ERROR] this(name,properties,location.toURL().toExternalForm());
> [ERROR] ^
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[239,17]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[263,60]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> [ERROR] /home/jbonofre/workspace/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[328,65]
[deprecation] toURL() in File has been deprecated
> [ERROR] 
> It's due to some parent POM definition which force JDK5 support (target and source).
> I don't think that the JDK5 support is still required. I gonna prepare a couple of patches
about that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message