[oXygen-user] Feature Request: Variables for Path Components When Building Result Locations in Scenarios

Eliot Kimber ekimber at rsicms.com
Fri Feb 7 18:14:37 CST 2014


But I don't necessarily want the full relative path from the project root.
In fact, I would almost never want it.

Cheers,

E.
-- 
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.reallysi.com
www.rsuitecms.com




On 2/7/14, 6:09 PM, "Peter West" <lists at pbw.id.au> wrote:

>On 8/02/2014 9:54 am, Eliot Kimber wrote:
>> The key is that I want to reflect directories that are ancestors of the
>> file being processed.
>>
>> For example, say that files can be in project/a/b/c or project/d/e/f
>>and I
>> want to generate files in project/new/a/b/c or project/new/d/e/f--I
>>don't
>> see a way to do that without having different scenarios or modifying the
>> scenario for each different starting directory. It precludes applying
>>the
>> transform to the common parent of both input directories and having it
>> just work.
>>
>> And of course, if I could really have everything I wanted I'd like to be
>> able to apply a regular expression to the incoming filename and then
>> reference groups in order to construct the result filename....
>>
>For the most flexibility, let's make ${rppd} the relative path
>withinproject of ${cdfn}, the current file directory.
>
>project/a/b/c would be ${pdu}/${rppd}/${cfn}.whatever
>project/new/a/b/c would be ${pdu}/new/${rppd}/${cfn}.whateverelse
>
>Similarly for project/d/e/f.
>
>-- 
>Peter West
>"For what does it profit a man if he gains the whole world and loses or
>forfeits himself?"
>
>_______________________________________________
>oXygen-user mailing list
>oXygen-user at oxygenxml.com
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list