[slf4j-dev] [OT] Problems with Maven and Eclipse

2007-02-25 Thread Boris Unckel
Hello,

this is a little bit offtopic, sorry, buth I think the right experts 
will read this:

while running Maven for slf4j from the command line with no problems I 
encounter problems
with the maven inside eclipse.

I have set both JAVA_HOME and M2_HOME correctly (this makes the command 
line work).
Inside Eclipse I have correctly configured the local repository path.
JAVA_HOME\bin and M2_HOME\bin are in the path variable

I am using Eclipse 3.3M5eh with actual Codehouse M2 Plugin, actual 
Subclipse plugin and actual Mylar plugin.

What causes the problem below?
Where does Eclipse or the M2 Plugin take the wrong JRE path from?
How do I fix this?

I am going offline a while (examinations), maybe I do not get a internet 
connection...

Regards
Boris

Environment
D:\home\java\slf4jws\slf4jset java_home
JAVA_HOME=c:\Program Files\Java\jdk1.6.0
D:\home\java\slf4jws\slf4jset java_home
JAVA_HOME=c:\Program Files\Java\jdk1.6.0

M2 Plugin Console Output
25.02.07 16:25:56 CET: Reading /slf4j/pom.xml
25.02.07 16:25:56 CET: Reading /slf4j/slf4j-api/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/slf4j-simple/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/slf4j-nop/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/slf4j-jdk14/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/slf4j-log4j12/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/slf4j-jcl/pom.xml
25.02.07 16:25:57 CET: Reading /slf4j/jcl104-over-slf4j/pom.xml
25.02.07 16:25:58 CET: Reading /slf4j/slf4j-site/pom.xml
25.02.07 16:25:58 CET: Reading /slf4j/slf4j-archetype/pom.xml
25.02.07 16:26:08 CET: Reading /slf4j/pom.xml
25.02.07 16:26:08 CET: Setting source compatibility: 1.3
25.02.07 16:26:08 CET: Setting target compatibility: 1.3
25.02.07 16:26:08 CET: Generating sources /slf4j/pom.xml
25.02.07 16:26:08 CET: [INFO] 

25.02.07 16:26:08 CET: [INFO] Building SLF4J
25.02.07 16:26:08 CET: [INFO]task-segment: [generate-sources, 
generate-resources, generate-test-sources, generate-test-resources]
25.02.07 16:26:08 CET: [INFO] 

25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: BUILD SUCCESSFUL
25.02.07 16:26:09 CET: Reading /slf4j/slf4j-api/pom.xml
25.02.07 16:26:09 CET: Setting source compatibility: 1.3
25.02.07 16:26:09 CET: Setting target compatibility: 1.3
25.02.07 16:26:09 CET: Generating sources /slf4j/slf4j-api/pom.xml
25.02.07 16:26:09 CET: [INFO] 

25.02.07 16:26:09 CET: [INFO] Building SLF4J API Module
25.02.07 16:26:09 CET: [INFO]task-segment: [generate-sources, 
generate-resources, generate-test-sources, generate-test-resources]
25.02.07 16:26:09 CET: [INFO] 

25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: [INFO] No goals needed for project - skipping
25.02.07 16:26:09 CET: resources:resources
25.02.07 16:26:09 CET: [INFO] Using default encoding to copy filtered 
resources.
25.02.07 16:26:09 CET: compiler:compile
25.02.07 16:26:09 CET: [INFO] Compiling 16 source files to 
D:\home\java\slf4jws\slf4j\slf4j-api\target\classes
25.02.07 16:26:09 CET: ERROR mojo-execute : compiler:compile : 
Compilation failure
Unable to locate the Javac Compiler in:
  c:\Program Files\Java\jre1.6.0\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

25.02.07 16:26:09 CET: ERROR project-execute : 
org.slf4j:slf4j-api:jar:1.3.0-SNAPSHOT (  task-segment: 
[generate-sources, generate-resources, generate-test-sources, 
generate-test-resources] ) : Compilation failure
Unable to locate the Javac Compiler in:
  c:\Program Files\Java\jre1.6.0\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

25.02.07 16:26:09 CET: Failed to run generate source goals 
/slf4j/slf4j-api/pom.xml Compilation failure
Unable to locate the Javac Compiler in:
  c:\Program Files\Java\jre1.6.0\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

25.02.07 16:26:09 CET: Adding source folder /slf4j/slf4j-api/src/main/java
25.02.07 16:26:09 CET: Adding source folder 

[slf4j-dev] [Bug 35] Provide Root-Accessor

2007-02-25 Thread bugzilla-daemon
show_bug.cgi?id=35


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Comment #7 from [EMAIL PROTECTED]  2007-02-25 17:52 ---
Shipped in SLF4J 1.3


-- 
Configure bugmail: userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
___
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev


[slf4j-dev] svn commit: r767 - in slf4j/trunk: . jcl104-over-slf4j osgi-over-slf4j slf4j-api slf4j-archetype slf4j-archetype/src/main/resources/archetype-resources slf4j-jcl slf4j-jdk14 slf4j-log4j12

2007-02-25 Thread ceki
Author: ceki
Date: Sun Feb 25 17:55:12 2007
New Revision: 767

Modified:
   slf4j/trunk/jcl104-over-slf4j/pom.xml
   slf4j/trunk/osgi-over-slf4j/pom.xml
   slf4j/trunk/pom.xml
   slf4j/trunk/slf4j-api/pom.xml
   slf4j/trunk/slf4j-archetype/pom.xml
   slf4j/trunk/slf4j-archetype/src/main/resources/archetype-resources/pom.xml
   slf4j/trunk/slf4j-jcl/pom.xml
   slf4j/trunk/slf4j-jdk14/pom.xml
   slf4j/trunk/slf4j-log4j12/pom.xml
   slf4j/trunk/slf4j-nop/pom.xml
   slf4j/trunk/slf4j-osgi-integration-test/pom.xml
   slf4j/trunk/slf4j-osgi-test-bundle/pom.xml
   slf4j/trunk/slf4j-simple/pom.xml
   slf4j/trunk/slf4j-site/pom.xml

Log:

We can start working on 1.3.1-SNAPSHOT



Modified: slf4j/trunk/jcl104-over-slf4j/pom.xml
==
--- slf4j/trunk/jcl104-over-slf4j/pom.xml   (original)
+++ slf4j/trunk/jcl104-over-slf4j/pom.xml   Sun Feb 25 17:55:12 2007
@@ -3,7 +3,7 @@
parent
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-version1.3.0/version
+version1.3.1-SNAPSHOT/version
/parent

modelVersion4.0.0/modelVersion

Modified: slf4j/trunk/osgi-over-slf4j/pom.xml
==
--- slf4j/trunk/osgi-over-slf4j/pom.xml (original)
+++ slf4j/trunk/osgi-over-slf4j/pom.xml Sun Feb 25 17:55:12 2007
@@ -3,7 +3,7 @@
   parent
 groupIdorg.slf4j/groupId
 artifactIdslf4j-parent/artifactId
-version1.3.0/version
+version1.3.1-SNAPSHOT/version
   /parent
   
   modelVersion4.0.0/modelVersion

Modified: slf4j/trunk/pom.xml
==
--- slf4j/trunk/pom.xml (original)
+++ slf4j/trunk/pom.xml Sun Feb 25 17:55:12 2007
@@ -5,7 +5,7 @@
 
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-   version1.3.0/version
+   version1.3.1-SNAPSHOT/version
 
packagingpom/packaging
nameSLF4J/name

Modified: slf4j/trunk/slf4j-api/pom.xml
==
--- slf4j/trunk/slf4j-api/pom.xml   (original)
+++ slf4j/trunk/slf4j-api/pom.xml   Sun Feb 25 17:55:12 2007
@@ -5,7 +5,7 @@
   parent
 groupIdorg.slf4j/groupId
 artifactIdslf4j-parent/artifactId
-version1.3.0/version
+version1.3.1-SNAPSHOT/version
   /parent
 
   modelVersion4.0.0/modelVersion

Modified: slf4j/trunk/slf4j-archetype/pom.xml
==
--- slf4j/trunk/slf4j-archetype/pom.xml (original)
+++ slf4j/trunk/slf4j-archetype/pom.xml Sun Feb 25 17:55:12 2007
@@ -2,7 +2,7 @@
   parent
 artifactIdslf4j-parent/artifactId
 groupIdorg.slf4j/groupId
-version1.3.0/version
+version1.3.1-SNAPSHOT/version
   /parent
 
   modelVersion4.0.0/modelVersion

Modified: 
slf4j/trunk/slf4j-archetype/src/main/resources/archetype-resources/pom.xml
==
--- slf4j/trunk/slf4j-archetype/src/main/resources/archetype-resources/pom.xml  
(original)
+++ slf4j/trunk/slf4j-archetype/src/main/resources/archetype-resources/pom.xml  
Sun Feb 25 17:55:12 2007
@@ -8,7 +8,7 @@
parent
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-   version1.3.0/version
+   version1.3.1-SNAPSHOT/version
/parent

   groupId$groupId/groupId

Modified: slf4j/trunk/slf4j-jcl/pom.xml
==
--- slf4j/trunk/slf4j-jcl/pom.xml   (original)
+++ slf4j/trunk/slf4j-jcl/pom.xml   Sun Feb 25 17:55:12 2007
@@ -3,7 +3,7 @@
parent
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-   version1.3.0/version
+   version1.3.1-SNAPSHOT/version
/parent

modelVersion4.0.0/modelVersion

Modified: slf4j/trunk/slf4j-jdk14/pom.xml
==
--- slf4j/trunk/slf4j-jdk14/pom.xml (original)
+++ slf4j/trunk/slf4j-jdk14/pom.xml Sun Feb 25 17:55:12 2007
@@ -6,7 +6,7 @@
parent
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-   version1.3.0/version
+   version1.3.1-SNAPSHOT/version
/parent

modelVersion4.0.0/modelVersion

Modified: slf4j/trunk/slf4j-log4j12/pom.xml
==
--- slf4j/trunk/slf4j-log4j12/pom.xml   (original)
+++ slf4j/trunk/slf4j-log4j12/pom.xml   Sun Feb 25 17:55:12 2007
@@ -6,7 +6,7 @@
parent
groupIdorg.slf4j/groupId
artifactIdslf4j-parent/artifactId
-version1.3.0/version
+version1.3.1-SNAPSHOT/version
/parent

[slf4j-dev] svn commit: r769 - slf4j/trunk/slf4j-site/src/site/resources

2007-02-25 Thread ceki
Author: ceki
Date: Mon Feb 26 08:27:06 2007
New Revision: 769

Modified:
   slf4j/trunk/slf4j-site/src/site/resources/faq.html
   slf4j/trunk/slf4j-site/src/site/resources/index.html
   slf4j/trunk/slf4j-site/src/site/resources/news.html

Log:
minor doc enhancements

Modified: slf4j/trunk/slf4j-site/src/site/resources/faq.html
==
--- slf4j/trunk/slf4j-site/src/site/resources/faq.html  (original)
+++ slf4j/trunk/slf4j-site/src/site/resources/faq.html  Mon Feb 26 08:27:06 2007
@@ -275,7 +275,7 @@
 emslf4j-simple.jar/em, emslf4j-log4j12.jar/em, and
 emslf4j-jdk14.jar/em. These files ship with the a
 href=download.htmlofficial SLF4J distribution/a. Please
-note that all binding depend on emslf4j-api.jar/em.
+note that all bindings depend on emslf4j-api.jar/em.
/p
 
 pThe binding for logback-classic ships with the a

Modified: slf4j/trunk/slf4j-site/src/site/resources/index.html
==
--- slf4j/trunk/slf4j-site/src/site/resources/index.html(original)
+++ slf4j/trunk/slf4j-site/src/site/resources/index.htmlMon Feb 26 
08:27:06 2007
@@ -52,13 +52,13 @@
   pSLF4J does not rely on any special class loader machinery. In
   fact, the binding between SLF4J and a given logging API
   implementation is performed emstatically/em at compile time of
-  each binding. Each binding is hardwired to use one and only one specific
-  logging API implementation. Each binding corresponds to one jar
-  file. In your code, you simply drop the binding of your choice, that
-  is a jar file, onto the appropriate class path location. As a
-  consequence of this simple approach, SLF4J suffers from none of the
-  class loader problems or memory leaks observed with Jakarta Commons
-  Logging (JCL).
+  each binding. Each binding is hardwired to use one and only one
+  specific logging API implementation. Each binding corresponds to one
+  jar file. In your code, in addition to emslf4j-api.jar/em, you
+  simply drop the binding of your choice, that is a jar file, onto the
+  appropriate class path location. As a consequence of this simple
+  approach, SLF4J suffers from none of the class loader problems or
+  memory leaks observed with Jakarta Commons Logging (JCL).
   /p
 
   pWe hope that simplicity of the SLF4J interfaces and the deployment
@@ -68,8 +68,8 @@
 
   h3Projects depending on SLF4j/h3
 
-  pHere is a short list of projects currently depending on SLF4J (in
-  alphabetical order):
+  pHere is a non-exhaustive list of projects currently depending on
+  SLF4J, in alphabetical order:
   /p
 
   ul

Modified: slf4j/trunk/slf4j-site/src/site/resources/news.html
==
--- slf4j/trunk/slf4j-site/src/site/resources/news.html (original)
+++ slf4j/trunk/slf4j-site/src/site/resources/news.html Mon Feb 26 08:27:06 2007
@@ -22,8 +22,9 @@
 
   h1SLF4J News/h1
 
-  pYou can receive SLF4J related announcements by subscribing to the
-  a href=http://www.slf4j.org/mailman/listinfo/announce;SLF4J
+  pPlease note that you can receive SLF4J related announcements by
+  subscribing to the a
+  href=http://www.slf4j.org/mailman/listinfo/announce;SLF4J
   announce/a mailing list.
   /p
 
@@ -35,16 +36,19 @@
   projects. More specifically, the
   codeorg.slf4j.LoggerFactory/code class is now packaged within
   the emslf4j-api.jar/em file instead of the various slf4j
-  bindings. It follows that client code needs to depend on only
+  bindings. bIt follows that client code needs to depend on only
   slf4j-api in order to compile, while the various slf4j bindings are
-  only needed as runtime dependencies. See also the a
-  href=faq.html#maven2Maven2-related FAQ entry/a.
+  only needed as runtime dependencies./b See also the a
+  href=faq.html#maven2Maven2-related FAQ entry/a. Given the
+  practical significance of this change, we highly recommend that
+  library-authors upgrade to version 1.3 at their earliest
+  convenience.
   /p
   
-  pa href=http://bugzilla.slf4j.org/show_bug.cgi?id=23;Bug
-  number 23/a has been fixed, at the cost of minor and backward
-  compatible changes. In other words, jcl104-over-slf4j now
-  preserves caller location information.
+  pa href=http://bugzilla.slf4j.org/show_bug.cgi?id=23;Bug number
+  23/a has been fixed, at the cost of minor and backward compatible
+  changes. In other words, jcl104-over-slf4j now preserves caller
+  location information.
   /p
   
   pIt is now possible to obtain the root logger of the underlying
___
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev