Is there a way to pass arguments to the specified embedded web
server? If not, I guess I'm stuck with using -noserver mode.
<target name="hosted" depends="compile, copyResources"
description="Run hosted mode">
<java failonerror="true" fork="true"
classname="com.google.gwt.dev.HostedMode">
<classpath>
<path refid="classpath" />
<path refid="gwt.classpath" />
<path refid="tools.class.path" />
</classpath>
<jvmarg value="-Xmx256M" />
<arg value="-startupUrl" />
<arg value="SwagSwapGWT.html" />
<!--use appengine as server-->
<arg value="-server" />
<arg
value="com.google.appengine.tools.development.gwt.AppEngineLauncher" /
>
<!-- *** I want to tell AppEngineLauncher to use the ${war.dir}
here but can't figure out how *** -->
<arg value="com.swagswap.web.gwt.SwagSwapGWT" />
<arg value="-war" />
<arg file="${war.dir}" />
</java>
</target>
?
Thanks,
Sam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---