Hi All,

I use gwt+nb+gf, and I need to use another web services from
glassfish.
I cannot set to debugging, because hosted server starting, but my
build.xml setting to -noserver.
My project deployed to glassfish, and running well, but doesn't stop
any breakpoint.
In gwt 1.6 there is a new gwtshell, but my ant calling an old GWTShell
to running.
What is the correct setting in 1.6 for no hosted mode?

here is the part of my build.xml:

  <target name="debug" description="Debug project in IDE."
depends="init,compile,compile-jsps,-do-compile-single-jsp"
if="netbeans.home">
    <property name="gwt.compile.unneeded" value="true" />
        <antcall target="dist"/>
        <nbdeploy debugmode="true" clientUrlPart="${client.urlPart}"/>
        <antcall target="connect-debugger"/>
        <antcall target="debug-connect-gwt-shell"/>
    </target>

nbproject/build-gwt.xml is:

    <target name="debug-connect-gwt-shell" if="netbeans.home"
depends="init">
        <nbjpdastart transport="dt_socket"
addressproperty="jpda.address.gwt" name="com.google.gwt.dev.GWTShell"
stopclassname="">
            <classpath>
                <path path="${javac.classpath}:${src.dir}:$
{build.classes.dir}"/>
            </classpath>
        </nbjpdastart>
        <property name="gwtshell.jvmargs.base" value="-Xdebug -
Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=$
{jpda.address.gwt}"/>

        <condition property="gwtshell.jvmargs" value="$
{gwtshell.jvmargs.base} -XstartOnFirstThread"
                   else="${gwtshell.jvmargs.base}">
            <os family="mac"/>
        </condition>

        <java fork="true" classname="com.google.gwt.dev.GWTShell"
failonerror="true">
            <jvmarg line="${gwtshell.jvmargs}"/>
            <classpath>
                <path path="${src.dir}:${javac.classpath}:$
{build.classes.dir}"/>
            </classpath>
            <syspropertyset>
                <propertyref prefix="run-sys-prop."/>
                <mapper type="glob" from="run-sys-prop.*" to="*"/>
            </syspropertyset>
            <arg value="-noserver"/>
<----------------------------------------------- here is
            <arg value="${client.url}"/>
        </java>
    </target>

thanks a lot
Zoltan Zidarics
PTE-University
Pecs, Hungary

--~--~---------~--~----~------------~-------~--~----~
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