I have all the modifications since the last project build, but I think
I know what the problem is now that you point that out!

I checked the time stamps and they are all the same. DUH because I
made changes to several solutions and committed these changes in a
single revision. So I'm guessing ccnet will include all changes in the
revision, including those files whose paths aren't part of the current
project (in my email).

So is there a way in the xsl file to filter the modifications by the
paths of my <trunkUrl> directory?


On Mar 23, 9:48 am, Benjamin Baumann <[email protected]> wrote:
> Hmmm, that's strange.
> Do you have all the modifications in the repo since your last ccnet
> project's build or since the origin?
>
> 2011/3/23 Ryan Andres <[email protected]>:
>
>
>
>
>
>
>
> > All my projects are in the same directory.
>
> > /Projects/[SolutiontA|SolutionB|SolutionC]/[branches|tags|trunk]/src/
> > [ProjectA|ProjectB]
>
> > Inside src I also have a Solution.sln file.
>
> > Raw (used for all my projects):
> >    <cb:define name="svn-block">
> >                <sourcecontrol type="svn">
> >                        
> > <trunkUrl>$(svnRootDir)/$(svnSubDir)$(solution)/trunk/src/$
> > (project)</trunkUrl>
> >                        
> > <workingDirectory>$(localRootDir)\$(localSubDir)$(solution)\trunk
> > \src\$(project)</workingDirectory>
> >                        <username>$(svnUserName)</username>
> >                        <password>$(svnPassword)</password>
> >                        
> > <tagBaseUrl>$(svnRootDir)/$(svnSubDir)$(solution)/tags</tagBaseUrl>
> >                        <tagOnSuccess>true</tagOnSuccess>
> >                        <tagWorkingCopy>true</tagWorkingCopy>
> >                        <autoGetSource>true</autoGetSource>
> >                        <timeout units="seconds">300</timeout>
> >                </sourcecontrol>
> >    </cb:define>
>
> > Processed (one example):
> >    <sourcecontrol type="svn">
> >      <authCaching>None</authCaching>
> >      <autoGetSource>True</autoGetSource>
> >      <checkExternals>False</checkExternals>
> >      <checkExternalsRecursive>True</checkExternalsRecursive>
> >      <cleanCopy>False</cleanCopy>
> >      <cleanUp>False</cleanUp>
> >      <deleteObstructions>False</deleteObstructions>
> >      <dynamicValues />
> >      <executable>svn</executable>
> >      <forceUpdate>False</forceUpdate>
> >      <password>********</password>
> >      <revert>False</revert>
> >      <tagBaseUrl>svn://host/projects/Utilities/tags</tagBaseUrl>
> >      <tagOnSuccess>True</tagOnSuccess>
> >      <tagWorkingCopy>True</tagWorkingCopy>
> >      <timeout units="seconds">300</timeout>
> >      <trunkUrl>svn://host/projects/Utilities/trunk/src/
> > Utilities.Library</trunkUrl>
> >      <revisionNumbers>False</revisionNumbers>
> >      <username>Autobuild</username>
> >      <workingDirectory>C:\CCNet\repo\Utilities\trunk\src
> > \Utilities.Library</workingDirectory>
> >    </sourcecontrol>
>
> > On Mar 23, 1:49 am, Benjamin Baumann <[email protected]> wrote:
> >> Hi Ryan,
>
> >> What is your source control block configuration and can you give us a
> >> small example of your svn repository tree structure?
>
> >> Cheers,
> >> Benjamin Baumann
>
> >> 2011/3/22 Ryan Andres <[email protected]>:
>
> >> > I have several projects in ccnet that all reside in the same
> >> > subversion repository.
>
> >> > Everytime I get an email from the emailpublisher, the
> >> > modifications.xsl template displays all modifications in the
> >> > repository rather than just the changes of the specific ccnet project.
>
> >> > How do I output just the project's modifications?
>
> >> > My xsl config (default files):
> >> >                  <xslFiles>
> >> >                    <file>xsl\header.xsl</file>
> >> >                    <file>xsl\compile.xsl</file>
> >> >                    <file>xsl\unittests.xsl</file>
> >> >                    <file>xsl\modifications.xsl</file>
> >> >                  </xslFiles>

Reply via email to