[Anthill] Fixed Pagelets for MKS SI 4.5
Eric Minick
eric at urbancode.com
Wed Mar 31 07:18:13 CST 2004
Peter,
Looks like we may need a separate driver for the newer MKS Source Integrity
products. The work you've done looks great. Could you send us an example of
the logs that are being created? We can get the parsing going so that it
won't be need to be run as forced builds.
Thanks!
Eric
-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Peter Kofler
Sent: Wednesday, March 31, 2004 4:11 AM
To: anthill at lists.urbancode.com
Subject: [Anthill] Fixed Pagelets for MKS SI 4.5
Hi!
We are using MKS Source Integrity 4.5 as source repository.
Unfortunately the pagelets from Anthill version 1.7.0.162
did not work, as the command line tool from MKS has
a slightly different syntax (maybe changed from older
versions) and a changed name.
Here are the changes (to be made in profiles/Win32/win_integrity).
Maybe you want to include them into the next release of Anthill...
Replace the lines starting with
<%@ include="Win32/win_integrity/getCommandInit.pgl" %>.
* getWorkingProject.pgl
<%@ include="Win32/win_integrity/getCommandInit.pgl" %> si co
-S"<%=projectFile%>" <%= branchStr %> -R -f --unlock --cpid=:none
--batch
* label.pgl
<%@ include="Win32/win_integrity/getCommandInit.pgl" %> si addlabel
-R<%= branchStr %> -S"<%=projectFile%>" --batch -L "<%=tag%>"
* postEditPagelet.pgl
<%@ include="Win32/win_integrity/getCommandInit.pgl" %> si ci
-S"<%=projectFile%>" -u <%= branchStr %> -d"<%=msg%>" --cpid=:none
--batch --yes --update "<%=workDir%>\\<%=postEditFile%>"
* preEditPagelet.pgl
<%@ include="Win32/win_integrity/getCommandInit.pgl" %> si co
-S"<%=projectFile%>" -l <%= branchStr %> --cpid=:none --batch
"<%=workDir%>\\<%=preEditFile%>"
* getRevisionsSince.pgl
<%@ include="Win32/win_integrity/getCommandInit.pgl" %> si rlog
-S"<%=projectFile%>" <%= branchStr %> -R --batch
here is a problem, the new SI does not support a date in rlog mode,
we have to get all and parse in the Java source just for new.
There are also changes in the rlog text format, thus parsing the log
fails. So there are never revisions and Anthill does not detect any
changes. But you can use it in "force build" mode.
* getCommandInit.pgl
"cmd /c /z" does not work on my Windows 2000, just used "cmd /c"
Have fun
Peter
_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.647 / Virus Database: 414 - Release Date: 3/29/2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.647 / Virus Database: 414 - Release Date: 3/29/2004
More information about the Anthill
mailing list