6
|
1 <tool name="File Splitter" id="masscomb_filesplitter" version="0.0.1">
|
|
2 <description>Basic file splitting</description>
|
|
3 <!--
|
|
4 For remote debugging start you listener on port 8000 and use the following as command interpreter:
|
|
5 java -jar -Xdebug -Xrunjdwp:transport=dt_socket,address=D0100564.wurnet.nl:8000
|
|
6 -->
|
|
7 <command interpreter="java -jar">
|
|
8 MassComb.jar
|
|
9 -action FILESPLITTER
|
|
10 -inputFile $inputFile
|
|
11 -outputFile $outputFile
|
|
12 -splitExpression $splitExpression
|
|
13 -nameExpression $nameExpression
|
7
|
14 -extension $extension
|
6
|
15 </command>
|
|
16 <inputs>
|
|
17 <param name="inputFile" type="data" format="" label="Input file to split"/>
|
|
18
|
|
19 <param name="splitExpression" type="select" label="(regular)Expression to split on" help="">
|
7
|
20 <option value="^>.+">line start with >alphanumeric (^>.+)</option>
|
6
|
21 </param>
|
|
22 <param name="nameExpression" type="select" label="(regular)Expression for file name" help="">
|
7
|
23 <option value="SLASHw+">alphanumeric part (\w)</option>
|
6
|
24 </param>
|
|
25
|
7
|
26 <param name="extension" type="text" size="30" label="File extension for the 'sub-files'" value=".txt" help=""/>
|
6
|
27
|
|
28 </inputs>
|
|
29 <outputs>
|
|
30 <data format="prims.fileset.zip" name="outputFile" />
|
|
31 </outputs>
|
|
32 <tests>
|
|
33 <test>
|
|
34 </test>
|
|
35 </tests>
|
|
36 <help>
|
|
37
|
|
38 </help>
|
|
39 </tool>
|