I merge multiple compiled .js files to one file and add it by adding <script> tag to html.
Resulting file contains of course Clazz.load and I retrieve message "Java2Script implementation error! Please report this bug!".
Is it possible to merge compiled files?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can read net.sf.j2s.java.core/src/java/package.js and net.sf.j2s.lib/build/build.xml to get an understanding of how to merget multiple compiled *.js files to one file.
If you want use static <script> HTML tags instead of Java2Script ClassLoader, you should custom your own j2slib.z.js by not packing in ClassLoader.js. You can try this way, as early stage of Java2Script didn't have ClassLoader.js and ran correctly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I merge multiple compiled .js files to one file and add it by adding <script> tag to html.
Resulting file contains of course Clazz.load and I retrieve message "Java2Script implementation error! Please report this bug!".
Is it possible to merge compiled files?
You can read net.sf.j2s.java.core/src/java/package.js and net.sf.j2s.lib/build/build.xml to get an understanding of how to merget multiple compiled *.js files to one file.
If you want use static <script> HTML tags instead of Java2Script ClassLoader, you should custom your own j2slib.z.js by not packing in ClassLoader.js. You can try this way, as early stage of Java2Script didn't have ClassLoader.js and ran correctly.