[slf4j-dev] svn commit: r985 - in slf4j/trunk: slf4j-migrator slf4j-migrator/src/main/java/org/slf4j/migrator slf4j-migrator/src/main/java/org/slf4j/migrator/internal slf4j-migrator/src/main/resources slf4j-migrator/src/main/resources/META-INF slf4j-site/src/site/pages src/main/assembly

ceki at slf4j.org ceki at slf4j.org
Thu Feb 21 20:53:06 CET 2008


Author: ceki
Date: Thu Feb 21 20:53:06 2008
New Revision: 985

Added:
   slf4j/trunk/slf4j-migrator/src/main/resources/
   slf4j/trunk/slf4j-migrator/src/main/resources/META-INF/
   slf4j/trunk/slf4j-migrator/src/main/resources/META-INF/MANIFEST.MF
Modified:
   slf4j/trunk/slf4j-migrator/pom.xml
   slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java
   slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
   slf4j/trunk/slf4j-site/src/site/pages/docs.html
   slf4j/trunk/src/main/assembly/source.xml

Log:
- updating slf4j-migrator related documentation

Modified: slf4j/trunk/slf4j-migrator/pom.xml
==============================================================================
--- slf4j/trunk/slf4j-migrator/pom.xml	(original)
+++ slf4j/trunk/slf4j-migrator/pom.xml	Thu Feb 21 20:53:06 2008
@@ -29,6 +29,16 @@
         </configuration>
       </plugin>
       
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
+
     </plugins>
 
   </build>

Modified: slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java
==============================================================================
--- slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java	(original)
+++ slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/Main.java	Thu Feb 21 20:53:06 2008
@@ -37,6 +37,7 @@
 public class Main {
 
   public static void main(String[] args) {
+    System.out.println("Starting SLF4J Migrator");
     SwingUtilities.invokeLater(new Runnable() {
       public void run() {
         MigratorFrame inst = new MigratorFrame();

Modified: slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java
==============================================================================
--- slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java	(original)
+++ slf4j/trunk/slf4j-migrator/src/main/java/org/slf4j/migrator/internal/MigratorFrame.java	Thu Feb 21 20:53:06 2008
@@ -248,7 +248,7 @@
     warningLabel
         .setText("<html>"
             + "<p><span color=\"red\">WARNING:</span> This SLF4J migration tool will directly modify all Java source files</p>"
-            + "<p>in the selected project without creating a backup of the original files.</p>"
+            + "<p>in the selected project folder without creating a backup of the original files.</p>"
             + "</html>");
   }
 

Added: slf4j/trunk/slf4j-migrator/src/main/resources/META-INF/MANIFEST.MF
==============================================================================
--- (empty file)
+++ slf4j/trunk/slf4j-migrator/src/main/resources/META-INF/MANIFEST.MF	Thu Feb 21 20:53:06 2008
@@ -0,0 +1 @@
+Main-Class: org.slf4j.migrator.Main
\ No newline at end of file

Modified: slf4j/trunk/slf4j-site/src/site/pages/docs.html
==============================================================================
--- slf4j/trunk/slf4j-site/src/site/pages/docs.html	(original)
+++ slf4j/trunk/slf4j-site/src/site/pages/docs.html	Thu Feb 21 20:53:06 2008
@@ -27,6 +27,7 @@
   <ul>
     <li><a href="manual.html">User manual</a></li>
     <li><a href="faq.html">FAQ</a></li>    
+    <li><a href="migrator.html">SLF4J migrator</a></li>    
     <li><a href="log4j-over-slf4j.html">log4j-over-slf4j</a></li>    
     <li><a href="api/index.html">javadocs</a></li>
     <li><a href="xref/index.html">sources</a></li>

Modified: slf4j/trunk/src/main/assembly/source.xml
==============================================================================
--- slf4j/trunk/src/main/assembly/source.xml	(original)
+++ slf4j/trunk/src/main/assembly/source.xml	Thu Feb 21 20:53:06 2008
@@ -78,6 +78,14 @@
       </includes>
     </fileSet>
 
+    <fileSet>
+      <directory>slf4j-migrator/</directory>
+      <outputDirectory>slf4j-site/</outputDirectory>
+      <includes>
+        <include>pom.xml</include>
+      </includes>
+    </fileSet>
+
     <!--
     <fileSet>
       <directory>slf4j-archetype/</directory>
@@ -137,6 +145,10 @@
       <directory>slf4j-site/src/</directory>
 			<outputDirectory>slf4j-site/src/</outputDirectory>    
     </fileSet>
+   <fileSet>
+      <directory>slf4j-migrator/src/</directory>
+			<outputDirectory>slf4j-migrator/src/</outputDirectory>    
+    </fileSet>
 
     <!--
     <fileSet>
@@ -217,6 +229,15 @@
 			</includes>    
 		</fileSet>
 
+    <fileSet>
+      <directory>slf4j-migrator/target/</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>slf4j-migrator-${project.version}.jar</include>
+        <include>slf4j-migrator-${project.version}-sources.jar</include>
+      </includes>    
+    </fileSet>
+
 		<!-- Website -->
 		<fileSet>
 			<directory>target/site</directory>



More information about the slf4j-dev mailing list