Skip to content

How to add new files to the build system

lachsen edited this page Oct 17, 2013 · 3 revisions

The xml3d.js build system builds separate modules for each subfolder in src/. To add new files to the build system to the following:

  1. locate the build.xml file in your module (e.g. inside src/data/ it's src/data/build.xml)
  2. Add a new <file> node referring to the new file inside the <filelist> node.

Note: The order of the files is important. If your new js file uses (during first execution) a class or function definition of another file, that file must be included first by the build system.

Clone this wiki locally