Re: Migration Problem (From 1.5 to 2.0)

2009-12-17 Thread Haydar
I think I found the problem. One of the projects in my system has
nocache.js file but the other one doesn't have.
How can I solve this?

On 17 Aralık, 09:33, Haydar haydarim...@gmail.com wrote:
 Hi Keith,
 Thanks for your answer.
 I have managed to overcome this problem. Now it's working.
 But now another problem occured. My System consists of two projects.
 One for log-in and user roles etc. The other one has the screens.
 Now I can login to the system but I can't see any of the screens, no
 screens come to the view.
 What can be the problem?

 Thanks again...
 Haydar

 On 16 Aralık, 18:10, Keith Platfoot kplatf...@google.com wrote:



  Hi Haydar,

  Since version 1.6, GWT projects have a new canonical structure that includes
  a top-level directory named war, where GWT expects to find your
  publicly-served HTML/CSS, as well as various configuration files (including
  the web.xml with your servlet declarations, inside a WEB-INF directory).
   Seehttp://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFe...
  a good overview of the structural changes between 1.5 and 1.6.  This
  doc
  on GWT project organization may also be 
  helpful:http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec...
  .

  Hope this helps.

  Keith

  On Wed, Dec 16, 2009 at 9:19 AM, Haydar haydarim...@gmail.com wrote:
   Hi,

   I had a project in GWT 1.5 and I decided to migrate to GWT 2.0

   In my project I had my servlet declarations in gwt.xml file. But I
   think GWT 2.0
   looks for them in web.xml.
   I have done what is told on gwt site about migrating and then ran my
   project in devmode.
   But it gives me this warning:

   00:00:03,032 [WARN] Module declares 1 servlet declaration(s), but a
   valid 'web.xml' was not found at 'D:\projects\myworkspace\myproject\war
   \WEB-INF\web.xml' 

   When I look at that path I can't even find a WEB-INF folder. It
   doesn't create it, pretends as it is created and looks for an xml file
   which is not in a non-existing folder.
   I couldn't understand the problem.

   I can't even see my first page in the application. Should I create a
   web.xml which contains my servlet definitions? How can I do this? What
   must I have done wrong? Can anyone please help me?

   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

--

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




Migration Problem (From 1.5 to 2.0)

2009-12-16 Thread Haydar
Hi,

I had a project in GWT 1.5 and I decided to migrate to GWT 2.0

In my project I had my servlet declarations in gwt.xml file. But I
think GWT 2.0
looks for them in web.xml.
I have done what is told on gwt site about migrating and then ran my
project in devmode.
But it gives me this warning:

00:00:03,032 [WARN] Module declares 1 servlet declaration(s), but a
valid 'web.xml' was not found at 'D:\projects\myworkspace\myproject\war
\WEB-INF\web.xml' 

When I look at that path I can't even find a WEB-INF folder. It
doesn't create it, pretends as it is created and looks for an xml file
which is not in a non-existing folder.
I couldn't understand the problem.

I can't even see my first page in the application. Should I create a
web.xml which contains my servlet definitions? How can I do this? What
must I have done wrong? Can anyone please help me?

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-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: Migration Problem (From 1.5 to 2.0)

2009-12-16 Thread Keith Platfoot
Hi Haydar,

Since version 1.6, GWT projects have a new canonical structure that includes
a top-level directory named war, where GWT expects to find your
publicly-served HTML/CSS, as well as various configuration files (including
the web.xml with your servlet declarations, inside a WEB-INF directory).
 See
http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFeaturesfor
a good overview of the structural changes between 1.5 and 1.6.  This
doc
on GWT project organization may also be helpful:
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions
.

Hope this helps.

Keith

On Wed, Dec 16, 2009 at 9:19 AM, Haydar haydarim...@gmail.com wrote:

 Hi,

 I had a project in GWT 1.5 and I decided to migrate to GWT 2.0

 In my project I had my servlet declarations in gwt.xml file. But I
 think GWT 2.0
 looks for them in web.xml.
 I have done what is told on gwt site about migrating and then ran my
 project in devmode.
 But it gives me this warning:

 00:00:03,032 [WARN] Module declares 1 servlet declaration(s), but a
 valid 'web.xml' was not found at 'D:\projects\myworkspace\myproject\war
 \WEB-INF\web.xml' 

 When I look at that path I can't even find a WEB-INF folder. It
 doesn't create it, pretends as it is created and looks for an xml file
 which is not in a non-existing folder.
 I couldn't understand the problem.

 I can't even see my first page in the application. Should I create a
 web.xml which contains my servlet definitions? How can I do this? What
 must I have done wrong? Can anyone please help me?

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: Migration Problem (From 1.5 to 2.0)

2009-12-16 Thread Haydar
Hi Keith,
Thanks for your answer.
I have managed to overcome this problem. Now it's working.
But now another problem occured. My System consists of two projects.
One for log-in and user roles etc. The other one has the screens.
Now I can login to the system but I can't see any of the screens, no
screens come to the view.
What can be the problem?

Thanks again...
Haydar

On 16 Aralık, 18:10, Keith Platfoot kplatf...@google.com wrote:
 Hi Haydar,

 Since version 1.6, GWT projects have a new canonical structure that includes
 a top-level directory named war, where GWT expects to find your
 publicly-served HTML/CSS, as well as various configuration files (including
 the web.xml with your servlet declarations, inside a WEB-INF directory).
  Seehttp://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFe...
 a good overview of the structural changes between 1.5 and 1.6.  This
 doc
 on GWT project organization may also be 
 helpful:http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec...
 .

 Hope this helps.

 Keith



 On Wed, Dec 16, 2009 at 9:19 AM, Haydar haydarim...@gmail.com wrote:
  Hi,

  I had a project in GWT 1.5 and I decided to migrate to GWT 2.0

  In my project I had my servlet declarations in gwt.xml file. But I
  think GWT 2.0
  looks for them in web.xml.
  I have done what is told on gwt site about migrating and then ran my
  project in devmode.
  But it gives me this warning:

  00:00:03,032 [WARN] Module declares 1 servlet declaration(s), but a
  valid 'web.xml' was not found at 'D:\projects\myworkspace\myproject\war
  \WEB-INF\web.xml' 

  When I look at that path I can't even find a WEB-INF folder. It
  doesn't create it, pretends as it is created and looks for an xml file
  which is not in a non-existing folder.
  I couldn't understand the problem.

  I can't even see my first page in the application. Should I create a
  web.xml which contains my servlet definitions? How can I do this? What
  must I have done wrong? Can anyone please help me?

  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

--

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