[slf4j.org-svn] / slf4j / trunk / slf4j-migrator / src Repository:
ViewVC logotype

Log of /slf4j/trunk/slf4j-migrator/src

View Directory Listing Directory Listing


Sticky Revision:

Revision 1011 - Directory Listing
Modified Tue May 27 15:30:45 2008 UTC (2 years, 3 months ago) by ceki
- Avoid minor compiler warning

Revision 1005 - Directory Listing
Modified Tue Apr 29 16:04:22 2008 UTC (2 years, 4 months ago) by ceki
- documenting JUL to SLF4J migration
- added migration rule for .severe( and .warning(

Revision 1004 - Directory Listing
Modified Tue Apr 29 14:59:24 2008 UTC (2 years, 4 months ago) by ceki
- added minimal support for JUL to SLF4J migration

Revision 1003 - Directory Listing
Modified Tue Apr 29 14:59:05 2008 UTC (2 years, 4 months ago) by ceki
- added minimal support for JUL to SLF4J migration

Revision 988 - Directory Listing
Modified Tue Feb 26 16:56:58 2008 UTC (2 years, 6 months ago) by ceki
- limit the number of screen updates to eliminate screen flicker

Revision 985 - Directory Listing
Modified Thu Feb 21 19:53:06 2008 UTC (2 years, 6 months ago) by ceki
- updating slf4j-migrator related documentation

Revision 984 - Directory Listing
Modified Thu Feb 21 19:06:30 2008 UTC (2 years, 6 months ago) by ceki
- renaming slf4j-converter module to slf4j-migrator

Revision 982 - Directory Listing
Modified Thu Feb 21 18:58:37 2008 UTC (2 years, 6 months ago) by ceki
- renaming slf4j-converter module to slf4j-migrator

Revision 981 - Directory Listing
Modified Thu Feb 21 18:58:13 2008 UTC (2 years, 6 months ago) by ceki
- renaming slf4j-converter module to slf4j-migrator

Revision 980 - Directory Listing
Modified Thu Feb 21 18:57:42 2008 UTC (2 years, 6 months ago) by ceki
- renaming slf4j-converter module to slf4j-migrator

Revision 979 - Directory Listing
Modified Thu Feb 21 18:43:04 2008 UTC (2 years, 6 months ago) by ceki
Copied from: slf4j/trunk/slf4j-converter/src revision 978
- renaming slf4j-converter module to slf4j-migrator

Revision 978 - Directory Listing
Modified Thu Feb 21 18:27:02 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- wired the actual conversion plumbing
- updated LIMITATION.txt file

Revision 977 - Directory Listing
Modified Thu Feb 21 17:42:45 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- removing unused resources
- adding copyright notice

Revision 976 - Directory Listing
Modified Wed Feb 20 21:44:38 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- getting rid of SLF4J image

Revision 975 - Directory Listing
Modified Wed Feb 20 21:33:11 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- adding an SLF4J image

Revision 974 - Directory Listing
Modified Wed Feb 20 21:02:49 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- Stable state of the migration tool 

TODO

 1) enable actual conversions
 2) add SLF4J logo somewhere on the frame

Revision 973 - Directory Listing
Modified Wed Feb 20 20:46:45 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- setting the progress bar to invisible and *then* setting the label text yield better results

Revision 972 - Directory Listing
Modified Wed Feb 20 20:33:14 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- added progress bar and other goodies to the migration tool

Revision 971 - Directory Listing
Modified Wed Feb 20 17:58:39 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- Improving the visual aspects of the convertor
- The Abbreviator class has been tested according to the approach described
  by Alberto Savoia in "Beatiful Tests" in the book "Beatiful Code". 

Revision 970 - Directory Listing
Modified Fri Feb 8 17:09:03 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- ongoing work

Revision 969 - Directory Listing
Modified Fri Feb 8 16:34:40 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- ow

Revision 968 - Directory Listing
Modified Thu Feb 7 20:37:23 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- visual corrections

Revision 965 - Directory Listing
Modified Thu Feb 7 20:31:03 2008 UTC (2 years, 6 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- ongoing work

Revision 952 - Directory Listing
Modified Wed Jan 23 20:33:54 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- disabling local test (testing continuum)

Revision 951 - Directory Listing
Modified Wed Jan 23 20:32:43 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- added spaces (testing continuum)

Revision 950 - Directory Listing
Modified Wed Jan 23 20:30:54 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- force failre (for testing continuum)

Revision 949 - Directory Listing
Modified Wed Jan 23 20:04:22 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- diabling local test

Revision 948 - Directory Listing
Modified Wed Jan 23 19:52:05 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
minor change

Revision 945 - Directory Listing
Modified Tue Jan 15 20:07:27 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- We now avoid touching files that do not need converting to SLF4J.
- All tests pass

Revision 940 - Directory Listing
Modified Thu Jan 10 21:05:03 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- added support for multi-line replacements. This is required for log4j conversions.

Revision 939 - Directory Listing
Modified Thu Jan 10 20:47:41 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- adding bogus tests

Revision 938 - Directory Listing
Modified Thu Jan 10 20:25:24 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- the o.s.converter.Writer class is no longer used.

Revision 937 - Directory Listing
Modified Thu Jan 10 20:24:36 2008 UTC (2 years, 7 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- Serious refactoring of slf4j-converter. 

The idea remains the same, responsibilities are moved around. 
Here is a brief summary of the changes:

1) Conversions of files is done in-place. This means that a Java file is read into memory. 
It is then reopened write-mode where the converted lines are written to it. There is no "backup" 
copy of the converted file. 

2) The main entry to the converter, is now ProjectConverter, which converts all Java files under a folder. 
Each file is converted using an InpalceFileConcerter.

Revision 934 - Directory Listing
Modified Fri Nov 9 18:40:34 2007 UTC (2 years, 9 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
On going work on graphical user interface
Introducing Log4J to SLF4J conversion 
Testing that running a particuliar conversion has no unexpected impact on other log implementation

Revision 895 - Directory Listing
Modified Fri Sep 14 16:59:19 2007 UTC (2 years, 11 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src


Revision 894 - Directory Listing
Modified Fri Sep 14 16:51:41 2007 UTC (2 years, 11 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
On going work introducing Swing user interface to manage conversion.
To be continued....

Revision 893 - Directory Listing
Modified Fri Sep 14 13:41:24 2007 UTC (2 years, 11 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
Refactoring according to the alternative approach for conversion expressions proposed by Ceki.
Instead of doing conversion with an unique Pattern and it's mutilple capturing groups, we now combine several simpler Patterns.
Each Pattern do a single replacement.

Revision 892 - Directory Listing
Modified Wed Sep 12 20:41:00 2007 UTC (2 years, 11 months ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
- Modified JCLMatcherTest to list the expected value first in all assertions
- An example of an alternative and possibly simpler approach for conversion expressions

Revision 891 - Directory Listing
Modified Mon Sep 3 21:36:04 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
added missing class

Revision 890 - Directory Listing
Modified Mon Sep 3 21:35:43 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
In pursuit of a better clarity, I've made the following changes to the
converter code.

I've split ConversionRule into an interface and two implementations:
SingleConversionRule and MultiGroupConversionRule. As its name
indicates, SingleConversionRule admits a single group, the entire
matching text, and replaces it with text specified by the developer.

MultiGroupConversion admits multiple groups with a replacement text
specific for each group. I've removed the map associating indexes with
a replacement text. Instead, MultiGroupConversion uses a bounded array
of replacement texts. I believe the result to be somewhat easier to
follow and to understand -- in particular, the replace(Matcher) method
in both implementations.

Note the addition of AllTest and PackageTest enabling the lauch of
all test in one click. Admittedly, there are only two test classes 
for the time being.

Revision 889 - Directory Listing
Modified Fri Aug 31 14:05:40 2007 UTC (3 years ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
on going work refactoring

Revision 887 - Directory Listing
Modified Wed Aug 29 22:37:37 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
Exactly the same logic.
I just reorganized code so that related logic is kept together.

Revision 886 - Directory Listing
Modified Wed Aug 29 22:33:41 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
it's a unit test. So let us be as specific as possible. 
As the name of the test indicates, we want to test JCLMatcher not AbstractMatcher.


Revision 885 - Directory Listing
Modified Wed Aug 29 22:31:08 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
let us use the constants we define

Revision 884 - Directory Listing
Modified Wed Aug 29 22:21:07 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
indentation changes only

Revision 883 - Directory Listing
Modified Wed Aug 29 22:20:00 2007 UTC (3 years ago) by ceki
Original Path: slf4j/trunk/slf4j-converter/src
use the autoboxing feature of JDK 1.5

Revision 866 - Directory Listing
Modified Fri Aug 17 15:01:04 2007 UTC (3 years ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
adding rules

Revision 865 - Directory Listing
Modified Fri Aug 17 14:03:28 2007 UTC (3 years ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
Regrouping pattern matching and replacement rules in  same object.

Revision 864 - Directory Listing
Modified Fri Aug 17 13:05:41 2007 UTC (3 years ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
Adding JFileChooser to select source folder when no source folder has been specified.
Removing destination folder and deleting destination folder parameters. Running  conversion will replace java files in source folder instead of doing a copy.
Adding confirmation messages to cancel conversion if needed.

Revision 863 - Directory Listing
Modified Fri Aug 3 13:28:03 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src


Revision 862 - Directory Listing
Modified Fri Aug 3 13:18:22 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
minor changes in paths ans params management.
resolving bug during files copy when source repository contains destination repository.

Revision 859 - Directory Listing
Modified Fri Aug 3 09:04:43 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
AbstractMatcher replacement method refactoring
Removing slf4j logging call
Params management

Revision 857 - Directory Listing
Modified Fri Jul 20 15:53:32 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
adding test for JCLConversion
new parameter to convert or not commented code
on going work to allow conversion of multiple instructions on the same line

Revision 841 - Directory Listing
Modified Wed Jul 11 05:04:20 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
on going work adding jcl sample source code

Revision 840 - Directory Listing
Modified Tue Jul 10 20:37:06 2007 UTC (3 years, 1 month ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
on going work  adding JCL to SLF4j conversion rules

Revision 821 - Directory Listing
Modified Fri Jun 8 15:22:51 2007 UTC (3 years, 3 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
on going work  

Revision 819 - Directory Listing
Added Fri Jun 8 12:35:23 2007 UTC (3 years, 3 months ago) by jncharpin
Original Path: slf4j/trunk/slf4j-converter/src
on going work 

Sort log by:

slf4j.org lists
ViewVC Help
Powered by ViewVC 1.0.1