Trying to run the sample projects from source

2011-07-21 Thread Dan Billings
I have checked out and successfully compiled the GWT source.

Now I want to run some of the samples.

I see in build.xml, for the samples target:

Builds (or runs ${target} if set) the samples

Does anyone know what I need to do to set this ${target} so that I can get a 
sample to run?  (e.g. mail?)

Thanks for the help,

-Dan

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/skUYSeBhSHcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Wave

2011-01-09 Thread Dan Billings
Start with Google's code.

http://www.waveprotocol.org/

On Jan 9, 9:47 am, Deepak Singh deepaksingh...@gmail.com wrote:
 Hi All,
 I also want to have UI like this. Any suggestion how to start this way..







 On Sun, Jan 9, 2011 at 2:32 PM, sudhakar.ferna...@gmail.com wrote:
  Hi guys,

  Could you please help me creating a interface/GUI like wave.

  Regards,

  Sudhakar
  Empower your Business with BlackBerry® and Mobile Solutions from Etisalat

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Expenses example - cache warning

2010-12-02 Thread Dan Billings
Thank you so much for posting this solution!

On Nov 26, 2:30 pm, David Sowerby david.sowe...@virgin.net wrote:
 I compile the expenses example from trunk, but got the following
 warning appearing every second or so:

 26-Nov-2010 20:28:01
 com.google.gwt.sample.expenses.server.domain.Report
 findReportEntriesBySearch
 WARNING: Exception retrieving memcache instance:
 net.sf.jsr107cache.CacheException: Could not find class:
 'ri.cache.BasicCacheFactory'

 I found this post:, which gives the answer

 http://code.google.com/p/googleappengine/issues/detail?id=3099

 I changed the imports in both Report and ReportBack classes from

 import net.sf.jsr107cache.Cache;
 import net.sf.jsr107cache.CacheException;
 import net.sf.jsr107cache.CacheFactory;
 import net.sf.jsr107cache.CacheManager;

 to

 import javax.cache.Cache;
 import javax.cache.CacheException;
 import javax.cache.CacheFactory;
 import javax.cache.CacheManager;

 and the problem is cleared

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: anything like smartgwt but totally compatible with gwt?

2010-11-11 Thread Dan Billings
Yeah I find it fully interoperable.

On Nov 11, 7:17 am, gcstang gcst...@gmail.com wrote:
 Not sure what you mean by interoperable, if you could give examples it
 would help.

 I've been using SmartGWT for a while on an Admin type tool for our
 commerce suite and so far it has been very useful.

 On Nov 10, 11:29 am, Sachin Dole sachin.d...@gmail.com wrote:







  Hey Guys,

  At our workplace, we use smartgwt and like it because of the widgets it
  provides but hate it cuz its not interoperable with gwt. Is there another
  library that is 100% interoperable with gwt? Or, has anyone used smartgwt in
  a manner totally inter-operable with gwt? I know, there are degrees of
  interoperability that one can live with, however, i am looking for the
  extreme case (100% interoperable).

  Thank you folks.
  Sachin

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0, Maven, Google eclipse and TOMCAT, why didn't google build maven support?

2010-08-03 Thread Dan Billings
The maven-gae-plugin mvp archetype generates a very informative
pom.xml that might help you put it all together.

I would encourage anyone who has it working to post their pom here!

On Aug 3, 2:08 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote:
 On 3 August 2010 10:44, abby misra.a...@gmail.com wrote:

  Has anyone gotten these to work? I am surprised at the lack of support
  gwt has for maven. Looking at the mojo users group, it seems that gwt-
  maven developers are equally frustrated

 [I don't know why anyone in 2010 still would want to reinvent the
 wheel and expect everybody else to learn how to use their unusual
 build system when Maven offers a reasonably well working alternative
 that most people are already familiar with. Sadly, most people simply
 do not appreciate the importance of the build step (Do we really need
 a separate build? Why can't we just build in Eclipse?). :-) ]

  Can someone clarify if gwt-maven 1.3.1 fix by google magically makes
  maven play nicely? If so any documentation/howto's would be godsend.

 I use Jetty instead of Tomcat but other than that: yes, it's possible.
 It's not easy, though. Luckily, most of the hard work has been done
 already by the good folk at Spring Framework's Roo. So what I did was:
 install Roo, create a very basic GWT project (Hibernate, Hypersonic in
 memory, one entity + GWT setup) and then remove any reference to Roo
 and most of the Roo generated Java (use common sense and your own
 judgement). That will leave you with an almost functional Maven
 project (you should be able to take over from there).

 This is not a perfect result but it will get you close enough for you
 to fix the things that don't work. There are, however, still a few
 caveats.

 1. You'll have to go out and find all the various repositories that
 offer you the (GWT related) Maven artifacts that you need and put
 those repositories in your settings.xml. This is especially true if
 you want to use any of the GWT-* projects.
 2. Given the poor Maven support, the POMs Maven downloads will usually
 not have any references to transitive dependencies. You'll have to add
 required transitive dependencies to your project's pom.xml explicitly.
 3. Roo uses AspectJ. I left in AspectJ support because I thought it
 might be useful later on but if you want to remove it, you'll have a
 bit more work to do.
 4. Roo uses GWT 2.1.0-M2. I don't know if downgrading breaks anything.

 The end result follows Maven directory rules (no silly 'war' directory
 in the project root directory), it builds a proper WAR (although I
 haven't tried running it), and if you leave mvn gwt:run running any
 changes you make in Java or other files will be picked up
 automagically.

 P.S. Please note that the project built by Roo isn't bug free.
 Strangely, if you create the same project but use Spring MVC (e.g.)
 instead of GWT then it all works perfectly. This doesn't affect the
 Maven setup, though.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



CompileReport Explicit Eclipse instructions

2010-06-16 Thread Dan Billings
Hi-

I seem to be unable to figure out how to generate a GWT report in
Eclipse.

Under Debug Configurations for Web ApplicationIt seems to me that
it should be in the Program arguments section.  However, when I do
that I get this:

Unknown argument: -compileReport
Google Web Toolkit 2.0.0
DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist-
string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
level] [-gen dir] [-codeServerPort port-number | auto] [-server
servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [-
workDir dir] module[s]

where
  -noserverPrevents the embedded web server from running
  -portSpecifies the TCP port for the embedded web server
(defaults to )
  -whitelist   Allows the user to browse URLs that match the
specified regexes (comma or space separated)
  -blacklist   Prevents the user browsing URLs that match the
specified regexes (comma or space separated)
  -logdir  Logs to a file in the given directory, as well as
graphically
  -logLevelThe level of logging detail: ERROR, WARN, INFO,
TRACE, DEBUG, SPAM, or ALL
  -gen Debugging: causes normally-transient generated
types to be saved in the specified directory
  -codeServerPort  Specifies the TCP port for the code server
(defaults to 9997)
  -server  Specify a different embedded web server to run
(must implement ServletContainerLauncher)
  -startupUrl  Automatically launches the specified URL
  -war The directory into which deployable output files
will be written (defaults to 'war')
  -extra   The directory into which extra files, not intended
for deployment, will be written
  -workDir The compiler's working directory for internal use
(must be writeable; defaults to a system temp dir)
and
  module[s]Specifies the name(s) of the module(s) to host

Can somebody take a minutes and spell this out for me?  I would really
appreciate it!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: CompileReport Explicit Eclipse instructions

2010-06-16 Thread Dan Billings
Thanks so much!


On Jun 16, 11:53 am, Chris Conroy con...@google.com wrote:
 On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings debil...@gmail.com wrote:
  Hi-

  I seem to be unable to figure out how to generate a GWT report in
  Eclipse.

  Under Debug Configurations for Web ApplicationIt seems to me that
  it should be in the Program arguments section.  However, when I do
  that I get this:

  Unknown argument: -compileReport
  Google Web Toolkit 2.0.0
  DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist-
  string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
  level] [-gen dir] [-codeServerPort port-number | auto] [-server
  servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [-
  workDir dir] module[s]

  where
   -noserver        Prevents the embedded web server from running
   -port            Specifies the TCP port for the embedded web server
  (defaults to )
   -whitelist       Allows the user to browse URLs that match the
  specified regexes (comma or space separated)
   -blacklist       Prevents the user browsing URLs that match the
  specified regexes (comma or space separated)
   -logdir          Logs to a file in the given directory, as well as
  graphically
   -logLevel        The level of logging detail: ERROR, WARN, INFO,
  TRACE, DEBUG, SPAM, or ALL
   -gen             Debugging: causes normally-transient generated
  types to be saved in the specified directory
   -codeServerPort  Specifies the TCP port for the code server
  (defaults to 9997)
   -server          Specify a different embedded web server to run
  (must implement ServletContainerLauncher)
   -startupUrl      Automatically launches the specified URL
   -war             The directory into which deployable output files
  will be written (defaults to 'war')
   -extra           The directory into which extra files, not intended
  for deployment, will be written
   -workDir         The compiler's working directory for internal use
  (must be writeable; defaults to a system temp dir)
  and
   module[s]        Specifies the name(s) of the module(s) to host

  Can somebody take a minutes and spell this out for me?  I would really
  appreciate it!

 You want to pass this option to the GWT compiler, not to Dev Mode.
 Under eclipse, click the Red Toolbox icon to bring up the compiler
 dialog, and then expand the Advanced section. Add -compileReport to
 the additional compiler arguments.

 --
 Chris Conroy
 Software Engineer
 Google, Atlanta

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT with Mave

2010-06-15 Thread Dan Billings
Does anyone know an easy way to integrate App Engine with gwt-maven-
plugin?  The gae-maven-plugin archetypes are way outdated.

I think it involves the noserver option, as well as some customization
of gwt-maven-plugin (exploded war directory output to server WEB-INF
folder??).  I am going to try again this weekend if I don't get any
responses from this.

It'd be so nice to have separate Client/Server/Shared modules!

On Jun 15, 9:50 am, Andrew Hughes ahhug...@gmail.com wrote:
 Create your maven project like 
 this..http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html

 http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.htmlThen
 run the dev mode with the goal 'gwt:run'

 On Tue, Jun 15, 2010 at 11:57 PM, Subhrajyoti Moitra subhrajyo...@gmail.com



  wrote:
 http://mojo.codehaus.org/gwt-maven-plugin/

  I am using this successfully.

  HTH.
  Subhro.

  On Mon, Jun 14, 2010 at 11:42 PM, Leo leonardocr...@gmail.com wrote:

  Hello,

  I'm Leonardo from Argentina. I want to know if there is a documented
  process to create a GWT project with Maven and then import it to
  Eclipse.

  Thanks!

  Leo.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
   cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

   --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Feature Request : Authentication/Authorization built into GWT

2010-03-05 Thread Dan Billings
I think most of this would be useful in App Engine, plus a little bit
of client-side sugar perhaps.

Consider cross-posting this in the GAE forum.

On Mar 5, 9:21 am, Marley nathaniel.au...@gmail.com wrote:
 Authentication and Authorization is something a very large percentage
 of Web Applications need.  I am Googling GWT Spring Security and
 various word combinations of GWT and Security and finding all sorts
 of different threads and a spaghetti of XML descriptors and Classes
 you need to implement, etc...  Most of the information is out of
 date.  Wow.  This is precisely the thing i expect a framework like GWT
 to hide for me.

 It sure would be nice to have a default implementation as part of the
 GWT, baked in if you will. Maybe just include a module, a extra jar or
 two, etc... and write a little code or a few lines of configuration
 and have a login page (you specify a html/jsp/etc... or you build
 dynamically with GWT) which calls your specified code with the login
 page values.  If someone needs to use a different implementation or
 not use it they simply do not include it.

 This built in Authentication/Authorization covers the rpc calls errors
 when a session times out, login page, remember me, etc  All the
 things people expect a web application to support. Security is
 fundamental to Web Applications and should not be so painful to
 implement when using a Web Application framework.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Datanucleus entity serialization and GWT 2.0

2010-01-20 Thread Dan Billings
Does GWT 2.0 do anything to ease the pain of serializing datastore
entities (e.g. Key) to be sent through GWT-RPC?

I know Gilead  is an option, but it needs an official update for 2.0.
I emailed Bruno and he said he thinks GWT 2.0 addresses this, but I
have not found evidence of that.

Also an option is Ray Cromwell's hack (http://timepedia.blogspot.com/
2009/04/google-appengine-and-gwt-now-marriage.html).

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Using Gilead with GWT 2.0 ms1

2010-01-19 Thread Dan Billings
FYI

A guy on sourceforge apparently made some more changes because it
wasn't working for him.

http://sourceforge.net/projects/gilead/forums/forum/957377/topic/3493335

On Dec 28 2009, 9:57 am, Trevor Skaife tska...@gmail.com wrote:
 RB,

 That's odd you had an error at that line, though it probably is a
 difference in the versions ofGileadwe are using. The classes were
 created usingGilead1.2.3.823. But it's true if you are using GWT
 2.0.0 that line of code would never see the light of day.

 Trevor

 On Dec 25, 7:39 pm, Richard Berger richardlan...@gmail.com wrote:



  Trevor:

  Thank you for the post - it was a life saver.  When I copied the java
  files to my system, I had a compiler error at line 161 of
  RPCCopy.java:
  return RPCCopy_GWT16.invoke(target, serviceMethod, args,
  serializationPolicy);
  The error was:
  The method invoke(Object, Method, Object[], SerializationPolicy) is
  undefined for the type RPCCopy_GWT16.

  Since I am on GWT2, I figured I could replace that line with
  return null;

  Seemed to work for me.

  Thanks again for your work here!
  RB

  On Dec 23, 6:02 am, Trevor Skaife tska...@gmail.com wrote:

   I'm just glad to see people are able to use my fix for usinggilead
   with GWT 2.0.0

   On Dec 22, 11:08 am, lucamen epped...@gmail.com wrote:

Thanks Josh!! That really help me a lot and now everything is working
properly!

BTW Bruno (theGileadmain developer) wrote 
herehttp://sourceforge.net/projects/gilead/forums/forum/868076/topic/3484314
that a new release is coming very soon... so just wait and hope in a
stable version that works with gwt2.0

Thanks again and merry christmas! :-P

On 18 Dic, 22:53, Josh Martin alodar...@gmail.com wrote:

 What worked for me was to add the files Trevor specified to 'my'
 project, and not into the originalgileadsource directories.  You
 just have to make sure to match the original package directory he
 specified of: src/com/google/gwt/user/server/rpc in your project
 directory.  Any project that you create now that uses the adapter4gwt
 library should include those two files as source files as well.  Your
 application should compile with those source files in it, as long as
 you have the adapter4gwt library files included (which you would have
 to have to usegileadanyway).

 I, too, thought he meant to put them in the originalgilead
 directories and recreate the entire adapter4gwt library, but after re-
 reading what he suggested, I realized his real suggestion was far
 easier. (Thanks Trevor!)

 Hope this helps,
 Josh

 On Dec 18, 4:04 am, lucamen epped...@gmail.com wrote:

  Hello, I'm working on a GWT 2.0 project with hibernate integration 
  viaGilead. When I try to load data from database (on GWT 1.7 
  everything
  was working properly) I get this error Parameter 0 of is of an
  unknown type 'java.lang.String/2004016611' and googling I've found
  this thread.
  I downloaded these two files and put in 
  src/com/google/gwt/user/server/
  rpc under mygileadroot directory but nothing changes!

  To be sure I've updated all my buildpath with the jars I need but 
  the
  error still remain.

  Do I have to ant build the adapter4gwt with these two new files and
  then add the new jars I get?

  I've already tried but ant failed with this error:

  build:
       [echo] adapter4gwt: 
  /Users/lucame/Documents/workspace/Libs/gilead-1.2.3.823/adapter4gwt/build.x
   ml
      [javac] Compiling 6 source files to /Users/lucame/Documents/
  workspace/Libs/gilead-1.2.3.823/adapter4gwt/classes
      [javac] /Users/lucame/Documents/workspace/Libs/gilead-1.2.3.823/
  adapter4gwt/src/com/google/gwt/user/server/rpc/RPCCopy_GWT20.java:287:
  cannot find symbol
      [javac] symbol  : constructor RPCRequest
  (java.lang.reflect.Method,java.lang.Object
  [],com.google.gwt.user.server.rpc.SerializationPolicy,int)
      [javac] location: class 
  com.google.gwt.user.server.rpc.RPCRequest
      [javac] return new RPCRequest(method, parameterValues,
  serializationPolicy, 0);
      [javac]        ^
      [javac] 1 error

  What should I do to get GWT 2.0 work withGilead?

  ANY help would be VERY appreciate!!

  Thanks, Luca.

  On 10 Dic, 16:35, Trevor Skaife tska...@gmail.com wrote:

   I definitely should have worded that better. You did exactly what 
   I
   wanted you to do, if you would put them in any other package it
   wouldn't work.

   On Dec 9, 5:27 pm, graffle...@gmail.com graffle...@gmail.com
   wrote:

Thanks!!  Great work...

but what do you mean by Once you get these files in your 
project just
make sure to change the package accordingly.

all I did was put these files in 
src/com/google/gwt/user/server/rpc

should I