Re: UI Binder bugs - maybe config issue on my side(?)

2009-12-22 Thread Jason Parekh
Peter,

Also, would you mind downloading a fresh copy of Eclipse (with a new
workspace) for testing purposes?  I imported your project, and the
@UiFields are not marked as errors for me.  If a fresh Eclipse works,
it'll help in debugging whether it's a system configuration issue or
an Eclipse configuration issue.

Thanks,
jason

On Tue, Dec 22, 2009 at 11:08 AM, Thomas Broyer  wrote:
>
>
> On Dec 22, 10:42 am, Peter  wrote:
>> Sure, thanks for helping hand. Zipped project is here:
>>
>> ns.blucina.net/lovisek/tmp/XploreU-inbox.zip
>>
>> I also deployed the project 
>> here:http://ns.blucina.net/lovisek/tmp/xu/XploreU_inbox.html
>>
>> As you can see, onClick handler is never fired despite it should be
>> triggered after clicking on button and bold C label.
>
> You're not attaching your *widget* to the document, only its
> *element*, so events are not sunk:
>                Document.get().getBody().appendChild(b.getElement());
>
> Use a RootPanel or RootLayoutPanel to add widgets to the page. That's
> "GWT 101".
>
> --
>
> 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.
>
>
>

--

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: Hosted mode stops working for a specific package

2009-12-29 Thread Jason Parekh
Hi John,

Have you tried clearing your browser's cache (the one that gets used
as the hosted mode browser)?

jason

On Sun, Dec 27, 2009 at 6:18 PM, John Armstrong  wrote:
> Odd problem. I've been working on an app for a few weeks and recently
> had some disk space issues that caused random eclipse crashing etc.
>
> Now that those are fix my project no longer will launch in Hosted
> mode, but only if I am specifically using the package com.pgi.gwt with
> an entrypoint of PrintGate.html (my application package and entry
> point that worked before I started having trouble).
>
> Any -new- or existing GWT app I create with those parameters gives me
> this warning:
> [WARN] Confirmation was required to visit untrusted URL:
> 'http://gwt.google.com/missing-plugin
>
> Any new or existing app -without- these parameters loads up fine.
>
> Any tips? What painfully obvious thing am I missing here and why does
> it only exhibit this behavior for this specific package/entry point
> combination? Is there a cache somewhere its picking up?
>
> J
>
> --
>
> 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.
>
>
>

--

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 Plugin and External JARs

2010-01-04 Thread Jason Parekh
The Google Plugin for Eclipse will deploy the JARs in the
war/WEB-INF/lib folder to the server.  Could you try moving or copying
your JARs into that directory?

jason

On Thu, Dec 31, 2009 at 10:39 AM, Matt  wrote:
> When it will be deployed to out Tomcat server, some of the JARs
> conatining code that will be used in the GWT app will be located
> outside the webapp, and loaded into Tomcat using its shared loader.
>
> How do I get this to work in the GWT Eclipse plug-in? Simply adding
> them to the project's Build Path appears to be insufficient; as at
> runtime I get (when attempting to instantiate a Spring Context)
>
> 31-Dec-2009 15:33:21 com.google.apphosting.utils.jetty.JettyLogger
> warn
> WARNING: Could not instantiate listener
> org.springframework.web.context.ContextLoaderListener
> java.lang.ClassNotFoundException:
> org.springframework.web.context.ContextLoaderListener
>
> I already have a simlar quesion regarding the compilation of JS of
> externally located code:
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/35fadd553cecd9c6/95bf8a2e21ca32f3?#95bf8a2e21ca32f3
>
> Thanks in adavnce.
>
> --
>
> 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.
>
>
>

--

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: How to cache DTD in Eclipse for GWT 2.0

2010-01-08 Thread Jason Parekh
So once you download the two URLs you've already listed, click on
'Add' and then 'File system' and point it to one of the files (do the
same for the other.)  I just verified this indeed works.

jason

On Fri, Jan 8, 2010 at 10:46 AM, olivier nouguier
 wrote:
> In eclipses:
> Preferences >> XML >> Catalog
> In User part you can add your custom catalog.
>
> On Fri, Jan 8, 2010 at 4:10 PM, Sagar  wrote:
>>
>> Hi
>>
>> I just installed fresh copy of eclipse and gwt plugin on it. but now
>> the problem is each time i am doing something in ui.xml file, eclipse
>> is trying to fetch the dtd.
>>
>> i am behind proxy which is 1000 miles away
>>
>> is there any way to cache the http://dl.google.com/gwt/DTD/xhtml.ent
>> in eclipse, so it dosent try to fetch it every time.
>>
>> i read somewhere that i can use XML Catalog feature, but dont know how
>> it works, also in that XML Catalog window i see red mark next to
>> following two entries.
>>
>> Location:
>> http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
>> URI:    http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd
>> Key Type:       Namespace Name
>> Key:            urn:import:com.google.gwt.user.client.ui
>>
>>
>> Location:       http://dl.google.com/gwt/dtd/uibinder.xsd
>> URI:    http://dl.google.com/gwt/dtd/uibinder.xsd
>> Key Type:       Namespace Name
>> Key:            urn:ui:com.google.gwt.uibinder
>>
>>
>> --
>> 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.
>>
>>
>>
>
>
>
> --
> A coward is incapable of exhibiting love; it is the prerogative of the
> brave.
> --
> Mohandas Gandhi
>
> --
> 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.
>
>
-- 
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: How to cache DTD in Eclipse for GWT 2.0

2010-01-08 Thread Jason Parekh
Yikes, didn't realize Eclipse hangs as it tries to retrieve the file.
Is Eclipse set up for your proxy?

Also, could you try clearing all files in
WORKSPACE/.metadata/.plugins/org.eclipse.wst.internet.cache ?


On Fri, Jan 8, 2010 at 11:39 AM, Sagar  wrote:
> still no luck... eclipse just hangs whenever i start editing
> the .ui.xml files.
>
>
> --
> 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.
>
>
>
>
-- 
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: Problem running application GWT 2.0 with GWT Eclipse plugin

2010-01-11 Thread Jason Parekh
Let's try some simple things first.  Could you try deleting your old
launch configuration(s) and then Run As  > Web App again?

Could you describe your modules a bit more (which ones are involved,
which have the RPC services, etc.)?

jason

On Mon, Jan 11, 2010 at 8:02 AM, mlopez  wrote:
> After migrate my application from GWT 1.7 to 2.0, when I try to run my
> web application from Eclipse IDE (with GWT plugin installed), using
> the built-in Jetty embedded web server, through a GWT plugin for
> Eclipse run configuration, and with Firefox plugin installed in the
> web browser, when the application makes a call to any RPC method of
> this module or an inherited module I get the next error:
>
>  Cannot find resource 'com/xxx/architecture/commons/gwt/web/client/yyy/
> yyyRPCService' in the public path of module 'xxxcommonsgwt'
>
> I don't know the reason for this error, can anyone help me?
> Thanks.
>
> --
> 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.
>
>
>
>
-- 
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: Upgrading stockwatcher to 2.0?

2010-01-11 Thread Jason Parekh
Hi Bakki,

Have you tried a clean build of the StockWatcher project in Eclipse?

Also, you don't need the -d32 flag anymore since dev mode no longer depends
on SWT.

jason

On Sun, Jan 10, 2010 at 4:49 PM, bakki  wrote:

> Hi all,
>
> I am a GWT newbie and was in the middle of the stockwatcher tutorial
> when GWT went 2.0. I upgraded the Eclipse (3.5 on Mac OS X 10.6.2)
> plugin and the sdks. When I create a new project from scratch it works
> as expected in devmode against Safari and Firefox. However I am having
> trouble with the stock watcher app. Here's what I have done.
>
> 1. Added vm args as follows:
> -d32 -javaagent:/Applications/eclipse/plugins/
> com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.0.v200912141120/
> appengine-java-sdk-1.3.0/lib/agent/appengine-agent.jar
> 2. Edited StackWatcher.gwt.xml to remove the following line so it
> matched the newer generated xml files with 1.7.1 references removed.
>  EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.1/distro-
> source/core/src/gwt-module.dtd">
>
> But when I run the app I keep getting messages from the browser plugin
> ->
> GWT module 'stock_watcher' needs to be (re)compiled, please run a
> compile or use the Compile/Browse button in hosted mode
>
> Any help in understanding what's going on here will be greatly
> appreciated, thank you,
>
> bakki
>
> --
> 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.
>
>
>
>
-- 

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 plugin and eclipse plugin

2010-01-11 Thread Jason Parekh
Hi,

The presented URLs are discovered a couple of ways:
1) Your war folder contains JSP and HTML files as direct children
2) You add the -startupUrl  argument when launching DevMode, where
 can be an absolute URL (in which case the gwt.codesvr parameter will
not be generate), or a URL path relative to the root of the war folder.

jason

On Mon, Jan 11, 2010 at 8:53 AM, anis.chaaba  wrote:

> Hello,
> I've generated a gwt project using the codehaus plugin and added gwt
> nature and web app nature to the eclipse project, but when i lunch the
> developpement mode from eclipse it does'nt display the test url, how
> can i solve that ?
> PS: when i run mvn gwt:run it works but what i want to do is to run my
> projects from eclipse.
> thanks in advance for help
>
> --
> 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.
>
>
>
>
-- 

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 Plugin for Eclipse does not register gwt-module.dtd

2010-01-14 Thread Jason Parekh
Hey Eric,

That's a good suggestion, I've opened an issue at
http://code.google.com/p/google-web-toolkit/issues/detail?id=4494 .

Thanks,
jason

On Thu, Jan 14, 2010 at 1:05 PM, Eric  wrote:

> I just noticed that the GWT Plugin for Eclipse does not register gwt-
> module.dtd with Eclipse's XML Catalog. Therefore, no one gets support
> for editing *.gwt.xml files, and there are reasons to do that by hand.
> Suppose one wants to use ?
>
> Respectfully,
> Eric Jablow
>
> --
> 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.
>
>
>
>
-- 

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 Plugin for Eclipse does not register gwt-module.dtd

2010-01-14 Thread Jason Parekh
It lives at gwt-2.0.0/gwt-module.dtd.

jason

On Thu, Jan 14, 2010 at 1:35 PM, Cheshiremoe  wrote:

> Where is that file located in the GWT SDK?
>
> On Jan 14, 1:05 pm, Eric  wrote:
> > I just noticed that the GWT Plugin for Eclipse does not register gwt-
> > module.dtd with Eclipse's XML Catalog. Therefore, no one gets support
> > for editing *.gwt.xml files, and there are reasons to do that by hand.
> > Suppose one wants to use ?
> >
> > Respectfully,
> > Eric Jablow
>
> --
> 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.
>
>
>
>
-- 

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: UiBinder and attributes

2010-02-02 Thread Jason Parekh
Hi Christian,

If you don't mind, could you open a feature request on the GWT issue tracker
at http://code.google.com/p/google-web-toolkit/issues/list ?  An issue's
star rating allows us to gauge the popularity of a feature among our users
which leads to better priority ranking .

Thanks,
jason

On Sun, Jan 31, 2010 at 1:52 PM, Christian Goudreau <
goudreau.christ...@gmail.com> wrote:

> I was wondering when we'll be able with the eclipse plugin to have
> auto-completion on our widget when it comes to add attributes like
> horizontalAlignment, size, etc.
>
> It would be a real time saver and pain saving complement.
>
> Btw, great works, I really love to use UiBinder !
>
> Christian
>
> --
> 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.
>

-- 
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: Co-existing 1.7.1 projects and 2.0 projects

2010-02-02 Thread Jason Parekh
Hi Pieter,

The actual Eclipse plugin supports all versions of GWT (so no downgrading
required there).

What you'll need to do is:

- Make sure GWT 1.7.1 SDK is installed.  In Eclipse, go to Window >
Preferences > Google > Web Toolkit.  If you see 1.7.1 and 2.0.0 there,
great!  If not, you can download GWT 1.7.1 SDK from
http://code.google.com/webtoolkit/versions.html , extract it somewhere, and
click the "Add" button in the dialog.

- Make sure the GWT 1.7.1-based project is using the GWT 1.7.1 SDK.  Right
click on the project, go to Properties > Google > Web Toolkit, and you can
"Use specific SDK".

After these changes are made, you can launch your app again, and it should
work as it did before.  (If it does not, try clearing your browser cache
and/or a clean build of the project.)

Hope this helps,
jason

On Mon, Feb 1, 2010 at 10:56 AM, Pieter Breed wrote:

> Hi,
>
> Our team have several version of our software going at the same time.
> The current version runs on GWT 1.7.1; our next version will maybe
> ship with GWT 2.0 so we are trying to do the upgrade. We have
> installed the new google eclipse plugin, but now we can't get our
> 1.7.1 apps to work anymore in hosted mode. It keeps on trying to load
> the browser plugin system of GWT2, which obviously wont work.
>
> I can't find the old plugin which I will happily use, can somebody
> here maybe point me to a mirror of it? Is there something else that I
> am missing? I've tried to remove the hosted.html file; it has no
> effect.
>
> Regards,
> P
>
> --
> 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.
>
>

-- 
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: How to specify the url in Eclipse run config when using -noserver option

2010-02-02 Thread Jason Parekh
Hi Asem,

I believe the instructions are referring to the -startupUrl parameter. You
can open the launch configuration and add this to the "Program arguments"
section.

jason

On Tue, Feb 2, 2010 at 4:45 AM, Asem  wrote:

> In the explanations of using own server in hosted mode, which can be
> found here:
>
> http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s
> , there is one step which says: Change the URL at the end of the
> argument list to match the URL you recorded in step #1.
>
> Although not of high importance, I appreciate if someone clarifies how
> to set the URL from the hosted mode Eclipse run configuration to point
> to the actual "webapp/webpage.html" url.
>
> --
> 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.
>
>

-- 
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: old eclipse plugin

2010-02-02 Thread Jason Parekh
(I replied to Pieter's other thread with instructions.)

On Tue, Feb 2, 2010 at 4:03 AM, Pieter Breed  wrote:

> Hi,
>
> Does somebody know where I can find the old eclipse google plugin that
> was used with GWT1.7 and earlier?
>
> P
>
> --
> 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.
>
>

-- 
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: Co-existing 1.7.1 projects and 2.0 projects

2010-02-03 Thread Jason Parekh
Hey Pieter,

Could you explain which extra hurdles you had to go through?  Seems like you
ran into issues that we need to fix! :)

jason

On Wed, Feb 3, 2010 at 1:46 AM, Pieter Breed  wrote:

> Hi Jason,
>
> Thanks for the reply. I did eventually get a working configuration for
> my 1.7.1 apps with the new plugin, but it was not quite as
> straightforward is you suggest. That it is possible to run the old
> apps is cool though, even if it means invoking an incantation with a
> reboot somewhere in it.
>
> Thanks!
> P
>
> On Feb 2, 5:46 pm, Jason Parekh  wrote:
> > Hi Pieter,
> >
> > The actual Eclipse plugin supports all versions of GWT (so no downgrading
> > required there).
> >
> > What you'll need to do is:
> >
> > - Make sure GWT 1.7.1 SDK is installed.  In Eclipse, go to Window >
> > Preferences > Google > Web Toolkit.  If you see 1.7.1 and 2.0.0 there,
> > great!  If not, you can download GWT 1.7.1 SDK fromhttp://
> code.google.com/webtoolkit/versions.html, extract it somewhere, and
> > click the "Add" button in the dialog.
> >
> > - Make sure the GWT 1.7.1-based project is using the GWT 1.7.1 SDK.
>  Right
> > click on the project, go to Properties > Google > Web Toolkit, and you
> can
> > "Use specific SDK".
> >
> > After these changes are made, you can launch your app again, and it
> should
> > work as it did before.  (If it does not, try clearing your browser cache
> > and/or a clean build of the project.)
> >
> > Hope this helps,
> > jason
> >
> > On Mon, Feb 1, 2010 at 10:56 AM, Pieter Breed  >wrote:
> >
> >
> >
> > > Hi,
> >
> > > Our team have several version of our software going at the same time.
> > > The current version runs on GWT 1.7.1; our next version will maybe
> > > ship with GWT 2.0 so we are trying to do the upgrade. We have
> > > installed the new google eclipse plugin, but now we can't get our
> > > 1.7.1 apps to work anymore in hosted mode. It keeps on trying to load
> > > the browser plugin system of GWT2, which obviously wont work.
> >
> > > I can't find the old plugin which I will happily use, can somebody
> > > here maybe point me to a mirror of it? Is there something else that I
> > > am missing? I've tried to remove the hosted.html file; it has no
> > > effect.
> >
> > > Regards,
> > > P
> >
> > > --
> > > 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 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.
>
>

-- 
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: can not set breakpoint

2010-02-08 Thread Jason Parekh
Hi Canal,

What version of Java are you running?
Could you try on a simple project (perhaps the default app created by the
wizard)?
I'm assuming the breakpoints do not show the checkmark on top of them (when
the debugger is connected)?

jason

On Sun, Feb 7, 2010 at 8:05 PM, canal  wrote:

> hi,
> searched the group but still can not make it work - can not set
> breakpoint in the client code
>
> i am using Eclipse 3.5, GWT 2.0.1, with plugin. Chrome;
>
> I can not set any breakpoint in the client code - not in the callback,
> not in the OnModuleLoad.
>
> Server code is ok.
>
> thanks
> canal
>
> --
> 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.
>
>

-- 
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: can not set breakpoint

2010-02-09 Thread Jason Parekh
Hi Canal,

Which URL is your browser pointing at?

jason

On Mon, Feb 8, 2010 at 8:51 PM, go canal  wrote:

> I have upgraded JDK to 1.6u18. tried the default project greetService,
> still the same.
>
> rgds,
> canal
>
>
> ------
> *From:* Jason Parekh 
> *To:* google-web-toolkit@googlegroups.com
> *Sent:* Mon, February 8, 2010 11:34:43 PM
> *Subject:* Re: can not set breakpoint
>
> Hi Canal,
>
> What version of Java are you running?
> Could you try on a simple project (perhaps the default app created by the
> wizard)?
> I'm assuming the breakpoints do not show the checkmark on top of them (when
> the debugger is connected)?
>
> jason
>
> On Sun, Feb 7, 2010 at 8:05 PM, canal  wrote:
>
>> hi,
>> searched the group but still can not make it work - can not set
>> breakpoint in the client code
>>
>> i am using Eclipse 3.5, GWT 2.0.1, with plugin. Chrome;
>>
>> I can not set any breakpoint in the client code - not in the callback,
>> not in the OnModuleLoad.
>>
>> Server code is ok.
>>
>> thanks
>> canal
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>
>  --
> 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.
>

-- 
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.xml and JUnit with Google Plugin for Eclipse (GWT 2.0.0 in Eclipse 3.5.1.M20090917-0800 on Mac OS X 10.5.8)

2010-02-16 Thread Jason Parekh
Looks like the value returned from getModuleName isn't valid.  It should
return a fully-qualified module name, for example "com.example.MyModule".

Could you paste your .gwt.xml and the getModuleName implementation from your
GWTTestCase subclass?  Also, which package does the .gwt.xml file live in?

jason


On Sat, Feb 13, 2010 at 6:28 PM, sampablokuper  wrote:

> I'll preface the following by saying that I'm inexperienced with GWT
> and only mildly familiar with Eclipse and with Java programming in
> general, so in your replies, please assume very little knowledge on my
> part. Thank you.
>
> I have a GWT project here, forked from the StockWatcher application in
> the GWT Getting Started tutorial:
> http://code.google.com/p/interpreader-core/source/browse/?r=11#svn/trunk
>
> When, in Eclipse, I right-click InterpreaderTest.java and select Run
> As > GWT JUnit Test, my test fails on testSimple with the following
> traces shown in Eclipse's JUnit perspective:
>
> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> entries)
>at
> com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
> 239)
>at
> com.google.gwt.dev.cfg.ModuleDefLoader$2.load(ModuleDefLoader.java:
> 187)
>at
> com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
> 283)
>at
>
> com.google.gwt.dev.cfg.ModuleDefLoader.createSyntheticModule(ModuleDefLoader.java:
> 95)
>at
>
> com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl2(CompileStrategy.java:
> 169)
>at
>
> com.google.gwt.junit.CompileStrategy.maybeCompileModuleImpl(CompileStrategy.java:
> 116)
>at
>
> com.google.gwt.junit.SimpleCompileStrategy.maybeCompileModule(CompileStrategy.java:
> 328)
>at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1135)
>at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1104)
>at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:523)
>at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
> 406)
>at junit.framework.TestCase.runBare(TestCase.java:134)
>at junit.framework.TestResult$1.protect(TestResult.java:110)
>at junit.framework.TestResult.runProtected(TestResult.java:128)
>at junit.framework.TestResult.run(TestResult.java:113)
>at junit.framework.TestCase.run(TestCase.java:124)
>at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282)
>at junit.framework.TestSuite.runTest(TestSuite.java:232)
>at junit.framework.TestSuite.run(TestSuite.java:227)
>at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
> 79)
>at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
> 46)
>at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
> 38)
>at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
> 467)
>at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
> 683)
>at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
> 390)
>at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
> 197)
>
> and the following messages in Eclipse's Console perspective:
>
> Starting HTTP on port 0
>   HTTP listening on port 55245
> Loading inherited module 'interpreader.client'
>   [ERROR] Unable to find 'interpreader/client.gwt.xml' on your
> classpath; could be a typo, or maybe you forgot to include a classpath
> entry for source?
>
>
> However, I don't think there should be an 'interpreader/
> client.gwt.xml' file, since if I'm not mistaken, at no point in the
> tutorial was a 'stockwatcher/client.gwt.xml' file created.
>
> So my question is: have I done something wrong to make this test fail
> (and if so, what, and how should I correct my mistake?), and if not,
> should I file a bug?
>
> Many thanks in advance for your help.
>
> --
> 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.
>
>

-- 
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: How to add unit test to GWT/AppEngine project created by Eclipse

2010-02-22 Thread Jason Parekh
First ensure the "test" directory is a source folder:  right-click the
directory, go to "Build Path", and select "Use as source folder".  Next,
populate this with unit tests like usual.  You'll be able to right-click and
select "Run As > GWT JUnit test" after that.

If you want to run these from the command-line, your best bet is probably
create a new dummy project with webAppCreator and copy the relevant parts of
the build.xml test target into a build.xml for your project.

jason

On Sat, Feb 20, 2010 at 2:45 PM, Jaap  wrote:

> Hi,
>
> How do I add easily unit tests to a GWT/AppEngine project that I
> already created a while ago. If I start from scratch I know I can use
> webAppCreator like described here [1] but I already have my project. I
> also noticed that when I create a New Web Application Project in
> Eclipse that a test directory is created but what do I do to make
> tests run that are in there.
>
> Thanks
>
> Jaap
>
>
> [1] http://code.google.com/webtoolkit/doc/latest/tutorial/JUnit.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.
>
>

-- 
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: Spring-Eclipse-Hosted Mode

2010-02-22 Thread Jason Parekh
Hi,

There are a few workarounds for your problems..  Longer term, we're hoping
to improve the current issues with dependent projects.

Issue #1:  You'll likely have to separate your backend project into a
backend project and a shared project.  See
http://code.google.com/p/gwt-client-server-dev-env/ for an example layout
(note these guys use an ant script to build.  See below on linked source
folders to still be able to build within Eclipse).
Issue #2:  You'll need to include the source into the JAR.  I'm not sure how
to do this in Eclipse, hopefully there's an option.  Alternatively, in the
GWT project, you can have a linked source folder that points to your shared
project.

Hope this helps,
jason


On Mon, Feb 22, 2010 at 6:47 AM, tk  wrote:

> Hi,
>
> I am running into a variety of issues trying to develop a gwt gui
> prototype using an existing spring project as the backend. The spring
> project is compiled to a jar file. I would like to have the following
> structure if possible:
>
> 1. myproject_backend_services --> compiled to a jar
> 2. myproject_gwt_gui --> a web project that can be launched in hosted
> mode that uses and the consumes some objects returned from the first
> project
>
> Issue 1:
> Log4j error about FileOutPutStream is not allowed. I have turned this
> off for now as it can wait.
>
> Issue 2:
> Cannot find source for my object that is returned by a remote service.
> How do I link the gwt gui project and the backend servics project
> (java jar) at runtime in hosted mode ? This is driving me around the
> bent at the moment. Is there not a project I can use as a template to
> see how this needs to hang together ?
>
> I am using eclipse 3.4, java 1.6 and the latest google plugin for
> eclipse. Any help much obliged.
>
> --
> 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.
>
>

-- 
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 and Visual Paradigm Plugin clashes on Eclipse JEE

2010-02-22 Thread Jason Parekh
Hi Renogen,

Could you paste your logs?  It should be in WORKSPACE/.metadata/.log.  Also,
any other information you can dig up about the clash would be useful.

Thanks,
jason

On Sun, Feb 21, 2010 at 11:08 AM, Renogen  wrote:

> Hi,
>
> I've been using Eclipse JEE with VP Plugin for awhile now. Today, I
> decided to install GWT plugin onto my eclipse, however, it failed to
> load now. I tried reinstalling my Eclipse and install GWT 1st, which
> work. Then I installed VP plug in, the same problem occurred.
>
> Anyone have solutions for this?
>
> --
> 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.
>
>

-- 
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: war folder in eclipse

2010-03-01 Thread Jason Parekh
Hi Michael,

GPE 1.3, planned for release this month, will allow you to loosen up the WAR
necessity on your projects.  There will be a preview release this week
sometime, definitely check it out :)

jason

On Sun, Feb 28, 2010 at 7:22 AM, mmoossen  wrote:

> Dear all!
>
> my GWT application can only run in the context of a CMS so it does not
> make any since for my project to have the war folder. but the eclipse
> plugin tries to enforce it.
>
> any chance to get rid of it?
>
> thanks
> Michael
>
> --
> 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.
>
>

-- 
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: eclipse plugin - user define composites

2010-03-12 Thread Jason Parekh
Hi Brian,

That definitely sounds like a bug.  What is the package name, class name,
and inheritance hierarchy for these custom composites that don't show up?
 Would you be able to send your project or a smaller project showing the
bug?

Also, it'll be better tracking this bug in the issue tracker.  Could you
open an issue with the above information at
http://code.google.com/p/google-web-toolkit/issues/list ?

Thanks!
jason

On Thu, Mar 11, 2010 at 4:00 PM, bkbonner  wrote:

> Sometimes when I create a custom composite, the editor for the
> UIBinder view doesn't recognize the tag when I enter
> 
> On some of the composites in the project, it correctly creates the
> import and completes the tag.  I can't figure out what is different
> about some of the composites.  Is there something special going on?
>
> Brian
>
> --
> 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.
>
>

-- 
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: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
Hi Simon,

Could you go to "Run > Run Configurations...", click on your launch
configuration on the left, and then click on the "Arguments" tab.  What do
you see as the "Program arguments:"?  Particularly, what is the value for
the "-war" argument?

If it not your "target/-", try changing it and
re-launching.  If it is, we'll have to look a bit deeper.

jason

On Wed, Mar 17, 2010 at 10:29 AM, Simon  wrote:

> Hi !
>
> I tried this new release and unfortunately I can't make it work,
> although the Preview release worked fine for me.
>
> I'm using Maven to manage my projects and I prefer not to use WTP as I
> had bad XP with it. So I configured a project this way :
>
> - created a pom.xml
> - created the directories src/main/java, src/main/webapp
> - created a web.xml file in src/main/webap/WEB-INF directory
> - imported all that into Eclipse using "Import > Existing Maven
> Projects"
> - created a file application.html into src/main/webapp directory
> - created a GWT module .Application.gwt.xml
> - created an Entry point .client.ApplicationEntryPoint
> - added the GWT Nature to the project
> - checked the box 'This project has a WAR directory'
> - filled in the WAR directory input with src/main/webapp
> - unchecked the box 'Launch and deploy from this directory'
>
> Then I tried to launch the application with 'Run As > Web
> Application'. I chose the WAR directory target/-. No
> errors/warning appeared in the console and the 'Development Mode'
> contained the correct URL :
>
> http://127.0.0.1:/application.html?gwt.codesvr=127.0.0.1:9997
>
> So far everything seems fine. I started my Firefox and entered the
> above URL and unfortunately the browser displayed a *404 NOT FOUND*
> page !!!
>
> I restarted the application with a debug level set to TRACE and I saw
> this in the CONSOLE :
>
> -
>
> Linking module 'application'
>Invoking Linker RPC policy file manifest
>Invoking Linker Standard
>Invoking Linker Export CompilationResult symbol maps
>Invoking Linker Emit compile report artifacts
>Linking compilation into \war\application
>
> -
>
> Why does it want to link in the /war directory instead of the target/
> - ???
>
> Did I miss something ?
>
> My plugin versions :
> Eclispe 3.5
> M2Eclipse 0.10.0.20100209-0800
> Google Plugin for Eclipse 1.3.0.v201003161223
> Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036
>
> Thanks for any help ! :)
>
>
>
>
>
>
>
> On 17 mar, 02:34, Keith Platfoot  wrote:
> > Hi everyone,
> >
> > I'm happy to announce the release of version 1.3 of the Google Plugin for
> > Eclipse (http://code.google.com/eclipse).
> >
> > This release is designed to make life easier for developers using GWT
> and/or
> > App Engine alongside third-party tools.  For example, we've taken the
> pain
> > out of using the plugin with projects built with the ever-popular Maven
> > build system: no more ugly hacks or workarounds, or polluted WEB-INF/lib
> > directories!  We've even added a new FAQ dedicated to Maven usage:
> http://code.google.com/eclipse/docs/faq.html#gwt_with_maven.
> >
> > We've also worked hard to make sure the plugin works well with Dynamic
> Web
> > projects in Eclipse for Java EE.  See the following FAQ for details on
> this
> > scenario:
> http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee.
> >
> > In addition to improving third-party interoperability, we've also made
> the
> > plugin more customizable and robust overall.  Launch configurations now
> > allow direct editing of generated command line arguments, and a new
> > Errors/Warnings preference page lets you tweak the severity of any
> problem
> > marker we create.  We've also fixed a number of bugs related to App
> Engine
> > ORM enhancement.
> >
> > To install the Google Plugin for Eclipse, you can find our update site
> URLs,
> > along with detailed instructions, here:
> http://code.google.com/eclipse/docs/download.html
> >
> > If you're upgrading from a previous version of the plugin, you may want
> to
> > consult our Upgrading the Plugin guide:
> http://code.google.com/eclipse/docs/updating_the_plugin.html
> >
> > *Note: If you installed the Google Plugin for Eclipse 1.3 Preview, be
> sure
> > to remove the relevant subfolders from your /dropins folder
> before
> > installing the official 1.3 release via the update site.*
> >
> > *Enhancements*
> >
> >- Configurable WAR directory to allow better integration with Eclipse
> for
> >Java EE and projects built with Maven
> >- Web Application launch configurations now display and allow editing
> of
> >generated Program and VM arguments
> >- Errors/Warnings preference page for customizing the severity of any
> >generated problem marker
> >- Projects can reference GWT/App Engine SDKs directly via JARs instead
> of
> >through SDK library
> >- GWT+App Engine projects automatically configured for optimal caching
> >
> > *Fixes*
> >
> >- GWT Issue 3583: Google Eclipse Plugin configuration is too

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
Thanks for finding this issue, Simon.

Please see http://code.google.com/p/google-web-toolkit/issues/detail?id=4761,
which includes the workaround that you've already found :)

jason

On Wed, Mar 17, 2010 at 10:52 AM, Simon  wrote:

> I see these arguments :
>
> -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl
> application.html -logLevel TRACE -port  .Application
>
> As far as I can tell, there is no '-war' arguments !
>
> I tried to put manually '-war /target/-
> ' and it works fine ! So this didi the trick !
>
> Why was the behaviour different with the Preview release ?
>
> Thanks for the solution anyway ! :)
>
>
> On 17 mar, 15:40, Jason Parekh  wrote:
> > Hi Simon,
> >
> > Could you go to "Run > Run Configurations...", click on your launch
> > configuration on the left, and then click on the "Arguments" tab.  What
> do
> > you see as the "Program arguments:"?  Particularly, what is the value for
> > the "-war" argument?
> >
> > If it not your "target/-", try changing it and
> > re-launching.  If it is, we'll have to look a bit deeper.
> >
> > jason
> >
> >
> >
> > On Wed, Mar 17, 2010 at 10:29 AM, Simon  wrote:
> > > Hi !
> >
> > > I tried this new release and unfortunately I can't make it work,
> > > although the Preview release worked fine for me.
> >
> > > I'm using Maven to manage my projects and I prefer not to use WTP as I
> > > had bad XP with it. So I configured a project this way :
> >
> > > - created a pom.xml
> > > - created the directories src/main/java, src/main/webapp
> > > - created a web.xml file in src/main/webap/WEB-INF directory
> > > - imported all that into Eclipse using "Import > Existing Maven
> > > Projects"
> > > - created a file application.html into src/main/webapp directory
> > > - created a GWT module .Application.gwt.xml
> > > - created an Entry point .client.ApplicationEntryPoint
> > > - added the GWT Nature to the project
> > > - checked the box 'This project has a WAR directory'
> > > - filled in the WAR directory input with src/main/webapp
> > > - unchecked the box 'Launch and deploy from this directory'
> >
> > > Then I tried to launch the application with 'Run As > Web
> > > Application'. I chose the WAR directory target/-. No
> > > errors/warning appeared in the console and the 'Development Mode'
> > > contained the correct URL :
> >
> > >http://127.0.0.1:/application.html?gwt.codesvr=127.0.0.1:9997
> >
> > > So far everything seems fine. I started my Firefox and entered the
> > > above URL and unfortunately the browser displayed a *404 NOT FOUND*
> > > page !!!
> >
> > > I restarted the application with a debug level set to TRACE and I saw
> > > this in the CONSOLE :
> >
> > > -
> >
> > > Linking module 'application'
> > >Invoking Linker RPC policy file manifest
> > >Invoking Linker Standard
> > >Invoking Linker Export CompilationResult symbol maps
> > >Invoking Linker Emit compile report artifacts
> > >Linking compilation into \war\application
> >
> > > -
> >
> > > Why does it want to link in the /war directory instead of the target/
> > > - ???
> >
> > > Did I miss something ?
> >
> > > My plugin versions :
> > > Eclispe 3.5
> > > M2Eclipse 0.10.0.20100209-0800
> > > Google Plugin for Eclipse 1.3.0.v201003161223
> > > Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036
> >
> > > Thanks for any help ! :)
> >
> > > On 17 mar, 02:34, Keith Platfoot  wrote:
> > > > Hi everyone,
> >
> > > > I'm happy to announce the release of version 1.3 of the Google Plugin
> for
> > > > Eclipse (http://code.google.com/eclipse).
> >
> > > > This release is designed to make life easier for developers using GWT
> > > and/or
> > > > App Engine alongside third-party tools.  For example, we've taken the
> > > pain
> > > > out of using the plugin with projects built with the ever-popular
> Maven
> > > > build system: no more ugly hacks or workarounds, or polluted
> WEB-INF/lib
> > > > directories!  We've even added a new FAQ dedicated to Maven usage:
> > >http://code.google.com/eclipse/docs/faq.html#gwt

Re: Google Plugin for Eclipse 1.3 is now available

2010-03-17 Thread Jason Parekh
That definitely seems like a bug in the slash-escaping logic.  I've created
http://code.google.com/p/google-web-toolkit/issues/detail?id=4762 for this
issue.  Mind if we continue the discussion there?

Thanks,
jason

On Wed, Mar 17, 2010 at 12:43 PM, Thomas Broyer  wrote:

>
>
> On Mar 17, 5:20 pm, "lazins...@gmail.com"  wrote:
> > I think problem is little more serious than in issue 4761
> > I am not using maven and after 1.3 GEP installing I have seen in
> > arguments tab, for -war parameter value like this "d:\\\
> > \somedir\somedir\\\war". Every time I start launch
> > configuration window this path became longer and longer. What is sad
> > right now my whole eclipse environment hangs when try to launch this
> > windows. I do not how to delete this parameter - in which files in
> > eclipse it is stored ?
>
> Same issue here, and I cannot use ${build_project:war} which would (a
> priori) have done the trick.
> I haven't tried yet but would "-war ." work? (given that the working
> directory is the "war" folder)
>
> --
> 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.
>
>

-- 
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: Bug in eclipse plugin with UiBinder define in an inner class

2010-03-17 Thread Jason Parekh
Hi Bilousme,

I've opened a bug at
http://code.google.com/p/google-web-toolkit/issues/list?thanks=4764 to track
this issue.

If you're using GPE 1.3.0, another workaround is to change the severity of
the UiBinder validation errors.  This can be found in the Eclipse
preferences > Google.

Thanks!
jason

On Wed, Mar 17, 2010 at 3:02 PM, Bilousme  wrote:

> Hello all,
>
> I have the classes below (one main class containing an inner class) :
>
> public class MyObjectEditView extends Composite{
>
>interface MyObjectEditUiBinder extends UiBinder MyObjectEditView> {}
>
>private static MyObjectEditUiBinder uiBinder =
> GWT.create(MyObjectEditUiBinder.class);
>
> 
>
>public static class MyObjectPropertiesEditView extends Composite{
>@UiTemplate(value="MyObjectProperties.ui.xml")
>interface MyObjectPropertiesUiBinder extends UiBinder MyObjectPropertiesEditView> {}
>
>private static MyObjectPropertiesUiBinder uiBinder =
> GWT.create(MyObjectPropertiesUiBinder.class);
>
>
>
>}
> }
>
> The MyObjectProperties.ui.xml file is defined in the same package of
> the main class.
>
> Eclipse detects an error on the second UiBinder interface
> (MyObjectPropertiesUiBinder) and show me the following message :
> "Template file MyObjectProperties.ui.xml is missing (expected at /the/
> package/of/the/main/class/MyObjectEditView/)"
>
> But If I try to compile my application that works fine and I don't
> have compilation errors...
>
> Thus for me, Eclipse does not show the error message ! ?
>
> The workaround to avoid an error in Eclipse is to define the second
> UiBinder interface in the main class (and continue to use it in the
> inner class)
>
> --
> 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.
>
>

-- 
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: Android Compatibility Isses with GWT (UI based, not RPC)

2009-04-08 Thread Jason Parekh

On Wed, Apr 8, 2009 at 12:22 PM, Evan Ruff  wrote:
>
> Hey guys,
>
> Little stream of conciseness here, sorry if this is a bit long/
> disjoined.
>
> I was wondering if anyone had done any work with GWT and the Android
> Browser. While I'm getting basic functionality to work, the general
> speed, responsiveness and user experience seem very sluggish and,
> well, sorta bad. Another issue I'm having is locating a group to go to
> for support, examples and help. While I'm interested in GWT with
> Android, it seems that Android Developers Group is really only
> interested in native apps. Where to go for Browser specific help?

I recommend the Android lists--some members of the Android browser
team monitor those lists (I don't think any of them monitor this
list).  Also, filing bugs on the tracker is always recommended.

As for trying out cupcake, you can build an emulator running Cupcake
with the instructions at http://source.android.com/download .

jason

>
> Anyways, some of the particulars I've run into:
>
> What group to go to?
>
> 1. Issues Controlling the viewport: No matter what I do, I can't seem
> to get proper control of the viewport. Editing the meta data, overflow
> CSS properties, insuring that the window's objects are small, etc. I'm
> continually getting white space borders and stuff like that. This
> causes weird finger behavior, especially allowing the user to browse
> into the white space.
>
> 2. HTML5/Gears Wrappers: I was wondering if the Gears API has an
> implementation to support HTML5 storage/cache issues in case of a non-
> gears enabled client. If not, is there a library anywhere that
> supports the encapsulation for GWT?
>
> 3. MouseListeners: The OS seems to swallow up the MouseUp event in
> order to do detection of scroll/drag type stuff. I guess I understand
> why it does it for the drag type thing, but it never fires MouseUp
> even after the drag is done. Ehh... fair enough, I guess.
>
> 4. Focus Panel ClickListeners: When I click a focus panel, a orange
> circle shows up in the upper/left corner with what seems like a cursor
> in it? (http://i243.photobucket.com/albums/ff2/gte619n/
> selectBubble.png) Also seems like a non-trivial delay between the
> press and then a following action. Makes the app seem especially
> sluggish.
>
> 5. Image Loading/Display: Seems really slow. Even when doing
> background repositioning to flip sprites. Additionally, the images
> don't seem to load in any fixed order and method. Also seems to hang
> when loading images (http://i243.photobucket.com/albums/ff2/gte619n/
> selectBubble.png) I've attempted to get around this by doing Prefetch
> and such, but nothing seems to work. Seems like it needs to talk
> itself into refreshing the screen after loading finishes (even in
> localhost in the emulator)
>
> 6. Visibility hide/show: Very sluggish in general.
>
> 7. Scroll inside divs: Flat out doesn't support this. I guess the
> Cupcake release, bringing the browser up to Nov 2008 Webkit, should
> fix this but I still don't have any visibility into that release.
>
> Has anyone compiled some best practices to use when building an
> Application for Android? Maybe even some widgets or JSNI breakouts to
> better manage the behavior and performance of the app?
>
> Thanks!
>
> Evan
> >
>

--~--~-~--~~~---~--~~
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-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: Android Compatibility Isses with GWT (UI based, not RPC)

2009-04-08 Thread Jason Parekh

On Wed, Apr 8, 2009 at 2:12 PM, Evan Ruff  wrote:
>
> Jason,
>
> I actually downloaded a January 7th image I found on the web. Do you
> know if that version has the Webkit/SquirrelFish updates in it?

Nope, sorry.

I know it's a lot of work, but building from the repo may be a good
idea (there's been a lot of change since early January).

jason

>
> Sorry if this thread has kinda gotten a little off the tracks, guys.
>
> E
>
> On Apr 8, 12:57 pm, Jason Parekh  wrote:
>> On Wed, Apr 8, 2009 at 12:22 PM, Evan Ruff  wrote:
>>
>> > Hey guys,
>>
>> > Little stream of conciseness here, sorry if this is a bit long/
>> > disjoined.
>>
>> > I was wondering if anyone had done any work with GWT and the Android
>> > Browser. While I'm getting basic functionality to work, the general
>> > speed, responsiveness and user experience seem very sluggish and,
>> > well, sorta bad. Another issue I'm having is locating a group to go to
>> > for support, examples and help. While I'm interested in GWT with
>> > Android, it seems that Android Developers Group is really only
>> > interested in native apps. Where to go for Browser specific help?
>>
>> I recommend the Android lists--some members of the Android browser
>> team monitor those lists (I don't think any of them monitor this
>> list).  Also, filing bugs on the tracker is always recommended.
>>
>> As for trying out cupcake, you can build an emulator running Cupcake
>> with the instructions athttp://source.android.com/download.
>>
>> jason
>>
>>
>>
>> > Anyways, some of the particulars I've run into:
>>
>> > What group to go to?
>>
>> > 1. Issues Controlling the viewport: No matter what I do, I can't seem
>> > to get proper control of the viewport. Editing the meta data, overflow
>> > CSS properties, insuring that the window's objects are small, etc. I'm
>> > continually getting white space borders and stuff like that. This
>> > causes weird finger behavior, especially allowing the user to browse
>> > into the white space.
>>
>> > 2. HTML5/Gears Wrappers: I was wondering if the Gears API has an
>> > implementation to support HTML5 storage/cache issues in case of a non-
>> > gears enabled client. If not, is there a library anywhere that
>> > supports the encapsulation for GWT?
>>
>> > 3. MouseListeners: The OS seems to swallow up the MouseUp event in
>> > order to do detection of scroll/drag type stuff. I guess I understand
>> > why it does it for the drag type thing, but it never fires MouseUp
>> > even after the drag is done. Ehh... fair enough, I guess.
>>
>> > 4. Focus Panel ClickListeners: When I click a focus panel, a orange
>> > circle shows up in the upper/left corner with what seems like a cursor
>> > in it? (http://i243.photobucket.com/albums/ff2/gte619n/
>> > selectBubble.png) Also seems like a non-trivial delay between the
>> > press and then a following action. Makes the app seem especially
>> > sluggish.
>>
>> > 5. Image Loading/Display: Seems really slow. Even when doing
>> > background repositioning to flip sprites. Additionally, the images
>> > don't seem to load in any fixed order and method. Also seems to hang
>> > when loading images (http://i243.photobucket.com/albums/ff2/gte619n/
>> > selectBubble.png) I've attempted to get around this by doing Prefetch
>> > and such, but nothing seems to work. Seems like it needs to talk
>> > itself into refreshing the screen after loading finishes (even in
>> > localhost in the emulator)
>>
>> > 6. Visibility hide/show: Very sluggish in general.
>>
>> > 7. Scroll inside divs: Flat out doesn't support this. I guess the
>> > Cupcake release, bringing the browser up to Nov 2008 Webkit, should
>> > fix this but I still don't have any visibility into that release.
>>
>> > Has anyone compiled some best practices to use when building an
>> > Application for Android? Maybe even some widgets or JSNI breakouts to
>> > better manage the behavior and performance of the app?
>>
>> > Thanks!
>>
>> > Evan
> >
>

--~--~-~--~~~---~--~~
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-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: Problems installing eclipse 3.4 plugin from hawaii

2009-04-10 Thread Jason Parekh

You're likely getting stuck in the Eclipse's dependency checks.  Check
out the workaround in the FAQ
(http://code.google.com/eclipse/docs/faq.html#longinstall).

jason

On Thu, Apr 9, 2009 at 3:21 PM, kurt6string  wrote:
>
> Yesterday I couldn't install the plugin at all (downloads really,
> really slow I think) and today it's somewhat better but still I've
> been waiting for about 45 minutes for it to install, faster than
> yesterday but still very painful.
>
> >
>

--~--~-~--~~~---~--~~
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-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: how to make gwt eclipse plugin compiler see other projects

2009-04-17 Thread Jason Parekh

Hey Joe,

It looks like you're hitting an issue where the Eclipse plugin does
not include a dependent project's compiled classes into the packaged
WAR that is deployed to the server.  We're aware of the issue and it
will be fixed in a future release.

There are a couple workarounds, one of which you've tried (package the
dependent project into a JAR, and statically link that into the main
project).  The other is to set the dependent project's output
directory to the main project's output directory.  When the hosted
mode server runs (or the app engine tools upload to app engine), all
classes in this directory will be included (including the dependent
project's).

jason


On Fri, Apr 17, 2009 at 8:31 AM, Joe Hudson  wrote:
>
> Thank you Salvador for your reply,
>
> I am have tried that (I think) and that was when I experience
> described above.  Please let me explain how I am doing that because
> maybe I am doing something wrong:
>
> 1) Open the Run Configurations menu
> 2) Select my target under "Web Application" (with the google icon)
> 3) Go to the "Classpath" tab, select "User Entries", click "Add
> Project" and select my project
> 4) Go to the "Source" tab, click "Add", select "Java Project" and
> select my project
> 5) Click "Apply"
>
> So, this is what I have tried and I get errors when I start up the app
> that it can not find the source of the classes from my server
> project.  Any ideas?
>
> Thanks
>
> Joe
>
>
> On Apr 17, 4:13 am, Salvador Diaz  wrote:
>> Add the other project to the classpath instead of adding the jar
>>
>> On Apr 17, 7:10 am, Joe Hudson  wrote:
>>
>> > Hi,
>>
>> > I have a separate eclipse project containing code used on the server-
>> > side of the RPC.  When I use the google plugin to recompile my GWT
>> > app, I get the error messages saying that the source code can't be
>> > found.  I can get this to work by exporting the project to a jar (with
>> > source) and referencing the jar (as opposed to the project directly)
>> > in the classpath of the GWT project.
>>
>> > This is do-able but I would really like to know if this is possible
>> > and if there is anything special that has to be done for the plugin to
>> > recognize the source from another project.
>>
>> > I am pretty sure that the plugin sees the classpath as it is not
>> > giving an error that the imported gwt.xml file can not be found.
>>
>> > Thank you very much for any help you might have to offer.
>>
>> > Joe
> >
>

--~--~-~--~~~---~--~~
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-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: how to make gwt eclipse plugin compiler see other projects

2009-04-17 Thread Jason Parekh

BTW, another related issue when dealing with dependent projects is
ensuring GWT inheritance is defined properly.

For example, imagine project A has a GWT module MA and project B has a
GWT module MB.  If the types in MA refer to the types in MB then MA
must inherit from MB.

To properly configure, please ensure that:
- the Java project A depends on the Java project B in Eclipse, and
- MA's XML file declares its inheritance of MB

jason

On Fri, Apr 17, 2009 at 11:19 AM, Jason Parekh  wrote:
> Hey Joe,
>
> It looks like you're hitting an issue where the Eclipse plugin does
> not include a dependent project's compiled classes into the packaged
> WAR that is deployed to the server.  We're aware of the issue and it
> will be fixed in a future release.
>
> There are a couple workarounds, one of which you've tried (package the
> dependent project into a JAR, and statically link that into the main
> project).  The other is to set the dependent project's output
> directory to the main project's output directory.  When the hosted
> mode server runs (or the app engine tools upload to app engine), all
> classes in this directory will be included (including the dependent
> project's).
>
> jason
>
>
> On Fri, Apr 17, 2009 at 8:31 AM, Joe Hudson  wrote:
>>
>> Thank you Salvador for your reply,
>>
>> I am have tried that (I think) and that was when I experience
>> described above.  Please let me explain how I am doing that because
>> maybe I am doing something wrong:
>>
>> 1) Open the Run Configurations menu
>> 2) Select my target under "Web Application" (with the google icon)
>> 3) Go to the "Classpath" tab, select "User Entries", click "Add
>> Project" and select my project
>> 4) Go to the "Source" tab, click "Add", select "Java Project" and
>> select my project
>> 5) Click "Apply"
>>
>> So, this is what I have tried and I get errors when I start up the app
>> that it can not find the source of the classes from my server
>> project.  Any ideas?
>>
>> Thanks
>>
>> Joe
>>
>>
>> On Apr 17, 4:13 am, Salvador Diaz  wrote:
>>> Add the other project to the classpath instead of adding the jar
>>>
>>> On Apr 17, 7:10 am, Joe Hudson  wrote:
>>>
>>> > Hi,
>>>
>>> > I have a separate eclipse project containing code used on the server-
>>> > side of the RPC.  When I use the google plugin to recompile my GWT
>>> > app, I get the error messages saying that the source code can't be
>>> > found.  I can get this to work by exporting the project to a jar (with
>>> > source) and referencing the jar (as opposed to the project directly)
>>> > in the classpath of the GWT project.
>>>
>>> > This is do-able but I would really like to know if this is possible
>>> > and if there is anything special that has to be done for the plugin to
>>> > recognize the source from another project.
>>>
>>> > I am pretty sure that the plugin sees the classpath as it is not
>>> > giving an error that the imported gwt.xml file can not be found.
>>>
>>> > Thank you very much for any help you might have to offer.
>>>
>>> > Joe
>> >>
>>
>

--~--~-~--~~~---~--~~
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-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: Unable to find a usable Mozilla install on Linux

2009-04-17 Thread Jason Parekh

Hey Simon,

Have you tried using the Google Plugin for Eclipse?  It can
automatically grab the GWT SDK and set up the environment.

jason

On Fri, Apr 17, 2009 at 11:17 AM, Simon  wrote:
>
> Hello,
>
> I get this error after installing GWT.
> 
> ** Unable to find a usable Mozilla install **
> You may specify one in mozilla-hosted-browser.conf, see comments in
> the file for details.
> ---
>
> I sent an email earlier, but can't see it in the discussion. So I am
> re-posting this.
>
> I have browsed through the discussions, and found people with errors
> close to mine. But I wonder what am missing out.
> I extracted the GWT, and also created an environment variable for the
> GWT. I have also attempted adding /usr/lib/firefox to the mozilla-
> hosted-browser.conf
>
> Could it be that the version of mozialla firefox I have doesn't work?
>
> Please help me out.
>
> NB: Am using OpenSuse 10.3 (32-bit), Eclipse 3.4, Firefox 2.0.0.6
>
> Thanking you,
> Simon
>
> >
>

--~--~-~--~~~---~--~~
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-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: Error downloading Google Plugin for Eclipse

2009-04-17 Thread Jason Parekh

Hey,

Which version of Eclipse are you using?  Also, which update site did
you try to install from?

Thanks,
jason

On Fri, Apr 17, 2009 at 1:12 PM, jtaylor  wrote:
>
> Hello,
>
> I keep getting this error when I try to install the Google Plugin,
> etc. in Eclipse.
>
> --
>
> An error occurred while collecting items to be installed
>  No repository found containing: com.google.appengine.eclipse.core/
> osgi.bundle/1.0.0.v200904062334
>  No repository found containing:
> com.google.appengine.eclipse.sdkbundle/osgi.bundle/1.2.0.v200904062334
>  No repository found containing:
> com.google.appengine.eclipse.sdkbundle.e34.feature/
> org.eclipse.update.feature/1.2.0.v200904062334
>  No repository found containing: com.google.gdt.eclipse.core/
> osgi.bundle/1.0.0.v200904062334
>  No repository found containing: com.google.gdt.eclipse.suite/
> osgi.bundle/1.0.0.v200904062334
>  No repository found containing:
> com.google.gdt.eclipse.suite.e34.feature/org.eclipse.update.feature/
> 1.0.0.v200904062334
>  No repository found containing: com.google.gwt.eclipse.core/
> osgi.bundle/1.0.0.v200904062334
>  No repository found containing:
> com.google.gwt.eclipse.sdkbundle.e34.feature/
> org.eclipse.update.feature/1.6.4.v200904062334
>  No repository found containing:
> com.google.gwt.eclipse.sdkbundle.win32/osgi.bundle/1.6.4.v200904062334
>
>
> >
>

--~--~-~--~~~---~--~~
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-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: Eclipse Run Configurations confusion: GWTCompiler vs. Compiler

2009-04-17 Thread Jason Parekh

Hi William,

Have you installed the Google Plugin for Eclipse?  Using that, you can
compile your GWT project with the red G icon in the toolbar (or
alternatively, right-click on project > Google > GWT compile).

jason

On Fri, Apr 17, 2009 at 2:27 PM, William  wrote:
>
> I'm confused how change my Eclipse Run Configurations.
>
> In my build.xml I changed my compilations settings to use the Compiler
> class instead of the GWTCompiler class which is now deprecated:
>
>        
>                 failonerror="true" maxmemory="256m">
>
> But whenever I compile I get a warning that says GWTCompiler is
> deprecated:
>
>    WARNING: 'com.google.gwt.dev.GWTCompiler' is deprecated and will
> be removed in a future release.
>    Use 'com.google.gwt.dev.Compiler' instead.
>
> This indicates the settings in my build.xml are getting ignored.
>
> If I go to "Run As" -> "Run Configurations" the Main tab lists
> "GWTCompiler flags" and there doesn't seem to be any way to change it
> to use com.google.gwt.dev.Compiler.
>
> I'm new to Eclipse and GWT so apologies if there is some ridiculously
> easy solution to this.
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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-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: How to reference another Eclipse project?

2009-04-17 Thread Jason Parekh

Hi Jeroen,

There's an issue with dependent projects not properly being included.
This will be fixed in a future release.

For a couple of workarounds, please see
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9/6906075b8da782c6
.

jason

On Fri, Apr 17, 2009 at 3:01 PM, Jeroen  wrote:
>
> It feels like I'm asking a FAQ, but I can't seem to find the answer.
>
> I want to make a separate Eclipse project for making a GUI on top of
> another project. I already made a reference in the project, and also
> on the classpath. Eclipse is happy, but when I run, I still get
> ClassNotFoundException:
>
> SEVERE: [1239994519046000] javax.servlet.ServletContext log: Exception
> while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract java.lang.String
> nl.kransen.semanticweb.ui.client.GreetingService.startImport
> (java.lang.String,java.lang.String)' threw an unexpected exception:
> java.lang.NoClassDefFoundError: nl/kransen/contacts/importer/
> SomeImporter
>
> I use the GWT plugin for Eclipse, and I am expanding the basis "hello
> world" example that is created when hitting "New Web Project".
> >
>

--~--~-~--~~~---~--~~
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-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: GEP, war/WEB-INF/lib, and source control

2009-04-24 Thread Jason Parekh

Hey Isaac,

Good question.  You can go either route:

- If you do not check them in, you'll get a warning in Eclipse.  Doing
a quick fix (select it and ctrl+1) on that warning will copy the
installed SDK's JARs over to your lib directory.

- If you do check them in, like you mentioned, there's a chance for
some conflicts.  In this case, you should also get a warning
mentioning the SDK's JARs mismatch the war/WEB-INF/lib JARs, and there
is a quick fix to copy from SDK to lib.

jason

On Fri, Apr 24, 2009 at 1:10 PM, Isaac Truett  wrote:
>
> When using GEP with GWT and GAE support, is it expected that the jars
> the plugin automatically places in war/WEB-INF/lib will be committed
> to the source repository? I expected that they were placed there by
> one of the builders, so I left them out of my commit. When I check out
> the project to another location, hosted mode won't run
> (java.lang.NoClassDefFoundError:
> com/google/gwt/user/client/rpc/RemoteService) and none of the GWT/GAE
> libs automagically appear as they had done when setting up the
> project.
>
> Now what if I commit those jars? Well, take gwt-servlet.jar for
> example. I'll have one copy under source control and another in the
> SDK I selected in project preferences, and one or both on various
> classpaths. Seems ripe for version conflicts when upgrading.
>
> So what's the expected behavior here?
>
> Thanks,
> Isaac
>
> >
>

--~--~-~--~~~---~--~~
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-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: GEP, war/WEB-INF/lib, and source control

2009-04-24 Thread Jason Parekh

Thanks for the suggestion--I'll run it by the team.

jason

On Fri, Apr 24, 2009 at 1:42 PM, Isaac Truett  wrote:
>
> Jason,
>
> Fair enough. Thanks. What about elevating those to errors so that they
> interrupt run/debug to point out that there's a problem? Or if always
> being an error isn't appropriate, what about project level control of
> severity (a la Properties > Java Compiler > Errors/Warnings).
>
> - Isaac
>
>
> On Fri, Apr 24, 2009 at 1:28 PM, Jason Parekh  wrote:
>>
>> Hey Isaac,
>>
>> Good question.  You can go either route:
>>
>> - If you do not check them in, you'll get a warning in Eclipse.  Doing
>> a quick fix (select it and ctrl+1) on that warning will copy the
>> installed SDK's JARs over to your lib directory.
>>
>> - If you do check them in, like you mentioned, there's a chance for
>> some conflicts.  In this case, you should also get a warning
>> mentioning the SDK's JARs mismatch the war/WEB-INF/lib JARs, and there
>> is a quick fix to copy from SDK to lib.
>>
>> jason
>>
>> On Fri, Apr 24, 2009 at 1:10 PM, Isaac Truett  wrote:
>>>
>>> When using GEP with GWT and GAE support, is it expected that the jars
>>> the plugin automatically places in war/WEB-INF/lib will be committed
>>> to the source repository? I expected that they were placed there by
>>> one of the builders, so I left them out of my commit. When I check out
>>> the project to another location, hosted mode won't run
>>> (java.lang.NoClassDefFoundError:
>>> com/google/gwt/user/client/rpc/RemoteService) and none of the GWT/GAE
>>> libs automagically appear as they had done when setting up the
>>> project.
>>>
>>> Now what if I commit those jars? Well, take gwt-servlet.jar for
>>> example. I'll have one copy under source control and another in the
>>> SDK I selected in project preferences, and one or both on various
>>> classpaths. Seems ripe for version conflicts when upgrading.
>>>
>>> So what's the expected behavior here?
>>>
>>> Thanks,
>>> Isaac
>>>
>>> >
>>>
>>
>> >
>>
>
> >
>

--~--~-~--~~~---~--~~
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-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: Create a file

2009-05-08 Thread Jason Parekh

Hi Kard,

Writing to files is not supported on App Engine, check out this FAQ:
http://code.google.com/appengine/kb/java.html#writefile

jason


On Fri, May 8, 2009 at 11:29 AM, Kard Raven  wrote:
>
> Good morning,
>
>
> I'm using Google Web Toolkit for two weeks, and now, i'm trying to
> make my own applications.
> However, there is something wrong with the last one :
>
>
>
> I have made a client part, and a server part.
>
> Client part's code :
>
> public class project implements EntryPoint {
>
>
>        public void onModuleLoad() {
>
>                GreetingServiceAsync service = (GreetingServiceAsync) 
> GWT.create
> (GreetingService.class);
>                ((ServiceDefTarget) service).setServiceEntryPoint
> (GWT.getModuleBaseURL () + "server");
>                service.createXML (new AsyncCallback () {
>                        public void onFailure (Throwable caught) {
>                                // Traitement en cas d'erreur
>                        } // onFailure ()
>
>                        public void onSuccess (Object result) {
>                                // Traitement en cas de succès
>                                Window.alert ((String) result);
>                        } // onFailure ()
>                });
>
>        }
> }
>
>
>
> Code of "GreetingService.java" :
>
> public interface GreetingService extends RemoteService {
>        String greetServer(String name);
>        public void createXML ();
> }
>
>
> Code of "GreetingServiceAsync.java" :
>
> public interface GreetingServiceAsync {
>        void greetServer(String input, AsyncCallback callback);
>        public void createXML (AsyncCallback callback);
> }
>
>
> Server part's code :
>
> public class GreetingServiceImpl extends RemoteServiceServlet
> implements GreetingService{
>        public void createXML () {
>
>                File file = new File("test.xml");
>                try {
>                        file.createNewFile();
>                } catch (IOException e) {
>                        // TODO Auto-generated catch block
>                        e.printStackTrace();
>                }
>
>
>
>        }
>
>        public String greetServer(String name) {
>                // TODO Auto-generated method stub
>                return null;
>        }
>
>
>
> }
>
>
>
>
> When I finally run the application in hosted mode, I get :
>
> com.google.appengine.tools.development.ApiProxyLocalImpl log
> SEVERE: [1241796266968000] javax.servlet.ServletContext log: Exception
> while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract void
> com.project.project.client.GreetingService.createXML()' threw an
> unexpected exception: java.security.AccessControlException: access
> denied (java.io.FilePermission test.xml write)
>        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
> (RPC.java:360)
>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
> (RPC.java:546)
>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
> (RemoteServiceServlet.java:166)
>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
> (RemoteServiceServlet.java:86)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1093)
>        at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
> (TransactionCleanupFilter.java:43)
>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
> (ServletHandler.java:1084)
>        at org.mortbay.jetty.servlet.ServletHandler.handle
> (ServletHandler.java:360)
>        at org.mortbay.jetty.security.SecurityHandler.handle
> (SecurityHandler.java:216)
>        at org.mortbay.jetty.servlet.SessionHandler.handle
> (SessionHandler.java:181)
>        at org.mortbay.jetty.handler.ContextHandler.handle
> (ContextHandler.java:712)
>        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>        at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
> (DevAppEngineWebAppContext.java:54)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
>        at com.google.appengine.tools.development.JettyContainerService
> $ApiProxyHandler.handle(JettyContainerService.java:306)
>        at org.mortbay.jetty.handler.HandlerWrapper.handle
> (HandlerWrapper.java:139)
>        at org.mortbay.jetty.Server.handle(Server.java:313)
>        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 506)
>        at org.mortbay.jetty.HttpConnection$RequestHandler.content
> (HttpConnection.java:844)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
>        at org.mortbay.jetty.HttpParser.parseAvailabl

Re: Create a file

2009-05-08 Thread Jason Parekh

Oh sorry, forgot to mention that your project is also set up for
deploying to App Engine, and that is why this restriction is being
placed on you.  If you have no intent of using App Engine, then you
can remove that support from your project:  Right click on your
project, go to "Properties", expand "Google" on the left, click on
"App Engine", and then uncheck the "Use Google App Engine" checkbox.

jason

On Fri, May 8, 2009 at 11:41 AM, Jason Parekh  wrote:
> Hi Kard,
>
> Writing to files is not supported on App Engine, check out this FAQ:
> http://code.google.com/appengine/kb/java.html#writefile
>
> jason
>
>
> On Fri, May 8, 2009 at 11:29 AM, Kard Raven  
> wrote:
>>
>> Good morning,
>>
>>
>> I'm using Google Web Toolkit for two weeks, and now, i'm trying to
>> make my own applications.
>> However, there is something wrong with the last one :
>>
>>
>>
>> I have made a client part, and a server part.
>>
>> Client part's code :
>>
>> public class project implements EntryPoint {
>>
>>
>>        public void onModuleLoad() {
>>
>>                GreetingServiceAsync service = (GreetingServiceAsync) 
>> GWT.create
>> (GreetingService.class);
>>                ((ServiceDefTarget) service).setServiceEntryPoint
>> (GWT.getModuleBaseURL () + "server");
>>                service.createXML (new AsyncCallback () {
>>                        public void onFailure (Throwable caught) {
>>                                // Traitement en cas d'erreur
>>                        } // onFailure ()
>>
>>                        public void onSuccess (Object result) {
>>                                // Traitement en cas de succès
>>                                Window.alert ((String) result);
>>                        } // onFailure ()
>>                });
>>
>>        }
>> }
>>
>>
>>
>> Code of "GreetingService.java" :
>>
>> public interface GreetingService extends RemoteService {
>>        String greetServer(String name);
>>        public void createXML ();
>> }
>>
>>
>> Code of "GreetingServiceAsync.java" :
>>
>> public interface GreetingServiceAsync {
>>        void greetServer(String input, AsyncCallback callback);
>>        public void createXML (AsyncCallback callback);
>> }
>>
>>
>> Server part's code :
>>
>> public class GreetingServiceImpl extends RemoteServiceServlet
>> implements GreetingService{
>>        public void createXML () {
>>
>>                File file = new File("test.xml");
>>                try {
>>                        file.createNewFile();
>>                } catch (IOException e) {
>>                        // TODO Auto-generated catch block
>>                        e.printStackTrace();
>>                }
>>
>>
>>
>>        }
>>
>>        public String greetServer(String name) {
>>                // TODO Auto-generated method stub
>>                return null;
>>        }
>>
>>
>>
>> }
>>
>>
>>
>>
>> When I finally run the application in hosted mode, I get :
>>
>> com.google.appengine.tools.development.ApiProxyLocalImpl log
>> SEVERE: [1241796266968000] javax.servlet.ServletContext log: Exception
>> while dispatching incoming RPC call
>> com.google.gwt.user.server.rpc.UnexpectedException: Service method
>> 'public abstract void
>> com.project.project.client.GreetingService.createXML()' threw an
>> unexpected exception: java.security.AccessControlException: access
>> denied (java.io.FilePermission test.xml write)
>>        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
>> (RPC.java:360)
>>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
>> (RPC.java:546)
>>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
>> (RemoteServiceServlet.java:166)
>>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
>> (RemoteServiceServlet.java:86)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>>        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
>> 487)
>>        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
>> (ServletHandler.java:1093)
>>        at
>> com.google.apphosting.uti

Re: Eclipse plugin - empty src folder

2009-05-11 Thread Jason Parekh

Hi Maarten,

What is the full path to this project?  Are there any characters in
the path that could be revealing bugs in the plugin?

Also, which View are using to look at the source folder?  Can you
check to see if the Navigator view (Window > Show view > Navigator)
shows the files?

After the web app project is created, can you right-click on the
source folder and add a new class?  Does that show up?  Can you make
sure the View is not filtered? (You can do this by clicking the
down-facing arrow in the upper-right corner of the View, and selecting
"Filters".)

Do other projects work ok? (e.g. A regular Java project)

Thanks,
jason


On Sat, May 9, 2009 at 5:35 PM, maarten.de...@gmail.com
 wrote:
>
> Hi everyone,
>
> I'm new to Google Web Toolkit. I started out by installing the Eclipse
> plugin to take the Getting Started tutorial. Unfortunately, the first
> step of the tutorial does something strange:
>
> When I create a new project (Web Application Project) all the files
> and folder are created (I can see everything that should be there in
> Windows Explorer). But in Eclipse, I can't open the src folder. It is
> as if the folder is empty, when it certainly is not.
>
> I tried several times, setting up project with different settings, but
> the src folder stays empty in Eclipse... I can't edit a file this way,
> so I can't work at all. I've searched the Internet for this problem
> but haven't found any help.
>
> Anyone here that could lend a hand?
>
> I'm running Windows XP, Java 1.6, Eclipse 3.4.1 (Ganymede) and
> installed Google Plugin for Eclipse 3.4, Google Web Toolkit SDK 1.6.4
> and Google App Engine Java SDK 1.2.0.
>
> Thanks!
>
> Maarten Decat
>
> >
>

--~--~-~--~~~---~--~~
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-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: how to install gwt in ubuntu

2009-05-21 Thread Jason Parekh

If you're an Eclipse user, I'd suggest going the Google Plugin for
Eclipse route:  install Eclipse via the package manager (e.g.,
synaptics for a UI, or apt-get for command-line), and then install the
Google Plugin for Eclipse via
http://code.google.com/eclipse/docs/getting_started.html (which will
pull in the GWT SDK).

jason

On Thu, May 21, 2009 at 3:35 AM, vetal  wrote:
>
> Hi,
> unpack http://google-web-toolkit.googlecode.com/files/gwt-linux-1.6.4.tar.bz2
> and set GWT_HOME ( export GWT_HOME="/home/youname/gwt/gwt-
> linux-1.6.4")
>
> On May 21, 9:19 am, javatiger  wrote:
>> i am newbee in ubuntu.. i already installed and worked gwt in windows
>> now am trying to work in ubuntu.. so help to solve this solution..
> >
>

--~--~-~--~~~---~--~~
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-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: Problem creating a new Web Application Project in Eclipse using the GWT eclipse plugin

2009-05-26 Thread Jason Parekh

Hi Roshan,

Sounds like the plugin installation didn't go as smoothly as it should
have.  Can you try uninstalling the Google plugins, shutting down
Eclipse, launching Eclipse, and re-installing?  If that problem still
persists, we can investigate further.

Thanks,
jason


On Sun, May 24, 2009 at 5:19 AM, Roshan  wrote:
>
> Hi all,
> I just got the gwt eclipse plugin installed through the standard
> eclipse mechanism of Help > Software Updates.
> It installed without a problem.
>
> Then I went on to read the Quick Start Guide (http://code.google.com/
> webtoolkit/gettingstarted.html#NewEclipse) - the section "Creating an
> Application from Scratch (with Eclipse)". Reproducing the steps below:
>
> ---
> The Google Plugin for Eclipse contains a wizard for creating GWT
> applications. After installing the plugin and restarting Eclipse, here
> are steps for creating a starter application.
>
>   1. In the toolbar, click the New Web Application Project button
> icon.
>   2. Fill out the project details:
>         1. Enter the project name "MyApplication".
>         2. Enter the package "com.mycompany".
>         3. Make sure Use Google Web Toolkit is checked and that Use
> default SDK (GWT) is selected.
>         4. (Optional) If you are using Google App Engine, make sure
> Use Google App Engine is checked and that Use default SDK (App Engine)
> is selected.
>         5. If you did not install the SDKs when you installed the
> Google Plugin for Eclipse, you should click Configure SDKs... to
> specify the directory where GWT (and the App Engine SDK) was unzipped.
>   3. Click the Finish button.
>
> ---
>
> On clicking the "Finish" button, I get a dialog box with a yellow
> triangle (warning) with the content reading "Creation of element
> failed. Reason:Problems encountered while setting project
> description." The text area displayed on clicking the "Details" button
> shows the below error:
> " Nature does not exist: com.google.gdt.eclipse.core.webAppNature."
>
> The project does get created in the workspace but the .project files
> is almost empty.
> Content of the .project file:
> 
> 
> 
>        MQW
>        
>        
>        
>        
>        
>        
>        
> 
> 
>
> I have the below questions:
> 1. Is there a problem in my eclipse plugin installation?
> 2. Is there a workaround to the above issue? Like, can I add the below
> content to the .project file to get the project setup as expected:
>        
>                org.eclipse.jdt.core.javanature
>                com.google.gwt.eclipse.core.gwtNature
>                com.google.gdt.eclipse.core.webAppNature
>        
>
> I appreciate in advance, all the time each of you would spend to
> answer this. Thank you.
>
> >
>

--~--~-~--~~~---~--~~
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-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: Error while using dependent project.

2009-05-26 Thread Jason Parekh

Hi Shishir,

Another option is to set the output directory of 'Model' to
GwtProject/war/WEB-INF/classes, see
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9/0ae1a71ac2e4d3f1?#0ae1a71ac2e4d3f1
for more details.  Not nearly as clean as proper dependent project
support, but we're working on that :)

jason

On Tue, May 26, 2009 at 5:19 AM, Shishir  Srivastava
 wrote:
>
> Resending. Any help would be appreciated.
>
> TIA
> Shishir
>
> On May 25, 12:32 pm, Shishir  Srivastava
>  wrote:
>> Hi,
>>
>> I am trying to use a dependent project (for the model layer) in my GWT
>> project. I am using Jdeveloper as the IDE and have two projects in my
>> application namely:
>>
>> 1.) GwtProject
>> 2.) Model
>>
>> I can compile, build and run the GwtProject successfully as long as I
>> don't set the dependent projects as Model in it. When I set my Model
>> project as the dependent project for GwtProject I start getting this
>> error in the hosted mode.
>>
>> [TRACE] Module location: file:/C:/utilities/code.personal/gwt-
>> windows-1.6.4/Application1/GwtProject/war/WEB-INF/classes/com/path1/
>> path2/GwtProject.gwt.xml
>>
>> [ERROR] Failure while parsing XML
>> org.xml.sax.SAXNotRecognizedException:http://apache.org/xml/features/nonvalidating/load-external-dtd
>>         at oracle.xml.jaxp.JXSAXParserFactory.setFeature
>> (JXSAXParserFactory.java:128)
>>         at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse
>> (ReflectiveParser.java:307)
>>         at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100
>> (ReflectiveParser.java:48)
>>         at com.google.gwt.dev.util.xml.ReflectiveParser.parse
>> (ReflectiveParser.java:385)
>>         at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad
>> (ModuleDefLoader.java:243)
>>         at 
>> com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:
>> 155)
>>         at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule
>> (ModuleDefLoader.java:269)
>>         at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath
>> (ModuleDefLoader.java:127)
>>         at com.google.gwt.dev.HostedModeBase.loadModule(HostedModeBase.java:
>> 536)
>>         at com.google.gwt.dev.HostedMode.loadModule(HostedMode.java:426)
>>         at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:351)
>>         at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:585)
>>         at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
>>         at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
>>
>> Adding 'Model' as the dependent project does not make any changes in
>> my GwtProject.gwt.xml file but still it throws up this error pointing
>> to the module xml file.
>>
>> I have been through some of the similar posts in the forum,
>> recommending making a jar out of the second project and adding it to
>> the GwtProject, but I don't intend to follow that route, because that
>> would mean deploying my Model project to jar file everytime I make a
>> change in the project which is still under development.
>>
>> Can anyone please point the error in the whole process?
>>
>> Thanks,
>> Shishir
> >
>

--~--~-~--~~~---~--~~
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-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: Missing files when enabled Google App Engine SDK after GWT project is created

2009-05-26 Thread Jason Parekh

On Mon, May 25, 2009 at 11:55 AM, hezjing  wrote:
> Hi
> Eclipse complaints the appengine-web.xml file does not exist when I enabled
> the Google App Engine SDK after created a GWT project.
> Here are the steps I performed:
> 1) File->New->Web Application Project
> Check use Google Web Toolkit
> Uncheck use Google App Engine
> Finish
> 2) Right click project->Google->App Engine Settings...
> Check use Google App Engine
> Problem: the appengine-web.xml file does not exist!
>
> This problem can be fixed by selecting the quick fix, and appengine-web.xml
> will be created automatically.
> Unfortunately when the project is launched, it failed to
> locate war\WEB-INF\logging.properties and commons-logging.jar
> I'm wondering, if Google plugin should automatically perform the
> following when we enabled Google App Engine SDK?
> 1) Create appengine-web.xml
> 2) Create logging.properties
> 3) Add commons-logging.jar into referenced libraries

Good find, definitely looks like this flow could be improved.  If you
don't mind, could you please file a bug in the issue tracker at
http://code.google.com/p/googleappengine/issues/list ?

Thanks,
jason

>
> This problem does not exist if I checked both GWT and Google App Engine
> while creating the project in step 1.
>
> --
>
> Hez
>
> >
>

--~--~-~--~~~---~--~~
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-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: GWT + hosted mode + jboss

2009-06-08 Thread Jason Parekh
Hey,
The Google Plugin for Eclipse currently doesn't support this type of
functionality, but we may look into it in the future.  Check out the open
feature request at
http://code.google.com/p/google-web-toolkit/issues/detail?id=3584 which
might have more information for you to work with.

Thanks,
jason

On Sat, Jun 6, 2009 at 10:49 AM, mnenchev  wrote:

>
> Hi, all,
>
> I dig the web, but i could not find how to run hosted mode with
> external jboss.
>
> Here is what i do:
>
> 1) Create web project with google plugin for eclipse, that creates me
> "hello world" project with gwt.
>
> 2) test it within the internal server and it works.
>
> 3) Add new server runtime jboss 4.2.
>
> 4) Change the project facets -> runtimes check jboss.
>
> 5) run configurations -> set the port 8080 and uncheck the "use
> default server" checkbox
>
> 6) Start the jboss from eclipse(view servers)
>
> 6) run the application with the google plugin
>
> When the hosted browser is displayed it says that it could not find
> the resource on the server.
>
> So my question is how to deploy on the server, if i have to do it
> every time when i change something this host mode is useless with
> external server.  I also added -noserver, but the application is not
> deployed on the jboss so the effect is the same. How to manage this. I
> look all over the net but i could not find any complete example how to
> do this, every one just says use -noserver, but that does not solve
> the problem.
>
> Pls help me i am new with gwt.
> Regards.
>
> >
>

--~--~-~--~~~---~--~~
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-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: Eclipse project files are missing from the GWT samples

2009-06-08 Thread Jason Parekh
Hi Jim, thanks for pointing this out.
I've opened a bug at
http://code.google.com/p/google-web-toolkit/issues/detail?id=3732 .

A workaround (as mentioned in the bug) is:

Create samples/Showcase/war/WEB-INF/web.xml containing:

--

http://java.sun.com/dtd/web-app_2_3.dtd";>


--

and then follow the instructions at
http://code.google.com/eclipse/docs/existingprojects.html


jason


On Sun, Jun 7, 2009 at 7:39 AM, JimAmsden  wrote:

>
> I'm just getting started with GWT and wanted to explore the samples.
> I'm using gwt-mac-1.6.4 with eclipse 3.4.2. I have installed the
> google plugin for eclipse, but it doesn't appear to include the
> examples. So I also unzipped gwt-mac-1.6.4 which has the samples
> folder.
>
> However, the samples don't inlcude the eclipse .classpath, .project,
> or .launcher files, so they can't be imported as projects
> into eclipse.
>
> I tried:
>
> ./webAppCreator -ignore -out samples/Showcase
> com.google.gwt.sample.showcase.client.Showcase
>
> and it does add the necessary eclipse files. But webAppCreator seems
> to be creating a different module structure than what was used to
> create the samples. For example, it places another Showcase.java class
> in package com.google.gwt.sample.showcase.client.client. I can import
> this project into eclipse, but it won't compile or run.
>
> google search found some postings on this, but I couldn't find
> anything that sufficiently addressed the problem.
>
> Is there some other way to add the eclipse project files? Am I using
> the wrong moduleName in webAppCreator? Why aren't the eclipse project
> files included in the samples? The README.txt files in the sample
> projects seems to imply the projects were created for import into
> eclipse.
>
> Thanks for the help. I'm looking forward to getting to know GWT.
>
> >
>

--~--~-~--~~~---~--~~
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-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: Data base exception in GWT

2009-06-08 Thread Jason Parekh
Hi Subbu,
Google App Engine has a whitelist of classes that are allowed for use, and
unfortunately ut seems like InitialContext didn't make the cut.  Please see
http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox and the
section after it.

Also, Google App Engine questions are better answered in its Google Group
at http://groups.google.com/group/google-appengine-java

jason


On Mon, Jun 8, 2009 at 9:10 AM, subbu  wrote:

>
> Hi all,.
>
> I am getting the Following exception in my eclipse IDE
>
> javax.naming.InitialContext is not supported by Google App Engine's
> Java runtime environment
>
> while using the Following code.
>
> public static Connection openConnection(String jndi) throws
> NamingException, SQLException {
>Context ct = new InitialContext();
>Context env = (Context)ct.lookup("java:comp/env");
>DataSource ds = (DataSource)env.lookup(jndi);
>Connection con = ds.getConnection();
>
>return con;
>}
>
>
> >
>

--~--~-~--~~~---~--~~
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-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: com/google/gwt/gen2/Gen2.gwt.xml jar

2009-06-08 Thread Jason Parekh
Could you give more context into what you're trying to do and how your
project is set up?
Thanks,
jason


On Mon, Jun 8, 2009 at 9:12 AM, Kinjal Khandhar
wrote:

> Hello All,
> Can anyone tell me where will I get this jar file from?
>
> I am getting the following error:
>
> [ERROR] Unable to find 'com/google/gwt/gen2/Gen2.gwt.xml' on your
> classpath; could be a typo, or
> maybe you forgot to include a classpath entry for source?
>
> Thanks in advance.
>
>
>
> >
>

--~--~-~--~~~---~--~~
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-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: Import Module from another GWT project in Eclipse workspace

2009-06-08 Thread Jason Parekh
Hey Sam,
The Google Plugin for Eclipse doesn't properly support project dependencies
yet.  Check out
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9/6906075b8da782c6for
a couple workarounds.

Hope that helps,
jason

On Sun, Jun 7, 2009 at 8:58 PM, Sam  wrote:

>
> Hi all,
>
> I feel like I'm going insane here!
>
> I have a GWT project with a module named "UploadWidget". I'd like to
> use it from another project in the same workspace for fast and easy
> testing purposes. I have added the widget project as a dependency, and
> have played around with the run configuration classpath, with no luck.
>
> No matter what I do I get the error:
> Line 11: No source code is available for type
> com.sambro.uploadwidget.client.UploadWidget; did you forget to inherit
> a required module?
>
> According to the run configuration the source code for UploadWidget is
> on the classpath of the other project, but I still receive this error.
>
> I am working on a medium sized project and I will be writing a number
> of reusable components during development. What I envisaged was
> developing these components in separate projects and referencing them
> from the main project.
>
> Are there simple steps I can take to achieve this???
>
> Cheers,
> Sam
>
> >
>

--~--~-~--~~~---~--~~
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-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: GWT JUnit testing problem - "Unable to find 'js.gwt.xml' on your classpath"

2009-06-08 Thread Jason Parekh
Hi Marko,
Are you using the Google Plugin for Eclipse?  How are your tests structured
with relation to the GWT application (for example, what are the paths to
each of these, are they in separate projects, etc.)?

Thanks,
jason

On Mon, Jun 8, 2009 at 6:40 AM, Marko Vuksanovic
wrote:

>
> I am trying to test my gwt application )version 1.6.4) but have run
> into a problem. I have created a simple test and when I run it i get
> lots of errors - Unable to find 'js.gwt.xml' on your classpath - but
> the test seems to be executed successfuly. Any ideas what could be the
> problem and how to solve that?
>
> I have also noticed that this test creates a "tomcat" folder in my
> project directory structure. Could somebody explain why this is
> happening...
>
> Thanks in advance...
>
> >
>

--~--~-~--~~~---~--~~
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-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: Unit testing GWT and App Engine in Eclipse

2009-06-10 Thread Jason Parekh
Hi Johan,
I don't think there are any frameworks that can let you test a round-trip
between the two.  Instead, you'll likely want to test each side individually
(see http://code.google.com/appengine/docs/java/howto/unittesting.html for
App Engine junit testing).

If you're using the Eclipse plugin, I have a sample project that tests an
App Engine project, see
http://www.wuala.com/jasonparekh/Public/google/beingTested.zip/ .

Hope this helps,
jason

On Wed, Jun 10, 2009 at 8:10 AM, Johan Lundberg  wrote:

>
> Have been trying to make a unit test for my GWT and App Engine app but
> there is something I do wrong and I cannot find any documentation
> about this combination.
>
> http://code.google.com/webtoolkit/tutorials/1.6/appengine.html shows
> the relation between gwt and appengine but it doesn't explain how to
> set up the unit tests.
>
> http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html is a
> great guide I have been using to make write my first tests, but it
> doesn't explain how I should invoke the local app engine server when
> making a unit test in hosted mode for my gwt app.
>
> Any suggestions or pointers to guides?
> /johan
> >
>

--~--~-~--~~~---~--~~
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-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: Receiving "Plugin failed to connect to hosted mode server 127.0.0.1:9997" Error

2010-03-22 Thread Jason Parekh
Hi Julian,

What operating system are you running?

You can try a couple things that have worked for others in the past:
- Instead of 127.0.0.1:9997, try localhost:9997
- Add "-bindAddress *0.0.0.0" to your program arguments in the launch
configuration.  This lives at Debug > Debug configurations... > Select your
launch config on the left > Arguments tab.  Just add "-bindAddress 0.0.0.0"
in the beginning before all the other arguments.  This makes it listen on
all network adapters, so another machine on your network could connect to
you.*
*
*
*jason*

On Sat, Mar 20, 2010 at 3:44 AM, JulianK <0711resp...@gmx.de> wrote:

> Hi all,
>
> i'm frustrated.
> I'm using Eclipse and the GWT Plugin for Eclipse. I created a new GWT
> Project with the GWT example files in it.
> after successfully creating it i start it via "Run as  Web
> Application" and get an Error:
>
> "Plugin failed to connect to hosted mode server 127.0.0.1:9997"
>
> i also tried it with another port and localhost instead of 127.0.0.1
> but without any success.
>
> Hope you can help me.
> kind regards,
> Julian
>
> --
> 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.
>
>

-- 
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: com.google.gwt.eclipse.core.gwtNature

2010-03-22 Thread Jason Parekh
Hi Jim,

Sorry, the Google Plugin for Eclipse's source code is not available.  You
might be able to achieve what you want by looking at a sample GWT project's
.project file, which will contain the GWT project nature ID.  You should be
able to add this to your project description.

I'm curious, what is it that you're adding this into?

jason

On Mon, Mar 22, 2010 at 12:00 AM, Jim  wrote:

> I want to create a Google Application Project from Java Code instead
> of IDE. How can I do it? Is Google Eclipse Plugin for GWT open source?
> I know how to create a Java project through Java code like:
>
>final IProjectDescription description
> = project.getDescription();
>description.setNatureIds(new String[]
> {JavaCore.NATURE_ID,
> ProjectNature.NATURE_ID});
>description.setLocation(null);  //default
> location
>
>
> I do appreciate it if you can show me how to download the source code
> if it is open source and how to use Google Eclipse Plugin in java
> code.
>
>
> Jim
>
> --
> 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.
>
>

-- 
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: com.google.gwt.eclipse.core.gwtNature

2010-03-22 Thread Jason Parekh
Oh, I missed the subject of the thread.  It looks like you've already found
the ID of the GWT nature.  Try adding that to your array of Strings which is
being passed to setNatureIds.

jason

On Mon, Mar 22, 2010 at 10:15 AM, Jason Parekh wrote:

> Hi Jim,
>
> Sorry, the Google Plugin for Eclipse's source code is not available.  You
> might be able to achieve what you want by looking at a sample GWT project's
> .project file, which will contain the GWT project nature ID.  You should be
> able to add this to your project description.
>
> I'm curious, what is it that you're adding this into?
>
> jason
>
> On Mon, Mar 22, 2010 at 12:00 AM, Jim  wrote:
>
>> I want to create a Google Application Project from Java Code instead
>> of IDE. How can I do it? Is Google Eclipse Plugin for GWT open source?
>> I know how to create a Java project through Java code like:
>>
>>final IProjectDescription description
>> = project.getDescription();
>>description.setNatureIds(new String[]
>> {JavaCore.NATURE_ID,
>> ProjectNature.NATURE_ID});
>>description.setLocation(null);  //default
>> location
>>
>>
>> I do appreciate it if you can show me how to download the source code
>> if it is open source and how to use Google Eclipse Plugin in java
>> code.
>>
>>
>> Jim
>>
>> --
>> 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.
>>
>>
>

-- 
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: Problems with Eclipse Plugin

2010-03-22 Thread Jason Parekh
Hey Moe,

You can fix this by re-adding the SDKs in the preferences.

Go to Eclipse > Preferences.  Choose Google > Web Toolkit on the left.
 Remove the existing SDK, and re-add it at the new path.  I believe the path
will be something like:
 PATH_TO_ECLIPSE/plugins/com.google.gwt.eclipse.sdkbundle/gwt-2.0.3.  You
can do the same thing for App Engine as well.

jason

On Sun, Mar 21, 2010 at 8:02 AM, moe  wrote:

> Hey,
>
> after installing the GWT Plugin, I want to change the directory of
> Eclipse - it was in my downloads folder.
> But now the Google SDKs aren't found any more by Eclipse.
> To change the directory first and then install didn't work either.
> I use Mac OS X 10.6, Eclipse 3.5.2 (64 bit) and GWT 2.0.3.
>
> Thanks for any help!
>
> Moe
>
> --
> 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.
>
>

-- 
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: [Newbie] "java.net.SocketException: Invalid argument" when running devmode

2010-03-22 Thread Jason Parekh
Hi Chihab,

It looks like there are general issues with your configuration when
listening on sockets.

Given you're on Linux, I can't imagine it to be permission issues.  Have you
tried rebooting?  Do you know if any of your other apps successfully listen
on a port?  Could you try a quick Java sample to listen on a port?  For
example
http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html.

jason

On Sun, Mar 21, 2010 at 5:58 PM, Chihab Otmani  wrote:

> Hi all,
>
> I've got the following errors when running the development mode code
> server as described in this tutorial:
> http://code.google.com/webtoolkit/doc/latest/tutorial/create.html,
> either using eclipse or webAppcreator ant.
>
> When using Eclipse, the following message is displayed in the
> console :
> "Could not connect to remote UI listening at localhost:52134. Using
> default UI instead."
> The GWT development Mode window is displayed. According to the Web
> Server tab, AppEngine seems to be started. The Development mode tab
> shows a Communications error -- exception SocketException the detailed
> trace is :
>
> java.net.SocketException: Invalid argument
>  at java.net.PlainSocketImpl.socketBind(Native Method)
>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>  at java.net.ServerSocket.bind(ServerSocket.java:319)
>  at java.net.ServerSocket.bind(ServerSocket.java:277)
>  at
> com.google.gwt.dev.shell.BrowserListener.(BrowserListener.java:
> 67)
>  at
> com.google.gwt.dev.DevModeBase.ensureCodeServerListener(DevModeBase.java:
> 898)
>  at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:888)
>  at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1030)
>  at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783)
>  at com.google.gwt.dev.DevMode.main(DevMode.java:275)
>
>
> When using webAppCreator (from the GWT eclipse plugin installation
> folder) and then "ant devmode" to test, I've got:
> devmode:
> [java] Unable to start embedded HTTP server
> [java] java.net.SocketException: Invalid argument
> [java] at sun.nio.ch.Net.bind(Native Method)
> [java] at
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
> 119)
> [java] at
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:
> 59)
> [java] at
>
> org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:
> 205)
> [java] at
>
> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:
> 304)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> 39)
> [java] at org.mortbay.jetty.Server.doStart(Server.java:
> 233)
> [java] at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
> 39)
> [java] at
> com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:
> 543)
> [java] at
> com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:
> 421)
> [java] at
> com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:
> 1035)
> [java] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:
> 783)
> [java] at com.google.gwt.dev.DevMode.main(DevMode.java:275)
>
> Do you have an idea where these errors come from ?
>
> My environment:
> * Eclipse Galileo 3.5.2 with Java EE IDE Feature 1.2.2
> * Google App Engine Java SDK 1.3.1
> * Google Plugin for Eclipse 1.3.1
> * Google Web Toolkit SDK 2.0.3
> * Debian Testing amd64, Linux 2.6.32
> * Java version "1.6.0_16" (Java HotSpot(TM) 64-Bit Server VM (build
> 14.2-b01, mixed mode))
> * Apache Ant version 1.8.0
>
> Thanks !
>
> --
> 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.
>
>

-- 
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: [Newbie] "java.net.SocketException: Invalid argument" when running devmode

2010-03-22 Thread Jason Parekh
Hi Chihab,

Rajeev brought up a good point.  It could potentially be an IPV6 issue with
Sun's sockets. You could try seting the networking property:
java.net.preferIPv4Stack=true
as documented here:
http://java.sun.com/j2se/1.4.2/docs/guide/net/ipv6_guide/index.html jason

On Mon, Mar 22, 2010 at 10:30 AM, Jason Parekh wrote:

> Hi Chihab,
>
> It looks like there are general issues with your configuration when
> listening on sockets.
>
> Given you're on Linux, I can't imagine it to be permission issues.  Have
> you tried rebooting?  Do you know if any of your other apps successfully
> listen on a port?  Could you try a quick Java sample to listen on a port?
>  For example
> http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html.
>
> jason
>
>
> On Sun, Mar 21, 2010 at 5:58 PM, Chihab Otmani  wrote:
>
>> Hi all,
>>
>> I've got the following errors when running the development mode code
>> server as described in this tutorial:
>> http://code.google.com/webtoolkit/doc/latest/tutorial/create.html,
>> either using eclipse or webAppcreator ant.
>>
>> When using Eclipse, the following message is displayed in the
>> console :
>> "Could not connect to remote UI listening at localhost:52134. Using
>> default UI instead."
>> The GWT development Mode window is displayed. According to the Web
>> Server tab, AppEngine seems to be started. The Development mode tab
>> shows a Communications error -- exception SocketException the detailed
>> trace is :
>>
>> java.net.SocketException: Invalid argument
>>  at java.net.PlainSocketImpl.socketBind(Native Method)
>>  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
>>  at java.net.ServerSocket.bind(ServerSocket.java:319)
>>  at java.net.ServerSocket.bind(ServerSocket.java:277)
>>  at
>> com.google.gwt.dev.shell.BrowserListener.(BrowserListener.java:
>> 67)
>>  at
>> com.google.gwt.dev.DevModeBase.ensureCodeServerListener(DevModeBase.java:
>> 898)
>>  at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:888)
>>  at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1030)
>>  at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783)
>>  at com.google.gwt.dev.DevMode.main(DevMode.java:275)
>>
>>
>> When using webAppCreator (from the GWT eclipse plugin installation
>> folder) and then "ant devmode" to test, I've got:
>> devmode:
>> [java] Unable to start embedded HTTP server
>> [java] java.net.SocketException: Invalid argument
>> [java] at sun.nio.ch.Net.bind(Native Method)
>> [java] at
>> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
>> 119)
>> [java] at
>> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:
>> 59)
>> [java] at
>>
>> org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:
>> 205)
>> [java] at
>>
>> org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:
>> 304)
>> [java] at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
>> 39)
>> [java] at org.mortbay.jetty.Server.doStart(Server.java:
>> 233)
>> [java] at
>> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
>> 39)
>> [java] at
>> com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:
>> 543)
>> [java] at
>> com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:
>> 421)
>> [java] at
>> com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:
>> 1035)
>> [java] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:
>> 783)
>> [java] at com.google.gwt.dev.DevMode.main(DevMode.java:275)
>>
>> Do you have an idea where these errors come from ?
>>
>> My environment:
>> * Eclipse Galileo 3.5.2 with Java EE IDE Feature 1.2.2
>> * Google App Engine Java SDK 1.3.1
>> * Google Plugin for Eclipse 1.3.1
>> * Google Web Toolkit SDK 2.0.3
>> * Debian Testing amd64, Linux 2.6.32
>> * Java version "1.6.0_16" (Java HotSpot(TM) 64-Bit Server VM (build
>> 14.2-b01, mixed mode))
>> * Apache Ant version 1.8.0
>>
>> Thanks !
>>
>> --
>> 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.
>>
>>
>

-- 
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: Mixing Projects

2010-04-12 Thread Jason Parekh
Hey John,

Sorry to hear about all your troubles, please see me responses inline below:

On Sat, Apr 10, 2010 at 9:50 AM, John  wrote:

> I'm getting totally confused about "dependent projects", and other
> stuff.  After much Googling I find lots of references, all confusing.
> (gwt 2.03, linux, galileo eclipse)
>
> Confusion 1:  people talk about "main project" and "dependent
> project".  In my case, I have a project that is the "main thing" and I
> have a different project where I developed a "widget".   This second
> is a "standalone" project because it has a host page and all, just so
> I could test it.
>
> I want to use this widget in my main project.  In that case, won't my
> MAIN project also be the DEPENDENT one?  It depends on the widget,
> right?  So which Project.gwt.xml has to be modified?
>

> Confusion 2:  people talk about "setting the output" of one project to
> be the same as the other project. How?  Looks to me like outputs can
> only be moved around inside their own project.
>

As you've found, dependent projects are a very rough area in GPE.  One
solution that should work for you is: in your main project, use "Link
Source" to add your widget project's source folders.


>
> Confusion 3:  After much screwing around, I broke something and the
> project that used to work, now doesn't.  This took me into the area of
> Run Configuration.  I appreciate that the developers took the trouble
> to initially put settings into all the right places, but what's the
> point of letting users change the settings if the beast just puts
> things back as they were?  I am using -noserver, ie my own Xampp php
> server.  Specifically, on the arguments page, it starts with:
>
> -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl
> /GfBegin/GfBegin.php -war /home/john/workspace/GfBegin/war -noserver
> -logLevel INFO com.axxessible.gfbegin.gfbegin
> com.axxessible.gfbegin.GfBegin
>
> I have Googled to try to find out what
> < -remoteUI "${gwt_remote_ui_server_port}:${unique_id}"> is supposed
> to do, and I can see that other people have asked the same question,
> but I never found a clear answer.  Furthermore, I did find on a
> previous occasion that I could make things work by taking it out!  But
> I am now finding that every time I delete that portion, some "helpful"
> spirit living in that dialog puts it back.


Sorry -- that's a bug on me.  The current feature allows you to change
argument values, but as you've found, removing arguments altogether won't
stick.

"-remoteUI" allows the DevMode view inside Eclipse to be the UI for DevMode
instead of the Swing-based UI in the GWT SDK.  Regarding removing this
argument leading to a working application:  You may have hit a bug we
haven't seen before -- can you try the below and see if that's the case?  If
so, we can dig a bit deeper on that issue (assuming your other issues are
taken care of.)

Create a new plain "Java application" launch configuration.  For each of the
tabs "Main", "Arguments", and "Classpath", copy the values from your
existing "Web Application" launch configuration.  In this new "Java
application" launch configuration, you can remove the "-remoteUI" and see if
things work.

Also, try deleting your existing "Web Application" launch configuration and
re-running your main project.  That will create a new launch configuration
from scratch with the defaults, which should get you back into a working
state (assuming you were in a working state before, which it sounds like you
were at some point.)


>
> Sure, probably I'm wrong, and stupid, but I'm having a very
> frustrating time with this.  I've been using gwt since 1.4 or 1.5 or
> thereabouts, but I never had the need to merge different projects.
>

Nope, not at all :)  Sorry about your troubles in these couple rough areas,
hopefully we can get you back on a working path.  And as always, thanks for
letting us know which areas need improvement.

jason


> Any advice or links (geared for dummies) would be very much appreciated.
>
> John
>
> --
> 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.
>
>

-- 
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: -port keeps disappearing

2010-04-12 Thread Jason Parekh
Hi,

The "-port" argument is for specifying the port of the embedded server.  In
your case, you're running an external server, so the "-port" is not needed,
and that's why it is getting removed.

jason

On Mon, Apr 12, 2010 at 10:21 AM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

> In the "Server" tab, I see a option to run built-in server, and I have the
> check box unchecked, bcoz I want to run the gwt app in my external server.
>
> I have check the checkbox it adds -port 8080 -server.
>
> - Abdullah
>
>
> On Mon, Apr 12, 2010 at 6:37 PM, Katharina Probst wrote:
>
>> Hi,
>>
>> In your run/debug configuration, if you go to the "Server" tab, what does
>> it say?  This tab also sets the port and the -noserver (or server)
>> arguments, so you'll want to make sure they're not in conflict with your
>> "Arguments" tab.
>>
>> kathrin
>>
>>
>> On Mon, Apr 12, 2010 at 8:33 AM, Abdullah Shaikh <
>> abdullah.shaik...@gmail.com> wrote:
>>
>>> Yes the -port & port number disappears for me too 
>>>
>>> Below are the arguments that are automatically set for me, and I just add
>>> the -port argument since I want to use a different port.
>>>
>>> -startupUrl /myapp/MyApp.html -noserver -remoteUI
>>> "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -war
>>> /home/abdullah/projects/myapp_ws/MyApp/war com.app.myapp.MyApp
>>>
>>> Do I need to set the ${gwt_remote_ui_server_port} or something ?
>>>
>>> - Abdullah
>>>
>>>
>>> On Mon, Apr 12, 2010 at 4:54 PM, Ian Bambury wrote:
>>>
 In the Run Configs - Arguments I add -codeServerPort -noserver and
 -port. If I restart Eclipse, or go to the arguments, or after a while of
 just running via the run button, the -port switch and port number 
 disappear.

 Anyone else get this? Any way to make it 'stick'? Is it a bug in the
 GEP?

 Ian

 http://examples.roughian.com

 --
 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.

>>>
>>>  --
>>> 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-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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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 plugin for eclipse install problem

2010-04-19 Thread Jason Parekh
Hey,

Could you try starting with a fresh Eclipse for Java EE and run Eclipse with
admin privileges?  I recall some folks having weird issues on Windows 7 that
were resolved by doing this.  If it doesn't work, we can dig into your
configuration and log files to figure out what's going wrong.

jason

On Sun, Apr 18, 2010 at 5:21 PM, xwise  wrote:

> I saw a few other posts related to this but nothing that would solve
> my problem. I'm just trying to setup the GWT plugin for eclipse 3.5,
> following the instructions at:
>
> http://code.google.com/eclipse/docs/getting_started.html
> http://code.google.com/eclipse/docs/install-eclipse-3.5.html
>
> The plugin is downloaded and seems to install successfully but when
> eclipse restarts I don't see the "File > New > Web Application
> Project" option in the eclipse menu. I also tried manually installing
> WST even though I think it was already installed, but that made no
> difference. I've tried with eclipse 3.5 IDE for java EE and with the
> standard eclipse 3.5 IDE for java, nothing works. I'm running under
> windows 7 64-bit, although I don't think that should matter. Any help
> would be appreciated.
>
> --
> 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.
>
>

-- 
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 plugin for eclipse install problem

2010-04-21 Thread Jason Parekh
Yup, I meant install a new Eclipse (as an administrator) and then install
the plugin (as an administrator also).

jason

On Wed, Apr 21, 2010 at 2:07 AM, xwise  wrote:

> I tried running it with admin privileges and it still doesn't work.
> When you say "fresh" Eclipse, do you mean reinstall it and then
> reapply the plugin as admin?
>
> Thanks.
>
> On Apr 19, 9:21 am, Jason Parekh  wrote:
> > Hey,
> >
> > Could you try starting with a fresh Eclipse for Java EE and run Eclipse
> with
> > admin privileges?  I recall some folks having weird issues on Windows 7
> that
> > were resolved by doing this.  If it doesn't work, we can dig into your
> > configuration and log files to figure out what's going wrong.
> >
> > jason
> >
> >
> >
> >
> >
> > On Sun, Apr 18, 2010 at 5:21 PM, xwise  wrote:
> > > I saw a few other posts related to this but nothing that would solve
> > > my problem. I'm just trying to setup the GWT plugin for eclipse 3.5,
> > > following the instructions at:
> >
> > >http://code.google.com/eclipse/docs/getting_started.html
> > >http://code.google.com/eclipse/docs/install-eclipse-3.5.html
> >
> > > The plugin is downloaded and seems to install successfully but when
> > > eclipse restarts I don't see the "File > New > Web Application
> > > Project" option in the eclipse menu. I also tried manually installing
> > > WST even though I think it was already installed, but that made no
> > > difference. I've tried with eclipse 3.5 IDE for java EE and with the
> > > standard eclipse 3.5 IDE for java, nothing works. I'm running under
> > > windows 7 64-bit, although I don't think that should matter. Any help
> > > would be appreciated.
> >
> > > --
> > > 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 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-toolkit@googlegroups.com
> .
> > To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> 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.
>
>

-- 
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: Eclipse GWT Plug In installation problem

2010-04-26 Thread Jason Parekh
We've heard of similar strange behavior on Windows machines, and folks seem
to resolve it by installing and running Eclipse as an administrator.

We've also seen similar behavior on Linux that is caused by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281510 .  The workaround for
this is to download the Eclipse zip file and just install it for your user.

jason

On Sun, Apr 25, 2010 at 9:15 PM, Stimpy  wrote:

> I just made a post about this a little while ago. I am having the same
> problem. Only difference is that mine was working for a while before
> it disappeared.
>
> -Will
>
> On Apr 23, 9:53 pm, Swamy  wrote:
> > I installed the GWT plug for Eclipse (3.5, Galileo) using the
> > instructions on the web site. Things seemed to work.  However, I don't
> > see any option to create a Web Application Project via the menu File
> > ==> New.
> >
> > Is there some way I can verify that the Eclipse GWT plug-in did
> > install properly by looking at the file system?  I am using Windows
> > Vista.
> >
> > From Eclipse, it seems that the installation did occur because if I
> > try to install the plug-in again, it declares that it has already been
> > installed!
> >
> > I should mention that my Eclipse had the Blackberry plug-in already
> > installed when I tried to add the GWT plug-in.  Does that make a
> > difference?
> >
> > Thanks for any response.
> >
> > --
> > 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-toolkit@googlegroups.com
> .
> > To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> 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.
>
>

-- 
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: Missing Plugin

2010-04-26 Thread Jason Parekh
(Stimpy, you're not being ignored :)  Please see the other thread that
you've replied to, maybe we can solve both of your issues with the same
solution.)

On Sun, Apr 25, 2010 at 8:56 PM, Stimpy  wrote:

> I recently installed Eclipse and the Google Plugin with App Engine and
> GWT plugins as well and everything was working fine for a while. I
> added a new plugin yesterday and the New>Web Application, and all
> other GWT plugin menu items and buttons disappeared. I tried removing
> the plugin and reinstalling it and that did not fix the problem. I
> then completely deleted the eclipse program folder, the .eclipse
> folder in my user directory, and all the .folders from my workspace. I
> then installed a fresh copy of eclipse and tried installing the Google
> plugin. It went through the install process just fine and shows up in
> the list of installed addons but there are still no menu items for
> creating new web projects etc. I have also noticed at least one other
> plugin having a similar problem. Anyone have any ideas as to what is
> causing this odd behavior? If not can anyone point me in the right
> place to look for help? I am running Eclipse 3.5 on Windows Vista 32
> bit.
>
> -Will
>
> --
> 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.
>
>

-- 
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: Importing Contacts MVP example into Eclipse

2010-04-26 Thread Jason Parekh
Hey Kevin,

The Contacts.zip file actually has the Eclipse project metadata included
(the .project and .classpath files.)  What you can do extract that zip file,
in Eclipse go to File > Import > Existing projects, and point it to the
extracted directory.

jason

On Sun, Apr 25, 2010 at 3:36 PM, Kevin V  wrote:

> Hello everyone,
>
> I am new to the MVC paradigm and am trying to implement a webapp using
> GWT and Eclipse. I've done the Stockwatcher tutorial and would like,
> at this point, to follow the Contacts tutorial here (http://
> code.google.com/webtoolkit/articles/mvp-architecture.html) but am
> having issues with importing the project into Eclipse. What is the
> easiest / most straightforward way to do this? I have created a new
> Webapp project "Contacts" and added the files to the corresponding
> directory (then refreshed in Eclipse), but appear to have errors in
> compilation. Help?
>
> Thanks in advance,
> Kevin
>
> --
> 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.
>
>

-- 
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: Problems running GWT app using Eclipse plugin

2010-06-21 Thread Jason Parekh
Hi Fabricio,

Could you try this:

- Run your new, empty GWT project via Eclipse, then go to its Debug view.
- You should see a line in the Debug view with something like:
"/usr/lib/.../java (...)".
- Right-click on this, go to Properties, and copy+paste the Command Line
into a reply.

jason

On Sun, Jun 20, 2010 at 6:15 PM, Fabricio wrote:

> Hi,
>
> I recently installed GWT Plugin on a fresh Eclipse under Ubuntu 10.04
> (32 bits). Every time I try to run the App I get the following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: com/google/
> gwt/dev/DevMode
> Could not find the main class: com.google.gwt.dev.DevMode.  Program
> will exit.
>
> This happens with the GWT SDK pointing directly to the plugin's SDK or
> an external folder with the SDK.
> The GWT Library is in the classpath, so I can't figure out what is
> wrong. Same occurs if I create a new, empty GWT project and try to run
> it.
>
> Can somebody help me?
>
> Fabricio Toresan
>
> --
> 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.
>
>

-- 
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.



Google Plugin for Eclipse 3.6 is now available

2010-06-23 Thread Jason Parekh
Hey folks,

Google Plugin for Eclipse 1.3.3 is out with support for Eclipse 3.6.
 Install it with Eclipse 3.6's new Eclipse Marketplace feature by going to
Help > Eclipse Marketplace, and search for Google Plugin for Eclipse.

Alternatively, here are the update sites:
- Eclipse Helios (3.6): http://dl.google.com/eclipse/plugin/3.6
- Eclipse Galileo (3.5): http://dl.google.com/eclipse/plugin/3.5
- Eclipse Ganymede (3.4): http://dl.google.com/eclipse/plugin/3.4
- Eclipse Europa (3.3): http://dl.google.com/eclipse/plugin/3.3

Need detailed instructions?  Check out the quick start guide:
http://code.google.com/eclipse/docs/getting_started.html

Enjoy!

-- 
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: Problem with eclipse plugin.

2010-06-24 Thread Jason Parekh
Try deleting the existing launch configuration (Run > Run configurations)
and then re-running.

If you can reproduce this behavior from a blank slate, please file a bug.

Thanks,
jason

On Thu, Jun 24, 2010 at 7:24 AM, xworker wrote:

> Hi
>
> I have created a GWT project in Eclipse as a Dynamical webproject.
> When I choose Run-> Web Application (with the google plugin) I get
> this error:
>
> Unknown argument: -style
> Google Web Toolkit 2.0.3
> DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-
> string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
> level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort
> port-number | "auto"] [-server servletContainerLauncher[:args]] [-
> startupUrl url] [-war dir] [-extra dir] [-workDir dir] module[s]
>
> I am behind a company firewall so I have installed the plugin
> manually.
> What could be the issue?
>
> thanks
> /x
>
> --
> 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.
>
>

-- 
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: Problem with eclipse plugin.

2010-06-28 Thread Jason Parekh
Those versions are obsolete (including RC2).  The latest stable version of
our plugin is GPE 1.3.3, which is available via our update site, see
http://code.google.com/eclipse/docs/getting_started.html .

jason

On Mon, Jun 28, 2010 at 7:53 AM, xworker wrote:

> Found the RC2 eclipse plugin. Works.
>
> Case closed.
>
> /x
>
> On 28 Juni, 12:48, xworker  wrote:
> > Hi
> >
> > Tried deleting the run configuraitons but the error is the same.
> >
> > I'm running Eclipse 3.5 with the  Google Plugin for Eclipse 3.5
> > 1.1.0.v200907291526
> > com.google.gdt.eclipse.suite.e35.feature.feature.group
> >
> > Thanks
> > /X
> >
> > On 24 Juni, 16:09, Jason Parekh  wrote:
> >
> >
> >
> > > Try deleting the existing launch configuration (Run > Run
> configurations)
> > > and then re-running.
> >
> > > If you can reproduce this behavior from a blank slate, please file a
> bug.
> >
> > > Thanks,
> > > jason
> >
> > > On Thu, Jun 24, 2010 at 7:24 AM, xworker  >wrote:
> >
> > > > Hi
> >
> > > > I have created a GWT project in Eclipse as a Dynamical webproject.
> > > > When I choose Run-> Web Application (with the google plugin) I get
> > > > this error:
> >
> > > > Unknown argument: -style
> > > > Google Web Toolkit 2.0.3
> > > > DevMode [-noserver] [-port port-number | "auto"] [-whitelist
> whitelist-
> > > > string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
> > > > level] [-gen dir] [-bindAddress host-name-or-address]
> [-codeServerPort
> > > > port-number | "auto"] [-server servletContainerLauncher[:args]] [-
> > > > startupUrl url] [-war dir] [-extra dir] [-workDir dir] module[s]
> >
> > > > I am behind a company firewall so I have installed the plugin
> > > > manually.
> > > > What could be the issue?
> >
> > > > thanks
> > > > /x
> >
> > > > --
> > > > 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.-Dölj<http://groups.google.com/group/google-web-toolkit?hl=en.-D%C3%B6lj>citerad
> > > > text -
> >
> > > - Visa citerad text -- Dölj citerad text -
> >
> > - Visa citerad text -
>
> --
> 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.
>
>

-- 
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: Google Plugin for Eclipse 3.6 is now available

2010-06-28 Thread Jason Parekh
On Fri, Jun 25, 2010 at 6:59 PM, Thomas Broyer  wrote:

>
>
> On 23 juin, 23:14, Jason Parekh  wrote:
> > Hey folks,
> >
> > Google Plugin for Eclipse 1.3.3 is out with support for Eclipse 3.6.
> >  Install it with Eclipse 3.6's new Eclipse Marketplace feature by going
> to
> > Help > Eclipse Marketplace, and search for Google Plugin for Eclipse.
> >
> > Alternatively, here are the update sites:
> > - Eclipse Helios (3.6):http://dl.google.com/eclipse/plugin/3.6
> > - Eclipse Galileo (3.5):http://dl.google.com/eclipse/plugin/3.5
> > - Eclipse Ganymede (3.4):http://dl.google.com/eclipse/plugin/3.4
> > - Eclipse Europa (3.3):http://dl.google.com/eclipse/plugin/3.3
> >
> > Need detailed instructions?  Check out the quick start guide:
> http://code.google.com/eclipse/docs/getting_started.html
> >
> > Enjoy!
>
> How does it compare to the 1.3.4m1 version, which is not available for
> Helios/3.6? I can't find the release notes for 1.3.4m1 so I don't know
> whether I can upgrade to Helios/3.6 with the 1.3.3 and GWT 2.1m1 (or
> even trunk), or if I should stay with Galileo/3.5 and 1.3.4m1.
> Will GWT 2.1m2 be released with an update to the Eclipse plugin with
> support for Helios/3.6? (any ETA for any of them: GWT 2.1m2 and
> 1.3.4m2 ?)
>

The bulk of GPE 1.4.0 M1 are features to integrate with STS 2.3.3 M1.  Since
that version of STS is built on Eclipse 3.5, we did not release an Eclipse
3.6 version of GPE 1.4.0 M1.   GPE 1.4.0 M2 will include Eclipse 3.6
support, and should be coming shortly.

If you're wanting to use Eclipse 3.6, I'd recommend jumping to Eclipse 3.6 +
GPE 1.3.3, and then switching to 1.4.0 M2 when it arrives.

jason


>
> --
> 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.
>
>

-- 
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: eclipse + pyjamas + dev mode

2010-06-28 Thread Jason Parekh
Hi Mariyan,

I've never used Pyjamas, but you can launch dev mode with the "-noserver"
argument which allows you to use your own web server instead of the embedded
Jetty in devmode.

jason

On Sun, Jun 27, 2010 at 5:31 AM, mariyan nenchev
wrote:

> Hi,
>
> if there are people who have experience with python&pyjamas, could you
> please tell me is it possible to use hosted/dev mode with pyjamas? And How
> server side integration is done in pyjamas (RPC?)?
>
> Regards.
>
> --
> 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.
>

-- 
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: New open source eclipse plugin for UiBinder validation

2010-06-28 Thread Jason Parekh
Hey Gal,

Very cool!  GPE doesn't expose any extension points, but you should be able
to add your autocompletion proposals by hooking into WST's autocompletion
framework (we
subclass 
org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor).

Hope that helps,
jason

On Sat, Jun 26, 2010 at 9:26 PM, Gal Dolber  wrote:

> Here is a new eclipse plugin I made for gwt's UiBinder.
>
> My goal was to implement the validation, autocompletion  and quickassist
> for widgets fields.
>
> Right now the only feature working is the validation.
>
> I couldn't find a way to hook the autocompletion and quickassist into
> google's "UiBinder template editor". Any help or tip for how to do this it
> will be appreciated.
>
> There are still some problems with custom parsers. i.e  unit="PX" ...> I needed to add an exception for that because the method
> setUnit doesn't exists in DockLayoutPanel... I am sure there are exceptions
> like this one that I forgot, so please let me know if you find one.
>
> Download here:
> http://code.google.com/a/eclipselabs.org/p/uibindervalidator/downloads/list
>
> --
> 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.
>

-- 
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: Google Plugin for Eclipse 3.6 is now available

2010-06-30 Thread Jason Parekh
Hi Bálint,

Is the checkbox "Launch and deploy from this directory" checked? (It is
below the text box you enter the WAR directory in the project properties >
Google > Web application.)

Also, is this a new project or your existing project?

If you don't mind, could you create a new message thread?

Thanks,
jason

2010/6/29 Kriván Bálint 

> Hi!
>
> I've just downloaded Helios, and installed the GPE, but I'm having an
> issues, when I'm starting the Dev Mode it says, that the working
> directory does not exists. It wasn't a problem in 3.5, but okay, I've
> created it. Then I've noticed it doesn't copy the war files from the
> specified directory (This project has a WAR directory checked and the
> location is given), but 3.5 does. So currently I can't use Eclipse
> Helios and GPE because of this.
> Do you know something about these issues? Has anybody else experienced
> this?
>
> Thanks for your help, I really looking forward to use the new Eclipse
> with the new plugin!
>
> Regards,
> Bálint Kriván
>
> --
> 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.
>
>

-- 
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: Google Plugin for Eclipse 3.6 + Different war directory

2010-07-01 Thread Jason Parekh
Hi Bálint,

Oh, ok.  In that case, the only time that GPE copies files to the WAR
directory specified  by "-war" argument is if you're using the Java EE
support in Eclipse.  Can you make sure your Eclipse 3.6 includes Java EE
support? (Was it the Eclipse for Java EE 3.6 that you downloaded?)  Also,
are you re-using your existing workspace from Eclipse 3.5?  If not, I wonder
if there are differences between how the project was setup in Eclipse 3.5
and how it is setup in Eclipse 3.6?

jason

2010/7/1 Bálint Kriván 

> Sorry, I've forgot to mention that it isn't checked because in the lauch
> configuration I'm giving an other war directory like this: -war
> "${project_loc}/location/to/war".
> And in 3.5, the files/directories (WEB-INF, META-INF) from the "This
> project has a WAR directory" directory were copied to the other war
> directory "${project_loc}/location/to/war" and it was working. Now only the
> generated js is generated to "${project_loc}/location/to/war" but the
> important files to the webserver isn't.
>
> So I have a sry directory where are the sources of the war files (my module
> html, with css and WEB-INF + META-INF directories), but I would like to
> compile the whole project to an other directory (because of VCS). I could
> achieved this in 3.5, but not in 3.6, but I really would like to use the new
> eclipse+plugin.
>
> Thanks!
>
> On Wed, Jun 30, 2010 at 11:44 PM, Jason Parekh wrote:
>
>> Hi Bálint,
>>
>> Is the checkbox "Launch and deploy from this directory" checked? (It is
>> below the text box you enter the WAR directory in the project properties >
>> Google > Web application.)
>>
>> Also, is this a new project or your existing project?
>>
>> If you don't mind, could you create a new message thread?
>>
>> Thanks,
>> jason
>>
>> 2010/6/29 Kriván Bálint 
>>
>>> Hi!
>>>
>>> I've just downloaded Helios, and installed the GPE, but I'm having an
>>> issues, when I'm starting the Dev Mode it says, that the working
>>> directory does not exists. It wasn't a problem in 3.5, but okay, I've
>>> created it. Then I've noticed it doesn't copy the war files from the
>>> specified directory (This project has a WAR directory checked and the
>>> location is given), but 3.5 does. So currently I can't use Eclipse
>>> Helios and GPE because of this.
>>> Do you know something about these issues? Has anybody else experienced
>>> this?
>>>
>>> Thanks for your help, I really looking forward to use the new Eclipse
>>> with the new plugin!
>>>
>>> Regards,
>>> Bálint Kriván
>>>
>>> --
>>> 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-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.
>>>
>>>
>>  --
>> 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.
>>
>
>
>
> --
> Üdv,
> Kriván Bálint
>
> --
> 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.
>

-- 
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.



Google Plugin for Eclipse 1.4 M2

2010-07-02 Thread Jason Parekh
Excited about Google Web Toolkit 2.1
M2?
 There's also a new Google Plugin for Eclipse 1.4 M2 to go along with it.
 Check out the new Speed
Tracerintegration -- a
simple toolbar button will launch Chrome and Speed Tracer
to help you identify and fix performance problems in your web apps.  Once
you find an issue, you can click on a link in Speed Tracer to jump directly
to that line of code in Eclipse.  There are also many bug fixes, and smaller
features like the ability to double-click URLs in the Development Mode view
or the ability to halt an in-progress Deploy to App Engine or GWT compile.

We recommend you install this on a clean Eclipse installation.  Here are the
update sites:

   - Eclipse Helios (3.6):
   http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/eclipse/plugin/3.6
   - Eclipse Galileo (3.5):
   http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/eclipse/plugin/3.5
   - Eclipse Ganymede (3.4):
   http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/eclipse/plugin/3.4
   - Eclipse Europa (3.3):
   http://google-web-toolkit.googlecode.com/svn/2.1.0.M2/eclipse/plugin/3.6

Enjoy!

-- 
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 compile modules into specific directory?

2009-06-22 Thread Jason Parekh
I don't think there is any built-in way to do this, but you may be able to
write a custom Linker to do this (see http://development.lombardi.com/?p=29).

jason

On Sat, Jun 20, 2009 at 5:25 AM, Hydrian  wrote:

>
> I'm using GWT in my little project. and there're some modules for it.
>
> There are, however, many directories in war directory, and it makes
> hard to control them.
>
> Therefore I want to set modules into some specific directory as "war/
> modules"
>
> Is it possible?
> >
>

--~--~-~--~~~---~--~~
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-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: Using project dependency in eclipse

2009-06-22 Thread Jason Parekh
Hi Chandra,
Unfortunately there isn't an easy way to achieve this right now.  There are
two approaches you can take:
- Set the output directory of the non-GWT project to
/somewhere/somewhere/pathToGwtProject/war/WEB-INF/classes, or
- Package the non-GWT project into a JAR, and place that into
/somewhere/somewhere/pathToGwtProject/war/WEB-INF/lib

jason

On Sun, Jun 21, 2009 at 8:57 AM, Chandra wrote:

>
> (I'm writing this post after searching through different post and yet
> to find a solution to my problem!)
>
> I added a (Non-GWT, but JAVA) project as a dependent for a GWT project
> - the source is built successfully, but while running in hosted mode,
> the GWT project could not locate the classes of the Non-GWT project
> code.
>
> And yes, I tried all options like adding a ',gwt.xml' file and adding
> the  tag etc.
>
> The code is very simple:
>
> Non-GWT project
> -
> package com.chumma;
>
> public class AddClass{
>public int add(int a, int b){
>return a+b;
>}
> }
>
> GWT-Project (Added the previous project as a dependent and also added
> entries in classpath of Run conf)
> ---
> import com.person.client.GreetingService;
> import com.chumma.AddClass;
> import com.google.gwt.user.server.rpc.RemoteServiceServlet;
>
> /**
>  * The server side implementation of the RPC service.
>  */
> @SuppressWarnings("serial")
> public class GreetingServiceImpl extends RemoteServiceServlet
> implements GreetingService {
>
>public String greetServer(int a, int b) {
>
>AddClass myAddClass = new AddClass();
>int c=myPerson.add(a,b);
>System.out.println("c = " + c);
>return Integer.toString(c);
>}
> }
>
> I'm referencing the "AddClass" *ONLY* from the server code and thus,
> the "AddClass" need not be compiled to Javascript.
>
> Can someone please point to where I'm going wrong?
>
> Chandra
>
> >
>

--~--~-~--~~~---~--~~
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-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: Google plugin for Eclipse 3.5 Galileo

2009-07-06 Thread Jason Parekh
Thanks for response Brett.  Unfortunately, the plugin uses many internal
Eclipse APIs (for example, for our JSNI integration into the editor) and we
can't assume the next version will remain compatible.
Anyway, we're working on
getting 3.5 support out in the next couple/few weeks.

jason

On Mon, Jul 6, 2009 at 2:34 AM, brett.wooldridge  wrote:

>
> I'll pile-on to this question.  I didn't expect GWT to have a hard
> version
> dependency on Eclipse bundles.  Odds are, the plugin would/will work
> fine with 3.5 were it allowed to install.
>
> It would have been better, IMHO, to use a version interval in the
> manifest
> rather than a specific version.  For example [3.4,3.5] would have
> allowed the
> plugin to install on eclipse 3.4 and 3.5 (recognizing that at the time
> of release,
> 3.5 was not yet available).  Similarly when the next version of the
> GWT
> plugin is released, it should specify [3.5,3.6] unless Google has some
> apriori
> knowledge that there are breaking changes coming in 3.6.
>
> The default assumption should be "the next version is compatible", as
> Eclipse, like any good project tries to maintain version-over-version
> API
> compatibility.
>
> -Brett
>
> On Jul 5, 5:03 am, PhatDog  wrote:
> > Hi,
> > When will the Galileo plugin be released?
> >
> > Thanks
> >
>

--~--~-~--~~~---~--~~
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-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: How will you announce the release of the plugin for Galileo?

2009-07-13 Thread Jason Parekh
Hey,
Our Eclipse plugin has an update notification that appears in the lower-left
corner of the window (when a newer version is available).  If you want to be
safe, you can also star
http://code.google.com/p/google-web-toolkit/issues/detail?id=3789&q=3.5%20eclipseto
be notified of updates (we will close the bug on release).

If we do a blog post, it will likely appear on the GWT blog (
http://googlewebtoolkit.blogspot.com).

jason

On Sat, Jul 11, 2009 at 5:11 PM, PhatDog  wrote:

>
> Hi Guys,
> I just wanted to find out how you plan on announcing the release of
> the GWT eclipse plugin for Galileo?
> It would be nice if you announced it through a rss feed (like on a
> blog) so that we can be sure that we don't waste any time.
>
> Please can you let us know how you will do this?
>
> Many thanks!
>
> PhatDog
>
> >
>

--~--~-~--~~~---~--~~
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-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: Create EMPTY project with Google Plugin for Eclipse

2009-07-13 Thread Jason Parekh
Hi Martin,
Sorry, it's not currently possible to create empty projects.  Please star
the issue at http://code.google.com/p/googleappengine/issues/detail?id=1547as
that improves how we rank the issue.

Thanks,
jason

On Mon, Jul 13, 2009 at 3:30 PM, martinhansen <
martin.hanse...@googlemail.com> wrote:

>
> Hello,
>
> is it possible to create a new empty project using the Google GWT
> plugin for Eclipse? I very often create new projects to test
> something. Is it possible to configure the plugin to start with an
> empty project? Where can I change the default settings for new
> projects?
>
> Thanks in advance for any helpful information!
> >
>

--~--~-~--~~~---~--~~
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-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: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Jason Parekh
Hi Sky,
What exactly do you see in the hosted mode browser?  Just the HTML content
(with GWT widgets missing)?

I'd suggest a couple things to reduce where we search for the problem:
- Can you try creating a new GWT app from the wizard and see if it loads in
the hosted mode browser?  Can you try a breakpoint in this module's
onModuleLoad?
- Can you look at the error log (Ctrl-3, then type error log).  See any
errors there that may pertain to the problem?

jason

On Mon, Jul 13, 2009 at 3:58 PM, Sky  wrote:

>
> Bump.
>
> I really need help with this, because my app was fine in GWT 1.5 but
> with 1.6 I no longer can test functionality on the fly, nor can I
> debug. I am at a complete standstill for development.
>
> And there are absolutely no indications of what my problem could be so
> I don't even know where to start looking. It would help if anyone can
> even suggest more info I can try to get to help you help me.
>
> Many thanks!
>
> On Jul 13, 1:17 am, Sky  wrote:
> > After converting my GWT app from version 1.5 to 1.6, it does not work
> > in Hosted Mode but after compiling it, it works 100% fine in any
> > browser.
> >
> > I don't get any errors, it simply does not appear to build any widgets
> > or anything. I put a break point on the first line inside the only
> > Entry Point Module's onModuleLoad() method and ran it in Hosted Mode
> > in debug mode (from Eclipse) and the code never reached that line.
> >
> > Where can I start looking for what the problem is? What other info can
> > I give you so you can help me?
> >
> > Thanks!
> >
>

--~--~-~--~~~---~--~~
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-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: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Jason Parekh
On Mon, Jul 13, 2009 at 4:35 PM, Sky  wrote:

>
> Correct, I just see the HTML content with any and all GWT widgets
> missing.
>
> I was successful in viewing the default app that comes from the new
> app wizard within Hosted Mode browser.
> In debug mode I do not reach a breakpoint I set on the very first line
> within the module's onModuleLoad() method.


Strange about not hitting the breakpoint with this simple project.  We've
seen this issue with JDK 1.6.0_14, are you running that version?  Try
downgrading to 1.6.0_13.  See:

http://code.google.com/p/google-web-toolkit/issues/detail?id=3724

for more details.




> I cleared the error log and ran the web app again and nothing appeared
> in the error log.
>
> When I first converted my app to the 1.6 file layout (by creating a
> new 1.6 app from wizard and moving my files from previous project into
> the new one) the app failed on a static call to a private static
> native void method where I call an external javascript method. After
> converting all my Listeners to Handlers in my app, this problem went
> away magically. Regardless of whether or not I comment out the call to
> that method, I get no errors, but it is also impossible to reach that
> code because I don't even get inside the onModuleLoad(). Did I break
> something when converting my Listeners to Handlers?


Sorry, I'm not very familiar with the changes from 1.5 to 1.6 (perhaps
someone more knowledgeable could chime in?), but I wouldn't expect your
changes got you into the current state.

Assuming you're running JDK 1.6.0_14, could you try setting the breakpoint
again after downgrading?  Hopefully it'll break, and you can step through
your code to gather more useful data.

How big is your application?  Would it be feasible to try the GWT 1.5 -> 1.6
process again, except move your code in smaller chunks?

jason


>
>
> On Jul 13, 3:15 pm, Jason Parekh  wrote:
> > Hi Sky,
> > What exactly do you see in the hosted mode browser?  Just the HTML
> content
> > (with GWT widgets missing)?
> >
> > I'd suggest a couple things to reduce where we search for the problem:
> > - Can you try creating a new GWT app from the wizard and see if it loads
> in
> > the hosted mode browser?  Can you try a breakpoint in this module's
> > onModuleLoad?
> > - Can you look at the error log (Ctrl-3, then type error log).  See any
> > errors there that may pertain to the problem?
> >
> > jason
> >
> >
> >
> > On Mon, Jul 13, 2009 at 3:58 PM, Sky 
> wrote:
> >
> > > Bump.
> >
> > > I really need help with this, because my app was fine in GWT 1.5 but
> > > with 1.6 I no longer can test functionality on the fly, nor can I
> > > debug. I am at a complete standstill for development.
> >
> > > And there are absolutely no indications of what my problem could be so
> > > I don't even know where to start looking. It would help if anyone can
> > > even suggest more info I can try to get to help you help me.
> >
> > > Many thanks!
> >
> > > On Jul 13, 1:17 am, Sky  wrote:
> > > > After converting my GWT app from version 1.5 to 1.6, it does not work
> > > > in Hosted Mode but after compiling it, it works 100% fine in any
> > > > browser.
> >
> > > > I don't get any errors, it simply does not appear to build any
> widgets
> > > > or anything. I put a break point on the first line inside the only
> > > > Entry Point Module's onModuleLoad() method and ran it in Hosted Mode
> > > > in debug mode (from Eclipse) and the code never reached that line.
> >
> > > > Where can I start looking for what the problem is? What other info
> can
> > > > I give you so you can help me?
> >
> > > > Thanks!
> >
>

--~--~-~--~~~---~--~~
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-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: GWT 1.5 to 1.6: App won't work in Hosted Mode

2009-07-13 Thread Jason Parekh
Hey,
One clarification:  I'm actually talking about the Java Development Kit/Java
Runtime version and not the GWT SDK version.  You can see your version in
Eclipse preferences > Java > Installed JREs

jason

On Mon, Jul 13, 2009 at 5:24 PM, Sky  wrote:

>
> No change at all when not using Google App Engine.
> On the download page there is only version 1.6.4 and 1.5.3 and older.
> I
> don't know how to get different revisions like 1.6.013 like Jason
> suggested.
>
> On Jul 13, 4:02 pm, Sky  wrote:
> > Strange about not hitting the breakpoint with this simple
> > project
> >
> > Just to be clear I meant with my project. Since the sample app works
> > in hosted mode I am assuming I can debug it perfectly fine.
> >
> > In terms of version, I see JDK 1.6.4 I don't see 1.6.0_14 or 13 just
> > 1.6.4 in the build path.
> >
> > If it helps to know I am running this with the Google App Engine. The
> > first time I tried the conversion I didn't do it with the App Engine,
> > but this time I did... maybe thats the point that it went from having
> > errors to not having errors. I shall try it again without App Engine.
> > I don't think I can try the conversion by moving smaller chunks, cuz
> > the onModuleLoad pretty much instantiates one class and that class
> > uses everything I've written in GWT.
> >
> > I'll keep you posted.
> >
> > On Jul 13, 3:54 pm, Jason Parekh  wrote:
> >
> >
> >
> > > On Mon, Jul 13, 2009 at 4:35 PM, Sky 
> wrote:
> >
> > > > Correct, I just see the HTML content with any and all GWT widgets
> > > > missing.
> >
> > > > I was successful in viewing the default app that comes from the new
> > > > app wizard within Hosted Mode browser.
> > > > In debug mode I do not reach a breakpoint I set on the very first
> line
> > > > within the module's onModuleLoad() method.
> >
> > > Strange about not hitting the breakpoint with this simple project.
>  We've
> > > seen this issue with JDK 1.6.0_14, are you running that version?  Try
> > > downgrading to 1.6.0_13.  See:
> >
> > >http://code.google.com/p/google-web-toolkit/issues/detail?id=3724
> >
> > > for more details.
> >
> > > > I cleared the error log and ran the web app again and nothing
> appeared
> > > > in the error log.
> >
> > > > When I first converted my app to the 1.6 file layout (by creating a
> > > > new 1.6 app from wizard and moving my files from previous project
> into
> > > > the new one) the app failed on a static call to a private static
> > > > native void method where I call an external javascript method. After
> > > > converting all my Listeners to Handlers in my app, this problem went
> > > > away magically. Regardless of whether or not I comment out the call
> to
> > > > that method, I get no errors, but it is also impossible to reach that
> > > > code because I don't even get inside the onModuleLoad(). Did I break
> > > > something when converting my Listeners to Handlers?
> >
> > > Sorry, I'm not very familiar with the changes from 1.5 to 1.6 (perhaps
> > > someone more knowledgeable could chime in?), but I wouldn't expect your
> > > changes got you into the current state.
> >
> > > Assuming you're running JDK 1.6.0_14, could you try setting the
> breakpoint
> > > again after downgrading?  Hopefully it'll break, and you can step
> through
> > > your code to gather more useful data.
> >
> > > How big is your application?  Would it be feasible to try the GWT 1.5
> -> 1.6
> > > process again, except move your code in smaller chunks?
> >
> > > jason
> >
> > > > On Jul 13, 3:15 pm, Jason Parekh  wrote:
> > > > > Hi Sky,
> > > > > What exactly do you see in the hosted mode browser?  Just the HTML
> > > > content
> > > > > (with GWT widgets missing)?
> >
> > > > > I'd suggest a couple things to reduce where we search for the
> problem:
> > > > > - Can you try creating a new GWT app from the wizard and see if it
> loads
> > > > in
> > > > > the hosted mode browser?  Can you try a breakpoint in this module's
> > > > > onModuleLoad?
> > > > > - Can you look at the error log (Ctrl-3, then type error log).  See
> any
> > > > > errors there that may pertain to the problem?
> &g

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin,
You may try using the link source option, as suggested by the thread at
http://groups.google.com/group/google-appengine-java/browse_thread/thread/1908b3bedf954b75/ca0370ae3ae5a394?lnk=raot.
 If that doesn't work, you could set the output directory of your
dependencies to be the GWT output folder.

jason

On Mon, Jul 20, 2009 at 12:14 PM, martinhansen <
martin.hanse...@googlemail.com> wrote:

>
> Hello Sean,
>
> thank you very much. I've thought of that solution too, but it is not
> appropriate for my GWT project. I have to add 4 external projects to
> my GWT project, and all of these 4 projects are subject to change
> every day. It would be too much work to export them to a jar file
> every day. Is there some way to automatically add the external project
> sources to the GWT output folder?
>
> On 20 Jul., 18:03, Sean  wrote:
> > You can export the non-GWT java files into a jar and drop those in the
> > WEB-INF/lib folder. That's what I do.
> >
> > On Jul 20, 11:44 am, martinhansen 
> > wrote:
> >
> >
> >
> >
> >
> > > Hello,
> >
> > > my GWT server-side code needs an external java project. I have added
> > > the project under "Configure build path / Projects". It works fine in
> > > hosted mode. But when I deploy my application on a server, I get lots
> > > of ClassNotFoundExceptions. Obviously, GWT cannot find the external
> > > java code. When I look at the war\WEB-INF\classes folder, I see that
> > > the external java classes have not been included.
> >
> > > How can I get GWT to include the external classes?
> >
>

--~--~-~--~~~---~--~~
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-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: Eclipse plugin update

2009-07-20 Thread Jason Parekh
Hmm, have you accidentally placed checkmarks in any other plugins besides
Google Plugin for Eclipse?  The Google Plugin for Eclipse doesn't depend on
any of the plugins you mentioned.
Could you try clicking the "Available software" tab, and the "Manage sites"
button, and uncheck every update site but the Google update site?

jason


On Mon, Jul 20, 2009 at 10:54 AM, pipe  wrote:

>
> Eclipse Platform
>
> Version: 3.4.2
> Build id: M20090211-1700
>
> I' m getting an error trying to update thru the Google Update Site for
> Eclipse 3.4, I'm checking the Google App Engine Java SDK 1.2.2 and the
> Google Web Toolkit SDK 1.7.0:
>
> An error occurred while collecting items to be installed
>  No repository found containing: com.caucho.hessian/osgi.bundle/3.1.3
>  No repository found containing: javax.activation/osgi.bundle/
> 1.1.0.v200905021805
>  No repository found containing: javax.mail/osgi.bundle/
> 1.4.0.v200905040518
>  No repository found containing: javax.persistence/osgi.bundle/
> 1.99.0.v200906021518
>  No repository found containing: javax.transaction/osgi.bundle/
> 1.1.1.v200906161300
>  No repository found containing: org.apache.oro/osgi.bundle/
> 2.0.8.v200903061218
>  No repository found containing: org.apache.velocity/osgi.bundle/
> 1.5.0.v200905192330
>  No repository found containing: org.eclipse.dltk.core/osgi.bundle/
> 1.0.0.v20090617-1157
>  No repository found containing: org.eclipse.dltk.debug/osgi.bundle/
> 1.0.0.v20090613-1432
>  No repository found containing: org.eclipse.dltk.formatter/
> osgi.bundle/1.0.0.v20090617-1404
>  No repository found containing: org.eclipse.dltk.launching/
> osgi.bundle/1.0.0.v20090610-1638
>  No repository found containing: org.eclipse.dltk.ruby.core/
> osgi.bundle/1.0.0.v20090613-1432
>  No repository found containing: org.eclipse.dltk.ruby.formatter/
> osgi.bundle/1.0.0.v20090617-1157
>  No repository found containing: org.eclipse.dltk.ruby.ui/osgi.bundle/
> 1.0.0.v20090613-1432
>  No repository found containing: org.eclipse.dltk.ui/osgi.bundle/
> 1.0.0.v20090617-1521
>  No repository found containing: org.eclipse.equinox.concurrent/
> osgi.bundle/1.0.0.v20090520-1800
>  No repository found containing: org.eclipse.persistence.antlr/
> osgi.bundle/1.1.2.v20090612-r4475
>  No repository found containing: org.eclipse.persistence.asm/
> osgi.bundle/1.1.2.v20090612-r4475
>  No repository found containing: org.eclipse.persistence.core/
> osgi.bundle/1.1.2.v20090612-r4475
>  No repository found containing: org.eclipse.persistence.jpa/
> osgi.bundle/1.1.2.v20090612-r4475
>  No repository found containing:
> org.eclipse.tptp.platform.agentcontroller/osgi.bundle/
> 4.2.300.v200906041936
>  No repository found containing:
> org.eclipse.tptp.platform.iac.administrator/osgi.bundle/
> 4.4.300.v200905160100
>  No repository found containing: org.jdom/osgi.bundle/
> 1.0.0.v200806100616
>
> >
>

--~--~-~--~~~---~--~~
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-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: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin,
For the "Linked folder location," ensure you have the trailing "src"
included.

jason

On Mon, Jul 20, 2009 at 4:35 PM, martinhansen <
martin.hanse...@googlemail.com> wrote:

>
> Now I tried the "link source" function without Google App Engine. At
> first, it seems to work, and the project is added to my main project.
> The only problem is: The package declarations produce errors. Eclipse
> shows an error message:
>
> The declared package "com.company.data" does not match the expected
> package "src.com.company.data"
>
> What to do?
>
>
> On 20 Jul., 22:29, martinhansen 
> wrote:
> > Hello Donald,
> >
> > I already tried the Google App Engine approach, but it didn't work for
> > me. And GAE adds a lot of stuff I don't need to my project. I really
> > don't want to mess around with it, since I managed to kill my GWT
> > app's configuration several times and I had to create a new project.
> >
> > Meanwhile, I tried the "output folder" approach. I tried to change the
> > default output folder of "DataProject", but I
> > didn't manage successfully. Eclipse says: Path '/GwtApp/src' must
> > denote location inside project 'DataProject'. Am I heading the wrong
> > way there?
> >
> > On 20 Jul., 22:21, "Donald W. Long"  wrote:
> >
> > > I looked at the linked source method and you have to have the linked
> > > source fully qualified.  Thats nice if you always have your source in
> > > the same place.  You could try using the linked variables but then
> > > thats also work.  Do not see this as a real option for projects that
> > > will be worked on by many developers at the same time.
> >
> > > If I am wrong please let me know.
> >
> > > Thanks
> >
> > > Donald W. Long (donald.w.l...@thelongsfamily.com)
> >
> > > On Jul 20, 1:34 pm, Jason Parekh  wrote:
> >
> > > > Hi Martin,
> > > > You may try using the link source option, as suggested by the thread
> athttp://groups.google.com/group/google-appengine-java/browse_thread/th..
> ..
> > > >  If that doesn't work, you could set the output directory of your
> > > > dependencies to be the GWT output folder.
> >
> > > > jason
> >
> > > > On Mon, Jul 20, 2009 at 12:14 PM, martinhansen <
> >
> > > > martin.hanse...@googlemail.com> wrote:
> >
> > > > > Hello Sean,
> >
> > > > > thank you very much. I've thought of that solution too, but it is
> not
> > > > > appropriate for my GWT project. I have to add 4 external projects
> to
> > > > > my GWT project, and all of these 4 projects are subject to change
> > > > > every day. It would be too much work to export them to a jar file
> > > > > every day. Is there some way to automatically add the external
> project
> > > > > sources to the GWT output folder?
> >
> > > > > On 20 Jul., 18:03, Sean  wrote:
> > > > > > You can export the non-GWT java files into a jar and drop those
> in the
> > > > > > WEB-INF/lib folder. That's what I do.
> >
> > > > > > On Jul 20, 11:44 am, martinhansen <
> martin.hanse...@googlemail.com>
> > > > > > wrote:
> >
> > > > > > > Hello,
> >
> > > > > > > my GWT server-side code needs an external java project. I have
> added
> > > > > > > the project under "Configure build path / Projects". It works
> fine in
> > > > > > > hosted mode. But when I deploy my application on a server, I
> get lots
> > > > > > > of ClassNotFoundExceptions. Obviously, GWT cannot find the
> external
> > > > > > > java code. When I look at the war\WEB-INF\classes folder, I see
> that
> > > > > > > the external java classes have not been included.
> >
> > > > > > > How can I get GWT to include the external classes?- Hide quoted
> text -
> >
> > > > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
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-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: Common parent project - How?

2009-07-20 Thread Jason Parekh
Hey,
I believe the easiest way to accomplish this is instead of using the project
dependencies, use the linked source feature.  For each of your child
projects, go to Properties > Java Build Path > Source > Link Source, and set
the location to your core project's "src" directory (and the name to
whatever you like).

jason


On Mon, Jul 20, 2009 at 2:42 PM, Wualla  wrote:

>
> Hi
>
> Scenario:
>
> Core client and server code needs to be shared among several projects
> (referred to as "child projects")
>
> My try was ro create the core project as a GWT project, and add it to
> the build path of the child projects as a dependency project.
>
> Under Jetty, everything works OK except I get this message:
>
> [WARN] Server class 'com.mycompany.core.client.domainObjects.User'
> could not be found in the web app, but was found on the system
> classpath
> [WARN] Adding classpath entry '.../Core/war/WEB-INF/classes/' to the
> web app classpath for this session
>
> When deployed - to Tomcat - I get:
>
> ...
> javax.servlet.ServletException: Error instantiating servlet class
> com.mycompany.myProject.server.MyServiceImpl
> ...
> java.lang.NoClassDefFoundError: com/mycompany/core/client/domain/User
> ...
> java.lang.ClassNotFoundException:
> com.mycompany.core.client.domainObjects.User
> ...
>
> What should I do? Help please...
> >
>

--~--~-~--~~~---~--~~
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-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: Common parent project - How?

2009-07-21 Thread Jason Parekh
Yup, it should.  In your child project, you'll have the code of both
projects.
jason

On Tue, Jul 21, 2009 at 4:11 AM, Wualla  wrote:

>
> Hi
>
>
> Will using Link Source let me combine both the code from the common
> and the child projects? It seems to block this attempt.
>
>
> Thanks
>
> On Jul 21, 12:49 am, Jason Parekh  wrote:
> > Hey,
> > I believe the easiest way to accomplish this is instead of using the
> project
> > dependencies, use the linked source feature.  For each of your child
> > projects, go to Properties > Java Build Path > Source > Link Source, and
> set
> > the location to your core project's "src" directory (and the name to
> > whatever you like).
> >
> > jason
> >
> > On Mon, Jul 20, 2009 at 2:42 PM, Wualla  wrote:
> >
> > > Hi
> >
> > > Scenario:
> >
> > > Core client and server code needs to be shared among several projects
> > > (referred to as "child projects")
> >
> > > My try was ro create the core project as a GWT project, and add it to
> > > the build path of the child projects as a dependency project.
> >
> > > Under Jetty, everything works OK except I get this message:
> >
> > > [WARN] Server class 'com.mycompany.core.client.domainObjects.User'
> > > could not be found in the web app, but was found on the system
> > > classpath
> > > [WARN] Adding classpath entry '.../Core/war/WEB-INF/classes/' to the
> > > web app classpath for this session
> >
> > > When deployed - to Tomcat - I get:
> >
> > > ...
> > > javax.servlet.ServletException: Error instantiating servlet class
> > > com.mycompany.myProject.server.MyServiceImpl
> > > ...
> > > java.lang.NoClassDefFoundError: com/mycompany/core/client/domain/User
> > > ...
> > > java.lang.ClassNotFoundException:
> > > com.mycompany.core.client.domainObjects.User
> > > ...
> >
> > > What should I do? Help please...
> >
>

--~--~-~--~~~---~--~~
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-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: Possible to set -localWorkers compiler flag in Eclipse?

2009-07-27 Thread Jason Parekh
Hey Jim,
In the GWT Compile dialog, you can expand the "Advanced" section at the
bottom to reveal a place to add flags.

jason


On Sun, Jul 26, 2009 at 3:28 PM, jscheller  wrote:

>
> Hello -
>
> I'm using Eclipse 3.4.2 and GWT 1.7 and wondering if there's some way
> to set -localworkers (or actually any type of flag) for GWT
> compiles...
>
> Thanks!
>
> Jim
>
> >
>

--~--~-~--~~~---~--~~
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-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: debugging inside eclipse and using tomcat ?????

2009-07-27 Thread Jason Parekh
Hi Muhannad,
Would you be okay with debugging via Jetty?  If so, right-click on your
project and select Debug As > Web application, and it should just work.

If this doesn't, please paste the detailed errors in your reply.

Thanks,
jason


On Mon, Jul 27, 2009 at 2:21 AM, Muhannad Nasser wrote:

>
> hi...
>
> i am new in GWT and i need to know how i can debug a project on
> eclipse and using tomcat
>
> when i try to run the debugger from eclipse i get this error... and it
> asks me to to edit lookup path
>
> but when i opened the path... the jar files for GWT and the source
> files for my project are in the path..
>
> is there any advice...
>
> with regards
> Muhannad
>
> >
>

--~--~-~--~~~---~--~~
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-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: Google plugin for eclipse3.4 launches GWT hosted mode with deprecated GWTShell

2009-07-27 Thread Jason Parekh
Hey Ron,
Please see this bug and star it (we use stars to gauge the importance of
certain non-critical bugs):
http://code.google.com/p/google-web-toolkit/issues/detail?id=3877

Also, you should be able to create the war as a linked folder in the
upcoming GPE 1.1:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3692

Finally, you may be able to try using a symlink right now, if your platform
supports these.

Hope this helps,
jason


On Mon, Jul 27, 2009 at 11:50 AM, Ron  wrote:

>
> I am using GWT in an existing web application that has a web folder
> called 'WebRoot', so the configuration looks like this:
> [project]/WebRoot/WEB-INF/web.xml
>
> When running in hosted mode the deprecated GWTShell is used apparently
> because it expects the web folder to be called 'war'.
>
> This is a shared project and it would be really inconvenient to change
> the name from 'WebRoot' to 'war'. Is there any other way to get hosted
> mode to stop using the deprecated GWTShell?
>
> >
>

--~--~-~--~~~---~--~~
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-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: Automated JUnit Tests for GWT

2009-08-03 Thread Jason Parekh
Hey Ben,

You can create a new Run configuration to run your tests.  Open Run > Run
configurations menu item, and double-click on the GWT JUnit Test.  Finally,
configure the created configuration to point to your test cases.

jason

On Sun, Aug 2, 2009 at 6:56 AM, Ben2008  wrote:

>
> Is there anyway to do this with eclipse only?
> I do not want to have too much other stuff that will only complicate
> my project ...
> Best way is possibly to define a compile or build configuration in
> eclipse that will serve my needs.
> IF i click on that GWT compiler, just compile and run my test suite
> thats all i want to have.
> Maybe there is a chance to invoke the testsuite as soon as my server
> starts up ...
> for example if i run in hosted mode, my method xyz will be invoked and
> that method will start up that Junit Tests ...
> But i dont know how to start them manually.
>
>
> Thanks for any help mates
>
> On Aug 1, 7:24 pm, Daniel Wellman  wrote:
> > Are you using Ant or Maven?
> >
> > The Maven plugin (from Codehaus) has documentation on running tests
> > here:http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html
> >
> > For Ant, you'll run your tests using the standard JUnit task, but make
> > sure to include your test and project source in the classpath,
> > otherwise you'll get errors that code couldn't be found at test
> > runtime.  And as you mentioned, you'll need to compile your test code
> > first before running the JUnit task.
> >
> > Dan
> >
> > On Jul 30, 3:23 pm, Ben2008  wrote:
> >
> >
> >
> > > Hi folks,
> > > onhttp://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html
> >
> > > "When developing a large project, a good practice is to integrate the
> > > running of your test cases with your regular build process. When you
> > > build manually, such as using ant from the command line or using your
> > > desktop IDE, this is as simple as just adding the invocation of JUnit
> > > into your regular build process. When building in a server
> > > environment, there are a few extra considerations."
> >
> > > But i did not find any advice on the net how to implement automated
> > > tests.
> > > I use Eclipse 3.4 and Gwt 1.7 and my GreetTestCase works finde for
> > > Client und Remote Testing.
> > > How can i add this test to my build process? Like Compiling Project?-
> Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~-~--~~~---~--~~
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-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: logging/debugging issue with oophm and gwt 1.7

2009-08-03 Thread Jason Parekh
Hi Denis,

If you haven't already, could you try running the same scenario without
Eclipse (to reduce the search space for the issue)?

Thanks,
jason

On Mon, Aug 3, 2009 at 6:04 AM, denis56  wrote:

>
> His again,
>
> I thought to have gotten oophm to work with gwt 1.7, but it just now
> caught my eye, that when launching the firefoxed oophm from eclipse
> there is no browser tab added to the "GWT Hosted Mode" window
> confirming that a browser is connected:
>
> 00:00:02,073 [INFO] Launching firefox with MY_URL?
> gwt.hosted=192.168.0.2:9997
>
> is the last message. Firefox (3.0.4) does receive the requested page
> and functions properly.
> But there is no GWT logging, and I cannot set breakpoints (using Java
> 1.5)
>
> I am pretty sure that depends on the classpath that I use to compile
> and than run the project: I tried using only the jars from trunk for
> compilation (ant) and running hosted mode (eclipse launch task), but
> also mixing 1.7 jars and trunk jars together. Cannot at the moment
> strike the right combination.
>
> Thankful for your suggestions,
> denis
> >
>

--~--~-~--~~~---~--~~
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-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: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
In addition to what Nathan requests, is your backend running on App Engine?
They do not support FileWriter.

jason

On Mon, Aug 3, 2009 at 7:16 AM, Nathan Wells  wrote:

>
> would you mind posting the code of the class you are trying to make
> work? it would be nice to see the package name and imports, as well as
> how you are using the FileWriter.
>
> On Aug 2, 1:42 am, Sednus  wrote:
> >Hi,
> > I am tring to implement a service using RPC, this service
> > should be able to take a string (originally written by user on a text
> > area) and save it into a text file onto the server side.  My problem
> > is that when I create the FileWriter object Eclipse says that
> > FileWriter is not supporteed by gwt.
> >
>

--~--~-~--~~~---~--~~
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-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: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
No, unfortunately you don't have file system access on App Engine.  You can
store data in databases, but you won't have any file handlers to that data.
jason

On Mon, Aug 3, 2009 at 11:25 AM, Sednus  wrote:

>
> yes, it is runnning on App Engine, if it's not supported is there
> anyway to make this happen?
>
> public class CompileServiceImpl extends RemoteServiceServlet
> implements
> ICompileSercvice {
>
>
>public String compile(String code) {
>try
>{
>File file = new File("temp.c");
>System.out.println("file created");
>BufferedWriter out = new BufferedWriter(new
> FileWriter(file));
>    out.write(code);
>out.close();
> }}
> On Aug 3, 8:38 am, Jason Parekh  wrote:
> > In addition to what Nathan requests, is your backend running on App
> Engine?
> > They do not support FileWriter.
> >
> > jason
> >
> > On Mon, Aug 3, 2009 at 7:16 AM, Nathan Wells  wrote:
> >
> > > would you mind posting the code of the class you are trying to make
> > > work? it would be nice to see the package name and imports, as well as
> > > how you are using the FileWriter.
> >
> > > On Aug 2, 1:42 am, Sednus  wrote:
> > > >Hi,
> > > > I am tring to implement a service using RPC, this service
> > > > should be able to take a string (originally written by user on a text
> > > > area) and save it into a text file onto the server side.  My problem
> > > > is that when I create the FileWriter object Eclipse says that
> > > > FileWriter is not supporteed by gwt.
> >
>

--~--~-~--~~~---~--~~
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-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: Problem creating a RPC Service

2009-08-03 Thread Jason Parekh
Not that I'm aware of (I'm not too familiar with App Engine though, so
hopefully someone else chimes in.)

jason

On Mon, Aug 3, 2009 at 12:00 PM, Sednus  wrote:

>
> Well, I really need to create a file on the server side and write on
> it whatever the user types on a text area is there any onther way
> to accomplish this?
>
>
> On Aug 3, 10:30 am, Jason Parekh  wrote:
> > No, unfortunately you don't have file system access on App Engine.  You
> can
> > store data in databases, but you won't have any file handlers to that
> data.
> > jason
> >
> > On Mon, Aug 3, 2009 at 11:25 AM, Sednus  wrote:
> >
> > > yes, it is runnning on App Engine, if it's not supported is there
> > > anyway to make this happen?
> >
> > > public class CompileServiceImpl extends RemoteServiceServlet
> > > implements
> > > ICompileSercvice {
> >
> > >public String compile(String code) {
> > >try
> > >{
> > >File file = new File("temp.c");
> > >System.out.println("file created");
> > >    BufferedWriter out = new BufferedWriter(new
> > > FileWriter(file));
> > >out.write(code);
> > >out.close();
> > > }}
> > > On Aug 3, 8:38 am, Jason Parekh  wrote:
> > > > In addition to what Nathan requests, is your backend running on App
> > > Engine?
> > > > They do not support FileWriter.
> >
> > > > jason
> >
> > > > On Mon, Aug 3, 2009 at 7:16 AM, Nathan Wells 
> wrote:
> >
> > > > > would you mind posting the code of the class you are trying to make
> > > > > work? it would be nice to see the package name and imports, as well
> as
> > > > > how you are using the FileWriter.
> >
> > > > > On Aug 2, 1:42 am, Sednus  wrote:
> > > > > >Hi,
> > > > > > I am tring to implement a service using RPC, this service
> > > > > > should be able to take a string (originally written by user on a
> text
> > > > > > area) and save it into a text file onto the server side.  My
> problem
> > > > > > is that when I create the FileWriter object Eclipse says that
> > > > > > FileWriter is not supporteed by gwt.
> >
>

--~--~-~--~~~---~--~~
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-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: gwt 1.7 app - blank page in ie7, safari

2009-08-03 Thread Jason Parekh
Hey Peter,

Not sure if this will help, but could you try clearing the cache in each of
your browsers?  Have you tried viewing the source in IE7 and Safari?

jason

On Mon, Aug 3, 2009 at 12:05 PM, otismo  wrote:

>
> My application works fine in hosted mode and web mode for ie8, and
> ff3.5.  It shows a blank page for ie7 and safari 3.2.1.  I don't get
> any javascript exceptions.  Upgrading from ie7 to ie8 fixed the blank
> page which seems to rule out any networking issues.
>
> My application loads and then immediately makes an ajax call to the
> server.  When the blank page shows, the ajax call to the server is
> never made.
>
> I'm not really sure how to even start debugging.  Could someone give
> me a pointer?
>
> I'm developing on Windows XP and Eclipse using GWT 1.7.0.
>
> My compile script looks like this:
> @java -Xms128M -Xmx512M -Xss64M -cp "%~dp0\src;%~dp0\bin;war\WEB-INF
> \lib\core.jar;C:\Program Files\dev_tools\web\gwt\gwt-windows-1.7.0\gwt-
> user.jar;C:\Program Files\dev_tools\web\gwt\gwt-windows-1.7.0\gwt-dev-
> windows.jar" com.google.gwt.dev.Compiler -style obf %*
> com.seekspeak.SeekSpeakWeb
>
> I am not specifying any user.agent properties in my module.xml file.
>
> Thanks for any help!
>
> Peter
>
>
> >
>

--~--~-~--~~~---~--~~
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-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: Google plgin 64 bit support

2009-08-03 Thread Jason Parekh
The Google Plugin does support 64-bit, but right now GWT still requires a
32-bit JRE.

What you can do is go to your launch configuration (Run -> Run
configurations, and find the Web Application launch config) and update its
JRE to a 32-bit version.

jason

On Mon, Aug 3, 2009 at 12:53 PM, Max  wrote:

>
> Does google plugin support 64bit? What could course that problem?
>
> I created project and Run as -> Web Application
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/user/
> my/tools/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.linux_1.7.0.v200907131030/gwt-
> linux-1.7.0/libswt-pi-gtk-3235.so: /home/user/my/tools/eclipse/plugins/
> com.google.gwt.eclipse.sdkbundle.linux_1.7.0.v200907131030/gwt-
> linux-1.7.0/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32
> (Possible cause: architecture word width mismatch)
>at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
>at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
>at java.lang.Runtime.load0(Runtime.java:770)
>at java.lang.System.load(System.java:1003)
>at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
>at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
>at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>at org.eclipse.swt.widgets.Display.(Display.java:126)
>at com.google.gwt.dev.SwtHostedModeBase.
> (SwtHostedModeBase.java:82)
> Could not find the main class: com.google.gwt.dev.HostedMode.  Program
> will exit.
>
> Cheers, Max
> >
>

--~--~-~--~~~---~--~~
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-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: gwt 1.7 app - blank page in ie7, safari

2009-08-03 Thread Jason Parekh
Is your nocache.js file in the same directory as your HTML?  I believe so
since it works on some of the browsers, but just wanted to make sure since
the default layout places this into a module-specific directory.

Sorry, I'm not familiar enough with GWT to give you better support.

jason


On Mon, Aug 3, 2009 at 1:07 PM, otismo  wrote:

>
> Thanks for the response, Jason.  Yup, I've tried clearing the cache in
> both browsers -- no help.
>
> Looking at the source in both browsers shows my html host page code.
> Looking at the DOM though shows that my UI widget never gets added to
> the DOM for ie7 and safari.  The DOM shows the iframe but no ui div
> element.  On the functioning browsers, ff3.5 and ie8, the DOM shows me
> the iframe and the div for my ui element.  So it looks like adding my
> widget to the RootPanel doesn't work for ie7 and safari.
>
> My host page looks like this:
> 
> 
> 
>  src='com.seekspeak.SeekSpeakWeb.nocache.js'>
> 
> 
> 
> 
>
> and I add my widget like this:
> RootPanel.get().add(ui);
>
> I tried adding a div to my host page and then adding my UI widget to
> that div, but that didn't work either:
> ...
> 
> 
> 
> ...
> and:
> RootPanel.get("ui").add(ui);
>
> Any other ideas?
> >
>

--~--~-~--~~~---~--~~
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-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: gwt 1.7 app - blank page in ie7, safari

2009-08-03 Thread Jason Parekh
Hey Peter,

Could you try changing your  tag to include the attribute:
type="text/javascript":