Hi Vitali, thanks for you answer,

If you look at my first post, you see that my classpath contains the
path to the build of my other project.

/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_3/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_2/build
/Users/thomas/Dev/Inv_WEB_v2/Inv_WEB_v2/Proj_1/build

But using that, JETTY cannot comile my JSPs. It cannot find some
classes I use in my JSPs unless i put the jars in the WEB-INF/lib

"Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib."

I know that. But again, if i don't put this jar inside WEB-INF/lib,
The Hosted mode refuses again to compile my JSPs but this time because
it cannot find the class org/apache/jasper/runtime/JspSourceDependent
which is inside the gwt-dev-*.jar.

My JSPs are not integrated with GWT. I have one for the sign-up screen
and one for the sign-in screen. That's it. They use some classes from
my Proj_1, Proj_2 and Proj_3 (no GWT projects) and some Javascript
(prototype). That's it. They are plain old JSPs. No fancy stuff in
there. Currently, they are under my public path in my GWT project.

To reproduce the issue (or try to), create a JSP and see if it works
when you don't have the gwt-dev-*.jar inside your WEB-INF/lib. Your
JSP have to use a classe (just do import org.myCompany.myClass) from
another project to reflect my case



if i don't put all the jar files,

On Mar 11, 4:31 am, Vitali Lovich <vlov...@gmail.com> wrote:
> Oh and gwt-dev-anything.jar should not go into your WEB-INF/lib.  That set
> of jars is strictly for HostedMode stuff & again - just add it to your
> classpath.  They are not for deployment.
>
> As for where to put the JSPs, that's a good question.  There's little
> documentation as of yet (since 1.6 still hasn't been released).  Also, I've
> never tried integrating JSPs with GWT (mainly because it seems antithetical
> to the whole premise of GWT.
>
> The JS libs, if I'm not mistaken, could be put into the war/module directory
> that gets created or just in the war directory itself - it's up to depending
> on how you specify the path (war/module is probably easier).
>
> On Wed, Mar 11, 2009 at 7:26 AM, Vitali Lovich <vlov...@gmail.com> wrote:
> > 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 <thomas.ric...@gmail.com> 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 <thomas.ric...@gmail.com> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to