ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: AW: Setting project name with a property?
Date Thu, 08 Aug 2002 08:02:16 GMT
--- Nick Pellow <> wrote:
> We are currently testing Cruise Control on our projects.
> [...] Problem is that Cruise Control uses the current project name
> as the subject for the emails it sends! So for each project, each email
> has the same project name, that of the wrapper build file.

But it looks like you're in luck (from, and which calls to form the Subject line):
   *  @return project name as defined in the ant build file
    public String getProjectName() throws CruiseControlException {
        return getAntProperty("");

So, define away :)  Just be sure you don't have a 'name' attribute set in
the <project> tag, or your define will be ignored, since just
sets based on the value for 'name' -- it doesn't check to
see if is already set.



Do You Yahoo!?
HotJobs - Search Thousands of New Jobs

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message