Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1499 V4 Installer work.
  3. IDP-1509

Stop using ants readonly attrib class

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Installer
    • Labels:
      None

      Description

      Spotted this as I tested the new installer.

      We use the ant task

      <attrib readonly="false">
       <fileset dir="${idp.target.dir}/system" includes="**/*"/>
       </attrib>
       

      A lot and I carried this across to the java one. I spotted a lot of weird activity and it turns out that ant is turning this into the windows

      attrib [-]R filename
      

      and forking a process to do that.

      For every file.

      I need to change the windows version to do a

      attrib /s [-]R path
      

      And investigate whether it does the same sort of nonsense on Linux and to the same thing there...

      I'm just to full of interrupt stack right now to JFDI

        Attachments

          Activity

            People

            Assignee:
            rdw@iay.org.uk Rod Widdowson
            Reporter:
            rdw@iay.org.uk Rod Widdowson
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h