Re: Eclipse JRE 1.5

2013-02-09 Thread Martijn Dashorst
Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.

Martijn

On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
step...@connectwithawalsh.com wrote:
 This was the answer, Gabriel!  Because my computer only has one JRE (1.6
 with dev docs) installed, Eclipse was using it, but it appeared as though I
 was using 1.5.

 This minor change to my pom.xml solved it though!  Thank you!

 ___
 Stephen Walsh | http://connectwithawalsh.com


 On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote:

 Hi Stephen,

 This did happen to me once!
 Did you check in your pom.xml that your source and target attributes are
 1.6
 ?

 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-compiler-plugin/artifactId
 version2.5.1/version
 configuration
 *   source1.6/source
 target1.6/target*
 optimizetrue/optimize
 debugtrue/debug

 showDeprecationtrue/showDeprecation

 showWarningstrue/showWarnings
 /configuration
 /plugin


 Regards,
 Gabriel.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Eclipse JRE 1.5

2013-02-09 Thread Stephen Walsh
Looked like there were some other items I needed to upgrade as well: maven 
compiler plugin, junit. 


There was one called sfl40j or similar. What is this used for?


Thanks again for help! Learning a lot from you guys. Hope to contribute back 
once I really start understanding. New to java and wicket, so I'm very 
grateful. 
—
Stephen Walsh

On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:

 Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.
 Martijn
 On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
 step...@connectwithawalsh.com wrote:
 This was the answer, Gabriel!  Because my computer only has one JRE (1.6
 with dev docs) installed, Eclipse was using it, but it appeared as though I
 was using 1.5.

 This minor change to my pom.xml solved it though!  Thank you!

 ___
 Stephen Walsh | http://connectwithawalsh.com


 On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote:

 Hi Stephen,

 This did happen to me once!
 Did you check in your pom.xml that your source and target attributes are
 1.6
 ?

 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-compiler-plugin/artifactId
 version2.5.1/version
 configuration
 *   source1.6/source
 target1.6/target*
 optimizetrue/optimize
 debugtrue/debug

 showDeprecationtrue/showDeprecation

 showWarningstrue/showWarnings
 /configuration
 /plugin


 Regards,
 Gabriel.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -- 
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

Re: Eclipse JRE 1.5

2013-02-09 Thread Bas Gooren
slf4j is a project which allows a project to implement logging, and the 
user of that project to decide which actual logging implementation to use.


See http://slf4j.org/

Met vriendelijke groet,
Kind regards,

Bas Gooren

Op 9-2-2013 14:59, schreef Stephen Walsh:

Looked like there were some other items I needed to upgrade as well: maven 
compiler plugin, junit.


There was one called sfl40j or similar. What is this used for?


Thanks again for help! Learning a lot from you guys. Hope to contribute back 
once I really start understanding. New to java and wicket, so I'm very grateful.
—
Stephen Walsh

On Sat, Feb 9, 2013 at 4:57 AM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:


Also upgrade your maven-eclipse-plugin to use 2.9. Works much better on OS X.
Martijn
On Fri, Feb 8, 2013 at 12:08 AM, Stephen Walsh
step...@connectwithawalsh.com wrote:

This was the answer, Gabriel!  Because my computer only has one JRE (1.6
with dev docs) installed, Eclipse was using it, but it appeared as though I
was using 1.5.

This minor change to my pom.xml solved it though!  Thank you!

___
Stephen Walsh | http://connectwithawalsh.com


On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote:


Hi Stephen,

This did happen to me once!
Did you check in your pom.xml that your source and target attributes are
1.6
?

 plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-compiler-plugin/artifactId
 version2.5.1/version
 configuration
*   source1.6/source
 target1.6/target*
 optimizetrue/optimize
 debugtrue/debug

showDeprecationtrue/showDeprecation

showWarningstrue/showWarnings
 /configuration
 /plugin


Regards,
Gabriel.



--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



--
Become a Wicket expert, learn from the best: http://wicketinaction.com
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
tried changing this in the build path and pointing it to the developer
version of Java 6 multiple times.

I'm wondering if there's a setting somewhere in the Wicket code that forces
the JRE to use 1.5.  I feel like I've seen mail on the list recently that
would indicate that Wicket uses Java 6 and would maybe move to Java 7 when
Oracle makes some changes on their end.

Thoughts?

Thanks!
___
Stephen Walsh | http://connectwithawalsh.com


Re: Eclipse JRE 1.5

2013-02-07 Thread Martin Grigorov
Hi,

Wicket 1.5 is built with Java 1.5.
Wicket 6 with Java 6
Wicket 7 will most probably with JDK 7

Wicket source code doesn't have anything that can talk to Eclipse or any
other IDE :-)


On Thu, Feb 7, 2013 at 6:16 PM, Stephen Walsh step...@connectwithawalsh.com
 wrote:

 I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
 that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
 tried changing this in the build path and pointing it to the developer
 version of Java 6 multiple times.

 I'm wondering if there's a setting somewhere in the Wicket code that forces
 the JRE to use 1.5.  I feel like I've seen mail on the list recently that
 would indicate that Wicket uses Java 6 and would maybe move to Java 7 when
 Oracle makes some changes on their end.

 Thoughts?

 Thanks!
 ___
 Stephen Walsh | http://connectwithawalsh.com




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com http://jweekend.com/


Re: Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
That's what I figured.  I've now discovered that Maven isn't finding rt.jar
because I'm developing on a Mac.  Mac Java doesn't use rt.jar it uses
classes.jar.

[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ campingawaits
---
[INFO] Using Eclipse Workspace: /Users/stephen/Documents/workspace
[WARNING] Workspace defines a VM that does not contain a valid
jre/lib/rt.jar:
/Library/Java/JavaVirtualMachines/1.6.0_37-b06-434.jdk/Contents/Home
[WARNING] Workspace defines a VM that does not contain a valid
jre/lib/rt.jar:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[INFO] no substring wtp server match.
[INFO] Using as WTP server : JBoss 7.1 Runtime
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5

Searching for how to get Maven to quit using the default 1.5 on my Wicket
6.5 project.

Thanks, Martin.

___
Stephen Walsh | http://connectwithawalsh.com


On Thu, Feb 7, 2013 at 11:32 AM, Martin Grigorov mgrigo...@apache.orgwrote:

 Hi,

 Wicket 1.5 is built with Java 1.5.
 Wicket 6 with Java 6
 Wicket 7 will most probably with JDK 7

 Wicket source code doesn't have anything that can talk to Eclipse or any
 other IDE :-)


 On Thu, Feb 7, 2013 at 6:16 PM, Stephen Walsh 
 step...@connectwithawalsh.com
  wrote:

  I'm using Eclipse Juno to develop my wicket app, and what I've noticed is
  that the JRE keeps switching back to 1.5 instead of staying on 6.  I've
  tried changing this in the build path and pointing it to the developer
  version of Java 6 multiple times.
 
  I'm wondering if there's a setting somewhere in the Wicket code that
 forces
  the JRE to use 1.5.  I feel like I've seen mail on the list recently that
  would indicate that Wicket uses Java 6 and would maybe move to Java 7
 when
  Oracle makes some changes on their end.
 
  Thoughts?
 
  Thanks!
  ___
  Stephen Walsh | http://connectwithawalsh.com
 



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com http://jweekend.com/



Re: Eclipse JRE 1.5

2013-02-07 Thread Gabriel Landon
Hi Stephen,

This did happen to me once!
Did you check in your pom.xml that your source and target attributes are 1.6
?

plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-compiler-plugin/artifactId
version2.5.1/version
configuration
*   source1.6/source
target1.6/target*
optimizetrue/optimize
debugtrue/debug

showDeprecationtrue/showDeprecation

showWarningstrue/showWarnings
/configuration
/plugin


Regards,
Gabriel.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
This was the answer, Gabriel!  Because my computer only has one JRE (1.6
with dev docs) installed, Eclipse was using it, but it appeared as though I
was using 1.5.

This minor change to my pom.xml solved it though!  Thank you!

___
Stephen Walsh | http://connectwithawalsh.com


On Thu, Feb 7, 2013 at 12:55 PM, Gabriel Landon glan...@piti.pf wrote:

 Hi Stephen,

 This did happen to me once!
 Did you check in your pom.xml that your source and target attributes are
 1.6
 ?

 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-compiler-plugin/artifactId
 version2.5.1/version
 configuration
 *   source1.6/source
 target1.6/target*
 optimizetrue/optimize
 debugtrue/debug

 showDeprecationtrue/showDeprecation

 showWarningstrue/showWarnings
 /configuration
 /plugin


 Regards,
 Gabriel.



 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Eclipse-JRE-1-5-tp4656164p4656170.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org