[Anthill] Fixed Pagelets for MKS SI 4.5
Peter Kofler
Peter.Kofler at herold.at
Wed Mar 31 03:11:02 CST 2004
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
More information about the Anthill
mailing list