tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1139420 - in /openejb/trunk/sandbox/tools/src/main: java/org/apache/openejb/tools/examples/ViewHelper.java resources/generate-index/config.properties resources/generate-index/velocity/header.vm
Date Fri, 24 Jun 2011 19:56:39 GMT
Author: rmannibucau
Date: Fri Jun 24 19:56:39 2011
New Revision: 1139420

URL: http://svn.apache.org/viewvc?rev=1139420&view=rev
Log:
removing floating bar from generated html pages while css is not totally working

Modified:
    openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/ViewHelper.java
    openejb/trunk/sandbox/tools/src/main/resources/generate-index/config.properties
    openejb/trunk/sandbox/tools/src/main/resources/generate-index/velocity/header.vm

Modified: openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/ViewHelper.java
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/ViewHelper.java?rev=1139420&r1=1139419&r2=1139420&view=diff
==============================================================================
--- openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/ViewHelper.java
(original)
+++ openejb/trunk/sandbox/tools/src/main/java/org/apache/openejb/tools/examples/ViewHelper.java
Fri Jun 24 19:56:39 2011
@@ -46,7 +46,9 @@ public final class ViewHelper {
         for (Entry<String, Set<String>> entry : exampleLinksByKeyword.entrySet())
{
             Set<String> examples = new HashSet<String>();
             for (String example : entry.getValue()) {
-                examples.add(example.substring(0, example.length() - index.length() - 1));
+                if (example.length() > index.length()) {
+                    examples.add(example.substring(0, example.length() - index.length() -
1));
+                }
             }
             classes.put(entry.getKey(), concatHTMLClasses(examples, "button", '/', REPLACED_CHAR));
         }

Modified: openejb/trunk/sandbox/tools/src/main/resources/generate-index/config.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/tools/src/main/resources/generate-index/config.properties?rev=1139420&r1=1139419&r2=1139420&view=diff
==============================================================================
--- openejb/trunk/sandbox/tools/src/main/resources/generate-index/config.properties (original)
+++ openejb/trunk/sandbox/tools/src/main/resources/generate-index/config.properties Fri Jun
24 19:56:39 2011
@@ -1,10 +1,10 @@
 # website config
-home.resources = http://people.apache.org/~rmannibucau
+home.resources = http://people.apache.org/~rmannibucau/
 home.site = http://people.apache.org/~rmannibucau/generated
 
 # input/output
 examples.zip = /tmp/examples.zip
-examples.working = /tmp/openejb
+examples.working = target/examples/
 
 # file properties
 excluded = examples,.svn,target,.git,.settings

Modified: openejb/trunk/sandbox/tools/src/main/resources/generate-index/velocity/header.vm
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/tools/src/main/resources/generate-index/velocity/header.vm?rev=1139420&r1=1139419&r2=1139420&view=diff
==============================================================================
--- openejb/trunk/sandbox/tools/src/main/resources/generate-index/velocity/header.vm (original)
+++ openejb/trunk/sandbox/tools/src/main/resources/generate-index/velocity/header.vm Fri Jun
24 19:56:39 2011
@@ -28,6 +28,7 @@
         </div>
         <div class="clear"></div>
 
+        <!--
         <div id="floatingbar">
           <ul>
             <li><a href="http://twitter.com/#!/OpenEJB">OpenEJB on Twitter</a></li>
@@ -35,5 +36,6 @@
             <li><a href="http://openejb.apache.org">OpenEJB Official Website</a></li>
           </ul>
         </div>
+        -->
 
         <div id="content">



Mime
View raw message