Ignore:
Timestamp:
Feb 5, 2014, 4:36:27 PM (11 years ago)
Author:
alloc
Message:

Change to 2.17:

  • Updated XmlTools invocation again
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/backend/oni/XMLTools.java

    r924 r925  
    1919
    2020        /**
    21          * Patch the XML files in the path with the patches in the other path
     21         * Patch XML files with the given patch list
    2222         *
    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
    2725         *
    2826         * @return XMLTools output
    2927         */
    30         public static ApplicationInvocationResult patch(File folderWithPatches,
    31                         File folderWithXml) {
     28        public static ApplicationInvocationResult patch(File patch) {
    3229                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() + "\"");
    3731                ApplicationInvocationResult res = null;
    3832                try {
Note: See TracChangeset for help on using the changeset viewer.