You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(1) |
Mar
|
Apr
(3) |
May
(33) |
Jun
(44) |
Jul
(40) |
Aug
(23) |
Sep
(26) |
Oct
(41) |
Nov
(37) |
Dec
(42) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(40) |
Feb
(58) |
Mar
(81) |
Apr
(94) |
May
(77) |
Jun
(83) |
Jul
(55) |
Aug
(118) |
Sep
(51) |
Oct
(193) |
Nov
(77) |
Dec
(17) |
| 2005 |
Jan
(56) |
Feb
(87) |
Mar
(83) |
Apr
(155) |
May
(115) |
Jun
(157) |
Jul
(90) |
Aug
(87) |
Sep
(145) |
Oct
(56) |
Nov
(105) |
Dec
(88) |
| 2006 |
Jan
(56) |
Feb
(93) |
Mar
(30) |
Apr
(46) |
May
(46) |
Jun
(16) |
Jul
(33) |
Aug
(54) |
Sep
(47) |
Oct
(21) |
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(2) |
2
(2) |
3
(1) |
4
|
5
|
6
|
|
7
|
8
(4) |
9
|
10
(1) |
11
(4) |
12
(3) |
13
(1) |
|
14
(1) |
15
|
16
|
17
|
18
(2) |
19
(1) |
20
|
|
21
(2) |
22
|
23
(2) |
24
(1) |
25
|
26
(1) |
27
(1) |
|
28
(2) |
29
(6) |
30
(3) |
31
(2) |
|
|
|
|
From: William E C. <WEC...@th...> - 2003-12-31 22:03:47
|
(I tried sending this to the user list, but got a 550 adminstrative prohibition bounce, so I sent it to the dev list) http://www.adtmag.com/article.asp?id=8710 Best, Bill William E. Caputo ThoughtWorks, Inc. http://www.williamcaputo.com -------- idia ktesis, koine chresis |
|
From: <jan...@fi...> - 2003-12-31 08:08:57
|
Hi Owen,
I moved this to the developer list.=20
Attached you will find a unit test that use the output of our StarTeam =
server. Date formats are in CET.=20
I've also attached my modified version of the StarTeamHistoryParser.cs =
file.
I don't have cvs so I'm not able to make a patch format. Sorry.
The only modifications I've done are to the the regex and the parsing of =
the date.
internal readonly static String FileHistoryRegEx =3D @"(?m:Revision: =
(?<file_revision>\S+) View: (?<view_name>.+) Branch Revision: =
(?<branch_revision>\S+)
Author: (?<author_name>.*?) Date: (?<date_string>\d{01,2}.\d{1,2}.\d\d =
\d{1,2}:\d\d:\d\d) CET.*\n(?s:(?<change_comment>.*?))-{28})";
mod.ModifiedTime =3D =
DateTime.Parse(mHistory.Result("${date_string}"));
I hope this helps you to make a version that works with all date formats =
:-)
Regards,
Jan
-----Original Message-----
From: Owen Rogers [mailto:OR...@th...]=20
Sent: 26. desember 2003 18:38
To: Jan L=F8nsetteig
Cc: ccn...@li...
Subject: Re: SourceControl integation and globalization
hi jan,
> Thanks for following up on this issue. Every time I check out a new
version of CCNet I have to apply a patch to make it work against our
StarTeam server. This patch is changes the FileHistoryRegEx to a =
European
format and removes the use of the dfi variable in the
StarTeamHistoryParser.cs file.
can you please let us know what the specific modifications that you had =
to
make are? would you be able to send us a patch file containing your
changes? or better yet, a set of unit tests demonstrating the =
requirement
for the modifications?
although i can see the areas in the code that you likely modified, as i
don't have a copy of StarTeam to test against, i would be concerned that =
i
would be making the changes incorrectly without more information.
> The code assumes a US date/time format. My patch assumes a European
format.
> We should find a solution that works regardless of the date/time =
format.
different international date formats is something that has caused us
considerable pain working with the VSS source control classes. VSS uses
some non-standard date formats for its command-line utility. to deal =
with
this, there were some suggestions to make the date formats configurable;
however, i'd prefer not to go this route because that means that users =
in
different locales need to manually configure the date format that they
need. which is both a hassle and error prone. what we tried to do
instead, was to come up with a mechanism that could correctly determine =
the
date format based on the locale.
ideally i'd like to use a similar approach for StarTeam. does StarTeam =
use
standard Windows date formats? or are they varied?
the (US) date formats, as specified in the code are:
internal readonly static string DATE_FORMAT =3D "MM/dd/yyyy
hh:mm:ss tt";
dfi =3D new DateTimeFormatInfo();
dfi.AMDesignator =3D "AM";
dfi.PMDesignator =3D "PM";
dfi.MonthDayPattern =3D @"M/d/yy h:mm:ss tt";
both of these formats look like they match the default US Windows date
formats (basically). it might be possible just use default format =
instead.
does this work for European formats?
i'm attaching my modifications to use the current culture's date =
formats.
it would be great if you could try it out and let me know if it works =
for
you.
> My suggestion is to take a look at the SourceControl integration in
NAntContrib. It's based on using Interop Assemblies. That would solve =
the
problem with globalization and make the SourceControl integration more
robust.
we have set up an affiliated project on SourceForge called ccnetcontrib.
the idea is to use this project to build plug-ins for ccnet to do =
exactly
what you are suggesting. if you would be interested in helping to build =
a
source control plugin for ccnet that uses the StarTeam primary interop
assemblies directly or by using NAntContrib, i would be happy to add you =
to
the project.
cheers,
owen.
---
R. Owen Rogers
ThoughtWorks Ltd
ThoughtWorks - Deliver with passion!
|---------+------------------------------->
| | Jan L=F8nsetteig |
| | <jan.lonsetteig@firm|
| | global.com> |
| | |
| | 21/12/2003 23:52 |
|---------+------------------------------->
=
>------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-|
| =
=
|
| To: "Owen Rogers" <OR...@th...> =
=
|
| cc: <ccn...@li...> =
=
|
| Subject: SourceControl integation and globalization =
=
|
=
>------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-|
Hi Owen,
Thanks for following up on this issue. Every time I check out a new =
version
of CCNet I have to apply a patch to make it work against our StarTeam
server. This patch is changes the FileHistoryRegEx to a European format =
and
removes the use of the dfi variable in the StarTeamHistoryParser.cs =
file.
The code assumes a US date/time format. My patch assumes a European =
format.
We should find a solution that works regardless of the date/time format.
There is another problem with the way the SourceControl integration is =
done
in CCNet. In an earlier thread we found a problem related to the use of =
the
Windows console for integration. It doesn't support Unicode and don't =
work
with e.g. Norwegian characters. By changing the systems default language =
to
Norwegian for non-Unicode programs I've been able get CCnet to not =
crash.
But Norwegian characters are ignored(removed) by the system. When using
english characters for non-Unicode programs CCNet crash while parsing =
the
xml log file because it contains illegal characters.
My suggestion is to take a look at the SourceControl integration in
NAntContrib. It's based on using Interop Assemblies. That would solve =
the
problem with globalization and make the SourceControl integration more
robust.
Regards,
Jan
-----Original Message-----
From: Owen Rogers [mailto:OR...@th...]
Sent: 21. desember 2003 07:30
To: Jan L=F8nsetteig
Cc: ccn...@li...
Subject: Re: [Ccnet-user] RE: Ccnet-user digest, Vol 1 #53 - 1 msg
hi jan,
could you please provide some more information on the problem that you =
are
having with StarTeam? is this still a problem with the latest releases?
if so, could you provide us with some guidance (ideally some sample unit
tests) to help us fix the problem?
cheers,
owen.
---
R. Owen Rogers
ThoughtWorks Ltd
ThoughtWorks - Deliver with passion!
|---------+-------------------------------------->
| | Jan L=F8nsetteig |
| | <jan.lonsetteig@firmglobal.|
| | com> |
| | Sent by: |
| | ccn...@li...|
| | ceforge.net |
| | |
| | |
| | 17/12/2003 22:39 |
|---------+-------------------------------------->
>------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-|
|
|
| To: <ccn...@li...>
|
| cc:
|
| Subject: [Ccnet-user] RE: Ccnet-user digest, Vol 1 #53 - 1 =
msg
|
>------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-|
Hi Chet,
I've had the same problem using StarTeam. In my case the problem was =
that
StarTeam returned a different date format than the format hard coded in =
the
regular expression in CCNet. Globalization is currently a weakness in
CCNet.
I solved the problem temporarily by changing the REGEX to match the date
format returned by StarTeam. I also had to change the Date.Parse =
statement.
Hope this info helps solve your problem.
Regards,
Jan L=F8nsetteig
-----Original Message-----
From: ccn...@li...
[mailto:ccn...@li...]
Sent: 18. desember 2003 05:05
To: ccn...@li...
Subject: Ccnet-user digest, Vol 1 #53 - 1 msg
Send Ccnet-user mailing list submissions to
ccn...@li...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ccnet-user
or, via email, send a message with subject or body 'help' to
ccn...@li...
You can reach the person managing the list at
ccn...@li...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ccnet-user digest..."
Today's Topics:
1. regex and VSS (Sue & Chet Hendrickson)
--__--__--
Message: 1
Date: Wed, 17 Dec 2003 13:42:45 -0500
From: Sue & Chet Hendrickson <su...@am...>
Reply-To: Sue & Chet Hendrickson <su...@am...>
To: ccn...@li...
Subject: [Ccnet-user] regex and VSS
Hello All,
I am having trouble using CruiseControl.NET and VSS. There is an
exception being thrown in VSSParser.ParseUsernameAndDate(). It
appears that the REGEX_USER_DATE_LINE regex is not getting anything.
The current entry appears to be properly formatted and the regex looks
reasonable, but it comes back with no matches.
Anyone else run across this? Any ideas?
--
Best regards,
Chet mailto:su...@am...
--__--__--
_______________________________________________
Ccnet-user mailing list
Ccn...@li...
https://lists.sourceforge.net/lists/listinfo/ccnet-user
End of Ccnet-user Digest
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for =
IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys =
admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dclick
_______________________________________________
Ccnet-user mailing list
Ccn...@li...
https://lists.sourceforge.net/lists/listinfo/ccnet-user
|
|
From: Ben L. <cc...@bl...> - 2003-12-30 23:31:15
|
hey there, ever since build 71, ccnet.service.exe has been missing from the nightly builds. for those of us who wish to run ccnet as a service, this is quite the impairment. could it please be fixed? I think it had something to do with mike's change just prior to build 71 that altered the deployment targets. thanks! --b |
|
From: Loren H. <lor...@ho...> - 2003-12-30 23:08:30
|
Thanks for considering MSBuild support. The question was asked whether MSBuild can output to XML. I attended the PDC presentation on MSBuild, (the Powerpoint can be found here: <http://download.microsoft.com/download/1/1/B/11B54B37-7B64-4F06-AD6A-D7BA08 1BF1D0/TLS347.ppt> http://download.microsoft.com/download/1/1/B/11B54B37-7B64-4F06-AD6A-D7BA081 BF1D0/TLS347.ppt) During this session, they demonstrated a very very simple rolling build lab, and included the source in this zip: <http://www.gotdotnet.com/team/PDC/4075/TLS347.zip> http://www.gotdotnet.com/team/PDC/4075/TLS347.zip This contains an XML logger for MSBuild. I have made some simple modifications to this sample to be a scheduled build lab instead of a rolling one, but CruiseControl.NET caught my eye as an alternative to a home-grown deal. As far as NUnit tasks, I'm sure many are being written. I played with developing a port of the NAnt NUnit2 task, but didn't get it finished, but the port was fairly straightforward. (sorry for the multiple posts earlier, the responses were getting caught by my spam filter, so I didn't think they went through) --Loren _____ From: ccn...@li... [mailto:ccn...@li...] On Behalf Of Michael C Two Sent: Monday, December 29, 2003 2:39 PM To: ccn...@li... Subject: Re: [Ccnet-devel] MSBuild support? I've got something that works for this, but I need to clean it up a bit before I get it checked in. I've acutally done a bit of porting to Whidbey. I don't want to commit any of the whidbey stuff just the msbuild things. So it might take me a bit of time to sort that out but I hope to be able to commit soon. Thanks! ThoughtWorks, where being meta-cognitive is something worth thinking about. "Loren Halvorson" <lor...@ho...> Sent by: ccn...@li... 12/29/2003 02:02 PM To: <ccn...@li...> cc: Subject: [Ccnet-devel] MSBuild support? I'm just starting to look at CruiseControl.NET, so I apologize if this has been covered already. I'm curious if anyone has thought about adding MSBuild support as an alternative to NAnt? Is it possible today? I'm thinking something like: : <build type="MSBuild"> <executable>C:\WINNT\Microsoft.NET\Framework\v1.2.30703\msbuild.exe</executa ble> <baseDirectory>c:\fromvss\myrepo\myproject</baseDirectory> <buildArgs>/l:Microsoft.Build.Logging.HTMLLogger,HTMLLogger /log:logfile.xml /p:Configuration=Debug</buildArgs> <buildFile>Bootstrap.proj</buildFile> <targetList> <target>Build</target> </targetList> <buildTimeoutSeconds>300</buildTimeoutSeconds> </build> : Thanks ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Ccnet-devel mailing list Ccn...@li... https://lists.sourceforge.net/lists/listinfo/ccnet-devel |
|
From: Mike R. <mik...@th...> - 2003-12-30 09:42:35
|
I haven't tried Whidbey / .NET 1.2 out yet so I haven't tried running msbuild, but I do think it would be a useful feature to add to CCNet. 2 things I can think of beyond actually having a class to run msbuild, that you've probably already picked up on Mike. Does msbuild output to xml, if not would we just capture Console output (which is not particularly nice) and have to parse this in the msbuild class? Also, we would need new xsl stylesheets for presentation, whether it is styling msbuild xml output, or the parsed messages if there's no xml output. Similarly, I take it there's no <nunit> tasks for msbuild yet and we would recommend just <exec>ing NUnit from the msbuild script? (I assume msbuild does have an <exec> equivalent?) Mike Michael C Two wrote: > > I've got something that works for this, but I need to clean it up a > bit before I get it checked in. I've acutally done a bit of porting to > Whidbey. I don't want to commit any of the whidbey stuff just the > msbuild things. So it might take me a bit of time to sort that out but > I hope to be able to commit soon. > > Thanks! > > ThoughtWorks, where being meta-cognitive is something worth thinking > about. > > > > *"Loren Halvorson" <lor...@ho...>* > Sent by: ccn...@li... > > 12/29/2003 02:02 PM > > > To: <ccn...@li...> > cc: > Subject: [Ccnet-devel] MSBuild support? > > > > > I'm just starting to look at CruiseControl.NET, so I apologize if this has > been covered already. I'm curious if anyone has thought about adding > MSBuild > support as an alternative to NAnt? Is it possible today? I'm thinking > something like: > > : > <build type="MSBuild"> > > <executable>C:\WINNT\Microsoft.NET\Framework\v1.2.30703\msbuild.exe</executa > ble> > <baseDirectory>c:\fromvss\myrepo\myproject</baseDirectory> > <buildArgs>/l:Microsoft.Build.Logging.HTMLLogger,HTMLLogger > /log:logfile.xml /p:Configuration=Debug</buildArgs> > <buildFile>Bootstrap.proj</buildFile> > <targetList> > <target>Build</target> > </targetList> > <buildTimeoutSeconds>300</buildTimeoutSeconds> > </build> > : > > Thanks > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Ccnet-devel mailing list > Ccn...@li... > https://lists.sourceforge.net/lists/listinfo/ccnet-devel > > |
|
From: Michael C T. <MC...@th...> - 2003-12-29 20:38:51
|
I've got something that works for this, but I need to clean it up a bit
before I get it checked in. I've acutally done a bit of porting to
Whidbey. I don't want to commit any of the whidbey stuff just the msbuild
things. So it might take me a bit of time to sort that out but I hope to
be able to commit soon.
Thanks!
ThoughtWorks, where being meta-cognitive is something worth thinking
about.
"Loren Halvorson" <lor...@ho...>
Sent by: ccn...@li...
12/29/2003 02:02 PM
To: <ccn...@li...>
cc:
Subject: [Ccnet-devel] MSBuild support?
I'm just starting to look at CruiseControl.NET, so I apologize if this has
been covered already. I'm curious if anyone has thought about adding
MSBuild
support as an alternative to NAnt? Is it possible today? I'm thinking
something like:
:
<build type="MSBuild">
<executable>C:\WINNT\Microsoft.NET\Framework\v1.2.30703\msbuild.exe</executa
ble>
<baseDirectory>c:\fromvss\myrepo\myproject</baseDirectory>
<buildArgs>/l:Microsoft.Build.Logging.HTMLLogger,HTMLLogger
/log:logfile.xml /p:Configuration=Debug</buildArgs>
<buildFile>Bootstrap.proj</buildFile>
<targetList>
<target>Build</target>
</targetList>
<buildTimeoutSeconds>300</buildTimeoutSeconds>
</build>
:
Thanks
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Ccnet-devel mailing list
Ccn...@li...
https://lists.sourceforge.net/lists/listinfo/ccnet-devel
|
|
From: Loren H. <lor...@ho...> - 2003-12-29 20:03:00
|
I'm just starting to look at CruiseControl.NET, so I apologize if this has been covered already. I'm curious if anyone has thought about adding MSBuild support as an alternative to NAnt? Is it possible today? I'm thinking something like: : <build type="MSBuild"> <executable>C:\WINNT\Microsoft.NET\Framework\v1.2.30703\msbuild.exe</executa ble> <baseDirectory>c:\fromvss\myrepo\myproject</baseDirectory> <buildArgs>/l:Microsoft.Build.Logging.HTMLLogger,HTMLLogger /log:logfile.xml /p:Configuration=Debug</buildArgs> <buildFile>Bootstrap.proj</buildFile> <targetList> <target>Build</target> </targetList> <buildTimeoutSeconds>300</buildTimeoutSeconds> </build> : Thanks |
|
From: Halvorson, L. <Lor...@gm...> - 2003-12-29 18:40:15
|
I'm just starting to look at CruiseControl.NET, so I apologize if this has been covered already. I'm curious if anyone has thought about adding MSBuild support as an alternative to NAnt? Thanks |
|
From: Dmitry P. <dm...@of...> - 2003-12-29 14:20:56
|
Hello Mike.
I attached two log files for you: one successfull and one failed
builds.
Thanks,
Dmitry
MR> Hi Dmity,
MR> Please can you reply with a log file from your log directory? I'm
MR> suspecting that there may be some characters in your logs that are
MR> causing the failure. I'll try running the webapp on my machine against
MR> your log and that way we'll at least be able to call whether its a
MR> problem to do with your machine setup.
MR> Cheers,
MR> Mike
|
|
From: Mike R. <mik...@th...> - 2003-12-29 13:52:33
|
Hi Dmity, Please can you reply with a log file from your log directory? I'm suspecting that there may be some characters in your logs that are causing the failure. I'll try running the webapp on my machine against your log and that way we'll at least be able to call whether its a problem to do with your machine setup. Cheers, Mike Dmitry Ponomarenko wrote: >Hello Owen. > >No, I doesn't. I installed new version on another folder. > >I have installed newest version of CCNet (0.4.1) and when I go to site >I have the same error. >Than I register .Net Framework v.1.1.4322 for this web application and >I get the same error again. > >I have several asp.net application work correctly on my computer. > >May be this is because I have both 1.0 and 1.1 versions of .Net Framework >installed on my computer? > > |
|
From: Dmitry P. <dm...@of...> - 2003-12-29 08:38:46
|
Hello Owen. No, I doesn't. I installed new version on another folder. I have installed newest version of CCNet (0.4.1) and when I go to site I have the same error. Than I register .Net Framework v.1.1.4322 for this web application and I get the same error again. I have several asp.net application work correctly on my computer. May be this is because I have both 1.0 and 1.1 versions of .Net Framework installed on my computer? Regards, Dmitry OR> hi dimitri, OR> i did a quick scan through your web.config file. i couldn't see anything OR> wrong it. OR> when you installed the ccnet web application, did you install it over top OR> of a previous version of the ccnet web app? if you are still having a OR> problem with the web app, could you try downloading the latest version of OR> the web application from http://ccnetlive.thoughtworks.com and try OR> installing that instead. OR> one final question: are you sure that you have asp.net installed correctly? OR> if you install IIS after you install the .NET SDK then you need to run OR> aspnet_regiis.exe to get IIS to correctly serve up ASP.NET web pages. do OR> you have other asp.net applications installed on your machine that work? OR> cheers, OR> owen. OR> --- OR> R. Owen Rogers OR> ThoughtWorks Ltd |
|
From: Mike R. <mik...@th...> - 2003-12-28 23:41:21
|
CruiseControl.NET 0.4.1 is now available from: - The CCNet website at http://ccnet.thoughtworks.com/ - The project sourceforge page at http://www.sf.net/projects/ccnet/ This is build 81 from CCNetLive, and includes (but is not limited too) the following changes: - More configurable labelling - Support for 'Subversion' Source Control - Workaround for builds that generate invalid xml files (including those calling out to 'devenv') - Various documentation updates The CCNet website has been updated to include the latest release and documentation. Release '0.4 RC1' has been renamed to just '0.4' Cheers, Mike -- Mike Roberts http://mikeroberts.thoughtworks.net/ |
|
From: Mike M. <mg...@th...> - 2003-12-28 22:15:03
|
Mike Roberts and Owen Rogers both suggested the easiest way for me to
get my Subversion support checked into CCNet was to give me commit
privs, which they've done, so hello everybody!
I've checked in the Subversion code, along with some documentation.
There's a Subversion examples page, along with extra bits in the
ccnet.config.html and supported environments docs.
This doesn't have everything, but does seem to work. In particular, I'd
like to fix the following things, but don't know what kind of order I'd
fix them in. Some of them apply to the Perforce integration, and
probably to any source control that understands "atomic commit" or
"change list" for logical grouping of changes:
- bootstrap checkout just updates to HEAD, should use the change number
we detected (apparently the CVS bootstrapping does this anyhow)
- you get one modification per file changed, not one modification
containing all the files changed in that modification (probably a bigger
change to CCNet's internals to support this)
- untested with fancy secure Subversion connections (http/https/svn+ssh)
- no tagging yet -- should be fairly easy, it's just "svn cp
${trunkUrl} ${tagUrl}/${label}"
Please let me know if I've messed anything up. The build page seems happy.
Thanks,
Mike.
|
|
From: William E C. <WEC...@th...> - 2003-12-27 22:40:40
|
Hi All,
I (finally) checked in the labelling changes. Here's what's changed:
The project's label property is now a configurable entry. In an xml
section called "labeller".
The defaultLabeller is now exposed as a labeller type with a single
attribute called "prefix". Here is an xml example:
<labeller type="defaultlabeller">
<prefix>v1.2.0.</prefix>
</labeller>
This allows you to specifiy a prefix that we be prepended before the label
number and will be passed through to the labelling method as before. This
makes it possible to use .net style version numbers as labels (in the
above example, if the next generated number was 10, then the repository
would be labelled v1.2.0.10). Any prefix can be used, but prefix's ending
in numerics might behave strangely as the incrementer assumes the numeric
portion of the previous label is the part to be incremented).
I also added a change to how the vss sourcecontrol behaves. It now writes
a label (CCNETUNVERIFIEDyyymmddHHMMSS) to the repository after changes are
detected, but *before* the actual build. This will create a new version
that the successful build label can overwrite. This allows vss labelling
to behave as expected (for more information, check my earlier posts in the
archives on this topic).
Any questions, or problems please let me know. I tested this by rerunning
the unit tests (including the new ones I wrote) and by running it against
a vss repository, but given the large difference between the version of
ccnet we are currently using and the latest, I am a little nervous because
I had to make the changes manually by looking at diffs.
Best,
Bill
William E. Caputo
ThoughtWorks, Inc.
http://www.williamcaputo.com
--------
idia ktesis, koine chresis
|
|
From: Owen R. <OR...@th...> - 2003-12-26 17:39:12
|
hi dimitri, i did a quick scan through your web.config file. i couldn't see anything wrong it. when you installed the ccnet web application, did you install it over top of a previous version of the ccnet web app? if you are still having a problem with the web app, could you try downloading the latest version of the web application from http://ccnetlive.thoughtworks.com and try installing that instead. one final question: are you sure that you have asp.net installed correctly? if you install IIS after you install the .NET SDK then you need to run aspnet_regiis.exe to get IIS to correctly serve up ASP.NET web pages. do you have other asp.net applications installed on your machine that work? cheers, owen. --- R. Owen Rogers ThoughtWorks Ltd ThoughtWorks - Deliver with passion! |---------+---------------------------------> | | Dmitry Ponomarenko | | | <dmitry@offshorecreati| | | ons.com.ua> | | | | | | 22/12/2003 00:04 | | | Please respond to | | | Dmitry Ponomarenko | |---------+---------------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: Owen Rogers <OR...@th...> | | cc: ccn...@li... | | Subject: Re[2]: [Ccnet-devel] WebSite Error | >--------------------------------------------------------------------------------------------------------------------------------------------------| Hello Owen. I use CruiseControl v.04 RC1 and I don't remember that I changed web.config. I attach my web.config, please review it. Thanks, Dmitry OR> hi dimtry, OR> i haven't seen this before, but it looks as though SiteMesh, the web page OR> templating library that we are using , might not be configured correctly. OR> have you made some modifications to the Web.config file that might have OR> stopped SiteMesh from working? also, what version of ccnet are you using OR> -- the 0.4 RC1 release or a new version from ccnetlive? OR> cheers, OR> owen. OR> --- OR> R. Owen Rogers OR> ThoughtWorks Ltd OR> ThoughtWorks - Deliver with passion! (See attached file: Web.config) |
|
From: Dmitry P. <dm...@of...> - 2003-12-24 07:31:14
|
Hello, Owen. Sorry, I mistake. I want to send this messege to NUnitAsp, but sent it for you. Regards, Dmitry OR> hi dimtri, OR> i'm a bit confused by your post. i can't find this code anywhere in the OR> ccnet code base. did you mean to send this to the ccnet list? OR> o. OR> --- OR> R. Owen Rogers OR> ThoughtWorks Ltd OR> ThoughtWorks - Deliver with passion! OR> |---------+---------------------------------------> OR> | | Dmitry Ponomarenko | OR> | | <dm...@of...| OR> | | m.ua> | OR> | | Sent by: | OR> | | ccn...@li...| OR> | | ceforge.net | OR> | | | OR> | | | OR> | | 23/12/2003 01:54 | OR> | | Please respond to Dmitry | OR> | | Ponomarenko | OR> |---------+---------------------------------------> OR> OR> >--------------------------------------------------------------------------------------------------------------------------------------------------| OR> | OR> | To: ccn...@li... OR> | cc: OR> | Subject: [Ccnet-devel] Error counting row in OR> DataGrid OR> OR> >--------------------------------------------------------------------------------------------------------------------------------------------------| OR> Hello, OR> I found that the number of rows in datagrid is being counted as follows: OR> ---- code starts OR> return Element.GetElementsByTagName("tr").Count - 1; OR> ---- code ends OR> In case when datagrid includes paging, the number of rows will be wrong. OR> My suggestion how to count this number is below: OR> ---- code starts OR> int i = 0; OR> foreach (XmlElement tr in Element.GetElementsByTagName("tr")) OR> { OR> XmlNode td = tr.GetElementsByTagName("td")[0]; OR> if (td.Attributes["colspan"] == null) OR> { OR> i++; OR> } OR> } OR> return i - 1; OR> ---- code ends OR> Regards, OR> Dmitry OR> ------------------------------------------------------- OR> This SF.net email is sponsored by: IBM Linux Tutorials. OR> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's OR> Free Linux Tutorials. Learn everything from the bash shell to sys admin. OR> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click OR> _______________________________________________ OR> Ccnet-devel mailing list OR> Ccn...@li... OR> https://lists.sourceforge.net/lists/listinfo/ccnet-devel |
|
From: Owen R. <OR...@th...> - 2003-12-23 21:03:35
|
hi dimtri, i'm a bit confused by your post. i can't find this code anywhere in the ccnet code base. did you mean to send this to the ccnet list? o. --- R. Owen Rogers ThoughtWorks Ltd ThoughtWorks - Deliver with passion! |---------+---------------------------------------> | | Dmitry Ponomarenko | | | <dm...@of...| | | m.ua> | | | Sent by: | | | ccn...@li...| | | ceforge.net | | | | | | | | | 23/12/2003 01:54 | | | Please respond to Dmitry | | | Ponomarenko | |---------+---------------------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: ccn...@li... | | cc: | | Subject: [Ccnet-devel] Error counting row in DataGrid | >--------------------------------------------------------------------------------------------------------------------------------------------------| Hello, I found that the number of rows in datagrid is being counted as follows: ---- code starts return Element.GetElementsByTagName("tr").Count - 1; ---- code ends In case when datagrid includes paging, the number of rows will be wrong. My suggestion how to count this number is below: ---- code starts int i = 0; foreach (XmlElement tr in Element.GetElementsByTagName("tr")) { XmlNode td = tr.GetElementsByTagName("td")[0]; if (td.Attributes["colspan"] == null) { i++; } } return i - 1; ---- code ends Regards, Dmitry ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Ccnet-devel mailing list Ccn...@li... https://lists.sourceforge.net/lists/listinfo/ccnet-devel |
|
From: Dmitry P. <dm...@of...> - 2003-12-23 09:50:26
|
Hello,
I found that the number of rows in datagrid is being counted as follows:
---- code starts
return Element.GetElementsByTagName("tr").Count - 1;
---- code ends
In case when datagrid includes paging, the number of rows will be wrong.
My suggestion how to count this number is below:
---- code starts
int i = 0;
foreach (XmlElement tr in Element.GetElementsByTagName("tr"))
{
XmlNode td = tr.GetElementsByTagName("td")[0];
if (td.Attributes["colspan"] == null)
{
i++;
}
}
return i - 1;
---- code ends
Regards,
Dmitry
|
|
From: Mike M. <mg...@th...> - 2003-12-21 16:54:34
|
I've started working on getting ccnet to work with Subversion. I've attached a patch and 3 new files which add Subversion support. I've changed the signature on IHistoryParser to include the "from" and "to" dates when checking for modifications. This is to get around a quirk with Subversion where it will still give you the most recent modification, even if you ask it for modifications when no-one's changed anything in your repository. I've also added a ChangeNumber property to Modification. This makes sense for Subversion and Perforce (and probably others) which can identify the state of the repository uniquely without using dates. It works, and correctly figures out when things have changed, and fires off build requests. I haven't written a bootstrapper yet, but one should work in a similar way to the existing CVS bootstrapper. Are there any plans to have ccnet actually do updates to working copies? It seems to be a hangover from the Java version that we need a separate bootstrap build file. It's also doesn't quite gel with ccnet doing labelling... Comments greatly appreciated. Cheers, Mike. |
|
From: Owen R. <OR...@th...> - 2003-12-21 05:56:29
|
hi dimtry, i haven't seen this before, but it looks as though SiteMesh, the web page templating library that we are using , might not be configured correctly. have you made some modifications to the Web.config file that might have stopped SiteMesh from working? also, what version of ccnet are you using -- the 0.4 RC1 release or a new version from ccnetlive? cheers, owen. --- R. Owen Rogers ThoughtWorks Ltd ThoughtWorks - Deliver with passion! |---------+---------------------------------------> | | Dmitry Ponomarenko | | | <dm...@of...| | | m.ua> | | | Sent by: | | | ccn...@li...| | | ceforge.net | | | | | | | | | 18/12/2003 02:09 | | | Please respond to Dmitry | | | Ponomarenko | |---------+---------------------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: ccn...@li... | | cc: ccn...@li... | | Subject: [Ccnet-devel] WebSite Error | >--------------------------------------------------------------------------------------------------------------------------------------------------| When I try to open ccnet website I get error: Server Error in '/CCNet' Application. -------------------------------------------------------------------------------- Procedure call or argument is not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Procedure call or argument is not valid. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentException: Procedure call or argument is not valid.] Microsoft.VisualBasic.Strings.Chr(Int32 CharCode) +429 SiteMesh.Parser.HtmlPageParser.InternalParse (StreamReader reader) SiteMesh.Parser.HtmlPageParser.Parse(Byte[] data) SiteMesh.Filter.SiteMeshModule.EndRequestHandler (Object s, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Boolean& completedSynchronously) +87 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 Can you help me with this? Thanks, Dmitry ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Ccnet-devel mailing list Ccn...@li... https://lists.sourceforge.net/lists/listinfo/ccnet-devel |
|
From: Mike R. <mik...@th...> - 2003-12-19 14:58:23
|
Mike Roberts wrote: > Firstly I put in an update that I hope fixes the 'null character in > log file' problem. I need to try it out against a devenv build to > check it out. Its in the latest distribution on CCNetLive. I've now tested this against a devenv build and it works. Mike |
|
From: Mike R. <mik...@th...> - 2003-12-18 14:39:16
|
(topic moved to developer list) Hi Jan - thanks for following up on that, You're right in that globalization is not something we've addressed in=20 CCNet. I personally haven't done much work in general on the subject (I=20 don't know if the other CCNet developers have or not), so I'd definitely=20 appreciate anything you may suggest on the matter. Perhaps making the=20 Regex's configurable would be a start? Cheers, Mike Jan L=F8nsetteig wrote: >Hi Chet, > >I've had the same problem using StarTeam. In my case the problem was tha= t StarTeam returned a different date format than the format hard coded in= the regular expression in CCNet. Globalization is currently a weakness i= n CCNet. >I solved the problem temporarily by changing the REGEX to match the date= format returned by StarTeam. I also had to change the Date.Parse stateme= nt. > >Hope this info helps solve your problem. > >Regards, >Jan L=F8nsetteig > >-----Original Message----- >From: ccn...@li... [mailto:ccnet-user-reques= t...@li...]=20 >Sent: 18. desember 2003 05:05 >To: ccn...@li... >Subject: Ccnet-user digest, Vol 1 #53 - 1 msg > >Send Ccnet-user mailing list submissions to > ccn...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/ccnet-user >or, via email, send a message with subject or body 'help' to > ccn...@li... > >You can reach the person managing the list at > ccn...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Ccnet-user digest..." > > >Today's Topics: > > 1. regex and VSS (Sue & Chet Hendrickson) > >--__--__-- > >Message: 1 >Date: Wed, 17 Dec 2003 13:42:45 -0500 >From: Sue & Chet Hendrickson <su...@am...> >Reply-To: Sue & Chet Hendrickson <su...@am...> >To: ccn...@li... >Subject: [Ccnet-user] regex and VSS > >Hello All, > >I am having trouble using CruiseControl.NET and VSS. There is an >exception being thrown in VSSParser.ParseUsernameAndDate(). It >appears that the REGEX_USER_DATE_LINE regex is not getting anything. >The current entry appears to be properly formatted and the regex looks >reasonable, but it comes back with no matches. > >Anyone else run across this? Any ideas? > > =20 > > > =20 > |
|
From: Dmitry P. <dm...@of...> - 2003-12-18 10:04:49
|
<html><head>
<style>
body { FONT-FAMILY:'COURIER NEW' ; FONT-SIZE:12 ; }
span.bat0 { COLOR:#FF0000 ; }
</style>
</head>
<body>
When I try to open ccnet website I get error:<br>
<br>
<span class=bat0>Server Error in '/CCNet' Application.<br>
--------------------------------------------------------------------------------<br>
<br>
Procedure call or argument is not valid. <br>
Description: An unhandled exception occurred during <br>
the execution of the current web request. Please review <br>
the stack trace for more information about the error and <br>
where it originated in the code. <br>
<br>
Exception Details: System.ArgumentException: <br>
Procedure call or argument is not valid.<br>
<br>
Source Error: <br>
<br>
An unhandled exception was generated during the <br>
execution of the current web request. Information <br>
regarding the origin and location of the exception can be <br>
identified using the exception stack trace below. <br>
<br>
Stack Trace: <br>
<br>
[ArgumentException: Procedure call or argument is not <br>
valid.]<br>
Microsoft.VisualBasic.Strings.Chr(Int32 CharCode) <br>
+429<br>
SiteMesh.Parser.HtmlPageParser.InternalParse<br>
(StreamReader reader)<br>
SiteMesh.Parser.HtmlPageParser.Parse(Byte[] data)<br>
SiteMesh.Filter.SiteMeshModule.EndRequestHandler<br>
(Object s, EventArgs e)<br>
<br>
System.Web.SyncEventExecutionStep.System.Web.Htt<br>
pApplication+IExecutionStep.Execute() +60<br>
System.Web.HttpApplication.ExecuteStep<br>
(IExecutionStep step, Boolean& <br>
completedSynchronously) +87<br>
<br>
--------------------------------------------------------------------------------<br>
Version Information: Microsoft .NET Framework <br>
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 <br>
<br>
</span>Can you help me with this?<br>
<br>
Thanks,<br>
Dmitry</body></html>
|
|
From: Mike R. <mik...@th...> - 2003-12-14 21:09:20
|
Hi all, 2 things. Firstly I put in an update that I hope fixes the 'null character in log file' problem. I need to try it out against a devenv build to check it out. Its in the latest distribution on CCNetLive. Next thing - the b.bat file now runs NAnt 0.8.4 (Owen made the change since he's on the ball with these things. :) ) - however there seems to be a problem running 0.8.4's solution task with our .csproj files on machines that don't have .NET 1.0 installed (our csproj's reference the .NET 1.0 System assemblies, but <solution> should ignore absolute locations). For people with just 1.1 installed, Nant 0.8.3 is still available in the \tools folder - you'll just have to run it manually rather that using the batch file. Mike -- Mike Roberts http://mikeroberts.thoughtworks.net/ |
|
From: Owen R. <OR...@th...> - 2003-12-13 09:40:06
|
hi simon, your patch to the ccnet service is now checked in. sorry about being slow getting back about your suggested mods to the email publisher. interesting stuff. when writing NetReflector, i didn't consider what the implications of including special characters or embedded xml in the configuration file. reflecting on it, i don't think that it makes sense for the bound element (or attribute) to contain nested xml, so i think that your suggestion of outputting attribute.Value or element.InnerText makes sense. i've looked into making the modifications to NetReflector and have bundled an updated version of the NetReflector assembly with the latest check-in. please try it out and let me know if it works for you. cheers, owen. --- R. Owen Rogers ThoughtWorks Ltd ThoughtWorks - Deliver with passion! |---------+---------------------------------------> | | "Simon Protheroe" | | | <sr...@ei...> | | | Sent by: | | | ccn...@li...| | | ceforge.net | | | | | | | | | 08/12/2003 21:47 | |---------+---------------------------------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| | | | To: <ccn...@li...> | | cc: | | Subject: [Ccnet-devel] Suggested patch for EmailPublisher.cs | >--------------------------------------------------------------------------------------------------------------------------------------------------| I've attached a suggestion for a patch to EmailPublisher.cs that I hope someone can take a look at and commit if appropriate. Here's the background: I'd like to have build reports mailed from a named user, e.g. "Build Master", rather than just an email address, e.g. "us...@so...". To get that behaviour my mail server requires addresses in the form of the real name followed by the email address in angle brackets (i.e. "Build Master <us...@so...>"). The problem is that if I set the 'from' attribute of the 'email' publisher element in the ccnet.config file, I end up with invalid XML. Obviously I need to escape the special characters in the attribute so I end up with <email from="Build Master <us...@so...>" ...> Now comes the problem... As far as I can tell the NetReflector library uses something like attribute.InnerXml to retrieve the contents of the attribute and assign it to the FromAddress property of the EmailPublisher. This will pass the XML content exactly as it occurs in the config file, i.e. with the escape sequences rather than the characters they represent. Using something like attribute.Value would do the trick, but unfortunately I don't have enough knowledge of NetReflector to make the change safely. The attached patch creates a temporary XmlDocument, creates an attribute setting its InnerXml to the content retrieved from the config file, and then uses the Value property of the attribute to specify the mail address to the SMTP server. I hope this is clear enough but in any case it's a pretty small patch which is easy to understand. I'll be the first to admit it's a kludge, but it does the job and isolates changes to the code to the area necessary. Of course, if someone would like to undertake the necessary changes to NetReflector then I can happily dispense with this patch! Cheers, Simon (See attached file: mailaddr.diff) |