Log of /slf4j/trunk/slf4j-migrator/src
Directory Listing
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
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
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
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
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
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
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
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
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
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