- Timestamp:
- Feb 5, 2014, 4:36:27 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/backend/oni/XMLTools.java
r924 r925 19 19 20 20 /** 21 * Patch the XML files in the path with the patches in the other path21 * Patch XML files with the given patch list 22 22 * 23 * @param folderWithPatches 24 * Path containing patches to apply 25 * @param folderWithXml 26 * Path containing XML files to patch 23 * @param patch 24 * Patchlist file 27 25 * 28 26 * @return XMLTools output 29 27 */ 30 public static ApplicationInvocationResult patch(File folderWithPatches, 31 File folderWithXml) { 28 public static ApplicationInvocationResult patch(File patch) { 32 29 Vector<String> params = new Vector<String>(); 33 // xmlTools.exe --patch-files PATCH --force-target-files TOPATCH 34 params.add("--patch-files " 35 + new File(folderWithPatches, "*.oni-patch").getPath()); 36 params.add("--use-patch-filename " + folderWithXml.getPath()); 30 params.add("--aei-patch-files-list \"" + patch.getPath() + "\""); 37 31 ApplicationInvocationResult res = null; 38 32 try {
Note:
See TracChangeset
for help on using the changeset viewer.