File tree Expand file tree Collapse file tree
plugins/org.jboss.tools.windup.runtime
src/org/jboss/tools/windup/runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 </available-options >
9898 <required >false</required >
9999 </option >
100+ <option name =" overwrite" >
101+ <description >If set, overwrite the report output directory.</description >
102+ <type >Boolean</type >
103+ <ui-type >SINGLE</ui-type >
104+ <required >false</required >
105+ </option >
106+ <option name =" analyze-known-libraries" >
107+ <description >Analyze known libraries.</description >
108+ <type >Boolean</type >
109+ <ui-type >SINGLE</ui-type >
110+ <required >false</required >
111+ </option >
112+ <option name =" rules" >
113+ <description >User Rules Directory/File.</description >
114+ <type >File</type >
115+ <ui-type >FILE_OR_DIRECTORY</ui-type >
116+ <required >false</required >
117+ </option >
100118</help >
Original file line number Diff line number Diff line change @@ -132,9 +132,9 @@ public static Help findWindupHelpCache() {
132132 Help result = new Help ();
133133 File cacheFile = WindupRuntimePlugin .getMtaOptions ();
134134 try {
135- // URL url = cacheFile.toURI().toURL();
136- InputStream input = new StringInputStream (WindupRuntimePlugin .getOptions ()); // url.openStream();
137- XMLMemento root = XMLMemento .createReadRoot (input );
135+ URL url = cacheFile .toURI ().toURL ();
136+ // InputStream input = new StringInputStream(WindupRuntimePlugin.getOptions()); // url.openStream();
137+ XMLMemento root = XMLMemento .createReadRoot (url . openStream () );
138138 for (IMemento element : root .getChildren ("option" )) { //$NON-NLS-1$
139139 String name = element .getString ("name" ); //$NON-NLS-1$
140140 XMLMemento descriptionChild = (XMLMemento ) element .getChild ("description" ); //$NON-NLS-1$
@@ -172,7 +172,7 @@ private static String getOptions() {
172172 return "<?xml version=\" 1.0\" encoding=\" UTF-8\" ?>\n "
173173 + "<help>\n "
174174 + " <option name=\" overwrite\" >\n "
175- + " <description>If set, overwrite the output directory.</description>\n "
175+ + " <description>If set, overwrite the report output directory.</description>\n "
176176 + " <type>Boolean</type>\n "
177177 + " <ui-type>SINGLE</ui-type>\n "
178178 + " <required>false</required>\n "
You can’t perform that action at this time.
0 commit comments