newbie: blueprint tutorial with Java 1.7?

2013-11-05 Thread rolf
What is the best way to do the blueprint tutorial, leaving Java 1.7 as 
my (main) Java environment?


doing mvn clean install led to

[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] 
/opt/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] 
/opt/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[239,17] [deprecation] toURL() in File has been deprecated

[ERROR]
[ERROR] 
/opt/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[263,60] [deprecation] toURL() in File has been deprecated

[ERROR]
[ERROR] 
/opt/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleMock.java:[328,65] [deprecation] toURL() in File has been deprecated

[ERROR]
[ERROR] 
/opt/aries/testsupport/testsupport-unit/src/main/java/org/apache/aries/mocks/BundleContextMock.java:[632,58] [deprecation] toURL() in File has been deprecated

[ERROR] -> [Help 1]

the whole terminal output can viewd at
http://paste.debian.net/64050/

--
mit freundlichen Grüßen, kind regards


Rolf Schumacher


Aries installation requires Java 1.5?

2013-11-05 Thread rolf
The installation procedure 
http://aries.apache.org/development/buildingaries.html does not list a 
Prereqs for a specific Java version or vendor. I do appriciate that.


However, wenn I follow the instructions I got errors indication that 
-source=1.5 is required. See http://paste.debian.net/64050/.


As I do not think to be the first to install Aries, where is my mistake?

--
mit freundlichen Grüßen, kind regards


Rolf Schumacher


Re: Aries installation requires Java 1.5?

2013-11-05 Thread Timothy Ward
Hi Rolf,

In Java 7 the way in which javac reports warnings changed. This broke projects 
using older versions of the maven compiler plugin (like Aries). The "errors" 
are actually warnings, and go away when using a newer maven compiler plugin. 
There's not much we can do about existing released versions I'm afraid.

Regards,

Tim

On 5 Nov 2013, at 11:45, rolf  wrote:

> The installation procedure 
> http://aries.apache.org/development/buildingaries.html does not list a 
> Prereqs for a specific Java version or vendor. I do appriciate that.
> 
> However, wenn I follow the instructions I got errors indication that 
> -source=1.5 is required. See http://paste.debian.net/64050/.
> 
> As I do not think to be the first to install Aries, where is my mistake?
> 
> -- 
> mit freundlichen Grüßen, kind regards
> 
> 
> Rolf Schumacher