You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/09/14 20:40:03 UTC

[royale-asjs] branch develop updated: maven-archetypes: fix css in main app

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 74ad280  maven-archetypes: fix css in main app
74ad280 is described below

commit 74ad2807f1fc1a51e366a31afd5d3b933c3f3932
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Sep 14 22:37:53 2020 +0200

    maven-archetypes: fix css in main app
---
 .../src/main/resources/META-INF/archetype-post-generate.groovy        | 4 ++--
 .../src/main/resources/jewel-example-index-template.html              | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/archetypes/royale-jewel-module-application-archetype/src/main/resources/META-INF/archetype-post-generate.groovy b/archetypes/royale-jewel-module-application-archetype/src/main/resources/META-INF/archetype-post-generate.groovy
index 085259b..322ea97 100644
--- a/archetypes/royale-jewel-module-application-archetype/src/main/resources/META-INF/archetype-post-generate.groovy
+++ b/archetypes/royale-jewel-module-application-archetype/src/main/resources/META-INF/archetype-post-generate.groovy
@@ -21,7 +21,7 @@
 // 
 //  It will delete a the associated Crux folders if the value for the "includeCrux" property
 //  is set to false.
- 
+
 import java.io.File
 import java.nio.file.Files
 import java.nio.file.Path
@@ -29,7 +29,7 @@ import java.nio.file.Paths
 import org.apache.commons.io.FileUtils
  
 println "*******************************"
-println "  grooy post processing"
+println "  groovy post processing"
 println "*******************************"
 // println "artifactId: " + artifactId
 // println "request: " + request
diff --git a/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/__application__/src/main/resources/jewel-example-index-template.html b/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/__application__/src/main/resources/jewel-example-index-template.html
index 140ba98..d33d42b 100644
--- a/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/__application__/src/main/resources/jewel-example-index-template.html
+++ b/archetypes/royale-jewel-module-application-archetype/src/main/resources/archetype-resources/__application__/src/main/resources/jewel-example-index-template.html
@@ -14,13 +14,14 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+#set($dollar = '$')
 <!DOCTYPE html>
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta name="Custom Template for injecting custom style CSS">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
-    <link rel="stylesheet" type="text/css" href="${application}.css">
+    <link rel="stylesheet" type="text/css" href="${dollar}{application}.css">
     <link href="https://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet">
 ${head}
 </head>