You only need to put your server-side stuff into WEB-INF/lib and only when
you are deploying to your server (should be part of your ant script to build
your war).  Otherwise, just adding to the build path in Eclipse works great
(you don't even need jars - just add projects to your classpath).

On Tue, Mar 10, 2009 at 4:53 PM, Masto <[email protected]> wrote:

>
> Ok, i eventually managed to have everything works but i'm not happy.
>
> To make this work, i had to :
>
> - put gwt-dev.mac.jar inside my WEB-INF/lib so jetty can find the
> classes in case of a JSP. That sucks because i have an extra step
> (removing it) during my deployment to the prod server (which is what
> the new project structure was supposed to avoid)
>
> - generate the jar from my other projects (those my GWT-project depend
> on) and then copy them to the WEB-INF/lib which add a step before
> lunching the hosted mode. Generating all those  jars from my other
> project takes 1 minute 30 (lot of stuff to copy). So, it makes testing
> painfull.
>
> I'm not really sure with the new project layout where to put my JSP
> (that has nothing to do with GWT). In the war? Still in the public
> path of my GWT project (as before)? And what about some js lib (ext)?
>
> Cypal studio, which i used to use is totally broken with the 1.6. Even
> if it's not perfect, it's used to make my life a little bit easier. :-
> ( I wish the GWT team has some plan about providing some tools/
> plugins.
>
>
> On Mar 10, 1:14 pm, Masto <[email protected]> wrote:
> > I tried to put the gwt-dev-mac.jar (which should not be put, but it's
> > just to test). Now, i get a different error :
> >
> > I installed recently Safari 4 BETA (just to let you know)
> >
> > [...]
> > [java] On Mac OS X, ensure that you have Safari 3 installed.
> >
> > BUILD FAILED
> > /Users/thomas/Dev/Inv_WEB_v2/myV2/build.xml:206: Java returned: 1
> >         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
> >         at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
> > 288)
> >         at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to