j2s-development] Eclipse 3.2 help
Brought to you by:
zhourenjian
|
From: Rob L. <rob...@ya...> - 2006-07-20 19:20:11
|
I downloaded and installed j2s-1.0.0-m2-eclipse-3.2.0-rc.zip and followed the instructions to install located here: http://j2s.sourceforge.net/download.html Here's the generated HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>HelloJ2World</title> <script type="text/javascript" src="bin/HelloJ2World.js"></script> </head> <body> <div id="_console_" class="consolewindow"></div> <script type="text/javascript"> HelloJ2World.main([]); </script> </body> </html> And the generated JS: c$ = Clazz.decorateAsClass (function () { Clazz.instantialize (this, arguments); }, null, "HelloJ2World"); c$.main = Clazz.defineMethod (c$, "main", function (args) { System.out.println ("Hello World!"); }, "~A"); Any ideas? Thanks in advance, Rob __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |