Uploaded image for project: 'SX Spring Python'
  1. SX Spring Python
  2. SESPRINGPYTHONPY-102

Patch to make top-level build.py OS-independent

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M1
    • Component/s: Build
    • Labels:
      None

      Description

      Hello,

      I'm attaching a patch to build.py to make it OS-independent. Basically, I've replaced all the "mv" and "rm" invocations with their stdlib's equivalents. I haven't touched any of those harmless os.system calls to Java and Maven though I have replaced calls to "python" with "sys.executable".

      I haven't tested it on AS/400 etc. but it sure works on both Linux Ubuntu and Windows XP now, both using Python 2.5.

      Diffed against SVN trunk, r500.

        Activity

        Hide
        gregturn Greg Turnquist added a comment -

        Applied patches, making the build script OS neutral. Thanks for the patches Dariusz!

        Show
        gregturn Greg Turnquist added a comment - Applied patches, making the build script OS neutral. Thanks for the patches Dariusz!

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            dsuch Dariusz Suchojad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: