Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-83

forrestbot2: logdir

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6
    • 0.6
    • Tool: Forrestbot
    • None

    Description

      if you log to a different dir, that dir isn't created and you have to modify to properties (build.logfile and build.logfile-stored). The following works better (in forrestbot.xml of course):

      <property name="build.log-dir" location="logs"/>
      <mkdir dir="${build.log-dir}"/>
      <property name="build.logfile" location="${build.log-dir}/${ant.project.name}.log"/>
      <property name="build.logfile-stored" location="${build.log-dir}/${ant.project.name}-${logtime}.log"/>

      Now you only have to override 'build.log-dir' and both file properties use that directory, and the new log dir is created instead of the default, "logs".

      Attachments

        Activity

          People

            Unassigned Unassigned
            brondsem David Philip Brondsema
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: