Skip to content

Commit a37f38b

Browse files
hansonrhansonr
authored andcommitted
paste operation, importModule, WASM and ES6 directories.
1 parent 5487bab commit a37f38b

File tree

27 files changed

+868
-511
lines changed

27 files changed

+868
-511
lines changed
646 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20201212114712
1+
20201214144049
646 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20201212114712
1+
20201214144049

sources/net.sf.j2s.java.core/build-core-applet.xml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
<echo>Deleting the site directory.</echo>
1010
<delete quiet="true" dir="site" />
1111
-->
12-
12+
13+
14+
<!-- non-Java resources to copy to site/swingjs/j2s -->
15+
<property name="resource.dir" value="resources" />
16+
17+
<!-- non-Java resources to copy to site/ -->
18+
<property name="site-resource.dir" value="site-resources" />
19+
1320
<echo>creating swingjs2.js</echo>
1421
<concat destfile="srcjs/swingjs2.js">
1522
<filelist dir="srcjs/js" files="jquery.js,j2sJQueryExt.js,j2sApplet.js,j2sClazz.js,SwingJSApplet.js" />
@@ -20,6 +27,26 @@
2027
<fileset dir="srcjs"/>
2128
</copy>
2229

30+
31+
<property name="site.dir" value="site" />
32+
<property name="j2s.dir" value="${site.dir}/swingjs/j2s" />
33+
34+
<!-- transfer resources -->
35+
36+
<echo> Copying ${resource.dir} files into ${j2s.dir} </echo>
37+
<copy todir="${j2s.dir}">
38+
<fileset dir="${resource.dir}" erroronmissingdir="false" >
39+
<include name="**/*"/>
40+
</fileset>
41+
</copy>
42+
43+
<echo> Copying ${site-resource.dir} files into ${site.dir} </echo>
44+
<copy todir="${site.dir}">
45+
<fileset dir="${site-resource.dir}" erroronmissingdir="false" >
46+
<include name="**/*"/>
47+
</fileset>
48+
</copy>
49+
2350
<!-- make core files -->
2451

2552
<echo>creating and compressing core files - warnings are OK; "does not exist" is trouble</echo>

sources/net.sf.j2s.java.core/build-site.xml

Lines changed: 0 additions & 93 deletions
This file was deleted.
646 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The WASM directory can contain Web Assembly code.

sources/net.sf.j2s.java.core/resources/WASM/wasi.esm.js

Lines changed: 177 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The ES6 directory can contain JavaScript ES6 module code that is not to be compressed using GCC.
2+
3+
For example, molfile_to_inchi.wasm and wasi.esm.js

0 commit comments

Comments
 (0)