Thanks.It's helpful.I will create some custom program to do that.
Nice to meet u here:)

On 11月6日, 下午3時29分, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> Hi
>
> You're right about the point that the compilation will also occur when, lets
> say a word document changes.
> But you can circumvent this by doing the following :
> Set up the ccnet project like a said before :
>
> 1) create 1 ccnet project
> 2) set it up to monitor the svn root (so you get the changes from all
> departements)
> 3) set up the modificationwriter task, append timestamp set to false
> 4) in the tasks section, you will need some custom program that can read the
>     modifications file since you can specify the path of the modification
> file, this should
>    not be that hard.
>    This program must loop over the modification file, and create/append the3
> changelist files
>    Designer,Artist, Programmer  you can do this because each department has
> its own folder in the
>    repository so if you check that a certain change came from the Artist
> department, update their log file.
>
> 5) For the compile part, this is also a task. I assume you use something
> like Nant, MsBuild, ...
>     These are scrpting lanuages and can easily foresee your requirement.
>     The program that splits the modification into the Designer,Artist,
> Programmer logs (see point 4)
>     must now also determine if a build of the source-code must be done.
>     --> Simply speaking if a modification was part of the code path
>      in this case, just create a file at a certain location, lets say
> c:\temp\doBuild.txt
>     Now compile task must first check if this file exists, and if so do the
> compile.
>     In fact, we're moving the conditional from CCNet to the build script.
>     Be sure to delete the c:\temp\doBuild.txt when you do the compilation,
> or you'll keep compiling the code base.
>
> Hope this helps ...
>
> with kind regards
> Ruben Willems
>
> 2008/11/6 Edwin <[EMAIL PROTECTED]>
>
>
>
>
>
> > Sincerely thank you for your guidance.I will give it a try.
>
> > if I monitor svn root,I have another issue.
> > only program code change need to complie.
> > when document or image change do nothing.
> > because cc.net didn't provide condition statement
> > using nant script will be complex,
> > should I always customize new application to do task?
>
> > On 11月5日, 下午7時09分, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> > > Hi
>
> > > It seems that you want all the changed files from a certain repository,
> > > written back somewhere.
> > > And at a certain timestamp (milestone release) you want something done
> > with
> > > these files, correct?
>
> > > Just a question, why do you want this approach?
> > > Why monitor the 3 subfolders separate, why not just monitor the
> > repository
> > > root,
> > > so whenever someone (Designer,Artist, Programmer) modifies something, you
> > > get their modifications.
>
> > > If you need the entire changeset of files, the modificationWriter task
> > can
> > > do this for youhttp://
> > confluence.public.thoughtworks.org/display/CCNET/Modification+...
> > > set the appendTimeStamp  property to true, to keep all the logs.
>
> > > if you really need a changeset telling :
> > > - these files are changed in the Designer department
> > > - these files are changed in the Artist department
> > > - these files are changed in the Programmer department
>
> > > the easiest way is to set up 3 projects.
>
> > > If you want to reduce the amount of CCNet projects the following can
> > help,
> > > but it requires some custome code.
>
> > > 1) create 1 ccnet project
> > > 2) set it up to monitor the svn root (so you get the changes from all
> > > departements)
> > > 3) set up the modificationwriter task, append timestamp set to false
> > > 4) in the tasks section, you will need some custom program that can read
> > the
> > > modifications file
> > >      since you can specify the path of the modification file, this should
> > > not be that hard.
> > >     This program must loop over the modification file, and create/append
> > the
> > > 3 changelist files
> > >     Designer,Artist, Programmer
> > >     you can do this because each department has its own folder in the
> > > repository
> > >     so if you check that a certain change came from the Artist
> > department,
> > > update the
> > >     their log file.
>
> > > Hope this helps ...
>
> > > with kind regards
> > > Ruben Willems
>
> > > On Wed, Nov 5, 2008 at 11:26 AM, Edwin <[EMAIL PROTECTED]> wrote:
>
> > > > > ° you want to monitor X amount of svn repositories, using 1 CCNet
> > task
> > > > I want to monitor X amount of svn reporitories using 1 CCNet Project
> > > > by condition
> > > > when my co-workers want to release current work and a project process
> > > > to milestone A,
> > > > three teams leader would provide file list to pickup source files to
> > > > milestone A
> > > > teams(Designer,Artist,Programmer)
> > > > Desinger design idea,so they will first reach to milestone A
> > > > Artist 2nd,
> > > > Programmer 3rd
> > > > becaure it's the same project,they put their soruce in three different
> > > > folders in the same repository
> > > > when time to production,I will collect three to one and branch
> > > > milestone A.
> > > > if I can't create cc.net task in on cc.net project.I will have 3 more
> > > > cc.net projects.
> > > > 1 for Desinger
> > > > 2 for Artist
> > > > 3 for Programmer
> > > > ......
> > > > my cc.net web dashboard will become complex
> > > > I want to group this tasks in a cc.net project to management easily.
>
> > > > On 11月5日, 下午5時12分, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> > > > > Hi
>
> > > > > just to understand your question better :
> > > > > ° you want to monitor X amount of svn repositories, using 1 CCNet
> > task
> > > > > ° suppose you have modifications in 2 repositories,
> > > > >      what do you want to do now?
> > > > >    you mentioned something about copy, but can you be more specific?
> > > > >    provide an example or something
>
> > > > > with kind regards
> > > > > Ruben Willems
>
> > > > > On Wed, Nov 5, 2008 at 9:57 AM, Edwin <[EMAIL PROTECTED]> wrote:
>
> > > > > > > other configuration is also possible, but requires more work
> > > > > > > let me know if you're intrested in this.
>
> > > > > > > with kind regards
> > > > > > > Ruben Willems
> > > > > > there are many ways to reach.I am intrested in that.Will u teach me
> > > > > > more other configuration ?
> > > > > > Thanks:D
> > > > > > I had try use inculde xml configuration.but it seems throw
> > exception
> > > > > > because I had non English directories in .config.- 隱藏被引用文字 -
>
> > > > > - 顯示被引用文字 -- 隱藏被引用文字 -
>
> > > - 顯示被引用文字 -- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

Reply via email to