I'm not sure about others, but I generally just run the sample manually (using the same command as specified in the user guide snippet) and copy the output to userguideOutput. I then run, in order: gradle intTestImage gradle userguideDocbook
Then I execute the UserGuideSamplesIntegrationTest in Intellij, with the following VM args: "-DintegTest.gradleHomeDir=/Users/daz/dev/gradleware/gradle/build/integ test" -ea -Dorg.gradle.integtest.executer=embedded -Dorg.gradle.userguide.samples.filter=userguide/tasks/incrementalTask The last argument is particularly useful. Daz On 21 June 2013 13:09, <stephane.gal...@free.fr> wrote: > Hi, > > Related to > > http://forums.gradle.org/gradle/topics/documentation_improvement_for_copy_task_vs_project_copy_method > > I'm in the process of adding one or two new samples in the userguide, but > I was wondering, > what is the idiomatic workflow to generate the 'assert' sample output in > userguideOutput ? > > Do you guys just manually redirect the output of a Gradle command ? > Or is there a support for this in the build ? > > Thank you > Stephane. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Darrell (Daz) DeBoer Principal Engineer, Gradleware http://www.gradleware.com