Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding notice about move from ant/ivy to maven build. #26

Merged
merged 3 commits into from Mar 30, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
@@ -1,5 +1,23 @@
# Tomcat + SLF4J + Logback #

## Notice ##

The current ant/ivy build will soon be replaced with a maven build. A maven branch currently
exists and is ready for user feedback. The build time is rather quick. One major change
will be occurring with this. Currently this project requires 4 jars to be placed
into tomcat/bin directory. Once the maven build is merged into master, it will
simply contain a single shaded jar file for tomcat-juli containing all that everyone is
familiar with. No other changes are necessary.

Additionally, sourceforge builds have not been updated recently. Grzegorz has been quite
busy and I have picked up building out this conversion to maven. We hope to have this
resolved shortly. In the meantime, feel free to pull down the maven branch and give it
a try.

Additionally, as it has been raised multiple times, there are no current plans to move
this to maven central. However, that might be an option for those that want to run
embedded tomcat. This will be determined at a later time.

## Quick Start ##

If you quickly want to configure Tomcat to use Slf4J and Logback, just download
Expand Down
14 changes: 5 additions & 9 deletions build.xml
Expand Up @@ -22,7 +22,7 @@
<echo message="installing ivy..." />
<get src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar" dest="${ivy.jar.file}" usetimestamp="true" />
</target>

<target name="ivy" depends="download-ivy">
<!-- try to load ivy here from local ivy dir, in case the user has not already dropped
it into ant's lib dir (note that the latter copy will always take precedence).
Expand All @@ -46,8 +46,7 @@
<fileset dir="${slf4j-api.home}/slf4j-api-${slf4j.version}-sources/org/slf4j" />
</move>
<mkdir dir="${slf4j-api.home}/tomcat-juli-slf4j-api-${slf4j.version}" />
<javac srcdir="${slf4j-api.home}/slf4j-api-${slf4j.version}-sources" destdir="${slf4j-api.home}/tomcat-juli-slf4j-api-${slf4j.version}"
source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" />
<javac srcdir="${slf4j-api.home}/slf4j-api-${slf4j.version}-sources" destdir="${slf4j-api.home}/tomcat-juli-slf4j-api-${slf4j.version}" source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" />
<copy todir="${slf4j-api.home}/tomcat-juli-slf4j-api-${slf4j.version}">
<fileset dir="${slf4j-api.home}/slf4j-api-${slf4j.version}-sources">
<exclude name="META-INF" />
Expand Down Expand Up @@ -80,8 +79,7 @@
<move todir="${jcl-over-slf4j.home}/jcl-over-slf4j-${slf4j.version}-sources/org/apache/juli">
<fileset dir="${jcl-over-slf4j.home}/jcl-over-slf4j-${slf4j.version}-sources/org/apache/commons" />
</move>
<javac srcdir="${jcl-over-slf4j.home}/jcl-over-slf4j-${slf4j.version}-sources" destdir="${jcl-over-slf4j.home}/tomcat-juli-jcl-over-slf4j-${slf4j.version}"
source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false">
<javac srcdir="${jcl-over-slf4j.home}/jcl-over-slf4j-${slf4j.version}-sources" destdir="${jcl-over-slf4j.home}/tomcat-juli-jcl-over-slf4j-${slf4j.version}" source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false">
<classpath>
<fileset dir="${dist.path}">
<include name="*.jar" />
Expand Down Expand Up @@ -113,8 +111,7 @@
<fileset dir="${logback-core.home}/logback-core-${logback.version}-sources/ch" />
</move>
<mkdir dir="${logback-core.home}/tomcat-juli-logback-core-${logback.version}" />
<javac srcdir="${logback-core.home}/logback-core-${logback.version}-sources" destdir="${logback-core.home}/tomcat-juli-logback-core-${logback.version}"
source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" classpathref="default.classpath">
<javac srcdir="${logback-core.home}/logback-core-${logback.version}-sources" destdir="${logback-core.home}/tomcat-juli-logback-core-${logback.version}" source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" classpathref="default.classpath">
<classpath>
<fileset dir="${dist.path}">
<include name="*.jar" />
Expand Down Expand Up @@ -150,8 +147,7 @@
<fileset dir="${logback-classic.home}/logback-classic-${logback.version}-sources/org/slf4j/impl" />
</move>
<mkdir dir="${logback-classic.home}/tomcat-juli-logback-classic-${logback.version}" />
<javac srcdir="${logback-classic.home}/logback-classic-${logback.version}-sources" destdir="${logback-classic.home}/tomcat-juli-logback-classic-${logback.version}"
source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" classpathref="default.classpath">
<javac srcdir="${logback-classic.home}/logback-classic-${logback.version}-sources" destdir="${logback-classic.home}/tomcat-juli-logback-classic-${logback.version}" source="1.6" target="1.6" nowarn="true" encoding="UTF-8" debug="on" includeAntRuntime="false" classpathref="default.classpath">
<classpath>
<fileset dir="${dist.path}">
<include name="*.jar" />
Expand Down