I thought this was a compiler option . I am trying to use it in a ant target
and it fails.
I have the main application as a J2EE application deployed in websphere
(which is running in RAD (same as Eclipse)) using struts. So I am following
this:
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT%27s


  <target name="gwtc" depends="javac" description="GWT compile to
JavaScript">
    <java failonerror="true" fork="true"
classname="com.google.gwt.dev.Compiler">
      <classpath>
        <pathelement location="JavaSource"/>
        <path refid="project.class.path"/>
      </classpath>
      <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
      <jvmarg value="-Xmx256M"/>
      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
      <arg line="-logLevel"/>
      <arg value="DEBUG"/>
      <arg value="-noserver"/>
      <arg value="-startupUrl"/>
      <arg value="http://localhost:9999/Start.action"/>
      <arg value="com.prototype.gwt.Prototype"/>
    </java>
  </target>

Can you please let me know how to make this work. I am able to debug the
samples from the same environment.
thanks


On Tue, Jan 4, 2011 at 4:55 AM, agi <[email protected]> wrote:

> and how do you exactly run your application? can you paste whole
> command?
>
> I am using -noserver argument from eclipse and it works just fine..
>
> On Jan 4, 2:44 am, Srividhya Ramachandran <[email protected]> wrote:
> > I want to run the appln in Websphere server and trying to explore the
> > -noserver option. However I get the following error:
> >
> > gwtc:
> >      [java] Unknown argument: -noserver
> >      [java] Google Web Toolkit 2.1.0
> >
> > has anybody tried this successfully?
> >
> > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> 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 [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