[gwt-contrib] Re: Fixes to Expsenses sample pom.xml (issue1007801)

2010-10-14 Thread arthur . kalm

I just tried to apply this patch and while it fixes the compile errors,
I'm still not able to get expense running. I try to run the following
command: 'mvn gae:run' but it fails.

[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:compile (gw
tcompile) on project expenses: Command [[
[ERROR] C:\Program Files\Java\jdk1.6.0_20\jre\bin\java
-javaagent:C:\Documents and Setting
s\kalmena/.m2/repository/com/google/appengine/appengine-java-sdk/1.3.7/appengine-java-sdk-
1.3.7/lib/agent/appengine-agent.jar -Xmx1024m -classpath
F:\work\test-workspace\Expenses\
src\main\java;F:\work\test-workspace\Expenses\src\main\resources;F:\work\test-workspace\Ex
penses\target\expenses-0.1.0.BUILD-SNAPSHOT\WEB-INF\classes;C:\Documents
and Settings\kalm
ena\.m2\repository\log4j\log4j\1.2.16\log4j-1.2.16.jar;C:\Documents and
Settings\kalmena\.
m2\repository\org\slf4j\slf4j-api\1.6.1\slf4j-api-1.6.1.jar;C:\Documents
and Settings\kalm
ena\.m2\repository\org\slf4j\jcl-over-slf4j\1.6.1\jcl-over-slf4j-1.6.1.jar;C:\Documents
an
d
Settings\kalmena\.m2\repository\org\slf4j\slf4j-log4j12\1.6.1\slf4j-log4j12-1.6.1.jar;C:
\Documents and
Settings\kalmena\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2
.5.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\springframework\roo\org.spring
framework.roo.annotations\1.1.0.M2\org.springframework.roo.annotations-1.1.0.M2.jar;C:\Doc
uments and
Settings\kalmena\.m2\repository\org\springframework\spring-core\3.0.3.RELEASE\s
pring-core-3.0.3.RELEASE.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\springfr
amework\spring-asm\3.0.3.RELEASE\spring-asm-3.0.3.RELEASE.jar;C:\Documents
and Settings\ka
lmena\.m2\repository\org\springframework\spring-context\3.0.3.RELEASE\spring-context-3.0.3
.RELEASE.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\springframework\spring-b
eans\3.0.3.RELEASE\spring-beans-3.0.3.RELEASE.jar;C:\Documents and
Settings\kalmena\.m2\re
pository\org\springframework\spring-expression\3.0.3.RELEASE\spring-expression-3.0.3.RELEA
SE.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\springframework\spring-aop\3.0
.3.RELEASE\spring-aop-3.0.3.RELEASE.jar;C:\Documents and
Settings\kalmena\.m2\repository\a
opalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Documents and
Settings\kalmena\.m2\repos
itory\org\springframework\spring-aspects\3.0.3.RELEASE\spring-aspects-3.0.3.RELEASE.jar;C:
\Documents and
Settings\kalmena\.m2\repository\org\springframework\spring-context-support\
3.0.3.RELEASE\spring-context-support-3.0.3.RELEASE.jar;C:\Documents and
Settings\kalmena\.
m2\repository\org\springframework\spring-tx\3.0.3.RELEASE\spring-tx-3.0.3.RELEASE.jar;C:\D
ocuments and
Settings\kalmena\.m2\repository\com\google\appengine\orm\datanucleus-appengin
e\1.0.7.final\datanucleus-appengine-1.0.7.final.jar;C:\Documents and
Settings\kalmena\.m2\
repository\org\datanucleus\datanucleus-core\1.1.5\datanucleus-core-1.1.5.jar;C:\Documents
and
Settings\kalmena\.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.3.7\appen
gine-api-1.0-sdk-1.3.7.jar;C:\Documents and
Settings\kalmena\.m2\repository\javax\persiste
nce\persistence-api\1.0\persistence-api-1.0.jar;C:\Documents and
Settings\kalmena\.m2\repo
sitory\org\datanucleus\datanucleus-jpa\1.1.5\datanucleus-jpa-1.1.5.jar;C:\Documents
and Se
ttings\kalmena\.m2\repository\org\apache\geronimo\specs\geronimo-jpa_3.0_spec\1.1.1\geroni
mo-jpa_3.0_spec-1.1.1.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\datanucleus
\datanucleus-rdbms\1.1.5\datanucleus-rdbms-1.1.5.jar;C:\Documents and
Settings\kalmena\.m2
\repository\javax\transaction\transaction-api\1.1\transaction-api-1.1.jar;C:\Documents
and

Settings\kalmena\.m2\repository\org\datanucleus\datanucleus-enhancer\1.1.4\datanucleus-en
hancer-1.1.4.jar;C:\Documents and
Settings\kalmena\.m2\repository\asm\asm\3.3\asm-3.3.jar;
C:\Documents and
Settings\kalmena\.m2\repository\javax\jdo\jdo2-api\2.3-eb\jdo2-api-2.3-eb
.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\hibernate\hibernate-validator\4.
0.2.GA\hibernate-validator-4.0.2.GA.jar;C:\Documents and
Settings\kalmena\.m2\repository\j
avax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Documents
and Setti
ngs\kalmena\.m2\repository\cglib\cglib-nodep\2.2\cglib-nodep-2.2.jar;C:\Documents
and Sett
ings\kalmena\.m2\repository\javax\transaction\jta\1.1\jta-1.1.jar;C:\Documents
and Setting
s\kalmena\.m2\repository\org\springframework\spring-jdbc\3.0.3.RELEASE\spring-jdbc-3.0.3.R
ELEASE.jar;C:\Documents and
Settings\kalmena\.m2\repository\org\springframework\spring-orm
\3.0.3.RELEASE\spring-orm-3.0.3.RELEASE.jar;C:\Documents and
Settings\kalmena\.m2\reposito
ry\commons-pool\commons-pool\1.5.4\commons-pool-1.5.4.jar;C:\Documents
and Settings\kalmen
a\.m2\repository\commons-dbcp\commons-dbcp\1.3\commons-dbcp-1.3.jar;C:\Documents
and Setti
ngs\kalmena\.m2\repository\org\springframework\spring-web\3.0.3.RELEASE\spring-web-3.0.3.R
ELEASE.jar;C:\Documents and

[gwt-contrib] Re: Adding examples for cell widgets and data providers. (issue955801)

2010-10-05 Thread arthur . kalm


http://gwt-code-reviews.appspot.com/955801/diff/1/2
File user/javadoc/com/google/gwt/examples/cell/CellExample.java (right):

http://gwt-code-reviews.appspot.com/955801/diff/1/2#newcode77
user/javadoc/com/google/gwt/examples/cell/CellExample.java:77:
super(click, keydown);
On 2010/10/05 15:35:31, jlabanca wrote:

Which class would it take?  ClickEvent is a GWT logical wrapper around

the

native click event, and we don't want to tie Cells to the event

system.  We have

a TODO to enumerate the event types so you could use something like
EventType.CLICK instead of having to spell it out every time.


So then would AbstractCell be tied to an EventType enum? Or would you
still be using String? I like the enum idea, I just don't like magic
strings.

I was thinking something along these lines:
http://gist.github.com/611778. However, since Cell is using NativeEvent,
that implementation doesn't make sense (it's also ugly).

http://gwt-code-reviews.appspot.com/955801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Adding examples for cell widgets and data providers. (issue955801)

2010-10-05 Thread arthur . kalm


http://gwt-code-reviews.appspot.com/955801/diff/1/2
File user/javadoc/com/google/gwt/examples/cell/CellExample.java (right):

http://gwt-code-reviews.appspot.com/955801/diff/1/2#newcode77
user/javadoc/com/google/gwt/examples/cell/CellExample.java:77:
super(click, keydown);
Sorry, I haven't kept up with the Editor stuff, but couldn't this super
take in Class?

http://gwt-code-reviews.appspot.com/955801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors