thats right Ruben, thanks very much for your help, I'll parse the xml file.
On May 5, 10:53 am, Ruben Willems <[email protected]> wrote: > Hi > > so you have a script (x.cmd or something) that needs these modifications? > correct? > > if so, the script itself will have to parse the modification list (created > via the modification writer) > if youjust need the usernames you can use the following environment > variables : > CCNetModifyingUsers > CCNetFailureUsers > > but if you really need updated file X, you'll have to parse the xml file > inside the script you're calling > > with kind regards > Ruben Willems > > On Wed, May 5, 2010 at 11:25 AM, Spurtus <[email protected]>wrote: > > > > > Thanks I see how the modificationReader could be very useful. However, > > maybe I'm still not understanding something fundamental here. > > > How does a script run as an executable task get at this modifcation > > list? I didn't see any 'modifications list' exposed to it in > > environment variables or anything I can pass to it as a command-line? > > > Cheers > > Spurtus. > > > On May 5, 10:00 am, Ruben Willems <[email protected]> wrote: > > > Hi > > > > The modification reader adds the modifications to the internal > > modification > > > list > > > > Suppose you have a project with no source control, there can be no > > > modifications :-) > > > But, ... if you use the modificationreader task, you can load > > > 'modifications', and from that point on, the project knows these. > > > So all tasks, publishers after the modification reader act as if those > > > modifications came from a source control :-) > > > > with kind regards > > > Ruben Willems > > > > On Wed, May 5, 2010 at 9:35 AM, Spurtus <[email protected] > > >wrote: > > > > > Great thanks, I see clearly how the modificationWriter works and I can > > > > make use of this. > > > > > However I'm struggling to understand if I can or how I go about using > > > > the ModificationReader, how does it get used to pass the modifications > > > > to a task or even a publisher? > > > > > I'm thinking that if I want a script to act on the modifications ( eg. > > > > just print the files out ) then I will have to parse the mods.xml file > > > > within my script? > > > > > Best Regards, > > > > Spurtus. > > > > > On May 4, 8:37 pm, Ruben Willems <[email protected]> wrote: > > > > > Hi > > > > > > use the modification writer and modification reader tasks . > > > > >http://confluence.public.thoughtworks.org/display/CCNET/Modification+.. > > .. > > > > .. > > > > > > with kind regards > > > > > Ruben Willems > > > > > > On Tue, May 4, 2010 at 3:13 PM, Spurtus < > > [email protected] > > > > >wrote: > > > > > > > Is it possible and if so how, to send the list of modifications > > picked > > > > > > up by the sourcecontrol sync to a script run in the CC project > > tasks > > > > > > exec block? > > > > > > > Thanks, > > > > > > Spurtus.- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text -
