Re: Custom commit message when tagging?
"Andy Levy" <[email protected]> Thu, 4 May 2006 10:56:25 -0400
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
On 5/4/06, Andy Levy <[email protected]> wrote: > On 5/2/06, Eric Minick <[email protected]> wrote: > > Wrong list there Curtis :). > > > > What Curtis described is how this should be done in Anthill Pro. > > > > What I believe you could do in OS is modify your repository driver's > > label pagelet. Pagelets are much like JSP pages but without taglibs and > > not tied to HTTP. > > > > From your description, I'm guess you are using Subversion. The change > > to the pagelet would be something like: > > > > 1) Add a project name variable to the list near the top of the file > > (after password): > > String projectName = pp.getProperty(ProjectProperties.PROJECT_NAME); > > > > 2) Change the command: > > svn copy --non-interactive -m "Copied by Anthill for <%= > > projectName %>" etc etc > > > > > > The pagelets are found in conf/profiles/<your OS>/<your driver> > > Thanks Eric. Correct on both counts; I'm running Anthill OS, and SVN > is my repository. I'll give this a shot. > I'm getting null for the projectName. I'm assuming that it's picking this up from anthill.project.name? That variable is set. I copied your code exactly. I can, however, run other Java code in the pagelet and I've confirmed that the most recent version is being executed.