You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jg...@apache.org on 2011/12/07 17:27:40 UTC
svn commit: r1211513 - in /karaf/trunk/demos/branding: ./
src/main/filtered-resources/ src/main/filtered-resources/resources/
src/main/filtered-resources/resources/demos/
src/main/filtered-resources/resources/demos/shell/
src/main/resources/resources/d...
Author: jgoodyear
Date: Wed Dec 7 16:27:39 2011
New Revision: 1211513
URL: http://svn.apache.org/viewvc?rev=1211513&view=rev
Log:
[KARAF-1095] Update Branding Shell demo
Cleaning up directories, and fixing filtered README/pom.
Added:
karaf/trunk/demos/branding/src/main/filtered-resources/
karaf/trunk/demos/branding/src/main/filtered-resources/resources/
karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/
karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/
karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt (with props)
Removed:
karaf/trunk/demos/branding/src/main/resources/resources/demos/shell/README.txt
karaf/trunk/demos/branding/src/main/resources/resources/shell/
Modified:
karaf/trunk/demos/branding/pom.xml
Modified: karaf/trunk/demos/branding/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/demos/branding/pom.xml?rev=1211513&r1=1211512&r2=1211513&view=diff
==============================================================================
--- karaf/trunk/demos/branding/pom.xml (original)
+++ karaf/trunk/demos/branding/pom.xml Wed Dec 7 16:27:39 2011
@@ -39,11 +39,18 @@
<resources>
<resource>
<directory>src/main/resources</directory>
- <filtering>true</filtering>
+ <filtering>false</filtering>
<excludes>
<exclude>**/target/**</exclude>
</excludes>
</resource>
+ <resource>
+ <directory>src/main/filtered-resources</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
</resources>
<plugins>
<plugin>
Added: karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt
URL: http://svn.apache.org/viewvc/karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt?rev=1211513&view=auto
==============================================================================
--- karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt (added)
+++ karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt Wed Dec 7 16:27:39 2011
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ */
+
+BRANDING SHELL EXAMPLE
+======================
+
+Purpose
+-------
+Demonstrate how to change the shell console branding.
+
+
+Prerequisites for Running this Example
+--------------------------------------
+You must have the following installed on your machine:
+
+ - JDK 1.6 or higher.
+
+ - Apache Maven 3.0.3 or higher.
+
+
+Building and Deploying
+----------------------
+This example will produce a branding jar, containing a branding properties
+file which is used to generate the shell console branding.
+
+To build the demo branding type the following command:
+
+ mvn install
+
+To deploy the branding copy the resulting jar file to karaf/lib folder.
+
+ cp target/org.apache.karaf.demos.branding.shell-${version}.jar $KARAF_HOME/lib
+
+In order for Karaf to pick up the branding jar please edit the
+$KARAF_HOME/etc/custom.properties file to include the following:
+
+ org.osgi.framework.system.packages.extra = \
+ org.apache.karaf.branding; \
+ com.sun.org.apache.xalan.internal.xsltc.trax; \
+ com.sun.org.apache.xerces.internal.dom; \
+ com.sun.org.apache.xerces.internal.jaxp; \
+ com.sun.org.apache.xerces.internal.xni
+
+To see the new branding please restart Karaf:
+
+ cd $KARAF_HOME/bin
+ ./karaf
+
+The shell console should now display the content of the branding
+properties file.
+
+NOTES
+=====
+Most projects automate this process. One such project is Apache Servicemix
+NMR, see its branding and assembly poms for a guide line.
Propchange: karaf/trunk/demos/branding/src/main/filtered-resources/resources/demos/shell/README.txt
------------------------------------------------------------------------------
svn:eol-style = native