[kune-commits] r1022 - trunk
vjrj
vjrj at ourproject.org
Sat Jan 3 02:44:58 CET 2009
Author: vjrj
Date: 2009-01-03 02:44:58 +0100 (Sat, 03 Jan 2009)
New Revision: 1022
Modified:
trunk/BUGS
trunk/DEV-GUIDE
trunk/INSTALL
trunk/TODO
trunk/TROUBLESHOOT
Log:
Docs updated
Modified: trunk/BUGS
===================================================================
--- trunk/BUGS 2009-01-02 19:34:01 UTC (rev 1021)
+++ trunk/BUGS 2009-01-03 01:44:58 UTC (rev 1022)
@@ -3,18 +3,3 @@
For reports please use:
http://code.google.com/p/kune/issues/list
-
-- Text areas oversize in chat dialog (gwt-ext related).
-- Return event in chat input area doesn't works (gwt-ext related).
-- Pagination in translation and search dialog doesn't works (gwt-ext related).
-- Search combobox in search dialog problems (gwt-ext related).
-- Publish date combobox issue (gwt-ext related).
-- Confirmation when closing a room has zindex/modal problems (gwt-ext related).
-- "Enter room" active when you are not logged.
-- Rooms in UI can be renamed.
-- Oversized conversation area in chat room (gwt-ext related).
-- Oversized user registration tab (gwt-ext related).
-- OK button in new users welcome wrong identation (gwt-ext related).
-- User logout in rooms problem (gwt-jsjac or openfire related).
-- Problem entering rooms with an existing alias (gwt-jsjac related).
-- Rename of a doc title while editing, reload context.
Modified: trunk/DEV-GUIDE
===================================================================
--- trunk/DEV-GUIDE 2009-01-02 19:34:01 UTC (rev 1021)
+++ trunk/DEV-GUIDE 2009-01-03 01:44:58 UTC (rev 1022)
@@ -1,13 +1,13 @@
-DEVELOPMENT GUIDE
---------------------------------------------------------------------------------
+=DEVELOPMENT GUIDE=
-Development Environment
---------------------------------------------------------------------------------
+==Development Environment==
Install kune (see INSTALL file).
Running (in the trunk directory)
- mvn eclipse:eclipse
+
+ mvn eclipse:eclipse
+
generates .project and download necessary code jars. Then you can import the project in eclipse (File > Import > Existing Projects into Workspace).
Also you have to set the variable M2_REPO (Eclipse Preferences > Java > Build Path > Classpath Variables > New) to the location of your local maven repo (in our case /home/ouruser/.m2/repository).
@@ -15,21 +15,24 @@
GWT Hosted Mode:
We have a "Run configuration" (Run > Open Run Dialog) in eclipse with Project: "org.ourproject.kune" with Main class: "com.google.gwt.dev.GWTShell", with this program arguments (or similar): "-noserver -out gwt-out /kune/?locale=en&log_level=INFO -port 8080" and in the "Classpath User Entries":
- - gwt-dev-[linux|mac|windows].jar
- - java - /org.ourproject.kune/src/main
- - org.ourproject.kune (default classpath)
+* gwt-dev-[linux|mac|windows].jar (Add External Jar and select it from your gwt installation directory)
+* java - /kune/src/main
+* kune (default classpath)
+If you have memory problems running the hosted mode, increase it in VM arguments:
+ -Xmx512M
+
before run hosted mode compile once with:
- mvn gwt:compile
+ mvn gwt:compile
and deploy with:
- script/deploy_gwt.sh
-and then we run jetty (with "mvn jetty:run" also you can run server in debug mode, see TROUBLESHOOT).
+ script/deploy_gwt.sh
+and then we run jetty (with "script/server.sh" also you can run server in debug mode, see TROUBLESHOOT).
-Code
---------------------------------------------------------------------------------
+==Code preferences==
+
We use some eclipse code preferences for kune project:
- dev-utils/kune.cleanup.eclipse.preferences.xml
- dev-utils/kune.formatter.eclipse.preferences.xml
+ dev-utils/kune.cleanup.eclipse.preferences.xml
+ dev-utils/kune.formatter.eclipse.preferences.xml
please use it if you want to contribute.
We will (try) to follow:
@@ -38,10 +41,10 @@
and the code conventions for the JavaTM Programming Language:
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
-License
---------------------------------------------------------------------------------
+==License==
+
Attach the following notices to each source of the program at the begining:
-
+<pre>
(c) 2007-2008 The kune development team (see CREDITS for details)
This program is free software: you can redistribute it and/or modify
@@ -56,9 +59,11 @@
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+</pre>
In Java, something like this (also you can use your name):
+<pre>
/*
*
* Copyright (C) 2007-2008 The kune development team (see CREDITS for details)
@@ -78,3 +83,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+</pre>
Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL 2009-01-02 19:34:01 UTC (rev 1021)
+++ trunk/INSTALL 2009-01-03 01:44:58 UTC (rev 1022)
@@ -1,108 +1,124 @@
-INSTALL
---------------------------------------------------------------------------------
+=INSTALL=
+==Production instructions==
-For development:
+FIXME
-* MYSQL configuration:
+==Development instructions==
-Make two databases in your mysql:
+===MYSQL configuration===
-CREATE DATABASE kune_dev;
-GRANT ALL PRIVILEGES ON kune_dev.* TO kune at localhost IDENTIFIED BY 'db4kune';
-FLUSH PRIVILEGES;
+====Before db creation====
-CREATE DATABASE kune_test;
-GRANT ALL PRIVILEGES ON kune_test.* TO kune at localhost IDENTIFIED BY 'db4kune';
-FLUSH PRIVILEGES;
+You have to configure mysql to support UTF8 by editing your c:\Windows\my.ini or /etc/mysql/my.cnf (on Unix) file and adding something like:
-CREATE DATABASE kune_openfire;
-GRANT ALL PRIVILEGES ON kune_openfire.* TO kune at localhost IDENTIFIED BY 'db4kune';
-FLUSH PRIVILEGES;
-
-You have to configure mysql to support UTF8 by editing your c:\Windows\my.ini or /etc/mysql/my.cnf (on Unix) file:
[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
-(you have to restart the mysql database if you configure the settings for all databases)
+After this modification you have to restart the mysql database.
-Or do it per table:
+Optionalilly, you can also configure this per table (do it after the db creation) :
ALTER DATABASE kune_dev CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_general_ci;
ALTER DATABASE kune_test CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_general_ci;
+====Db creation====
-* Source code
-- Install java-jdk (>= 1.5), maven2, mysql (>= 5.0) and for example eclipse
+Make two databases in your mysql:
+
+CREATE DATABASE kune_dev;
+GRANT ALL PRIVILEGES ON kune_dev.* TO kune at localhost IDENTIFIED BY 'PUT_HERE_A_DB_PASSWD';
+FLUSH PRIVILEGES;
+
+CREATE DATABASE kune_test;
+GRANT ALL PRIVILEGES ON kune_test.* TO kune at localhost IDENTIFIED BY 'PUT_HERE_A_DB_PASSWD';
+FLUSH PRIVILEGES;
+
+CREATE DATABASE kune_openfire;
+GRANT ALL PRIVILEGES ON kune_openfire.* TO kune at localhost IDENTIFIED BY 'PUT_HERE_A_DB_PASSWD';
+FLUSH PRIVILEGES;
+
+===Source code===
+
+- Install java-jdk (>=5), maven2, mysql (> 5.0) and for example eclipse
- Install gwt 1.5.3 and follow Appendix A for maven+gwt configuration
- Compile with maven:
- # (in the trunk directory)
- mvn compile -Dliquibase.should.run=false
- mvn gwt:compile
+ # (in the trunk directory)
+ mvn compile -Dliquibase.should.run=false
+ mvn gwt:compile
- Copy the target to src directory (only for test):
- ./script/deploy_gwt.sh
+ ./script/deploy_gwt.sh
- (if you're using windows as dev plaftorm... you will have to write your own script ;). the idea is to
- copy everything from target/kune-0.0.VERSIONHERE/org.ourproject.kune.app.Kune to src/main/webapp/gwt/org.ourproject.kune.app.Kune)
+====Aditional info for W$ users====
+If you're using windows as dev plaftorm... you will have to write your own script ;). the idea is to copy everything from target/kune-0.0.VERSIONHERE/org.ourproject.kune.app.Kune to src/main/webapp/gwt/org.ourproject.kune.app.Kune)
-FIXME:
+FIXME
Caution! windows users: you should have a symbolic link from <trunk>/src/main/rails/publicspace to <trunk>/src/main/webapp/WEB-INF/publicspace
+===Configure upload directory===
+ sudo mkdir -p /var/lib/kune/uploads/
+ sudo chown yourUser:yourUser /var/lib/kune/uploads
-- Configure upload directory:
+You can use other location (see kune.properties).
- sudo mkdir -p /var/lib/kune/uploads/
- sudo chown yourUser:yourUser /var/lib/kune/uploads
+Configurate hibernate-search (GNU/Linux instructions, look persistence.xml if you want to change indexes destination):
+ # 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 chown yourUser:yourUser /var/lib/kune/lucene/kune_dev/indexes
+ sudo chown yourUser:yourUser /var/lib/kune/lucene/kune_test/indexes
-you can use other location (see kune.properties)
+====Aditional info for W$ users====
-- Configurate hibernate-search (GNU/Linux instructions, look persistence.xml if you want to change indexes destination):
- # 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 chown yourUser:yourUser /var/lib/kune/lucene/kune_dev/indexes
- sudo chown yourUser:yourUser /var/lib/kune/lucene/kune_test/indexes
+Not verified: In case you are using windows as dev platform you only have to create a couple of folders anywhere you like and then specify them in persistence.xml, as follows:
+ <property name="hibernate.search.default.indexBase" value="C:\kune\kune-index"/>
+do the same with every persistence unit defined inside.
-(not verified:
- In case you are using windows as dev platform you only have to create a couple of folders anywhere you like and then specify them in persistence.xml, as follows:
- <property name="hibernate.search.default.indexBase" value="C:\kune\kune-index"/>
- do the same with every persistence unit defined inside.
-)
+=== Run openfire jabber server===
-- Install and run a openfire jabber server (see Appendix B for proper configuration of openfire) or ejabberd.
+Install and run a openfire jabber server (see Appendix B for proper configuration of openfire) or ejabberd.
-- Install jmagick-jni. In debian: apt-get install libjmagick6-jni (version 6.2.6-0) also you need or:
- sudo ln -s /usr/lib/jni/libJMagick.so /usr/lib/libJMagick.so
+=== Install jmagick===
+
+Install jmagick-jni. In debian: apt-get install libjmagick6-jni (version 6.2.6-0) also you need or:
+ sudo ln -s /usr/lib/jni/libJMagick.so /usr/lib/libJMagick.so
or
- set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni in your test and in your webserver.
+ set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni in your test and in your webserver.
-(not verified:
-in Windows you need to do something similar (copy the jmagick .dll of the same version in the Windows directory)
-)
+====Aditional info for W$ users====
-- Run jetty: mvn jetty:run -Dliquibase.should.run=false
-- Once started (and initialized the db), you should stop
- (next restart of jetty the db migrator will run and insert the initial data)
+Not verified: in Windows you need to do something similar (copy the jmagick .dll of the same version in the Windows directory)
- you can start the server using the script:
- ./script/server
+===Run jetty server===
- or directly (windows):
- mvn jetty:run -Dorg.mortbay.util.FileResource.checkAliases=False
+Run jetty:
- (TODO: put the aliases stuff into a jetty config file)
+ mvn jetty:run -Dliquibase.should.run=false
+Once started (and initialized the db), you should stop (Ctrl-C). In the next start the db migrator will run and insert the initial data.
-- And connect to http://yourIP:8080/kune
+After that, as a norma, you can start the server using the script:
+ ./script/server.sh
-Appendix A: Configuration of maven
---------------------------------------------------------------------------------
+or directly (w$):
+
+ mvn jetty:run -Dorg.mortbay.util.FileResource.checkAliases=False
+
+TODO: put the aliases stuff into a jetty config file
+
+===Connecting to the server===
+
+Open your browser and connect to http://yourIP:8080/kune
+
+===Appendix A: Configuration of maven===
+
Example of .m2/settings.xml:
+<pre>
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<profiles>
@@ -129,42 +145,53 @@
<activeProfile>gwt-1.5.3</activeProfile>
</activeProfiles>
</settings>
+</pre>
-Appendix B: Configuration of Openfire xmpp server
---------------------------------------------------------------------------------
-- Install openfire in your system.
+===Appendix B: Configuration of Openfire xmpp server===
- Currently only openfire xmpp server is supported (due database dependencies). Ejabberd support in progress.
- Works in most of the openfire server versions after 3.5.1.
- See emite (our xmpp software) Server Compatibility: http://code.google.com/p/emite/wiki/ServerCompatibility
+Install openfire in your system.
- Connect to openfire administration: http://localhost:9090/
- If you dont want to change the settings and use kune only for developing, use "localhost" as domain name. (Change kune.chat.domain in <trunk>/src/main/resources/kune.properties if you want to use other values).
- Select "Standard Database Connection"
-- Select "MySQL" drivers. And configure the mysql connection. This is an example:
+Currently only openfire xmpp server is supported (due database dependencies). Ejabberd support in progress.
+
+Works in most of the openfire server versions after 3.5.1.
+See emite (our xmpp software) Server Compatibility: http://code.google.com/p/emite/wiki/ServerCompatibility
+
+Connect to openfire administration: http://localhost:9090/
+
+If you dont want to change the settings and use kune only for developing, use "localhost" as domain name. (Change kune.chat.domain in <trunk>/src/main/resources/kune.properties if you want to use other values).
+
+Select "Standard Database Connection"
+
+Select "MySQL" drivers. And configure the mysql connection. This is an example:
Database Driver Presets: MySQL
JDBC Driver Class: com.myrootsql.jdbc.Driver
Database URL: jdbc:mysql://localhost:3306/kune_openfire
Username: kune
- Password: db4kune
-- Select "Default" in Profile Settings
-- Create the Administration Account. Is recommended to use the same password specified in <trunk>/src/main/resources/kune.properties
-- Configure the 'Group chat service' (in Group chat tab) with "rooms" additionally or instead of "conference" (or change kune.chat.roomHost in <trunk>/src/main/resources/kune.properties)
-- Change in 'System Properties':
+ Password: PUT_HERE_THE_SAME_DB_PASSWD
+
+Select "Default" in Profile Settings
+
+Create the Administration Account. Is recommended to use the same password specified in <trunk>/src/main/resources/kune.properties
+
+Configure the 'Group chat service' (in Group chat tab) with "rooms" additionally or instead of "conference" (or change kune.chat.roomHost in <trunk>/src/main/resources/kune.properties)
+
+Change in 'System Properties':
provider.auth.className to org.jivesoftware.openfire.auth.JDBCAuthProvider
provider.user.className to org.jivesoftware.openfire.user.JDBCUserProvider
-- Enable "HTTP Bind Settings" and check the port is not used by other service in your machine (we use 5280 as default, if not change the <trunk>/src/main/webapp/WEB-INF/web.xml accordly)
-- Edit the openfire.xml
- In debian (with a .deb installation) you can to edit the configuration in /etc/openfire...
- In Mac: /usr/local/openfire/conf
+Enable "HTTP Bind Settings" and check the port is not used by other service in your machine (we use 5280 as default, if not change the <trunk>/src/main/webapp/WEB-INF/web.xml accordly)
+
+Edit the openfire.xml
+* In debian (with a .deb installation) you can to edit the configuration in /etc/openfire...
+* In Mac: /usr/local/openfire/conf
Add this lines to conf/openfire.xml and check that the user/passwd of the db is the same here and in the persistence.xml:
+<pre>
<jive>
...
<jdbcProvider>
<driver>com.mysql.jdbc.Driver</driver>
- <connectionString>jdbc:mysql://localhost/kune_dev?user=kune&password=db4kune&useUnicode=true&characterEncoding=utf-8</connectionString>
+ <connectionString>jdbc:mysql://localhost/kune_dev?user=kune&password=PUT_HERE_THE_SAME_DB_PASSWD&useUnicode=true&characterEncoding=utf-8</connectionString>
</jdbcProvider>
<provider>
<auth>
@@ -189,8 +216,11 @@
</jdbcUserProvider>
...
</jive>
+</pre>
You'll most likely want to change which usernames are authorized to login to the admin console.
+
+<pre>
<jive>
...
<admin>
@@ -198,13 +228,16 @@
</admin>
...
</jive>
+</pre>
-- Restart openfire
+Restart openfire.
For more details:
http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integration-guide.html
-Appendix C: jar generation (kune-core is the base for plugin development)
---------------------------------------------------------------------------------
+===Appendix C: jar generation===
-mvn package -Dmaven.test.skip=true -o
+Note: kune-core is the base for modules extension development
+
+ mvn package -Dmaven.test.skiprue -o
+
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2009-01-02 19:34:01 UTC (rev 1021)
+++ trunk/TODO 2009-01-03 01:44:58 UTC (rev 1022)
@@ -1,88 +1,41 @@
+#+TITLE: TODO-list for kune
+#+STARTUP: hidestars
+#+SEQ_TODO: TODO danigb samer vjrj FEEDBACK VERIFY | FIXED CANCELED WONTFIX
+
TODO-list for kune
--------------------------------------------------------------------------------
-<nick> == reported by
--->nick == assigned to
-SHORT-TERM (URGENT):
---------------------------------------------------------------------------------
-<vjrj> IconHyperlink.java and IconLabel.java to gwt1.5
-<vjrj> Injection problem [2]
-<vjrj> BUG: Duplicate Keys in group/user creation different exception [1]
----> vjrj
-<vjrj> Interceptors also useful for translation of db fields
-<vjrj> login session. Follow incubation recomendations. See:
-http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e8e14b16e57b266f
-Now there are problems if client was started before server, and with server restart
---> vjrj
---> vjrj
-<vjrj> explorer specific problems: fonts antialiasing problem? please if you have a ie, report problems (with screenshots if possible)
-<vjrj> Ext localization (see I18nUiTranslation):
- http://extjs.com/deploy/ext/examples/locale/dutch-form.js
- http://groups.google.com/group/gwt-ext/browse_thread/thread/ebec316effea2b80/bfbdadc7239b4e5d?lnk=gst&q=i18n#bfbdadc7239b4e5d
- http://extjs.com/forum/showthread.php?t=20160&highlight=localization
-<vjrj> i18n changes:
- - Remove pagination i18n's
- - Chat rooms --> Chats
- - Confirmation of chat close (see code)
- - Participates as ... --> Participates in
+* Intro
+** Symbols
+ <nick> or <n> == reported by / commented by
+ nick == assigned to
+** Notes
+ Use org-mode in emacs to easy manage this file
-MIND-TERM:
---------------------------------------------------------------------------------
-<vjrj> RTL (BiDi support). The problem will be extjs (gwt will support bidi in 1.5):
-http://extjs.com/forum/showthread.php?t=9659
-http://cssjanus.commoner.com/
-<vjrj> Study the possibility to include in SN something similar to "Member since <date>".
-<samer,vjrj> Add in license choose a free/non-free indicator [3]
-<vjrj> think about more secure login, SRP protocol thread, and:
-http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/97623347b448e16e
-http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/367bdb56dd4e5ad1
-<vjrj> Build better our maven repo
- http://maven.apache.org/guides/mini/guide-central-repository-upload.html
-<vjrj> browser font size (different from default) issues (scroll in dialogs, buttons background, etc)
---> vjrj
-<danigb> click in new group, reload sn innecessary
---> vjrj
-<vjrj> for dev, study jetty hot deploy (if scanIntervalSeconds > 0 also reload with client changes ... ). It will be nice to send a signal or something like that. See:
- http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_HotDeploy.html
-See, I think is what we are looking for:
- http://www.opensymphony.com/webwork/wikidocs/QuickStart.html
-Now using maven jetty from eclipse with debugger, hot reload the new class, but other things like hibernate (or cache/session) still reference the old copy of the class.
+* SHORT-TERM (URGENT)
+** vjrj <v> rails group-shortname.kune-site-domain/tool-name/folder-id/doc-id routing, maybe use:
+ http://agilewebdevelopment.com/plugins/request_routing
+ http://wiki.rubyonrails.org/rails/pages/Request+Routing
+ http://svn.danwebb.net/external/rails/plugins/request_routing/trunk/README
+** vjrj <v> Duplicate Keys in group/user creation different exception
+ 2007-12-21 10:35:16,193 [btpool0-5] ERROR - Duplicate entry 'vjrj' for key 3
+ 2007-12-21 10:35:16,195 [btpool0-5] DEBUG - ContentManagerDefault.persist EXCEPTION => javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.ourproject.kune.platf.server.domain.Group]
+ 2007-12-21 10:35:16,196 [btpool0-5] DEBUG - ContentManagerDefault.persist EXCEPTION => javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.ourproject.kune.platf.server.domain.Group]
+ 2007-12-21 10:35:16,197 [btpool0-5] DEBUG - ContentManagerDefault.createContent EXCEPTION => javax.persistence.Entity
+** vjrj <v> IconHyperlink.java and IconLabel.java to gwt1.5
-<vjrj> Use of maven-exec plugin to exec scripts (to css tidy, etcetera)
- http://mojo.codehaus.org/exec-maven-plugin/introduction.html
-<vjrj> rails group-shortname.kune-site-domain/tool-name/folder-id/doc-id routing, maybe use:
- http://agilewebdevelopment.com/plugins/request_routing
- http://wiki.rubyonrails.org/rails/pages/Request+Routing
- http://svn.danwebb.net/external/rails/plugins/request_routing/trunk/README
-<vjrj> Strip html better in RTE, I18nTranslator, Chat
- http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/b4a27c80f50581cc
-<vjrj> RTE right to left writing
-<vjrj> Restarting server don't affect client session
-<vjrj> See css utilities in http://code.google.com/p/cobogw/
-<vjrj> RTE css style: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/f64c0024d8676a66/d5f26a54145fc5d4?lnk=gst&q=richtextarea++css#d5f26a54145fc5d4
-
-LONG-TERM:
---------------------------------------------------------------------------------
-
-IDEAS:
---------------------------------------------------------------------------------
-<danigb> Try to find a way dozer maps directly without use getters/setters (less js code and better performance)
-
-DO-NOT-IMPLEMENT (stuff that was rejected):
---------------------------------------------------------------------------------
-
-BACKTRACES/DEBUG/VALGRIND/EXCEPTIONS:
---------------------------------------------------------------------------------
-
-[1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-2007-12-21 10:35:16,193 [btpool0-5] ERROR - Duplicate entry 'vjrj' for key 3
-2007-12-21 10:35:16,195 [btpool0-5] DEBUG - ContentManagerDefault.persist EXCEPTION => javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.ourproject.kune.platf.server.domain.Group]
-2007-12-21 10:35:16,196 [btpool0-5] DEBUG - ContentManagerDefault.persist EXCEPTION => javax.persistence.EntityExistsException: org.hibernate.exception.ConstraintViolationException: could not insert: [org.ourproject.kune.platf.server.domain.Group]
-2007-12-21 10:35:16,197 [btpool0-5] DEBUG - ContentManagerDefault.createContent EXCEPTION => javax.persistence.Entity
-
-[2] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
+* MIND-TERM
+** vjrj <v> Login: Follow incubation recomendations. See:
+ http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e8e14b16e57b266f
+** TODO <v> extjs i18n
+ http://extjs.com/deploy/ext/examples/locale/dutch-form.js
+ http://groups.google.com/group/gwt-ext/browse_thread/thread/ebec316effea2b80/bfbdadc7239b4e5d?lnk=gst&q=i18n#bfbdadc7239b4e5d
+ http://extjs.com/forum/showthread.php?t=20160&highlight=localization
+** TODO <v> Restarting server don't affect client session
+ Now there are problems if client was started before server, when server restart (session persist)
+** TODO <v> Interceptors also useful for translation of db fields
+** vjrj <d> click in new group, reload sn innecessary
+** TODO <v> Injection problem
2008-01-03 23:17:57.575::WARN: failed rack
java.lang.RuntimeException: java.lang.RuntimeException: Please apply com.google.inject.servlet.GuiceFilter to any request which uses servlet scopes.
at org.ourproject.kune.platf.server.KunePersistenceService.start(KunePersistenceService.java:41)
@@ -324,41 +277,26 @@
at org.ourproject.kune.platf.server.KunePersistenceService.start(KunePersistenceService.java:39)
... 58 more
2008-01-03 23:17:57.697::INFO: Started SelectChannelConnector at 0.0.0.0:8080
+** TODO <v> RTL (BiDi support). The problem will be extjs (gwt support bidi in 1.5):
+ http://extjs.com/forum/showthread.php?t=9659
+ http://cssjanus.commoner.com/
+** TODO <v> Study the possibility to include in SN something similar to "Member since <date>".
+** TODO <v> think about more secure login, SRP protocol thread, and:
+http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/97623347b448e16e
+http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/367bdb56dd4e5ad1
+** TODO <v> Build better our maven repo
+ http://maven.apache.org/guides/mini/guide-central-repository-upload.html
+** TODO <v> for dev, study jetty hot deploy (manual mode in >=7.0.0).
+** TODO <v> Use of maven-exec plugin to exec scripts (to css tidy, etcetera)
+ http://mojo.codehaus.org/exec-maven-plugin/introduction.html
+** TODO <v> Strip html better in RTE, I18nTranslator, Chat
+ http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/b4a27c80f50581cc
+** TODO <v> See css utilities in http://code.google.com/p/cobogw/
+** FIXED <s,v> Add in license choose a free/non-free indicator [3]
+** FIXED <v> browser font size (different from default) issues (scroll in dialogs, buttons background, etc)
+ CLOSED: [2009-01-03 sáb 01:37]
-[3] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+* LONG-TERM
+* IDEAS
+** <d> Try to find a way dozer maps directly without use getters/setters (less js code and better performance)
-(sorry only in Spanish)ç
-Samer comment:
-> * No libre, no copyleft: explicación de lo que es libre, qué es
-> copyleft, básico. Citar proyectos libres conocidos.
-> * Libre, no copyleft: explicación de qué es copyleft, sin que deje
-> de ser libre. ¿Enlace a GNU?
-> * No libre, copyleft: explicación de las puñeteras no-comerciales
-> jejeje. Creo que en estos casos lo de citar que la famosa
-> wikipedia no acepta contenido así es un argumento de peso.
-> * Libre y Copyleft... si no es GPL o compatible con GPL (o GFDL)
-> debería explicarse las ventajas de tener una licencia compatible
-> al menos con la GPLv3 y tal, ¿no créeis? ¿O pasando y con que
-> tengan una libre rara ya vale? Es que la no normalización conlleva
-> mucho caos a la hora de compartir cosas de distintos proyectos...
-> de hecho a los flipados de la licencia de ayer a lo mejor habría
-> que comentarles esto. ¿Opiniones?
-
-Propuesta:
-------
-Selecciona una licencia para compartir los contenidos de este grupo con el resto de gente:
-
-[X] Usar la licencia <href>copyleft recomendada
-[ ] Quiero elegir otra licencia (uso avanzado)
-
-Notas:
-* <href>¿Porqué necesito una licencia?
-* <href>¿Qué significa copyleft?
-* Nosotros recomendamos licencias copyleft, sobre todo para trabajos prácticos.
-
-------
-
-esta última sacaría el widget actual con alguna nota adicional, como
-<href>Porque no usar una licencia no comercial.
-
-[?] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modified: trunk/TROUBLESHOOT
===================================================================
--- trunk/TROUBLESHOOT 2009-01-02 19:34:01 UTC (rev 1021)
+++ trunk/TROUBLESHOOT 2009-01-03 01:44:58 UTC (rev 1022)
@@ -1,5 +1,19 @@
+=TROUBLESHOOTING=
+
+==Server debug==
+
Server: debug with jetty in eclipse:
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
+==Client debug==
+
Client code: you can debug with gwt hosted mode in eclipse (see DEV-GUIDE for hosted mode instructions).
+==Firebug and client log levels==
+
+To increase client logging add ?log_level=DEBUG# to the url and use firebug firefox extension to see the output.
+
+==Emite troubleshooting==
+
+See:
+http://code.google.com/p/emite/wiki/Troubleshooting
\ No newline at end of file
More information about the kune-commits
mailing list