Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-169

Pushpull dirstruct xml files fail to replace global variables in name attribute for dir and file elements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.2
    • 0.3
    • push pull framework
    • None
    • none

    Description

      for example, the below dirstruct xml file, pushpull currently will fail to replace '${DATE_NOW}' (ignore the extra '\' before '{' – i had to add it so formatting would work):

      <root>
          <variables>
              <variable name="DATE_NOW">
                  <type>STRING</type>
                  <value>[FORMAT(yyyy-MM-dd'T'HH:mm:ss.SSS'Z',[DATE.UTC], yyyyMMdd)]</value>
              </variable>
          </variables>
      
          <dirstruct starting_path="/pub/DailyIngest/">
              <dir name="$\{DATE_NOW}"/>
          </dirstruct>
      
      </root>
      

      Attachments

        1. OODT-169.2011-03-30.patch.txt
          2 kB
          Brian Foster

        Activity

          People

            bfoster Brian Foster
            bfoster Brian Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: