[Anthill] cvs verifymsg question
Eric Minick
eric at urbancode.com
Wed Jun 9 09:32:43 CDT 2004
Dan,
That message isn't configurable through the Anthill ui. If you want to
do anything interesting with that message, you'll probably need to edit
the source, which is available on the website. If you just want the
message to always say, "Bug Number: 1". You can edit the pagelet that
does the commit. The file to edit will depend on the operating system
you run. Your choices are:
Anthill\conf\profiles\Win32\win_cvs\postEditPagelet.pgl or
Anthill\conf\profiles\Unix\win_cvs\postEditPagelet.pgl
These files are similar to JSPs and generate the commands that are sent
to CVS. For the windows version, you'd probably change the line:
cvs -d <%=cvsroot%> commit -m "<%=msg%>" <%=postEditFile%>
to:
cvs -d <%=cvsroot%> commit -m "Bug Number: 1" <%=postEditFile%>
Regards,
Eric
Dan Mazur wrote:
>
> Hello,
>
> I' having a problem with the
> com.urbancode.anthill.adapter.UrbanCodeVersionAdapter, whereby our
> version file, version.txt, is in a CVS module that expects a certain
> cvs log message format, like Bug Number: XXX (via CVS's verifymsg
> functionality). The default commit message from Anthill looks like
> this: "Committed_by_Anthill", which, of course, fails the validation.
> Has anyone experienced a problem like this? If so, what did you do to
> work around it?
>
> Environment:
> OS: windows 2k
> Anthill: OS 1.7.0.162
> java: 1.4.1_06
> cvs server: 1.11.16
> cvs client: 2.0.12a (cvsnt)
>
> Thanks,
> -Dan
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>
More information about the Anthill
mailing list