Re: Manipulating Anthill OS build numbers
Eric Minick <[email protected]> Thu, 30 Mar 2006 13:39:16 -0700
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
It's probably easiest to just clip these out of the emails. In the conf
directory, there is a file called resultEmail.pgl which you can edit
with a text editor. It's what builds the email.
You could remove the version information by removing the lines:
String newVersion = _buildDef.getVersion();
if (newVersion != null) {
emailSubject.append(" ").append(newVersion);
}
You could also comment them out using standard java comment sytax.
Cheers,
Eric
Res Pons wrote:
> Hi Guys
>
> Is there anyway to either manipulate AH's build numbers in the
> (com.urbancode.anthill.adapter.UrbanCodeVersionAdapter Properties) tab
> to a non-numeric value? I currently use a file named
> anthill.build.number and initilialized it at 1 at start of each of my
> projects where it's incremented with each build and it sends an email
> with the project name and this number in the email's subject line.
> The real build numbers are manipulated in my ant build.xml and echoed
> in the body of the emails. Naturally this confuses everyone. I
> either like to do away with numeric values or prevent the emails to
> put anything in their subject line. Any suggestions?
>
> Thanks. :)
>
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from
> McAfee® Security.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill