Skip to content

Commit 18e1054

Browse files
committed
Document how to work on sensor java code locally
[#62056960]
1 parent 4867b71 commit 18e1054

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

developer-doc/java.md

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ project. The Lab framework pulls in the
1313
[distribution repository](https://github.com/concord-consortium/lab-sensor-applet-interface-dist)
1414
through a submodule. This distribution repository provides the built and signed jars.
1515

16+
### Working with sensor applet Java code within local Lab build
17+
18+
1. Clone lab-sensor-applet-interace https://github.com/concord-consortium/lab-sensor-applet-interface
19+
2. Build it (see the readme of that project)
20+
3. delete submodule folder `lab/vendor/lab-sensor-applet-interface-dist`
21+
4. create a symlink `ln -s lab-sensor-applet-interface/dist lab/vendor/lab-sensor-applet-interface-dist`
22+
23+
Now everytime you rebuild the sensor applet jars or javascript, and then make is run on the Lab project
24+
you local Lab server should include the new jars and new javascript.
25+
1626
### Running the Classic Java Molecular Workbench and Energy2D as Applications
1727

1828
After building the Java resources the Java applications Molecular Workbench and Energy2D can be

0 commit comments

Comments
 (0)