Bug 543363: Document that formatter requires a workspace
Change-Id: Idd12bef4400793b8ed69a68ca59363e32abb2914
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
diff --git a/bundles/org.eclipse.jdt.doc.user/tasks/tasks-231.htm b/bundles/org.eclipse.jdt.doc.user/tasks/tasks-231.htm
index baedea1..2cda021 100644
--- a/bundles/org.eclipse.jdt.doc.user/tasks/tasks-231.htm
+++ b/bundles/org.eclipse.jdt.doc.user/tasks/tasks-231.htm
@@ -22,7 +22,7 @@
org.eclipse.jdt.core.JavaCodeFormatter application from the commandline:
</p>
<pre>
- eclipse -vm <path to virtual machine> -application org.eclipse.jdt.core.JavaCodeFormatter [ OPTIONS ] <files>
+ eclipse -vm <path to virtual machine> -data <workspace> -application org.eclipse.jdt.core.JavaCodeFormatter [ OPTIONS ] <files>
</pre>
@@ -31,6 +31,21 @@
are computed relative to the current user directory.</p>
<table border="1" cellspacing="0" cellpadding="5" width="600" summary="">
<tr>
+ <td valign="top" width="25%">
+ <p>
+ -data <workspace>
+ </p>
+ </td>
+ <td valign="top">
+ <p>
+ The formatter requires a workspace to run. The workspace folder does
+ not have to exist and can be removed after the formatter is complete.
+ The recommended flow is to specify a unique temporary folder and remove
+ it on completion.
+ </p>
+ </td>
+ </tr>
+ <tr>
<td width="25%">
<files>
</td>