Re: Can't deploy my project anymore

2013-07-08 Thread Jeff Smith
Magallo, I just built my war the same way--thanks for the tip.

Right click on build.xml
Run As Ant Build
Select first 'build.xml' item in list
Click OK

My war file was built successfully.

One other tip from me--edit your build.xml and remove the gwt-dev.jar from 
your filesets. This jar file bloats your war file by 33 MB and is only 
needed when running your project from Eclipse (you don't need or want it in 
the war file you deploy to Tomcat):
 

You'll also need to delete gwt-dev.jar from your /war/WEB-INF/lib folder if 
it is already there. Once you do that, your war file will shrink by 33 MB.

Best,
Jeff

On Thursday, June 27, 2013 2:36:42 AM UTC-6, Magallo wrote:
>
> Thanks for the tip. I add another way to compile. You can just right-click 
> your build.xml file, select Run As -> And Build from the context menu and 
> voilĂ . Anyway this is something weird and really can't understand why they 
> give us no support on solving this.
>
> On Thursday, June 27, 2013 12:27:49 AM UTC+2, Jack Gage wrote:
>>
>> So, I worked on this for a while and basically didn't come up with 
>> anything...  I think that the context-menu deployment feature is not part 
>> of GWT 2.5.1.
>>
>> To get around it, I have a two-step process: I compile my project with 
>> the GWT Toolbar Button > GWT Compile project option.  This compiles the JS 
>> in my web app folder.  Then I separately set up WAR deployment via the 
>> Project Properties > Deployment Assembly screen and deploy via standard 
>> Eclipse WAR export.
>>
>> This isn't quite as easy as the context-menu deployment, but once it is 
>> set up it is pretty fast.  Also has the added benefit that if you only 
>> change server-side code, you can generate a new WAR very quickly since it 
>> doesn't compile the client side every time.
>>
>> Hope this helps!
>>
>> - Jack
>>
>>
>> On Wednesday, June 26, 2013 11:47:01 AM UTC-4, Magallo wrote:
>>>
>>> How can be possible that nobody of the Eclipse/GWT Team has nothing to 
>>> say about?!
>>>
>>> On Friday, June 21, 2013 5:17:08 PM UTC+2, Jeff Smith wrote:
>>>>
>>>> I did not figure out a solution (I reverted back to an older version of 
>>>> my project with get 2.5).
>>>>
>>>> Perhaps you should create a brand new get 2.51 project and then just 
>>>> copy/paste your java source code files into this new project. Good luck.
>>>>
>>>> Jeff
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Can't deploy my project anymore

2013-06-21 Thread Jeff Smith
I did not figure out a solution (I reverted back to an older version of my
project with get 2.5).

Perhaps you should create a brand new get 2.51 project and then just
copy/paste your java source code files into this new project. Good luck.

Jeff
On Jun 21, 2013 4:40 AM, "Magallo"  wrote:

> Have you solved the problem? How?
>
> On Monday, March 18, 2013 9:38:02 PM UTC+1, JoyaleXandre wrote:
>>
>> Hi everybody,
>>
>> Since friday I can't deploy my project anymore.
>>
>> Went I start the war generation with the deploy button I instantly get an
>> error *message saying*:
>> "Designer error occured.
>> Select Details >> for more information.
>> See the Error Log for more information.
>>
>> Reason:
>> Parse error or internal Designer error,"
>>
>> *The stack trace is this: *
>> "Plug-in Provider: Google
>> Plug-in Name:
>> Plug-in ID: org.eclipse
>>
>> java.lang.**NoClassDefFoundError: org/eclipse/jdt/launching/**
>> IJavaLaunchConfigurationConsta**nts
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**getGWTProjectClasspath(**
>> DeployModuleAction.java:364)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**createBuildScript(**DeployModuleAction.java:150)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.access$1(**DeployModuleAction.java:131)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:103)
>> at org.eclipse.jface.operation.**ModalContext$**
>> ModalContextThread.run(**ModalContext.java:121)
>>
>> Full stack trace (to see full context):
>> java.lang.reflect.**InvocationTargetException
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:114)
>> at org.eclipse.jface.operation.**ModalContext$**
>> ModalContextThread.run(**ModalContext.java:121)
>> Caused by: java.lang.**NoClassDefFoundError: org/eclipse/jdt/launching/**
>> IJavaLaunchConfigurationConsta**nts
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**getGWTProjectClasspath(**
>> DeployModuleAction.java:364)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**createBuildScript(**DeployModuleAction.java:150)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.access$1(**DeployModuleAction.java:131)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:103)
>> ... 1 more
>> "
>>
>> I completely uninstalled the Google Plugin and reinstalled it. I still
>> get this error.
>>
>> My last chance is probably to reinstall Eclipse from scratch, but I would
>> like to avoid reinstalling and configuring all my dev envirronnement.
>>
>> Can somebody help me please. Am I the only one who got this problem since
>> I tried to update the Google Plugin?
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/e3DoVrI6V70/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Can't deploy my project anymore

2013-05-22 Thread Jeff Smith
I ran into the same problem and could not figure out which configuration
setting got hosed. Fortunately for me, I had a backup on another computer
and just reverted back to that project and GWT 2.5.

That is one of the drawbacks of GWT--there is too much magic going on
behind the scenes spread out in many directories and files. I will never
try upgrading to a new version of GWT without backing up everything first.

Sorry this probably won't help you--I feel your pain.

Best,
Jeff
On May 22, 2013 7:20 PM, "Jack Gage"  wrote:

> Has anyone pinpointed the cause of this?
>
> I have tried to fix this with fresh installations of Eclipse Juno and
> Indigo with the GWT SDK and Designer plugins, have deleted the gwt-cache
> dirs, am using jre6, and yet the problem persists, very weird.  What else
> bothers me about this is that I can't figure out what I did that made this
> start happening; from my perspective this functionality was working just
> fine and then started failing one day when I did not make any substantial
> (from my perspective) changes to my environment.
>
> Maybe next I should try to print out all my code on paper, buy a new
> computer, install and setup everything, and type in the code again.
>
> Thanks!
>
>
> On Monday, March 18, 2013 4:38:02 PM UTC-4, JoyaleXandre wrote:
>>
>> Hi everybody,
>>
>> Since friday I can't deploy my project anymore.
>>
>> Went I start the war generation with the deploy button I instantly get an
>> error *message saying*:
>> "Designer error occured.
>> Select Details >> for more information.
>> See the Error Log for more information.
>>
>> Reason:
>> Parse error or internal Designer error,"
>>
>> *The stack trace is this: *
>> "Plug-in Provider: Google
>> Plug-in Name:
>> Plug-in ID: org.eclipse
>>
>> java.lang.**NoClassDefFoundError: org/eclipse/jdt/launching/**
>> IJavaLaunchConfigurationConsta**nts
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**getGWTProjectClasspath(**
>> DeployModuleAction.java:364)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**createBuildScript(**DeployModuleAction.java:150)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.access$1(**DeployModuleAction.java:131)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:103)
>> at org.eclipse.jface.operation.**ModalContext$**
>> ModalContextThread.run(**ModalContext.java:121)
>>
>> Full stack trace (to see full context):
>> java.lang.reflect.**InvocationTargetException
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:114)
>> at org.eclipse.jface.operation.**ModalContext$**
>> ModalContextThread.run(**ModalContext.java:121)
>> Caused by: java.lang.**NoClassDefFoundError: org/eclipse/jdt/launching/**
>> IJavaLaunchConfigurationConsta**nts
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**getGWTProjectClasspath(**
>> DeployModuleAction.java:364)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.**createBuildScript(**DeployModuleAction.java:150)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction.access$1(**DeployModuleAction.java:131)
>> at com.google.gdt.eclipse.**designer.actions.deploy.**
>> DeployModuleAction$1.run(**DeployModuleAction.java:103)
>> ... 1 more
>> "
>>
>> I completely uninstalled the Google Plugin and reinstalled it. I still
>> get this error.
>>
>> My last chance is probably to reinstall Eclipse from scratch, but I would
>> like to avoid reinstalling and configuring all my dev envirronnement.
>>
>> Can somebody help me please. Am I the only one who got this problem since
>> I tried to update the Google Plugin?
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/e3DoVrI6V70/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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