Commit 9466780e authored by Andrey Filippov's avatar Andrey Filippov

removed demo tools

parent 0ecf21d0
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*******************************************************************************
* Copyright (c) 2014 Elphel, Inc.
* This file is a part of VDT plug-in.
* VDT plug-in is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VDT plug-in is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Additional permission under GNU GPL version 3 section 7:
* If you modify this Program, or any covered work, by linking or combining it
* with Eclipse or Eclipse plugins (or a modified version of those libraries),
* containing parts covered by the terms of EPL/CPL, the licensors of this
* Program grant you additional permission to convey the resulting work.
* {Corresponding Source for a non-source form of such a combination shall
* include the source code for the parts of Eclipse or Eclipse plugins used
* as well as that of the covered work.}
*******************************************************************************/
-->
<vdt-project>
<interface name="RemoteInterface" extends="FPGAPprojectInterface">
<!-- <syntax name="ProgramSyntax" format="%(%%ParamValue%|\n%)" /> -->
</interface>
<tool name="RemotePython" project="FPGA_project" label="RemotePython"
package="FPGA_package"
shell="/bin/bash" interface="RemoteInterface" description="Launching remote Python in console"
errors="(.*):([0-9]+): [a-z ]*error: (.*)" warnings="(.*):([0-9]+): warning: (.*)"
info="(.*):([0-9]+): info: (.*)"> <!--does not actually exist -->
<extensions-list>
<extension mask="v" />
<extension mask="tf" />
</extensions-list>
<action-menu>
<action label="Remote Python" resource="" icon="python.png" />
</action-menu>
<parameter id="RemoteHost" label="Remote Host IP" type="String"
format="CopyValue" default="192.168.0.66" readonly="false" visible="true" />
<parameter id="RemoteUser" label="Remote user name" type="String"
format="CopyValue" default="" readonly="false" visible="true" />
<parameter id="PreSSH" label="pre-ssh shell parameters"
type="String" format="CopyValue" default="" readonly="false" visible="true" />
<parameter id="ShellSwitches" label="Shell switches" type="String"
format="CopyValue" default="-c" readonly="false" visible="true" />
<parameter id="TerminalMode" type="BoolYesNo" format="None"
default="false" label="Force terminal mode for remote program" />
<parameter id="SSHSwitches" label="Other ssh switches"
type="String" format="CopyValue" default="" readonly="false" visible="true" />
<parameter id="RemoteCommand" label="Remote ssh command"
type="String" format="CopyValue" default="python -i -u" readonly="false"
visible="true" />
<parameter id="SSHExtra" label="ssh extra parameters" type="String"
format="CopyValue" default="" readonly="false" visible="true" />
<parameter id="PythonConsole" default="RemotePython" type="String" format="CopyValue" visible="false"/>
<input>
<group name="General">
"RemoteHost"
"RemoteUser"
"TerminalMode"
"ShellSwitches"
"PreSSH"
"SSHSwitches"
"RemoteCommand"
"SSHExtra"
</group>
</input>
<output>
<line name="command_line"
timeout="1"
keep-open= "true">
"%ShellSwitches"
"%PreSSH"
"ssh"
<if TerminalMode = "true">
"-t -t"
</if>
"%SSHSwitches"
"-l"
"%RemoteUser"
"%RemoteHost"
"'"
"%RemoteCommand"
"'"
"%SSHExtra"
</line>
<line name="python_check"
dest="PythonConsole"
mark="``"
sep=""
success="FINISH"
prompt="@@FINISH@@">
"print (\"********\")\n"
"print (\"@@FINISH@@\")\n\n"
</line>
</output>
</tool>
<tool name="RemotePythonCommand" project="FPGA_project" label="RemotePythonCommand"
package="FPGA_package"
shell="bash" interface="RemoteInterface"
description="Sending command to a ermote Python session" errors="(.*):([0-9]+): [a-z ]*error: (.*)"
warnings="(.*):([0-9]+): warning: (.*)" info="(.*):([0-9]+): info: (.*)"> <!--does not actually exist -->
<extensions-list>
<extension mask="v" />
<extension mask="tf" />
</extensions-list>
<action-menu>
<action label="Remote Python Command" resource="" icon="python.png" />
</action-menu>
<parameter id="RemoteCommand" label="Remote Command to send"
type="Stringlist" format="ProgramSyntax" default="print &quot;Hello, World!, 2*2=&quot;,2*2"
readonly="false" visible="true" />
<parameter id="python_console_name" default="RemotePython"
type="String" format="CopyValue" visible="false" />
<parameter id="Timeout" label="Script timeout(sec)" type="Cardinal"
format="CopyValue" default="10" readonly="false" visible="true" />
<input>
<group name="General">
"RemoteCommand"
"Timeout"
</group>
</input>
<output>
<line name="command_line_01">
"-c"
"echo 'Nothing to do, sleeping 5' ;"
"sleep 5 ;"
"echo 'Nothing to do, awakening' ;"
</line>
<!-- prompt: recognizer should trim spaces too -->
<!-- stdout - both with stderr, stderr only ..., both to the same - to separate console instances -->
<line name="console_line_01"
dest="python_console_name"
mark="``"
sep="\n"
prompt="@@FINISH@@"
stdout="parser_001"
success="FINISH"
timeout="Timeout">
"%RemoteCommand"
"print '@@FINISH@@'"
"``"`" <!-- two new lines should generate a pair of prompts from the remote -->
</line>
<line name="command_line_02">
"-c"
"echo 'Nothing to do second time, sleeping 10' ;"
"sleep 10 ;"
"echo 'Nothing to do again, awakening after sleep 10' ;"
</line>
<!-- parser_01 being referenced should be launched in an asynchronous process/console, removed from the launch sequence -->
<line name="parser_001"
errors="(.*):([0-9]+): [a-z ]*error: (.*)"
warnings="(.*):([0-9]+): warning: (.*)"
info="(.*):([0-9]+): info: (.*)">
"-c"
"grep --line-buffered 'End'"
</line>
</output>
</tool>
</vdt-project>
<!-- /opt/Xilinx/Vivado/2013.4/bin/vivado -mode tcl -->
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*******************************************************************************
* Copyright (c) 2014 Elphel, Inc.
* This file is a part of VDT plug-in.
* VDT plug-in is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VDT plug-in is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Additional permission under GNU GPL version 3 section 7:
* If you modify this Program, or any covered work, by linking or combining it
* with Eclipse or Eclipse plugins (or a modified version of those libraries),
* containing parts covered by the terms of EPL/CPL, the licensors of this
* Program grant you additional permission to convey the resulting work.
* {Corresponding Source for a non-source form of such a combination shall
* include the source code for the parts of Eclipse or Eclipse plugins used
* as well as that of the covered work.}
*******************************************************************************/
-->
<vdt-project>
<!--
===========================================================
Just a sample interface
============================================================
-->
<interface name="MyControlInterface">
<typedef name="MyType1">
<paramtype kind="number"
lo="1"
hi="10"
format="xx.yy"/>
</typedef>
<typedef name="EnumBaseType">
<paramtype kind="number"
lo="0"
hi="100"
format="xxx"/>
</typedef>
<typedef name="MyType2">
<paramtype kind="enum" base="EnumBaseType">
<item label="ELEM_1"
value="0"/>
<item label="ELEM_2"
value="10"/>
<item label="ELEM_3"
value="100"/>
</paramtype>
</typedef>
<typedef name="MyType2b">
<paramtype kind="enum" base="EnumBaseType">
<item value='"'/>
<item value="15"/>
<item value="25"/>
</paramtype>
</typedef>
<!--
<typedef name="Boolean">
<paramtype kind="bool"
formatTrue="TRUE"
formatFalse="FALSE"/>
</typedef>
-->
<typedef name="MyType4">
<paramtype kind="string"
maxlength="40"
sensitivity="uppercase"/>
</typedef>
<typedef name="MyType5">
<paramtype kind="string"
maxlength="256"
sensitivity="uppercase"
textkind="file"
filemask="*.xml"/>
</typedef>
<typedef name="MyType6">
<paramtype kind="string"
maxlength="256"
sensitivity="uppercase"
textkind="dir"/>
</typedef>
<typedef name="MyString">
<paramtype kind="string"
maxlength="256"
sensitivity="sensitive"/>
</typedef>
<typedef name="MyTypeList" list="true">
<paramtype kind="string"
maxlength="256"
sensitivity="sensitive"/>
</typedef>
<syntax name = "MySyntax10"
format = "%%ParamName={%(Pref %%ParamValue%|-%)}"/>
<syntax name = "MySyntax11"
format = "%%ParamName={%(Pref_%%ParamValue%|#%)}"/>
<syntax name = "MySyntax1"
format = "%%ParamName={%(&quot;%%ParamValue&quot;%|;%)}"/>
<syntax name = "MySyntaxForType2"
format = "/%%ParamName:%%ParamValue"/>
<syntax name = "ProjectNameSyntax"
format = "%%ParamName:%%ProjectName"/>
<syntax name = "CurrentFileSyntax"
format = "%%ParamName:%%CurrentFile"/>
<syntax name = "CurrentFileSyntax1"
format = "%%ParamName:%%ParamValue"/>
<syntax name = "CurrentFileBaseSyntax"
format = "%%ParamName:%%CurrentFileBase"/>
<syntax name = "TopModuleSyntax"
format = "%%ParamName:%%TopModule"/>
<syntax name = "FileListSyntax"
format = "%%ParamName:{%(%%FileList%|;%)}"/>
<syntax name = "SourceListSyntax"
format = "%%ParamName:{%(%%SourceList%|;%)}"/>
<syntax name = "exeFileSyntax"
format = "%%ParamValue"/>
<typedef name="exeType">
<paramtype kind="string"
maxlength="256"
sensitivity="sensitive"
textkind="file"/>
</typedef>
<syntax name = "QuotedFileListSyntax"
format = '--%%ParamName %("%%FileList"%| %)'/>
<syntax name = "QuotedTopModuleSyntax"
format = "--%%ParamName=%%TopModule"/>
<syntax name = "QuotedTopModulesSyntax"
format = "--%%ParamName %(&quot;%%TopModules&quot;%| %)"/>
<syntax name = "QuotedSourceListSyntax"
format = "--%%ParamName %(&quot;%%SourceList&quot;%| %)"/>
<syntax name = "QuotedCurrentFileSyntax"
format = "--%%ParamName=&quot;%%CurrentFile&quot;"/>
<syntax name = "QuotedCurrentFileBaseSyntax"
format = "--%%ParamName=&quot;%%CurrentFileBase&quot;"/>
<syntax name = "QuotedProjectNameSyntax"
format = '--%%ParamName="%%ProjectName"'/>
<syntax name = "QuotedProjectPathSyntax"
format = '--%%ParamName="%%ProjectPath"'/>
<syntax name = "JustCopyValue"
format = "%%ParamValue"></syntax>
</interface>
<project name="SampleProject"
label="Sample Project"
interface="MyControlInterface">
</project>
<!--
===========================================================
Sample tool 1
============================================================
-->
<!-- exe = "?%%OS: Windows=mytest.bat, Linux=mytest.sh" -->
<tool name = "MyTool"
project = "SampleProject"
label = "My Tool"
shell = "?%%OS: Windows=, Linux=bash"
interface = "MyControlInterface"
description = "Tool that does small minor things"
errors = "(.*):([0-9]+): [a-z ]*error: (.*)"
warnings = "(.*):([0-9]+): warning: (.*)"
info = "(.*):([0-9]+): info: (.*)"> <!--does not actually exist -->
<extensions-list>
<extension mask="v"/>
<extension mask="tf"/>
</extensions-list>
<parameter id = "Param_Shell_Options"
label = "Param_Shell_Options"
type = "MyString"
format = "JustCopyValue"
default = "-c"
readonly = "false"
visible = "true"/>
<parameter id = "Param_Exe"
label = "Param_Exe"
type = "exeType"
format = "exeFileSyntax"
default = "/data/vdt/workspace_01/veditor/parsers/mytest.sh"
readonly = "false"
visible = "true"/>
<parameter id = "Param_ProjectName"
label = "Param_ProjectName"
type = "MyString"
format = "QuotedProjectNameSyntax"
default = "%%ProjectName"
omit = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_ProjectPath"
label = "Param_ProjectPath"
type = "MyString"
format = "QuotedProjectPathSyntax"
default = "%%ProjectPath"
omit = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_CurrentFile1"
label = "Param_CurrentFile1"
type = "MyString"
format = "CurrentFileSyntax1"
default = "%%CurrentFile"
readonly = "true"
visible = "true"/>
<parameter id = "Param_CurrentFile"
label = "Param_CurrentFile"
type = "MyString"
format = "QuotedCurrentFileSyntax"
default = "%%CurrentFile"
omit = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_TopModule"
label = "Param_TopModule"
type = "MyString"
format = "QuotedTopModuleSyntax"
default = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_TopModules"
label = "Param_TopModules"
type = "MyTypeList"
format = "QuotedTopModulesSyntax"
default = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_CurrentFileBase"
label = "Param_CurrentFileBase"
type = "MyString"
format = "QuotedCurrentFileBaseSyntax"
default = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_FileList"
label = "Param_FileList"
type = "MyTypeList"
format = "QuotedFileListSyntax"
default = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_SourceList"
label = "Param_SourceList"
type = "MyTypeList"
format = "QuotedSourceListSyntax"
default = ""
readonly = "true"
visible = "true"/>
<parameter id = "Param_parser"
type = "MyType1"
format = "JustCopyValue"
default = "| python -u /data/vdt/workspace_01/veditor/parsers/parser01.py; ls -all"
readonly = "false"
visible = "true"
label = "Parameter number"/>
<parameter id = "Param_A"
type = "MyType1"
format = "MySyntax1"
default = "3"
readonly = "true"
visible = "true"
label = "Parameter number"/>
<parameter id = "Param_B"
label = "Param_B"
type = "MyType1"
format = "MySyntax1"
default = "5"
readonly = "false"
visible = "true"/>
<parameter id = "Param_B1"
label = "Param_B1"
type = "MyString"
format = "MySyntax1"
default = "5"
readonly = "false"
visible = "true"/>
<if Param_B="5">
<if-not Param_B="4">
<parameter id = "Param_C"
type = "MyType5"
format = "MySyntaxForType2"
default = "? %Param_A = %Param_B: F:\, G:\"
label = "File parameter"/>
<if Param_C="C:\">
<parameter id = "Param_D"
type = "MyType6"
format = "MySyntaxForType2"
default = "D:\sass"
label = "Dir parameter"/>
</if>
<if Param_C="D:\">
<parameter id = "Param_D"
type = "MyType1"
format = "MySyntax1"
default = "10"
label = "Second parameter number"/>
</if>
<if-not Param_C="C:\">
<if-not Param_C="D:\">
<parameter id = "Param_D"
type = "MyType1"
format = "MySyntax1"
default = "9"
label = "Third parameter number"/>
</if-not>
</if-not>
</if-not>
</if>
<input>
<group name="General">
"Param_Shell_Options"
"Param_Exe"
"Param_A"
"Param_B"
"Param_B1"
"Param_C"
"Param_ProjectName"
"Param_ProjectPath"
"Param_CurrentFile1"
</group>
<group name="Extra">
"Param_D"
"Param_parser"
</group>
</input>
<output>
<line name="command_line">
"%Param_Shell_Options"
"%Param_Exe"
"%Param_ProjectName"
"%Param_ProjectPath"
"%Param_CurrentFile"
"%Param_CurrentFileBase"
"%Param_TopModule"
"%Param_TopModules"
<!-- "%Param_FileList"
"%Param_SourceList" -->
<!--
"-constant_param=ConstantStuff %Param_A %Param_B %Param_B1 %Param_C %Param_D"
"%Param_ProjectName"
"%Param_CurrentFile1"
"%Param_CurrentFile"
"%Param_CurrentFileBase"
"%Param_TopModule"
"%Param_FileList"
"%Param_SourceList" -->
"%Param_parser"
</line>
</output>
</tool>
<!--
===========================================================
Sample tool 2
============================================================
-->
<tool name = "MyTool_exe"
project = "SampleProject"
label = "MyTool (exe)"
inherits = "MyTool"
exe = "?%%OS: Windows=mytest.exe, Linux=mytest"
icon = "sample.gif"
interface = "MyControlInterface"
description = "Tool that does big important things">
<extensions-list>
<extension mask="v"/>
</extensions-list>
<parameter id = "Param_A"
outid = "EX_PARAM_A"
type = "MyType1"
format = "MySyntax1"
default = "5"
readonly = "false"
visible = "true"
omit = "6"
label = "Parameter takoi-to"/>
<parameter id = "Param_B"
type = "MyType2"
format = "MySyntaxForType2"
default = "10"
readonly = "false"
visible = "true"
label = "Parameter drugoi"/>
<parameter id = "Param_X"
type = "MyType2"
format = "MySyntaxForType2"
default = "10"
readonly = "false"
visible = "true"
label = "Parameter X"/>
<input>
<group name="General">
<delete>
"Param_C"
</delete>
<insert after="Param_A">
<if Param_A="6">
"Param_X"
</if>
</insert>
<insert after="first">
<if Param_A="5">
"Param_X"
</if>
</insert>
</group>
</input>
<output>
<line name="command_line">
"%Param_A"
"%Param_B"
</line>
</output>
</tool>
<!--
===========================================================
Sample tool 3
============================================================
-->
<tool name = "MyTool2_exe"
project = "SampleProject"
inherits = "MyTool_exe"
label = "MyTool2 (exe)"
exe = "?%%OS: Windows=mytest.exe, Linux=mytest"
icon = "sample.gif"
interface = "MyControlInterface"
description = "Tool that also does big important things">
<extensions-list>
<extension mask="v"/>
</extensions-list>
<parameter id = "Param_A"
outid = "EX_PARAM_A"
type = "MyType1"
format = "MySyntax1"
default = "555"
readonly = "true"
visible = "true"
omit = "6"
label = "Parameter takoi-to"/>
<!--
<parameter id = "Param_B"
visible = "false"/>
-->
<input>
<group name="General" label="UUU" visible="false">
</group>
</input>
<output>
<line name="command_line">
"%Param_A"
"%Param_C"
</line>
</output>
</tool>
</vdt-project>
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*******************************************************************************
* Copyright (c) 2014 Elphel, Inc.
* This file is a part of VDT plug-in.
* VDT plug-in is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VDT plug-in is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Additional permission under GNU GPL version 3 section 7:
* If you modify this Program, or any covered work, by linking or combining it
* with Eclipse or Eclipse plugins (or a modified version of those libraries),
* containing parts covered by the terms of EPL/CPL, the licensors of this
* Program grant you additional permission to convey the resulting work.
* {Corresponding Source for a non-source form of such a combination shall
* include the source code for the parts of Eclipse or Eclipse plugins used
* as well as that of the covered work.}
*******************************************************************************/
-->
<vdt-project>
<interface name = "GREPInterface">
<typedef name = "PatternTypeType">
<paramtype kind = "enum" base = "String">
<item label = "Fixed" value = "fixed-strings"/>
<item label = "Basic regexp" value = "basic-regexp"/>
<item label = "Extended regexp" value = "extended-regexp"/>
</paramtype>
</typedef>
<typedef name = "BinaryFilesType">
<paramtype kind = "enum" base = "String">
<item label = "Text" value = "text"/>
<item label = "Binary" value = "binary"/>
<item label = "No match" value = "without-match"/>
</paramtype>
</typedef>
<typedef name = "DirsType">
<paramtype kind = "enum" base = "String">
<item label = "Read" value = "read"/>
<item label = "Recurse" value = "recurse"/>
<item label = "Skip" value = "skip"/>
</paramtype>
</typedef>
<typedef name = "OutputOnlyType">
<paramtype kind = "enum" base = "String">
<item label = "Matched lines" value = ""/>
<item label = "Matched files" value = "files-with-match"/>
<item label = "Non-matched files" value = "files-without-matches"/>
</paramtype>
</typedef>
<typedef name = "PrintFilenameType">
<paramtype kind="bool"
formatTrue="with-filename"
formatFalse="no-filename" />
</typedef>
<syntax name = "EquationParamSyntax"
format = "--%%ParamName=%%ParamValue"/>
<syntax name = "BoolParamSyntax"
format = "--%%ParamName"/>
<syntax name = "EnumParamSyntax"
format = "--%%ParamValue"/>
<syntax name = "InputPatternSyntax"
format = "'%%ParamValue'"/>
</interface>
<tool name = "grep"
label = "GREP tool"
interface = "GREPInterface"
description = "Find a text in source files" exe="grep">
<parameter id = "pattern"
type = "String"
format = "InputPatternSyntax"
default = ""
label = "Pattern to match"/>
<parameter id = "pattern_type"
outid = "pattern-type"
type = "PatternTypeType"
format = "EnumParamSyntax"
default = "fixed-strings"
omit = "fixed-strings"
label = "Pattern type"/>
<parameter id = "word_regexp"
outid = "word-regexp"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Match only whole words"/>
<parameter id = "line_regexp"
outid = "line-regexp"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Match only whole lines"/>
<parameter id = "ignore_case"
outid = "ignore-case"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Ignore case distinctions"/>
<parameter id = "invert_match"
outid = "invert-match"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Print non-matching lines"/>
<parameter id = "no_messages"
outid = "no-messages"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Suppress error messages"/>
<parameter id = "print_filename"
type = "PrintFilenameType"
format = "EnumParamSyntax"
default = "true"
omit = "true"
label = "Print the filename for each match"/>
<parameter id = "binary_files"
outid = "binary-files"
type = "BinaryFilesType"
format = "EquationParamSyntax"
default = "without-match"
omit = "without-match"
label = "Binary files type"/>
<parameter id = "byte_offset"
outid = "byte-offset"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Print the byte offset with output lines"/>
<parameter id = "line_number"
outid = "line-number"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Print line number with output lines"/>
<parameter id = "directories"
type = "DirsType"
format = "EquationParamSyntax"
default = "recurse"
omit = "recurse"
label = "Action for handling directories"/>
<parameter id = "output_only"
outid = "output-only"
type = "OutputOnlyType"
format = "EquationParamSyntax"
default = ""
omit = ""
label = "At the match, print only"/>
<parameter id = "count"
type = "BoolOnOff"
format = "BoolParamSyntax"
default = "false"
omit = "false"
label = "Only print a count of matching lines per file"/>
<parameter id = "before_context"
outid = "before-context"
type = "Cardinal"
format = "EquationParamSyntax"
default = "0"
omit = "0"
label = "Number of lines of leading context to print"/>
<parameter id = "after_context"
outid = "after-context"
type = "Cardinal"
format = "EquationParamSyntax"
default = "0"
omit = "0"
label = "Number of lines of trailing context to print"/>
<input label="GREP Preferences">
<group label="Match">
"pattern"
"pattern_type"
"word_regexp"
"line_regexp"
"ignore_case"
"invert_match"
</group>
<group label="Output">
"no_messages"
"print_filename"
"binary_files"
"byte_offset"
"line_number"
"directories"
"output_only"
"count"
"before_context"
"after_context"
</group>
</input>
<output>
<line name = "command_line" sep = " ">
"%pattern_type"
"%word_regexp"
"%line_regexp"
"%ignore_case"
"%invert_match"
"%no_messages"
"%print_filename"
"%binary_files"
"%byte_offset"
"%line_number"
"%directories"
"%output_only"
"%count"
"%before_context"
"%after_context"
"%pattern"
"%(%%FileList%| %)"
</line>
</output>
</tool>
</vdt-project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment