[kune-commits] r1816 - in trunk: . kune-data kune-data/lucene kune-data/lucene/kune_dev kune-data/lucene/kune_dev/indexes kune-data/lucene/kune_prod kune-data/lucene/kune_prod/indexes kune-data/lucene/kune_test kune-data/lucene/kune_test/indexes kune-data/uploads src/main/java/cc/kune/common/client/actions/gwtui src/main/resources src/main/resources/META-INF

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Sun Apr 1 13:25:45 CEST 2012


Author: vjrj_
Date: 2012-04-01 13:25:44 +0200 (Sun, 01 Apr 2012)
New Revision: 1816

Added:
   trunk/kune-data/
   trunk/kune-data/lucene/
   trunk/kune-data/lucene/kune_dev/
   trunk/kune-data/lucene/kune_dev/indexes/
   trunk/kune-data/lucene/kune_prod/
   trunk/kune-data/lucene/kune_prod/indexes/
   trunk/kune-data/lucene/kune_test/
   trunk/kune-data/lucene/kune_test/indexes/
   trunk/kune-data/uploads/
Modified:
   trunk/INSTALL
   trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
   trunk/src/main/resources/META-INF/persistence.xml
   trunk/src/main/resources/wave-server-testing.properties
   trunk/src/main/resources/wave-server.properties
Log:
Few steps in the install for dev environments


Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL	2012-04-01 10:43:49 UTC (rev 1815)
+++ trunk/INSTALL	2012-04-01 11:25:44 UTC (rev 1816)
@@ -85,6 +85,8 @@
 
 ===Configure directories===
 
+Note: This is not needed in development enviroments or when you use debian package
+
  sudo mkdir -p /usr/share/kune/
  sudo chown yourUser:yourUser /usr/share/kune/
 
@@ -97,8 +99,10 @@
  # yourUser is the user you are using to develop/run the application
  sudo mkdir -p /var/lib/kune/lucene/kune_dev/indexes
  sudo mkdir -p /var/lib/kune/lucene/kune_test/indexes
+ sudo mkdir -p /var/lib/kune/lucene/kune_prod/indexes
  sudo chown yourUser:yourUser /var/lib/kune/lucene/kune_dev/indexes
  sudo chown yourUser:yourUser /var/lib/kune/lucene/kune_test/indexes
+ sudo chown yourUser:yourUser /var/lib/kune/lucene/kune_prod/indexes
 
  But in general you can do it recursively with:
 


Property changes on: trunk/kune-data
___________________________________________________________________
Name: svn:ignore
   + *
_accounts
_attachments
_certificates
_deltas
_sessions
_sessions-mal



Property changes on: trunk/kune-data/lucene/kune_dev/indexes
___________________________________________________________________
Name: svn:ignore
   + *



Property changes on: trunk/kune-data/lucene/kune_prod/indexes
___________________________________________________________________
Name: svn:ignore
   + *



Property changes on: trunk/kune-data/lucene/kune_test/indexes
___________________________________________________________________
Name: svn:ignore
   + *



Property changes on: trunk/kune-data/uploads
___________________________________________________________________
Name: svn:ignore
   + *


Modified: trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java	2012-04-01 10:43:49 UTC (rev 1815)
+++ trunk/src/main/java/cc/kune/common/client/actions/gwtui/AbstractGwtButtonGui.java	2012-04-01 11:25:44 UTC (rev 1816)
@@ -24,7 +24,6 @@
 import cc.kune.common.client.actions.ui.AbstractGuiItem;
 import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
 import cc.kune.common.client.actions.ui.descrip.GuiActionDescrip;
-import cc.kune.common.client.tooltip.Tooltip;
 import cc.kune.common.client.ui.IconLabel;
 
 import com.google.gwt.event.dom.client.ClickEvent;
@@ -41,7 +40,6 @@
   protected boolean enableTongle;
   private IconLabel iconLabel;
   private boolean isChild;
-  private Tooltip tooltip;
 
   public AbstractGwtButtonGui() {
     this(null, false);

Modified: trunk/src/main/resources/META-INF/persistence.xml
===================================================================
--- trunk/src/main/resources/META-INF/persistence.xml	2012-04-01 10:43:49 UTC (rev 1815)
+++ trunk/src/main/resources/META-INF/persistence.xml	2012-04-01 11:25:44 UTC (rev 1816)
@@ -165,7 +165,7 @@
       <property name="hibernate.search.default.directory_provider"
         value="org.hibernate.search.store.FSDirectoryProvider"/>
       <property name="hibernate.search.default.indexBase"
-        value="/var/lib/kune/lucene/kune_dev/indexes"/>
+        value="kune-data/lucene/kune_dev/indexes"/>
     </properties>
   </persistence-unit>
 
@@ -223,7 +223,7 @@
       <property name="hibernate.search.default.directory_provider"
         value="org.hibernate.search.store.FSDirectoryProvider"/>
       <property name="hibernate.search.default.indexBase"
-        value="/var/lib/kune/lucene/kune_test/indexes"/>
+        value="kune-data/lucene/kune_test/indexes"/>
     </properties>
   </persistence-unit>
 
@@ -267,7 +267,7 @@
       <property name="hibernate.search.default.directory_provider"
         value="org.hibernate.search.store.FSDirectoryProvider"/>
       <property name="hibernate.search.default.indexBase"
-        value="/var/lib/kune/lucene/kune_test/indexes"/>
+        value="kune-data/lucene/kune_test/indexes"/>
     </properties>
   </persistence-unit>
 

Modified: trunk/src/main/resources/wave-server-testing.properties
===================================================================
--- trunk/src/main/resources/wave-server-testing.properties	2012-04-01 10:43:49 UTC (rev 1815)
+++ trunk/src/main/resources/wave-server-testing.properties	2012-04-01 11:25:44 UTC (rev 1816)
@@ -15,7 +15,7 @@
 
 # A comma separated list of webApp source directories
 # Default value: ./war
-resource_bases = /var/www/kune/,target/kune-0.1.0-SNAPSHOT/,src/main/webapp/
+resource_bases = target/kune-0.1.0-SNAPSHOT/,src/main/webapp/
 
 ### Server-specific variables
 ###

Modified: trunk/src/main/resources/wave-server.properties
===================================================================
--- trunk/src/main/resources/wave-server.properties	2012-04-01 10:43:49 UTC (rev 1815)
+++ trunk/src/main/resources/wave-server.properties	2012-04-01 11:25:44 UTC (rev 1816)
@@ -27,7 +27,7 @@
 # Note: This is only used when using the file signer info store. It is ignored
 # for other data store types.
 # Default value: _certificates
-signer_info_store_directory = /var/lib/kune/_certificates
+signer_info_store_directory = kune-data/_certificates
 
 # Currently supported attachment types: mongodb, disk
 # Default value: disk
@@ -36,7 +36,7 @@
 # The location where attachments are stored on disk. This should be changed.
 # Note: This is only used when using the disk attachment store. It is ignored
 # for other data store types.
-attachment_store_directory = /var/lib/kune/_attachments
+attachment_store_directory = kune-data/_attachments
 
 # Currently supported account store types: fake, memory, file, mongodb
 account_store_type = file
@@ -44,7 +44,7 @@
 # The location where accounts are stored on disk. This should be changed.
 # Note: This is only used when using the file account store. It is ignored
 # for other data store types.
-account_store_directory = /var/lib/kune/_accounts
+account_store_directory = kune-data/_accounts
 
 # Currently supported delta store types: memory, file
 delta_store_type = file
@@ -53,12 +53,12 @@
 # Note: This is only used when using the file delta store. It is ignored
 # for other data store types.
 # Default value: _deltas
-delta_store_directory = /var/lib/kune/_deltas
+delta_store_directory = kune-data/_deltas
 
 # The location where user sessions are persisted on disk. This allow to restore user sessions
 # between restarts.
 # Default value: _sessions
-sessions_store_directory = /var/lib/kune/_sessions
+sessions_store_directory = kune-data/_sessions
 
 # Set false to use raw WebSockets instead of Socket.IO (still a bit experimental) in the webclient
 # Default value: true




More information about the kune-commits mailing list