Re: j2s-development] Eclipse 3.2 help
Brought to you by:
zhourenjian
|
From: Zhou R. <jo...@sj...> - 2006-07-21 01:05:39
|
There are lots of changes since last release for Eclipse 3.2 RC. So don't checkout project net.sf.j2s.lib from the head revision unless you checkout all those J2S projects from SVN following instructions of http://j2s.sourceforge.net/setup-j2s-from-subversion.html It seems that j2s-*.z.js are missing. You may imports those *.z.js in the "Java2Script Builder" property page: selecting "Resources" tree node and then "Add libraries". You can import the missing libraries described by Krzysztof. Try it or you can also try latest features by checking out lastest codes from SVN. Krzysztof Bo=BFko wrote: > Hi, > > I would try to import some of these: > <script src=3D"j2s-core-bare.z.js" /> > <script src=3D"j2s-core-basic.z.js" /> > <script src=3D"j2s-core-common.z.js" /> > <script src=3D"j2s-core-util.z.js" /> > In your case maybe importing more of these j2s-core-xxx.z.js files is nec= essary. > You can find those in the project net.sf.j2s.lib. If you don't have this = project you can check it out from Subversion repository. > > Krzysztof > > Dnia 20-07-2006 o godz. 21:20 Rob Light napisa=B3(a): > >> 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=3D"http://www.w3.org/1999/xhtml" >> xml:lang=3D"en" lang=3D"en"> >> <head> >> <title>HelloJ2World</title> >> <script type=3D"text/javascript" >> src=3D"bin/HelloJ2World.js"></script> >> </head> >> <body> >> <div id=3D"_console_" class=3D"consolewindow"></div> >> <script type=3D"text/javascript"> >> HelloJ2World.main([]); >> </script> >> </body> >> </html> >> >> And the generated JS: >> >> c$ =3D Clazz.decorateAsClass (function () { >> Clazz.instantialize (this, arguments); >> }, null, "HelloJ2World"); >> c$.main =3D Clazz.defineMethod (c$, "main", >> function (args) { >> System.out.println ("Hello World!"); >> }, "~A"); >> >> >> Any ideas? >> >> Thanks in advance, >> Rob >> > _______________________________________________ > >> j2s-development mailing list >> j2s...@li... >> https://lists.sourceforge.net/lists/listinfo/j2s-development >> >> > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > j2s-development mailing list > j2s...@li... > https://lists.sourceforge.net/lists/listinfo/j2s-development > > > |