joulupunikki / Phoenix

Java clone/remake/patch of the game Emperor of the Fading Suns
https://joulupunikki.github.io/Phoenix/
37 stars 14 forks source link

log4j integration #54

Open joulupunikki opened 8 years ago

joulupunikki commented 8 years ago

to list log4j files in a .jar (ubuntu 1404): jar tvf target/Phoenix.jar | grep " org/apache/logging/log4j/" | tail -n +2 | cut -c 37- | tr '/' '.' and jar tvf target/Phoenix.jar | grep " org/apache/logging/log4j/" | tail -n +2 | cut -c 37- | tr '/' '.' | grep ".class$" | rev | cut -c 7- | rev | sort | awk '// {print "<include>" $1 "</include>"}' > tmp/log4jfiles.txt will make a list ready for inclusion in pom.xml ... but where are you gonna get the list of necessary core-files ?