You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2014/07/18 18:26:40 UTC

[1/2] git commit: Advance version number to 5.4-beta-15

Repository: tapestry-5
Updated Branches:
  refs/heads/master 4bd6302e0 -> 6bb909649


Advance version number to 5.4-beta-15


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

Branch: refs/heads/master
Commit: 5be8bd2aa598fbc7bff9d3b2f020edabf535e576
Parents: 4bd6302
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Jul 18 09:24:04 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Jul 18 09:24:04 2014 -0700

----------------------------------------------------------------------
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/5be8bd2a/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 5ce2fcc..3d4da19 100755
--- a/build.gradle
+++ b/build.gradle
@@ -36,7 +36,7 @@ project.version = tapestryVersion()
 def tapestryVersion() {
 
     def major = "5.4"
-    def minor = "-beta-14"
+    def minor = "-beta-15"
 
     // When building on the CI server, make sure -SNAPSHOT is appended, as it is a nightly build.
     // When building normally, or for a release, no suffix is desired.


[2/2] git commit: Add a sub-folder to the default Tapestry asset cache directory

Posted by hl...@apache.org.
Add a sub-folder to the default Tapestry asset cache directory


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

Branch: refs/heads/master
Commit: 6bb9096499d921c62b4062fee2ee7928427b7c01
Parents: 5be8bd2
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Jul 18 09:26:34 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Jul 18 09:26:34 2014 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/webresources/WebResourcesSymbols.java  | 5 ++---
 .../tapestry5/webresources/modules/WebResourcesModule.java      | 4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6bb90964/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
----------------------------------------------------------------------
diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
index 82bd018..9f0901b 100644
--- a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
+++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
@@ -1,5 +1,3 @@
-// Copyright 2013 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -19,7 +17,8 @@ public class WebResourcesSymbols
     /**
      * Directory that stores cached copies of compiled CoffeeScript files. The directory will be created
      * as necessary. This allows compilation (e.g., CoffeeScript to JavaScript) to be avoided after a restart.
-     * The default is from the {@code java.io.tmpdir} system property (which is not necessarily stable between executions).
+     * The default is under the {@code java.io.tmpdir} system property (which is not necessarily stable between executions).
+     * It is common to set this to {@code target/asset-cache} during development.
      */
     public static final String CACHE_DIR = "tapestry.compiled-asset-cache-dir";
 }

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6bb90964/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
----------------------------------------------------------------------
diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
index a3d387e..af452c0 100644
--- a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
+++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
@@ -1,5 +1,3 @@
-// Copyright 2013 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -57,7 +55,7 @@ public class WebResourcesModule
     @FactoryDefaults
     public static void setupDefaultCacheDirectory(MappedConfiguration<String, Object> configuration)
     {
-        configuration.add(WebResourcesSymbols.CACHE_DIR, "${java.io.tmpdir}");
+        configuration.add(WebResourcesSymbols.CACHE_DIR, "${java.io.tmpdir}/tapestry-asset-cache");
     }
 
 


[2/2] git commit: Add a sub-folder to the default Tapestry asset cache directory

Posted by hl...@apache.org.
Add a sub-folder to the default Tapestry asset cache directory


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

Branch: refs/heads/master
Commit: 6bb9096499d921c62b4062fee2ee7928427b7c01
Parents: 5be8bd2
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Jul 18 09:26:34 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Jul 18 09:26:34 2014 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/webresources/WebResourcesSymbols.java  | 5 ++---
 .../tapestry5/webresources/modules/WebResourcesModule.java      | 4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6bb90964/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
----------------------------------------------------------------------
diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
index 82bd018..9f0901b 100644
--- a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
+++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/WebResourcesSymbols.java
@@ -1,5 +1,3 @@
-// Copyright 2013 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -19,7 +17,8 @@ public class WebResourcesSymbols
     /**
      * Directory that stores cached copies of compiled CoffeeScript files. The directory will be created
      * as necessary. This allows compilation (e.g., CoffeeScript to JavaScript) to be avoided after a restart.
-     * The default is from the {@code java.io.tmpdir} system property (which is not necessarily stable between executions).
+     * The default is under the {@code java.io.tmpdir} system property (which is not necessarily stable between executions).
+     * It is common to set this to {@code target/asset-cache} during development.
      */
     public static final String CACHE_DIR = "tapestry.compiled-asset-cache-dir";
 }

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6bb90964/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
----------------------------------------------------------------------
diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
index a3d387e..af452c0 100644
--- a/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
+++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/webresources/modules/WebResourcesModule.java
@@ -1,5 +1,3 @@
-// Copyright 2013 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -57,7 +55,7 @@ public class WebResourcesModule
     @FactoryDefaults
     public static void setupDefaultCacheDirectory(MappedConfiguration<String, Object> configuration)
     {
-        configuration.add(WebResourcesSymbols.CACHE_DIR, "${java.io.tmpdir}");
+        configuration.add(WebResourcesSymbols.CACHE_DIR, "${java.io.tmpdir}/tapestry-asset-cache");
     }