Skip to content

Commit 8df91ef

Browse files
committed
Document the makeJar() method
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent a84364d commit 8df91ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/scijava/plugins/scripting/java/JavaEngine.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ public void compile(final File file, final Writer errorWriter) {
171171
}
172172
}
173173

174+
/**
175+
* Packages the build product into a {@code .jar} file.
176+
*
177+
* @param file a {@code .java} or {@code pom.xml} file
178+
* @param includeSources whether to include the sources or not
179+
* @param output the {@code .jar} file to write to
180+
* @param errorWriter the destination for error messages
181+
*/
174182
public void makeJar(final File file, final boolean includeSources, final File output, final Writer errorWriter) {
175183
try {
176184
final Builder builder = new Builder(file, null, errorWriter);

0 commit comments

Comments
 (0)