(Eclipse 3.3 users should not have this problem, just ignore this.) Trying to export this plugin will fail because there are no dependency for JAVAX_SERVLET in the plugin dependencies. You can create such a classpath variable pointing to Tomcat 5.0+'s servlet-apis.jar or plugin 's servlets.jar or other similar jar. Attention: As now Java2Script supports Simple RPC, it requires JAVAX_SERVLET classpath variable to build project net.sf.j2s.ajax. And project "net.sf.j2s.ajax" should be exported with "Include source code" option CHECKED, so later you can bind sources much easily. Project "net.sf.j2s.ajax" and "net.sf.j2s.lib" must be exported with "Package plug-ins as individual Jar archives" UNCHECKED. For example, you may select C:\eclipse as the directory of export destination. Export the above 4 projects as "Deployable plug-ins and fragments" into your current %ECLIPSE_HOME% directory.If you are not familiar with ANT, you can use your familiar unzip tools, like 7-zip, or winzip to unzip j2slib.zip outside Eclipse. If you know about ANT build script, run net.sf.j2s.lib/build/build.xml inside Eclipse, choosing target "j2s.unzip". Install Eclipse 3.1/3.2/3.3/3.4/3.5/3.6, and installl Subclipse or install Subversive.Setup Java2Script Environment from Subversion Repository Basic steps
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |