You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Brian Foster (JIRA)" <ji...@apache.org> on 2011/03/31 20:26:06 UTC
[jira] [Resolved] (OODT-169) Pushpull dirstruct xml files fail to
replace global variables in name attribute for dir and file elements
[ https://issues.apache.org/jira/browse/OODT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Foster resolved OODT-169.
-------------------------------
Resolution: Fixed
- fixed in r1087398
> Pushpull dirstruct xml files fail to replace global variables in name attribute for dir and file elements
> ---------------------------------------------------------------------------------------------------------
>
> Key: OODT-169
> URL: https://issues.apache.org/jira/browse/OODT-169
> Project: OODT
> Issue Type: Bug
> Components: push pull framework
> Affects Versions: 0.2
> Environment: none
> Reporter: Brian Foster
> Assignee: Brian Foster
> Priority: Minor
> Fix For: 0.3
>
> Attachments: OODT-169.2011-03-30.patch.txt
>
>
> 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):
> {code:xml}
> <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>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira