Repository: flex-asjs
Updated Branches:
  refs/heads/develop 0fe93b781 -> 94ed1a5f3


Trying to get maven properties “primary” and “accent” in index_maven. 
Works, but this time I lost ${head} and ${body}


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/94ed1a5f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/94ed1a5f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/94ed1a5f

Branch: refs/heads/develop
Commit: 94ed1a5f38951ed0d83ac14123ccfe90c7329be8
Parents: 0fe93b7
Author: Carlos Rovira <carlosrov...@apache.org>
Authored: Thu Dec 1 23:52:40 2016 +0100
Committer: Carlos Rovira <carlosrov...@apache.org>
Committed: Thu Dec 1 23:52:40 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/pom.xml              |  6 ++++
 .../src/main/resources/index_maven.html         | 33 ++++++++++++++++++++
 2 files changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/94ed1a5f/examples/flexjs/MDLExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/pom.xml 
b/examples/flexjs/MDLExample/pom.xml
index a64aeaa..fc97d01 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -34,11 +34,17 @@
 
   <name>Apache Flex - FlexJS: Examples: FlexJS: MDLExample</name>
 
+  <properties>
+    <primary>cyan</primary>
+    <accent>red</accent>
+  </properties>
+
   <build>
     <sourceDirectory>src/main/flex</sourceDirectory>
     <resources>
       <resource>
         <directory>src/main/resources</directory>
+        <filtering>true</filtering>
       </resource>
     </resources>
     <plugins>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/94ed1a5f/examples/flexjs/MDLExample/src/main/resources/index_maven.html
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/src/main/resources/index_maven.html 
b/examples/flexjs/MDLExample/src/main/resources/index_maven.html
new file mode 100644
index 0000000..62cbf70
--- /dev/null
+++ b/examples/flexjs/MDLExample/src/main/resources/index_maven.html
@@ -0,0 +1,33 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE html>
+<html>
+<head>
+       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+       <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" 
href="https://fonts.googleapis.com/icon?family=Material+Icons";>
+  <link rel="stylesheet" 
href="https://code.getmdl.io/1.2.1/material.${primary}-${accent}.min.css";>
+  <script defer src="https://code.getmdl.io/1.2.1/material.min.js";></script>
+${head}
+</head>
+<body>
+${body}
+</body>
+</html>
\ No newline at end of file

Reply via email to