Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 69419 invoked by uid 500); 4 Oct 2001 05:40:56 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 69410 invoked from network); 4 Oct 2001 05:40:55 -0000 Message-ID: <00ab01c14c97$28b4ba30$5901a8c0@ebprovider.com> From: "Tarun Garg" To: References: <87EE6B21C624D511B72400104BCF1EB03DE42E@exch> <3BB94F9C.69B3DEE3@home.com> <000a01c14c87$9d8cf080$649447cc@vkoppika> Subject: Re: VAJAntTool Date: Thu, 4 Oct 2001 11:10:59 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You reply a lot of messages on this list, but somehow I never see anything written by you in the posts. Do you use some invisible ink ? Do others see anything written, or is there something wrong with my mail client ? or is there some sort of a bug/feature/virus in your mail client which automatically replies every mail you get in your account ? am I missing something ? ----- Original Message ----- From: "Shyam Koppikar" To: Sent: Thursday, October 04, 2001 9:07 AM Subject: Re: VAJAntTool > > ----- Original Message ----- > From: "Phil Surette" > To: > Sent: Monday, October 01, 2001 10:24 PM > Subject: Re: VAJAntTool > > > > Probably the VAJAntTool is emulating the behaviour of the > > AntRunner (a JBuilder plugin). Ant seems to be moving towards > > a convention that targets with descriptions are 'public' and > > others are internal targets which chould not typically be > > called from the command line. AntRunner, as of 0.8, allows you to > > display only targets with descriptions, which was a lifesaver > > for me because once my build file got reasonably large there > > were way too many targets in the dropdown. > > > > So I would say the VAJTool behaviour is a feature, but one > > that you should be able to disable. > > > > Jason Rogers wrote: > > > > > > It seems that the VAJAntTool does not recognize targets that are missing > > > descriptions. From the code, this is expected behavior. But, I wonder > why > > > this is so. It certainly doesn't suit our purpose (so I have changed > it), > > > but I wonder if in general it should be testing for the _name_ of the > > > target, if anything at all. Why does it do a test in the first place? > > > > > > The code in question (and I have verified it) is > > > VAJBuildInfo.updateTargetList()... > > > > > > [...] > > > if ( currentTarget.getDescription() != null ) { > > > String targetName = currentTarget.getName(); > > > int pos = findTargetPosition ( projectTargets, targetName ); > > > projectTargets.insertElementAt(targetName, pos); > > > } > > > [...] > > > > > > Thanks. > > > -Jason >