forked from qos-ch/slf4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adding version check support in each slf4j-binding
Each copy of StaticLoggerBinder.java found in each binding now contains a field called VERSION. LoggerFactory checks that the version value found in the binding matches the expected version number as declared in LoggerFactory
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
|
||
|
||
|
||
VER=$1 | ||
echo "Will use version '${VER}'" | ||
echo "Changing pom.xml files" | ||
find . -name "pom.xml" |grep -v archetype-resources|xargs perl version.pl ${VER} | ||
find . -name "pom.xml" |xargs perl version.pl ${VER} | ||
echo "Changing Java files" | ||
find . -name "StaticLoggerBinder.java" |grep -v archetype-resources|xargs perl binderVersion.pl ${VER} | ||
find . -name "StaticLoggerBinder.java" |xargs perl binderVersion.pl ${VER} | ||
find slf4j-api -name "LoggerFactory.java" |xargs perl binderVersion.pl ${VER} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters