You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by ml...@apache.org on 2013/08/01 16:52:13 UTC

[03/13] git commit: TAP5-2153 Adapt quickstart archetype generated sources to be bootstrap and 5.4 compatibile set logging implementation for the quickstart default to log4j with logback option

TAP5-2153 Adapt quickstart archetype generated sources to be bootstrap and 5.4 compatibile
set logging implementation for the quickstart default to log4j with logback option


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/eee31723
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/eee31723
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/eee31723

Branch: refs/heads/master
Commit: eee317238e544974aa95c006232415a99dbf7530
Parents: 47c5cd2
Author: Massimo Lusetti <ml...@apache.org>
Authored: Thu Aug 1 16:23:25 2013 +0200
Committer: Massimo Lusetti <ml...@apache.org>
Committed: Thu Aug 1 16:23:25 2013 +0200

----------------------------------------------------------------------
 quickstart/filtered/archetype-resources/build.gradle | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/eee31723/quickstart/filtered/archetype-resources/build.gradle
----------------------------------------------------------------------
diff --git a/quickstart/filtered/archetype-resources/build.gradle b/quickstart/filtered/archetype-resources/build.gradle
index 6a9bf2d..6a82d70 100644
--- a/quickstart/filtered/archetype-resources/build.gradle
+++ b/quickstart/filtered/archetype-resources/build.gradle
@@ -38,6 +38,9 @@ configurations {
 sourceSets {
     main {
         compileClasspath += configurations.provided
+        // To give the same path as IDEA has
+        // output.resourcesDir = 'build/production/${artifactId}'
+        // output.classesDir = 'build/production/${artifactId}'
     }
     test {
         compileClasspath += configurations.provided
@@ -49,15 +52,19 @@ dependencies {
 
     compile "org.apache.tapestry:tapestry-core:@tapestryReleaseVersion@"
 
-    // Include the Log4j implementation for the SLF4J logging framework
-    runtime "org.slf4j:slf4j-log4j12:@slf4jReleaseVersion@"
-
     // Uncomment this to add support for file uploads:
     // compile "org.apache.tapestry:tapestry-upload:@tapestryReleaseVersion@"
 
     // Uncomment this to add support resource minification and runtime compilation:
     // compile "org.apache.tapestry:tapestry-wro4j:@tapestryReleaseVersion@"
 
+    // Log implementation choose one:
+    // Log4j 1.x
+    runtime "log4j:log4j:1.2.17"
+    runtime "org.slf4j:slf4j-log4j12:@slf4jReleaseVersion@"
+    // Logback
+    // runtime "ch.qos.logback:logback-classic:1.0.13"
+
     provided "javax.servlet:servlet-api:@servletApiReleaseVersion@"
 }