#16 path create error

v1.0.0-m4
open
5
2007-01-31
2007-01-31
Anonymous
No

eclipse installed in d:\eclipse\eclipse3.1 use link file for j2s plugins, j2s plugins installed in d:\eclipse\myplugins\plugins.

java source placed in e:\work\testj2s\ddd.java

the source ddd.html generated by j2s is:

<!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>ddd</title>
<script type="text/javascript" src="../../../../D:/eclipse/myplugins/eclipse/plugins/net.sf.j2s.lib_1.0.0/j2slib/j2slib.z.js"></script>
</head>
<body>
<script type="text/javascript">
ClazzLoader.packageClasspath ("java", "../../../../D:/eclipse/myplugins/eclipse/plugins/net.sf.j2s.lib_1.0.0/j2slib/", true);
ClazzLoader.setPrimaryFolder ("");
ClazzLoader.loadClass ("ddd", function () {
ddd.main([]);
});
</script>
</body>
</html>

=========
BTW:

if I correct the path to file:///D:/... , the console print : [Java2Script] Error in loading ddd.js!

I can found 4 j2s plugins item in plugins list, but I can not found "Java2Script builder" item in project's properties.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks