Hi for the moment this is not possible sounds like you want a 'pre-label' section
but from the question itself : you want a task to run that creates some text file, and this one is read with the file labeller. what kind of text are you planning to place in that file? --> what would that task do I mean maybe there is another trigger that can help http://www.cruisecontrolnet.org/projects/ccnet/wiki/Default_Labeller this one has an option to have the prefix in a separate file labelPrefixFile attribute creating your own trigger is also very easy though, in this way you can do what the task and the file labeller do in 1 time http://www.cruisecontrolnet.org/projects/ccnet/wiki/DevInfo_MakingPlugins at the bottom of that page are some direct links also with detailed information with kind regards Ruben Willems On 23 August 2012 21:00, Saurabh Agrawal <[email protected]> wrote: > Hi, > > The exact sequence of ccnet operations(taken from > here<http://confluence.public.thoughtworks.org/display/CCNET/FAQ> > ): > > 1) Wait for the triggers to awaken. > > > > 2) Ask the source control system for a list of the modifications since the > last build. > 3) If any modifications were found or if the triggers said "force the > build": > 3.1) Generate a label for the build. > > > > 3.2) Run the prebuild tasks in the order specified, failing the > build in case of error. > 3.3) Get the source code from the source control system. > 3.4) Run the build tasks in the order specified, failing the build > in case of error. > > > > 3.5) If the repository should be labeled: > 3.5.1) Let the source control system apply the label. > 3.6) Run the publisher tasks. > 4) Go to 1. > > Is there a way to run some msbuild task before step 3.1 is executed in > ccnet. > > *Problem Statement*: > > I am using "fileLabeller" to display the content of a file in ccnet label. > If the file exists this works good. But lets say by any chance the file > doesn't exist, then i want to call a msbuild task which creates this file > and sets up some dummy text. > > I called this msbuild task in prebuild event but to my dismay this didn't > work out as label generation happens before prebuild. > > Is there a way to call this msbuild task before label generation takes > place? > Warm Regards, > Saurabh Agrawal >
