Re: Reserved Words
"Res Pons" <[email protected]>
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the list. It's good to know. I was basically trying to pass the
version number declared as property to a jar file, like so:
<property name="version" value="5.0" />
and in a copy task I was copying & renaming the file to tools.${version}.jar
and Anthill didn't like it. I forget the specific message. But as soon as
I changed version to ${product.version}.
<property name="product.version" value="5.0" /> everything was fine.
----Original Message Follows----
From: Eric Minick <[email protected]>
Reply-To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
To: Anthill user list <anthill-IWHQxnLZ/[email protected]>
Subject: Re: [Anthill] Reserved Words
Date: Thu, 09 Mar 2006 16:40:35 -0700
MIME-Version: 1.0
Received: from lists.urbancode.com ([64.34.169.154]) by
bay0-mc1-f18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9
Mar 2006 15:40:49 -0800
Received: (qmail 15499 invoked by uid 510); 9 Mar 2006 23:42:00 -0000
Received: from anthill-bounces-IWHQxnLZ/[email protected] by caladin.urbancode.com
by uid 504 with qmail-scanner-1.20 (spamassassin: 2.61.
Clear:RC:1(127.0.0.1):. Processed in 0.018568 secs); 09 Mar 2006 23:42:00
-0000
Received: from localhost (HELO caladin.urbancode.com) (127.0.0.1) by
lists.urbancode.com with SMTP; 9 Mar 2006 23:42:00 -0000
Received: (qmail 15469 invoked by uid 510); 9 Mar 2006 23:41:56 -0000
Received: from [email protected] by caladin.urbancode.com by uid 504
withqmail-scanner-1.20 (spamassassin: 2.61.
Clear:RC:0(207.99.47.54):SA:0(0.1/5.0):. Processed in 1.21904 secs); 09 Mar
2006 23:41:56 -0000
Received: from host54a.simplicato.com (207.99.47.54)by lists.urbancode.com
with SMTP; 9 Mar 2006 23:41:54 -0000
Received: from localhost (localhost.simplicato.com [127.0.0.1])by
host54a.simplicato.com (Postfix) with ESMTP id D8D756C03B7for
<anthill-IWHQxnLZ/[email protected]>; Thu, 9 Mar 2006 18:40:36 -0500 (EST)
Received: from host54a.simplicato.com ([127.0.0.1])by localhost
(host54a.simplicato.com [127.0.0.1]) (amavisd-new,port 10024) with ESMTP id
45434-07 for <anthill-IWHQxnLZ/[email protected]>;Thu, 9 Mar 2006 18:40:36 -0500
(EST)
Received: from [192.168.0.101]
(c-67-190-19-249.hsd1.co.comcast.net[67.190.19.249])by
host54a.simplicato.com (Postfix) with ESMTP id 91E606C02FAfor
<anthill-IWHQxnLZ/[email protected]>; Thu, 9 Mar 2006 18:40:35 -0500 (EST)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Return-Path: <[email protected]>
Delivered-To: mailman-anthill-IWHQxnLZ/[email protected]
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
References: <[email protected]>
X-Virus-Scanned: by amavisd-new at simplicato.com
X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on
caladin.urbancode.com
X-Spam-Level:
X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_SORBS autolearn=no
version=2.61
X-BeenThere: anthill-IWHQxnLZ/[email protected]
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: Anthill user list <anthill.lists.urbancode.com>
List-Unsubscribe:
<http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=unsubscribe>
List-Archive: <http://lists.urbancode.com/pipermail/anthill>
List-Post: <mailto:anthill-IWHQxnLZ/[email protected]>
List-Help: <mailto:anthill-request-IWHQxnLZ/[email protected]?subject=help>
List-Subscribe:
<http://lists.urbancode.com/mailman/listinfo/anthill>,<mailto:anthill-request-IWHQxnLZ/[email protected]?subject=subscribe>
Errors-To: anthill-bounces-IWHQxnLZ/[email protected]
X-OriginalArrivalTime: 09 Mar 2006 23:40:49.0532 (UTC)
FILETIME=[E544C3C0:01C643D2]
I'm curious what the error was when you passed in 'version'? I can imagine
that there might be a problem there since Anthill will want to set version
itself as per the versioning strategy you've selected. It looks like it
passes two other properties the same way. The first is 'kit' which is also
the version. Frankly, I'm not sure what the history is behind that. Anthill
also passes 'deployDir' which is the location where build artifacts can be
published. Other ant parameters reserved by Anthill are the -buildfile and
-logfile params.
Res Pons wrote:
>Hello
>
>I have another question. Does Anthill have a list of reserved words that
>should be use carefully? I recently discovered that Anthill OS does not
>like the word "version" by itself as a property name. Ant wasn't
>complaining and it's not a reserved word in Ant. As soon I renamed that
>property from version to something else, Anthill started to work.
>
>Thanks,
>
>_________________________________________________________________
>Dont just search. Find. Check out the new MSN Search!
>http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/