@Darkflame, @Isaac, @Netbeans Users - If you're having problems with
your IDE, or your IDE is not as plugin-friendly as Eclipse, use an ant
build script. Ant is IDE independant, and it can be run from within
the IDE.
GWT Webappcreator will make one for you, and if that's not good
enough, here's a copy of mine:
<target name="hosted" depends="javac" description="Run hosted mode">
<java failonerror="true" fork="true"
classname="com.google.gwt.dev.HostedMode">
<classpath>
<pathelement location="src"/>
<pathelement location="../gwt-linux-1.6.4/gwtquery.jar"/>
<pathelement location="../gwt-linux-1.6.4/incubator.jar"/>
<pathelement location="../gwt-linux-1.6.4/gwt-log.jar"/>
<pathelement location="../gwt-linux-1.6.4/gwt-dnd.jar"/>
<path refid="project.class.path"/>
</classpath>
<jvmarg value="-Xmx768M"/>
<arg value="-startupUrl"/>
<arg value="X.html"/>
<arg value="-port"/>
<arg value="7711"/>
<arg value="-style"/>
<arg value="OBF"/>
<arg value="aiyx.X"/>
<arg value="aiyx.x51.xInk"/>
<arg value="aiyx.x77.xInk"/>
</java>
</target>
Note the part where you can put multiple modules at the end, because
that eluded me for a while... If you declare multiple modules in the
ant build file, you can work on XS-iframe hacks in hosted mode, and
even download and run the compiled and uploaded modules from your
external webserver {important when latency of image downloads
matters}.
IF YOUR IDE CONFIGURATION DIES, ant WILL SAVE THE DAY!
Finally, to all NetBeans users... Sun {Netbeans} is nice and all {I
used it for years}, but the creation of IBM Canada {Eclipse} is and
has been available in most of the 'Nix repositories for years. I'm no
Google-employee, but I know the GWT team uses a lot of Ubuntu, and it
just makes sense to support the most readily available, openly-
licensed, auto-installable IDE out there {Plus, I can copy+paste the
whole install directory to a different chroot folder and it still
works!}. I miss the NetBeans interface, but Eclipse plugins with
auto-updates always work for me, but I'd give them both up before I'd
let go of my JSNI...
Anyway, I'm wet with excitement over the idea of GWT 2.0 + Appengine,
and I would go back to JBuilder X or jedit if it was the only way to
get the first taste of the most amazing web app platform out there!
10^100 thanks for all your hard work!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---