Commit 0566e734 by fukai

2021升级更新

parent 475d8361
target/* HELP.md
.DS_Store target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/
package com.brilliace.swifteditor; package com.brilliace.swifteditor;
import java.io.File; import java.io.File;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.util.Arrays; import java.util.Arrays;
import java.util.Map; import java.util.Map;
import com.brilliace.swifteditor.tag.TagFormat; import com.brilliace.swifteditor.tag.TagFormat;
import com.brilliace.swifteditor.tag.TagLine; import com.brilliace.swifteditor.tag.TagLine;
import com.brilliace.swifteditor.tag.message.MessageFormat; import com.brilliace.swifteditor.tag.message.MessageFormat;
import com.brilliace.swifteditor.tag.message.SWFMessage; import com.brilliace.swifteditor.tag.message.SWFMessage;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.google.gson.GsonBuilder; import com.google.gson.GsonBuilder;
/** /**
* Hello world! * Hello world!
* *
*/ */
public class App public class App
{ {
static Gson gson = new GsonBuilder().disableHtmlEscaping().create(); static Gson gson = new GsonBuilder().disableHtmlEscaping().create();
public static void main( String[] args ) throws IOException public static void main( String[] args ) throws IOException
{ {
// generMTFormat(); // generMTFormat();
// TagFormat.WalkTagCell("33G", "<CUR><NUMBER>15[5!c]"); // TagFormat.WalkTagCell("33G", "<CUR><NUMBER>15[5!c]");
String reg = TagFormat.TagMap.get("79").toAnalyzeReg(); String reg = TagFormat.TagMap.get("98D").toAnalyzeReg();
System.out.println(reg); System.out.println(reg);
System.out.println( "XS:D:\r\n:\r\nSD:\r\nSDSD".matches(reg) ); System.out.println( "XS:D:\r\n:\r\nSD:\r\nSDSD".matches(reg) );
// TagLine t59 = TagFormat.TagMap.get("79"); // TagLine t59 = TagFormat.TagMap.get("79");
// t59.setValue("14314321\n423424234\nasdgfasdgfasf\nafdagfadsf\r\nasdfasdfsaf"); // t59.setValue("14314321\n423424234\nasdgfasdgfasf\nafdagfadsf\r\nasdfasdfsaf");
// System.out.println(t59); // System.out.println(t59);
// System.out.println(new Gson().toJson(TagFormat.TagMap.get("34B").toSegRegMap())); // System.out.println(new Gson().toJson(TagFormat.TagMap.get("34B").toSegRegMap()));
// System.out.println(new Gson().toJson(TagFormat.WalkTagCell("51A", "['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>"))); // System.out.println(new Gson().toJson(TagFormat.WalkTagCell("51A", "['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>")));
// for(Map.Entry<String, TagLine> entry: TagFormat.TagMap.entrySet()) // for(Map.Entry<String, TagLine> entry: TagFormat.TagMap.entrySet())
// { // {
// System.out.println(entry.getKey()+"="+entry.getValue().getAnalyzeReg()); // System.out.println(entry.getKey()+"="+entry.getValue().getAnalyzeReg());
// } // }
// MessageFormat.loadSWFMessage(); // MessageFormat.loadSWFMessage();
// SWFMessage swf = MessageFormat.getSWFMessage("202"); // SWFMessage swf = MessageFormat.getSWFMessage("202");
// System.out.println(swf.toFormatJSON()); // System.out.println(swf.toFormatJSON());
// generMTFormat(); // generMTFormat();
// System.out.println("111"); // System.out.println("111");
// System.out.println("103".matches("(?!202)\\d{3}")); // System.out.println("103".matches("(?!202)\\d{3}"));
// SWFMessage swf = MessageFormat.getSWFMessage("940"); // SWFMessage swf = MessageFormat.getSWFMessage("940");
// System.out.println(swf.toFormatJSON()); // System.out.println(swf.toFormatJSON());
} }
public static void generMTJS() public static void generMTJS()
{ {
} }
public static void generMTFormat() throws IOException public static void generMTFormat() throws IOException
{ {
File path = new File("/Volumes/FUKAI/MT/bak"); File path = new File("D:/FUKAITEMP");
if(path.exists()) if(path.exists())
path.delete(); path.delete();
path.mkdirs(); path.mkdirs();
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
StringBuilder sbh = new StringBuilder(); StringBuilder sbh = new StringBuilder();
for(Map.Entry<String, SWFMessage> entry : MessageFormat.mtCache.entrySet()) for(Map.Entry<String, SWFMessage> entry : MessageFormat.mtCache.entrySet())
{ {
File item = new File(path,"MT"+entry.getKey()+".js"); File item = new File(path,"MT"+entry.getKey()+".js");
FileOutputStream fos = new FileOutputStream(item); FileOutputStream fos = new FileOutputStream(item);
SWFMessage swf = entry.getValue(); SWFMessage swf = entry.getValue();
fos.write("const Tags = ".getBytes()); fos.write("const Tags = ".getBytes());
fos.write(swf.toFormatJSON().getBytes()); fos.write(swf.toFormatJSON().getBytes());
fos.write(("\r\nconst Title=\""+swf.getName()+"\"").getBytes()); fos.write(("\r\nconst Title=\""+swf.getName()+"\"").getBytes());
fos.write("\r\n\r\nexport default { Tags,Title}".getBytes()); fos.write("\r\n\r\nexport default { Tags,Title}".getBytes());
fos.close(); fos.close();
if(entry.getKey().matches("n\\d{2}")) if(entry.getKey().matches("n\\d{2}"))
sb.append("\tif(/mt"+entry.getKey().replace("n", "\\d")+"/.test(mty))\r\n"); sb.append("\tif(/mt"+entry.getKey().replace("n", "\\d")+"/.test(mty))\r\n");
else else
sb.append("\tif(mty==\"mt"+entry.getKey()+"\")\r\n"); sb.append("\tif(mty==\"mt"+entry.getKey()+"\")\r\n");
sb.append("\t\treturn MT"+entry.getKey()+"\r\n"); sb.append("\t\treturn MT"+entry.getKey()+"\r\n");
sbh.append("import MT"+entry.getKey()+" from './MT"+entry.getKey()+"'\r\n"); sbh.append("import MT"+entry.getKey()+" from './MT"+entry.getKey()+"'\r\n");
} }
StringBuilder tsb = new StringBuilder(); StringBuilder tsb = new StringBuilder();
tsb.append(sbh); tsb.append(sbh);
tsb.append("\r\nexport default function MTFactory(mty) \r\n{\r\n"); tsb.append("\r\nexport default function MTFactory(mty) \r\n{\r\n");
tsb.append(sb); tsb.append(sb);
tsb.append("}"); tsb.append("}");
File indexFile = new File(path,"index.js"); File indexFile = new File(path,"index.js");
FileOutputStream fos = new FileOutputStream(indexFile); FileOutputStream fos = new FileOutputStream(indexFile);
fos.write(tsb.toString().getBytes()); fos.write(tsb.toString().getBytes());
fos.close(); fos.close();
} }
} }
package com.brilliace.swifteditor.tag.message; package com.brilliace.swifteditor.tag.message;
import com.brilliace.swifteditor.tag.TagFormat; import com.brilliace.swifteditor.tag.TagFormat;
import com.brilliace.swifteditor.tag.TagLine; import com.brilliace.swifteditor.tag.TagLine;
import com.google.gson.Gson; import com.google.gson.Gson;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.*; import java.util.*;
public class MessageFormat { public class MessageFormat {
private static final String MT_PATTERN = "swift_pattern_2018.xlsx"; private static final String MT_PATTERN = "swift_pattern_2020.xlsx";
public static Map<String, SWFMessage> mtCache = new HashMap<String, SWFMessage>(); public static Map<String, SWFMessage> mtCache = new HashMap<String, SWFMessage>();
public static Gson gson = new Gson(); public static Gson gson = new Gson();
static { static {
loadSWFMessage(); loadSWFMessage();
} }
public static SWFMessage getSWFMessage(String mtType) { public static SWFMessage getSWFMessage(String mtType) {
SWFMessage swfmsg = mtCache.get(mtType); SWFMessage swfmsg = mtCache.get(mtType);
if (swfmsg == null && mtType.charAt(1) == '9') if (swfmsg == null && mtType.charAt(1) == '9')
swfmsg = mtCache.get('n' + mtType.substring(1)); swfmsg = mtCache.get('n' + mtType.substring(1));
if (swfmsg == null) { if (swfmsg == null) {
mtType = mtType.toUpperCase(); mtType = mtType.toUpperCase();
swfmsg = mtCache.get(mtType); swfmsg = mtCache.get(mtType);
} }
if (swfmsg != null) { if (swfmsg != null) {
swfmsg.setMtType(mtType); swfmsg.setMtType(mtType);
return swfmsg.clone(); return swfmsg.clone();
} }
return null; return null;
} }
public static void loadSWFMessage() { public static void loadSWFMessage() {
InputStream ins = MessageFormat.class.getClassLoader().getResourceAsStream(MT_PATTERN); InputStream ins = MessageFormat.class.getClassLoader().getResourceAsStream(MT_PATTERN);
try { try {
@SuppressWarnings("resource") @SuppressWarnings("resource")
XSSFWorkbook workBook = new XSSFWorkbook(ins); XSSFWorkbook workBook = new XSSFWorkbook(ins);
int sheetCount = workBook.getNumberOfSheets(); int sheetCount = workBook.getNumberOfSheets();
for (int i = 0; i < sheetCount; i++) { for (int i = 0; i < sheetCount; i++) {
Sheet sheet = workBook.getSheetAt(i); Sheet sheet = workBook.getSheetAt(i);
loadSingleSWFSheet(sheet); loadSingleSWFSheet(sheet);
} }
} catch (IOException e) { } catch (IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} }
} }
private static void loadSingleSWFSheet(Sheet sheet) { private static void loadSingleSWFSheet(Sheet sheet) {
System.out.println(sheet.getSheetName()); System.out.println(sheet.getSheetName());
//获得当前sheet的开始行 //获得当前sheet的开始行
int firstRowNum = sheet.getFirstRowNum(); int firstRowNum = sheet.getFirstRowNum();
//获得当前sheet的结束行 //获得当前sheet的结束行
int lastRowNum = sheet.getLastRowNum(); int lastRowNum = sheet.getLastRowNum();
Stack<MessageArea> stack = new Stack<MessageArea>(); Stack<MessageArea> stack = new Stack<MessageArea>();
SWFMessage message = new SWFMessage(); SWFMessage message = new SWFMessage();
message.setMtType(sheet.getSheetName()); message.setMtType(sheet.getSheetName());
mtCache.put(sheet.getSheetName(), message); mtCache.put(sheet.getSheetName(), message);
stack.add(message); stack.add(message);
int lastTno = 0; int lastTno = 0;
rowBegin: rowBegin:
for (int i = firstRowNum; i <= lastRowNum; i++) { for (int i = firstRowNum; i <= lastRowNum; i++) {
Row row = sheet.getRow(i); Row row = sheet.getRow(i);
if (row == null) if (row == null)
continue; continue;
//获得当前行的开始列 //获得当前行的开始列
int firstCellNum = row.getFirstCellNum(); int firstCellNum = row.getFirstCellNum();
//获得当前行的列数 if(firstCellNum < 0)
int lastCellNum = row.getPhysicalNumberOfCells(); continue ;
//获得当前行的列数
for (int j = 0; j <= lastCellNum - firstCellNum; j++) { int lastCellNum = row.getPhysicalNumberOfCells();
Cell cell = row.getCell(j + firstCellNum);
for (int j = 0; j <= lastCellNum - firstCellNum; j++) {
String cellValue = getCellValue(cell).trim(); Cell cell = row.getCell(j + firstCellNum);
if (j == 0) {
if (cellValue.length() == 0) //空行 String cellValue = getCellValue(cell).trim();
continue rowBegin; if (j == 0) {
if (cellValue.matches("O|M")) { if (cellValue.length() == 0) //空行
String tagName = getCellValue(row.getCell(j + firstCellNum + 1)); continue rowBegin;
String desp = getCellValue(row.getCell(j + firstCellNum + 2)); if (cellValue.matches("O|M")) {
String tno = getCellValue(row.getCell(j + firstCellNum + 4)).replaceAll("\\D", ""); String tagName = getCellValue(row.getCell(j + firstCellNum + 1));
String pattern = getCellValue(row.getCell(j + firstCellNum + 3)); String desp = getCellValue(row.getCell(j + firstCellNum + 2));
String tno = getCellValue(row.getCell(j + firstCellNum + 4)).replaceAll("\\D", "");
TagLine tagLine = TagFormat.getTagLine(tagName); //一行tag String pattern = getCellValue(row.getCell(j + firstCellNum + 3));
tagLine.setStatus(cellValue);
tagLine.setDesp(desp); TagLine tagLine = TagFormat.getTagLine(tagName); //一行tag
try { tagLine.setStatus(cellValue);
tagLine.setTno(Integer.parseInt(tno)); tagLine.setDesp(desp);
lastTno = tagLine.getTno(); try {
} catch (Exception e) { tagLine.setTno(Integer.parseInt(tno));
System.out.println(Integer.valueOf(tno.charAt(0))); lastTno = tagLine.getTno();
} } catch (Exception e) {
tagLine.setName(tagName); System.out.println(Integer.valueOf(tno.charAt(0)));
}
if (tagName.endsWith("a") && pattern.contains(" or ")) { tagLine.setName(tagName);
tagName = tagName.substring(0, tagName.length() - 1);
String[] sube = pattern.split(",|or"); if (tagName.endsWith("a") && pattern.contains(" or ")) {
//String[] tagSuffix = new String[sube.length]; tagName = tagName.substring(0, tagName.length() - 1);
List<String> tagSuffix = new ArrayList<String>(); String[] sube = pattern.split(",|or");
boolean hasNoLetter = false; //String[] tagSuffix = new String[sube.length];
for (int m = 0; m < sube.length; m++) { List<String> tagSuffix = new ArrayList<String>();
if (sube[m].trim().length() == 0) boolean hasNoLetter = false;
continue; for (int m = 0; m < sube.length; m++) {
if (!hasNoLetter && sube[m].contains("No") && sube[m].contains("letter") && sube[m].contains("option")) { if (sube[m].trim().length() == 0)
tagSuffix.add(tagName); continue;
hasNoLetter = true; if (!hasNoLetter && sube[m].contains("No") && sube[m].contains("letter") && sube[m].contains("option")) {
continue; tagSuffix.add(tagName);
} hasNoLetter = true;
continue;
tagSuffix.add(tagName + sube[m].trim()); }
}
tagSuffix.add(tagName + sube[m].trim());
tagLine.setSuffix(tagSuffix); }
}
stack.peek().addSubArea(tagLine); tagLine.setSuffix(tagSuffix);
if (stack.peek().getType() == MessageArea.CYC || stack.peek().getType() == MessageArea.SEQ) { }
if (((AbstractMessageArea) stack.peek()).begNo > tagLine.getTno()) { stack.peek().addSubArea(tagLine);
((AbstractMessageArea) stack.peek()).begNo = tagLine.getTno(); if (stack.peek().getType() == MessageArea.CYC || stack.peek().getType() == MessageArea.SEQ) {
} if (((AbstractMessageArea) stack.peek()).begNo > tagLine.getTno()) {
if (((AbstractMessageArea) stack.peek()).endNo < tagLine.getTno()) { ((AbstractMessageArea) stack.peek()).begNo = tagLine.getTno();
((AbstractMessageArea) stack.peek()).endNo = tagLine.getTno(); }
} if (((AbstractMessageArea) stack.peek()).endNo < tagLine.getTno()) {
} ((AbstractMessageArea) stack.peek()).endNo = tagLine.getTno();
}
continue rowBegin; }
} else if (cellValue.matches("[\\-]{1,}\\>")) //循环开发
{ continue rowBegin;
//循环开始 } else if (cellValue.matches("[\\-]{1,}\\>")) //循环开发
CYCList cycLst = new CYCList(); {
cycLst.setName((lastTno + 1) + ""); //循环开始
CYC cyc = new CYC(); CYCList cycLst = new CYCList();
cycLst.addSubArea(cyc); cycLst.setName((lastTno + 1) + "");
cycLst.setPattern(cyc); CYC cyc = new CYC();
stack.peek().addSubArea(cycLst); cycLst.addSubArea(cyc);
stack.push(cyc); cycLst.setPattern(cyc);
continue rowBegin; stack.peek().addSubArea(cycLst);
} else if (cellValue.matches("[\\-]{1,}\\|")) //循环结束 stack.push(cyc);
{ continue rowBegin;
//循环结束 } else if (cellValue.matches("[\\-]{1,}\\|")) //循环结束
stack.pop(); {
continue rowBegin; //循环结束
} else if (cellValue.indexOf("End of") >= 0) //序列接收 stack.pop();
{ continue rowBegin;
//循环结束 } else if (cellValue.indexOf("End of") >= 0) //序列接收
stack.pop(); {
continue rowBegin; //循环结束
} stack.pop();
int idx0 = cellValue.indexOf("Sequence"); continue rowBegin;
int idx1 = cellValue.indexOf("Subsequence"); }
int idx0 = cellValue.indexOf("Sequence");
if (idx0 >= 0 || idx1 >= 0) //序列开始 int idx1 = cellValue.indexOf("Subsequence");
{
SEQList seqlst = new SEQList(); if (idx0 >= 0 || idx1 >= 0) //序列开始
//判断是否有循环 {
if (cellValue.indexOf("Repetitive") >= 0) SEQList seqlst = new SEQList();
seqlst.setCyc(1); //判断是否有循环
else if (cellValue.indexOf("Repetitive") >= 0)
seqlst.setCyc(0); seqlst.setCyc(1);
//判断是否必填 else
if (cellValue.indexOf("Mandatory") >= 0) seqlst.setCyc(0);
seqlst.setOm("M"); //判断是否必填
else if (cellValue.indexOf("Mandatory") >= 0)
seqlst.setOm("O"); seqlst.setOm("M");
//取出名字 else
int idx = 0; seqlst.setOm("O");
if (idx0 >= 0) //取出名字
idx = idx0 + "Sequence".length(); int idx = 0;
if (idx1 >= 0) if (idx0 >= 0)
idx = idx1 + "Subsequence".length(); idx = idx0 + "Sequence".length();
String name = ""; if (idx1 >= 0)
while (idx < cellValue.length()) { idx = idx1 + "Subsequence".length();
char c = cellValue.charAt(idx); String name = "";
if (c >= 'a' && c <= 'z' || (c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z')) { while (idx < cellValue.length()) {
name = name + c; char c = cellValue.charAt(idx);
} else { if (c >= 'a' && c <= 'z' || (c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z')) {
if (name.length() != 0) name = name + c;
break; } else {
} if (name.length() != 0)
idx++; break;
} }
seqlst.setName(name); idx++;
SEQ seq = new SEQ(); }
seqlst.addSubArea(seq); seqlst.setName(name);
seqlst.setPattern(seq); SEQ seq = new SEQ();
seqlst.setDesp(cellValue); seqlst.addSubArea(seq);
stack.peek().addSubArea(seqlst); seqlst.setPattern(seq);
stack.push(seq); seqlst.setDesp(cellValue);
continue rowBegin; stack.peek().addSubArea(seqlst);
} else //标题 stack.push(seq);
{ continue rowBegin;
if (message.getName() == null) } else //标题
message.setName(cellValue); {
} if (message.getName() == null)
} message.setName(cellValue);
System.out.print(cellValue); }
} }
System.out.print("\r\n"); System.out.print(cellValue);
} }
message.setAnlyReg(MessageAnalyzer.generReg(message)); System.out.print("\r\n");
} }
message.setAnlyReg(MessageAnalyzer.generReg(message));
private static String getCellValue(Cell cell) { }
String cellValue = "";
if (cell == null) { private static String getCellValue(Cell cell) {
return cellValue; String cellValue = "";
} if (cell == null) {
//把数字当成String来读,避免出现1读成1.0的情况 return cellValue;
if (cell.getCellType() == Cell.CELL_TYPE_NUMERIC) { }
cell.setCellType(Cell.CELL_TYPE_STRING); //把数字当成String来读,避免出现1读成1.0的情况
} if (cell.getCellType() == Cell.CELL_TYPE_NUMERIC) {
//判断数据的类型 cell.setCellType(Cell.CELL_TYPE_STRING);
switch (cell.getCellType()) { }
case Cell.CELL_TYPE_NUMERIC: //数字 //判断数据的类型
cellValue = String.valueOf(cell.getNumericCellValue()); switch (cell.getCellType()) {
break; case Cell.CELL_TYPE_NUMERIC: //数字
case Cell.CELL_TYPE_STRING: //字符串 cellValue = String.valueOf(cell.getNumericCellValue());
cellValue = String.valueOf(cell.getStringCellValue()); break;
break; case Cell.CELL_TYPE_STRING: //字符串
case Cell.CELL_TYPE_BOOLEAN: //Boolean cellValue = String.valueOf(cell.getStringCellValue());
cellValue = String.valueOf(cell.getBooleanCellValue()); break;
break; case Cell.CELL_TYPE_BOOLEAN: //Boolean
case Cell.CELL_TYPE_FORMULA: //公式 cellValue = String.valueOf(cell.getBooleanCellValue());
cellValue = String.valueOf(cell.getCellFormula()); break;
break; case Cell.CELL_TYPE_FORMULA: //公式
case Cell.CELL_TYPE_BLANK: //空值 cellValue = String.valueOf(cell.getCellFormula());
cellValue = ""; break;
break; case Cell.CELL_TYPE_BLANK: //空值
case Cell.CELL_TYPE_ERROR: //故障 cellValue = "";
cellValue = "非法字符"; break;
break; case Cell.CELL_TYPE_ERROR: //故障
default: cellValue = "非法字符";
cellValue = "未知类型"; break;
break; default:
} cellValue = "未知类型";
return cellValue.replace((char) 12288, ' ').trim(); break;
} }
} return cellValue.replace((char) 12288, ' ').trim();
}
}
package com.brilliace.swifteditor; package com.brilliace.swifteditor;
import com.brilliace.swifteditor.tag.message.MessageFormat; import com.brilliace.swifteditor.tag.message.MessageFormat;
import com.brilliace.swifteditor.tag.message.SWFMessage; import com.brilliace.swifteditor.tag.message.SWFMessage;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.apache.commons.io.IOUtils; import org.apache.commons.io.IOUtils;
import java.io.*; import java.io.*;
public class SwitfMessagePattern extends TestCase { public class SwitfMessagePattern extends TestCase {
private void genPattern(String mty) throws IOException { private void genPattern(String mty) throws IOException {
SWFMessage swfMessage = MessageFormat.getSWFMessage(mty); SWFMessage swfMessage = MessageFormat.getSWFMessage(mty);
String json = swfMessage.toFormatJSON(); String json = swfMessage.toFormatJSON();
System.out.println("--------------------------------"); System.out.println("--------------------------------");
json = "const Tags = "+json+"\r\n\r\n"+"const Title = \""+swfMessage.getName()+"\"\r\n\r\n"; json = "const Tags = "+json+"\r\n\r\n"+"const Title = \""+swfMessage.getName()+"\"\r\n\r\n";
json = json+ "export default { Tags,Title}"; json = json+ "export default { Tags,Title}";
System.out.println(json); System.out.println(json);
File targetJs = new File("d:/SwiftMT"); File targetJs = new File("d:/SwiftMT");
if(!targetJs.exists()) if(!targetJs.exists())
targetJs.mkdirs(); targetJs.mkdirs();
targetJs = new File(targetJs,"MT"+mty+".js"); targetJs = new File(targetJs,"MT"+mty+".js");
if(!targetJs.exists()) if(!targetJs.exists())
targetJs.createNewFile(); targetJs.createNewFile();
FileWriter writer = new FileWriter(targetJs); FileWriter writer = new FileWriter(targetJs);
IOUtils.write(json,writer); IOUtils.write(json,writer);
IOUtils.closeQuietly(writer); IOUtils.closeQuietly(writer);
} }
public void testGen202() throws IOException { public void testGen202() throws IOException {
genPattern("202"); genPattern("202");
} }
public void testGen103() throws IOException { public void testGen103() throws IOException {
genPattern("103"); genPattern("103");
} }
public void testGen566() throws IOException { public void testGen566() throws IOException {
genPattern("535"); genPattern("535");
} }
} public void testGen775761() throws IOException {
genPattern("775");
genPattern("761");
}
}
import React from 'react'
<#list tags as key, value>
import T${key} from "./T${key}"
</#list>
export default function(tag,props,onValue){
switch(tag)
{
<#list tags as key, value>
case "T${key}" :return <T${key} {...props} onValue={onValue} />;
</#list>
}
}
\ No newline at end of file
import React,{Component} from 'react'
import { Form, Input, DatePicker,Row, Col,Button,Icon ,Select} from 'antd';
const FormItem = Form.Item;
export default class T${tag} extends Component
{
name='${tag}'
desp = "${desp}"
pattern = "${pattern}"
tno = -1
render()
{
return (<Row>
</Row>)
}
}
\ No newline at end of file
const RegMap = {
<#list regs as key,value>
T${key}:${value},
</#list>
}
export {RegMap}
\ No newline at end of file
11A=':'4!c'//'<CUR>
11R=<MT>'CRLF'<DATE2>['CRLF'4!n6!n]
11S=<MT>'CRLF'<DATE2>['CRLF'4!n6!n]
12=3!n
12A=':'4!c'/'[8c]'/'30x
12B=':'4!c'/'[8c]'/'4!c
12C=':'4!c'//'6!c
12D=4!c
12E=4!c
12F=4!c
12G=4!c
13A=':'4!c'//'3!c
13B=':'4!c'/'[8c]'/'30x
13C='/'8c'/'<HHMM><SIGN><OFFSET>
13D=<DATE2><HHMM><SIGN><OFFSET>
13J=':'4!c'//'5!c
13K=':'4!c'//'3!c'/'<NUMBER>15
14A=9a
14B=2!c
14C=4!n
14D=7x
14E=35x
14F=24x
14G=1a'/'8!a
14J=5a
14S=3!a2n['/'<HHMM>'/'4!c]
15A='CRLF'
15B='CRLF'
15C='CRLF'
15D='CRLF'
15E='CRLF'
15F='CRLF'
15G='CRLF'
15H='CRLF'
15I='CRLF'
15J='CRLF'
15K='CRLF'
15L='CRLF'
15M='CRLF'
15N='CRLF'
15O='CRLF'
15P='CRLF'
16A=5n
16C=2n
16R=16c
16S=16c
17A=1a
17B=':'4!c'//'1a
17E=1a
17F=1a
17G=1a
17H=1a
17I=1a
17L=1a
17M=1a
17N=1a
17O=1a
17P=1a
17Q=1a
17R=1a
17S=1a
17T=1a
17U=1a
17V=1a
17W=1a
17X=1a
17Y=1a
17Z=1a
18A=5n
18B=3n
18C=3n
18D=3n
19=<AMOUNT>17
19A=':'4!c'//'['N']<CUR><NUMBER>15
19B=':'4!c'//'<CUR><NUMBER>15
19C=['N']<NUMBER>15
19Y=<NUMBER>15
19Z=<NUMBER>15
20=16x
20C=':'4!c'//'16x
20D=':'4!c'//'25x
21=16x
21A=16x
21B=16x
21C=35x
21D=35x
21E=35x
21F=16x
21G=16x
21N=16x
21P=16x
21R=16x
22=8a'/'<SB-LC>
22A=4!c
22B=4!c
22C=<SB-LC>
22D=4!c
22E=4!c
22F=':'4!c'/'[8c]'/'4!c
22G=4!c
22H=':'4!c'//'4!c
22J=4!c
22K=4!c['/'35x]
22L=35x
22M=30x
22N=32x
22P=30x
22Q=10x
22R=32x
22S=1a'/'35x
22T=35x
22U=6a
22V=35x
22W=42x
22X=4!c
22Y=4!c
22Z=6a
23=16x
23A=10a'/'5a
23B=4!c
23C=7a
23D=10a
23E=4!c['/'30x]
23G=4!c['/'4!c]
23H=8!c
23S=6!a
23X=4!c'/'65x
24B=':'4!c'/'[8c]'/'4!c
24D=4!c['/'35x]
25=35x
25A='/'34x
25D=':'4!c'/'[8c]'/'4!c
25P=35x'CRLF'<SWIFTBIC>
26A=16x['/'4!x]
26B=16x['/'16x]
26C=[3!a]'/'15x'/'5!a4!a[4x]['//'8x]
26D=30*65x
26E=3n
26F=9a
26H=16x
26T=3!c
27=1!n'/'1!n
28=5n['/'2n]
28C=5n['/'5n]
28D=5n'/'5n
28E=5n'/'4!c
29A=4*35x
29B=4*35x
29E=4!c'/'<HHMM>
29H=4!c
29J=4!c['/'<HHMM>]
29K=4!c'/'<HHMM>
29L=<DATE4>'/'4!c'/'<HHMM>
29M=4!c'/'<HHMM>
29N=<DATE4>'/'4!c'/'<HHMM>
30=<DATE2>
30F=<DATE4>
30G=<DATE4>'/'<DATE4>
30H=<DATE4>
30J=1a3!n
30M=<DATE4>
30N=<DATE4>
30P=<DATE4>
30Q=<DATE4>
30S=<DATE4>
30T=<DATE4>
30U=<DATE4>
30V=<DATE4>
30X=<DATE4>
30Y=<DATE4>
30Z=<DATE4>
31C=<DATE2>
31D=<DATE2>29x
31E=<DATE2>
31F=<DATE2>['/'<DATE2>]['//'35x]
31G=<DATE2>'/'<HHMM>'/'12a
31L=<DATE2>
31P=<DATE2>[29x]
31S=<DATE2>
31X=[6!n[4!n]][7!a]
32A=<DATE2><CUR><AMOUNT>15
32B=<CUR><AMOUNT>15
32C=<DATE2><CUR><AMOUNT>15
32D=<DATE2><CUR><AMOUNT>15
32E=<CUR>
32F=3!a<NUMBER>15
32G=<CUR><AMOUNT>15
32H=['N']<CUR><AMOUNT>15
32K=<DM>3!n2!a<CUR><AMOUNT>15
32M=<CUR><AMOUNT>15
32Q=<CUR>'/'<CUR>
32R=['N']3!a<NUMBER>15
32U=<CUR><AMOUNT>15
33A=<DATE2><CUR><AMOUNT>15
33B=3!a15d
33C=<DATE2><CUR><AMOUNT>15
33D=<DATE2><CUR><AMOUNT>15
33E=<CUR><AMOUNT>15
33F=<CUR><AMOUNT>15
33G=<CUR><NUMBER>15[5!c]
33H=<CUR><AMOUNT>15
33J=3!a<NUMBER>15
33K=<DM>3!n2!a<CUR><AMOUNT>15
33P=<DATE2><CUR><AMOUNT>15
33S=3!a<NUMBER>15
33T=3!a<NUMBER>15
34A=<DATE2><CUR><AMOUNT>15
34B=<CUR><AMOUNT>15
34C=4!c'/'['N']<CUR><AMOUNT>15
34E=['N']<CUR><AMOUNT>15
34F=<CUR>[<DC>]<AMOUNT>15
34J=['N']3!a<AMOUNT>15
34P=<DATE2><CUR><AMOUNT>15
34R=<DATE2><CUR><AMOUNT>15
35A=3!a<NUMBER>15
35B=['ISIN'1e12!c]['CRLF'4*35x]
35C=3!c
35D=<DATE2>
35E=6*50x
35H=['N']3!a<NUMBER>15
35L=4*35x
35N=3!a<NUMBER>15
35S=3!a<NUMBER>15
35U=3!a<NUMBER>15[1a]
36=12d
36B=':'4!c'//'4!c'/'<NUMBER>15
36C=':'4!c'//'4!c
36E=':'4!c'//'4!c'/'['N']<NUMBER>15
37A=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37B=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37C=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37D=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37E=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37F=<NUMBER>12['//'<DATE2><DM>3n]['/'16x]
37G=['N']<NUMBER>12
37H=<DC>['N']<NUMBER>12
37J=<NUMBER>12
37K=3!a<NUMBER>12
37L=<NUMBER>12
37M=['N']<NUMBER>12
37N=35x['CRLF'35x]0-5
37P=<NUMBER>12
37R=['N']<NUMBER>12
37U=<NUMBER>12
37V=['N']<NUMBER>12
38A=3n
38D=4n
38E=2n1a
38G=2n1a'/'2n1a
38H=2n1a'/'2n1a
38J=<DM>3!n
39A=2n'/'2n
39B=13x
39C=4*35x
39M=2!a
40A=24x
40B=24x'CRLF'24x
40C=4!a['/'35x]
40E=30x['/'35x]
40F=30x
41A=<SWIFTBIC>'CRLF'14x
41D=4*35x'CRLF'14x
42A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
42C=3*35x
42D=['/'<DC>]['/'34x]['CRLF']4*35x
42M=4*35x
42P=4*35x
43P=11x
43T=11x
44A=65x
44B=65x
44C=<DATE2>
44D=6*65x
44E=65x
44F=65x
45A=100*65z
45B=100*65z
45D=150*65z
46A=100*65z
46B=100*65z
47A=100*65z
47B=100*65z
48=3n['/'35x]
49=7!x
49G=100*65z
49H=100*65z
49M=100*65z
49N=100*65z
50=4*35x
50A=['/'34x'CRLF']<SWIFTBIC>
50B=4*35x
50C=<SWIFTBIC>
50D=['/'<DC>]['/'34x]['CRLF']4*35x
50F=35x'CRLF'4*35x
50G='/'34x'CRLF'<SWIFTBIC>
50H='/'34x'CRLF'4*35x
50K=['/'34x'CRLF']4*35x
50L=35x
51A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
51C='/'34x
51D=['/'<DC>]['/'34x]['CRLF']4*35x
52A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
52B=['/'<DC>]['/'34x]['CRLF'][35x]
52C='/'34x
52D=['/'<DC>]['/'34x]['CRLF']4*35x
53A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
53B=['/'<DC>]['/'34x]['CRLF'][35x]
53C='/'34x
53D=['/'<DC>]['/'34x]['CRLF']4*35x
54A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
54B=['/'<DC>]['/'34x]['CRLF'][35x]
54D=['/'<DC>]['/'34x]['CRLF']4*35x
55A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
55B=['/'<DC>]['/'34x]['CRLF'][35x]
55D=['/'<DC>]['/'34x]['CRLF']4*35x
56A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
56B=['/'<DC>]['/'34x]['CRLF'][35x]
56C='/'34x
56D=['/'<DC>]['/'34x]['CRLF']4*35x
56J=5*40x
57A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
57B=['/'<DC>]['/'34x]['CRLF'][35x]
57C='/'34x
57D=['/'<DC>]['/'34x]['CRLF']4*35x
57J=5*40x
58A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
58B=['/'<DC>]['/'34x]['CRLF'][35x]
58D=['/'<DC>]['/'34x]['CRLF']4*35x
58J=5*40x
59=['/'34x'CRLF']4*35x
59A=['/'34x'CRLF']<SWIFTBIC>
59F=['/'34x'CRLF']4*35x
60=<DC><DATE2>3!a<AMOUNT>15
60F=<DC><DATE2><CUR><AMOUNT>15
60M=<DC><DATE2>3!a<AMOUNT>15
61=6!n[4!n]2a[1!a]15d1!a3!c16x['//'16x]['CRLF'34x]
62F=<DC><DATE2>3!a<AMOUNT>15
62M=<DC><DATE2>3!a<AMOUNT>15
64=<DC><DATE2>3!a<AMOUNT>15
65=<DC><DATE2>3!a<AMOUNT>15
68A=6n<CUR>6n'/'2n['/'<AMOUNT>15]['//'10x]
69A=':'4!c'//'<DATE4>'/'<DATE4>
69B=':'4!c'//'<DATE4><TIME2>'/'<DATE4><TIME2>
69C=':'4!c'//'<DATE4>'/'4!c
69D=':'4!c'//'<DATE4><TIME2>'/'4!c
69E=':'4!c'//'4!c'/'<DATE4>
69F=':'4!c'//'4!c'/'<DATE4><TIME2>
69J=':'4!c'//'4!c
70=4*35x
70C=':'4!c'//'4*35x
70D=':'4!c'//'6*35x
70E=':'4!c'//'10*35x
70F=':'4!c'//'8000z
70G=':'4!c'//'10*35z
71A=3!a
71B=6*35x
71C=6*35x
71D=6*35z
71F=<CUR><AMOUNT>15
71G=<CUR><AMOUNT>15
71N=4!c['CRLF'6*35z]
72=6*35x
72Z=6*35z
73=6*35x
73A=6*35z
73R=4!c['/'35x]
73S=4!c['/'35x]
74=6*35x
75=6*35x
76=6*35x
77=20*35z
77A=20*35x
77B=3*35x
77C=150*65x
77D=6*35x
77E=73z['CRLF'9999*78z]
77F=1800y
77H=6a['/'<DATE4>]['//'<YEAR>]
77J=70*50z
77T=9000z
78=12*65x
79=35*50x
79Z=35*50z
80=6*35x
81A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
81D=['/'<DC>]['/'34x]['CRLF']4*35x
81J=5*40x
82A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
82B=['/'<DC>]['/'34x]['CRLF'][35x]
82D=['/'<DC>]['/'34x]['CRLF']4*35x
82J=5*40x
83A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
83C='/'34x
83D=['/'<DC>]['/'34x]['CRLF']4*35x
83J=5*40x
84A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
84B=['/'<DC>]['/'34x]['CRLF'][35x]
84D=['/'<DC>]['/'34x]['CRLF']4*35x
84J=5*40x
85A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
85B=['/'<DC>]['/'34x]['CRLF'][35x]
85D=['/'<DC>]['/'34x]['CRLF']4*35x
85J=5*40x
86=6*65x
86A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
86B=['/'<DC>]['/'34x]['CRLF'][35x]
86D=['/'<DC>]['/'34x]['CRLF']4*35x
86J=5*40x
87A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
87B=['/'<DC>]['/'34x]['CRLF'][35x]
87D=['/'<DC>]['/'34x]['CRLF']4*35x
87J=5*40x
88A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
88B=['/'<DC>]['/'34x]['CRLF'][35x]
88D=['/'<DC>]['/'34x]['CRLF']4*35x
88J=5*40x
89A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
89D=['/'<DC>]['/'34x]['CRLF']4*35x
89J=5*40x
90A=':'4!c'//'4!c'/'['N']<NUMBER>15
90B=':'4!c'//'4!c'/'<CUR><NUMBER>15
90C=5n<CUR><AMOUNT>15
90D=5n<CUR><AMOUNT>15
90E=':'4!c'//'4!c
90F=':'4!c'//'4!c'/'<CUR><NUMBER>15'/'4!c'/'<NUMBER>15
90J=':'4!c'//'4!c'/'<CUR><NUMBER>15'/'<CUR><NUMBER>15
90K=':'4!c'//'<NUMBER>15
90L=':'4!c'//'['N']<NUMBER>15
91A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
91D=['/'<DC>]['/'34x]['CRLF']4*35x
91J=5*40x
92A=':'4!c'//'['N']<NUMBER>15
92B=':'4!c'//'<CUR>'/'<CUR>'/'<NUMBER>15
92C=':'4!c'/'[8c]'/'24x
92D=':'4!c'//'<NUMBER>15'/'<NUMBER>15
92F=':'4!c'//'<CUR><NUMBER>15
92H=':'4!c'//'<CUR><NUMBER>15'/'4!c
92J=':'4!c'/'[8c]'/'4!c'/'<CUR><NUMBER>15['/'4!c]
92K=':'4!c'//'4!c
92L=':'4!c'//'<CUR><NUMBER>15'/'<CUR><NUMBER>15
92M=':'4!c'//'<CUR><NUMBER>15'/'<NUMBER>15
92N=':'4!c'//'<NUMBER>15'/'<CUR><NUMBER>15
92P=':'4!c'//'<NUMBER>15
92R=':'4!c'/'[8c]'/'4!c'/'<NUMBER>15
93A=':'4!c'/'[8c]'/'4!c
93B=':'4!c'/'[8c]'/'4!c'/'['N']<NUMBER>15
93C=':'4!c'//'4!c'/'4!c'/'['N']<NUMBER>15
93D=':'4!c'//'['N']<NUMBER>15
94A=4!c
94B=':'4!c'/'[8c]'/'4!c['/'30x]
94C=':'4!c'//'<CC>
94D=':'4!c'//'[<CC>]'/'35x
94E=':'4!c'//'10*35x
94F=':'4!c'//'4!c'/'<SWIFTBIC>
94G=':'4!c'//'2*35x
94H=':'4!c'//'<SWIFTBIC>
94L=':'4!c'//'18!c2!n
95C=':'4!c'//'<CC>
95L=':'4!c'//'18!c2!n
95P=':'4!c'//'<SWIFTBIC>
95Q=':'4!c'//'4*35x
95R=':'4!c'/'8c'/'34x
95S=':'4!c'/'[8c]'/'4!c'/'<CC>'/'30x
95U=':'4!c'//'3*35x
95V=':'4!c'//'10*35x
96A=['/'<DC>]['/'34x]['CRLF']<SWIFTBIC>
96D=['/'<DC>]['/'34x]['CRLF']4*35x
96J=5*40x
97A=':'4!c'//'35x
97B=':'4!c'/'[8c]'/'4!c'/'35x
97C=':'4!c'//'4!c
97E=':'4!c'//'34x
98A=':'4!c'//'<DATE4>T50
98B=':'4!c'/'[8c]'/'4!c
98C=':'4!c'//'<DATE4><TIME2>
98D=<DATE4><TIME2>[','3n]['/'['N']<TIME3>]
98E=':'4!c'//'<DATE4><TIME2>[','3n]['/'['N']<TIME3>]
98F=':'4!c'/'[8c]'/'4!c<TIME2>
98G=<DATE4><TIME2>[','3n]['/'['N']<TIME3>]
98H=<TIME2>[','3n]['/'['N']<TIME3>]
98J=':'4!c'//'<DATE4><TIME2>'/'<SWIFTBIC>
98K=':'4!c'/'8c'/'<DATE4><TIME2>'/'34x
99A=':'4!c'//'['N']3!n
99B=':'4!c'//'3!n
99C=':'4!c'//'6!n
\ No newline at end of file
#Generated by Maven
#Tue Aug 20 11:08:02 CST 2019
version=0.0.1-SNAPSHOT
groupId=com.brilliace
artifactId=swifteditor
com\brilliace\swifteditor\tag\message\CYC.class
com\brilliace\swifteditor\tag\TagCell.class
com\brilliace\swifteditor\tag\message\SWFMessage.class
com\brilliace\swifteditor\tag\message\SEQList.class
com\brilliace\swifteditor\tag\message\CYCList.class
com\brilliace\swifteditor\tag\message\AbstractMessageArea.class
com\brilliace\swifteditor\tag\message\SEQ.class
com\brilliace\swifteditor\tag\TagFormat.class
com\brilliace\swifteditor\tag\message\MessageArea.class
com\brilliace\swifteditor\App.class
com\brilliace\swifteditor\tag\message\JSOutputTools.class
com\brilliace\swifteditor\tag\TagLine.class
com\brilliace\swifteditor\tag\message\MessageFormat.class
com\brilliace\swifteditor\tag\TagAnalyzer.class
com\brilliace\swifteditor\tag\message\MessageAnalyzer.class
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="0.008" errors="0" skipped="0" tests="1" name="com.brilliace.swifteditor.AppTest">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="G:\eclipse64\jdk1.7\jre\bin"/>
<property name="java.vm.version" value="24.75-b04"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=";"/>
<property name="guice.disable.misplaced.annotation.check" value="true"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.script" value=""/>
<property name="user.country" value="CN"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value=""/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="G:\work\swifteditor_java"/>
<property name="java.runtime.version" value="1.7.0_75-b13"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="G:\eclipse64\jdk1.7\jre\lib\endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="C:\Users\ge\AppData\Local\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows 8.1"/>
<property name="classworlds.conf" value="G:\work\cbpp\.metadata\.plugins\org.eclipse.m2e.launching\launches\m2conf933055207078908503.tmp"/>
<property name="sun.jnu.encoding" value="GBK"/>
<property name="java.library.path" value="G:\eclipse64\jdk1.7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;d:\Program Files\Git\cmd;D:\Program Files\TortoiseSVN\bin;D:\Program Files\nodejs\;d:\Program Files (x86)\Tesseract-OCR;C:\Users\ge\AppData\Local\Microsoft\WindowsApps;G:\eclipse64\jdk1.8\bin;D:\Program\apache-maven-3.2.3\bin;&quot;E:\reactNative\android\sdk\tools;E:\reactNative\android\sdk\platform-tools&quot;;C:\Users\ge\AppData\Roaming\npm;E:\reactNative\android\sdk\platforms;E:\reactNative\android\sdk\platform-tools;E:\SoftWare\mysql-5.6.24-winx64\bin;D:\Program Files\nodejs;;."/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="51.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="6.3"/>
<property name="user.home" value="C:\Users\ge"/>
<property name="user.timezone" value="Asia/Shanghai"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="java.specification.version" value="1.7"/>
<property name="file.encoding" value="GBK"/>
<property name="user.name" value="ge"/>
<property name="java.class.path" value="/G:/eclipse64/plugins/org.eclipse.m2e.maven.runtime_1.5.0.20140605-2032/jars/plexus-classworlds-2.5.1.jar"/>
<property name="org.slf4j.simpleLogger.defaultLogLevel" value="info"/>
<property name="java.vm.specification.version" value="1.7"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="G:\eclipse64\jdk1.7\jre"/>
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher -B -s D:\MavenRepository\settings.xml install"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="zh"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.7.0_75"/>
<property name="java.ext.dirs" value="G:\eclipse64\jdk1.7\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="G:\eclipse64\jdk1.7\jre\lib\resources.jar;G:\eclipse64\jdk1.7\jre\lib\rt.jar;G:\eclipse64\jdk1.7\jre\lib\sunrsasign.jar;G:\eclipse64\jdk1.7\jre\lib\jsse.jar;G:\eclipse64\jdk1.7\jre\lib\jce.jar;G:\eclipse64\jdk1.7\jre\lib\charsets.jar;G:\eclipse64\jdk1.7\jre\lib\jfr.jar;G:\eclipse64\jdk1.7\jre\classes"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="maven.home" value="G:\work\swifteditor_java\EMBEDDED"/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value="amd64"/>
</properties>
<testcase time="0.008" classname="com.brilliace.swifteditor.AppTest" name="testApp"/>
</testsuite>
\ No newline at end of file
-------------------------------------------------------------------------------
Test set: com.brilliace.swifteditor.AppTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
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