How is this possible to do? The script for running dev mode via ANt is:

<target name="run.devmode" depends="компиляция и т.д."> <java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode"> <classpath> <pathelement location="src"/> <path refid="common_library"/> <pathelement location="web/WEB-INF/classes"/> </classpath> <jvmarg value="-Xmx512M"/> <arg value="-startupUrl"/> <arg value="${gwt.startup.url}"/> <arg value="-war"/> <arg value="${gwt.war}"/> <arg value="${gwt.module.name}"/> </java> </target> 

So the built-in Jetty is launched, but it does not understand the jstl tags in jsp and another Labud.)

    1 answer 1

    First, you can always start the server separately, and hosted mode by specifying -noserver separately.

    Secondly, if Jetty doesn’t understand a lot, then you can compile with jasper, and drag the library with JSTL on board the project (actually, tomcat doesn’t have JSTL itself either).

    UPD

    Run tomcat like this (ripped from your build.xml):

      <java fork="true" classpathref="trader.classpath" classname="org.apache.catalina.startup.Bootstrap"> <jvmarg value="-Dcatalina.home=${home}"/> <jvmarg value="-Dspring.config=${home}/etc/****.env.xml"/> <jvmarg value="-Dxml.config.file=${home}/tmp/***.xml"/> <jvmarg value="-Dconfig.file=${home}/tmp/util.cfg"/> <jvmarg value="-Dejbclient.backend_connector.ior_url=http://${core.server}.****.com:8080/ns0.ior"/> <jvmarg line="-Xdebug -Xrunjdwp:transport=dt_socket,address=11056,server=y,suspend=n" /> <!-- ещё всякий шлак для CORBA и EJB --> </java> 

    Separately run hosted mode

      <target name="run.devmode" depends="компиляция и т.д."> <java failonerror="true" fork="true" classname="com.google.gwt.dev.DevMode"> <!-- тут ваши обычные параметры --> <arg value="-noserver" /> </java> </target> 
    • And if the project on the spring? What does it mean to run the server separately? What does the -noserver attribute do? - Jenkamen pm
    • -noserver causes the hosted mode console not to start Jetty, but only to listen to browser connections. And tomkat just run in the usual way and pop the application into it. I always work in this mode. - cy6erGn0m
    • Be kind, take steps how to do it :) - Jenkamen
    • Available: 1. folder web 2. src-module gwt 3-volume, which looks into the folder web - Jenkamen
    • Well .. you have everything you need. - cy6erGn0m