ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: Setting up Ant to run in Kawa as a Customized command
Date Fri, 22 Jun 2001 16:06:03 GMT

Also, if you change 

-buildfile c:\blah\build.xml

to

-buildfile <File Path>

then you can right click any .xml file to invoke Ant on it.

Les

> -----Original Message-----
> From: ROBERT.WORTH@chase.com [mailto:ROBERT.WORTH@chase.com]
> Sent: 22 June 2001 11:55
> To: ant-user@jakarta.apache.org
> Subject: Re: Setting up Ant to run in Kawa as a Customized command
> 
> 
> 
> Robin wrote :
> 
> >Could someone tell me how to set it up in Kawa to run an
> >Ant build instead of having to go to the command prompt
> >in DOS each time and typing: ant -buildfile filename.xml
> >Thank you,   Robin
> 
> 1) Go to Customize, Commands
> 2) Hit "New" button
> 3) Put the following in the text boxes :
> 
> Menu Name :    Ant  (you can add an ampersand to be able to use the
> keyboard e.g. An%t gives you <alt> c, t from within kawa
> 
> Command :         e:\ant\bin\ant.bat   (or wherever your 
> ant.bat file is)
> 
> Arguments :          -buildfile q:\build\build.xml ?Enter 
> target?       (?s
> give a prompt so you an use different targets)
> 
> Startup directory:       e:\ant\bin          (your ANT_HOME\bin)
> 
> Input/output:    select Redirect output only to Output Window   (my
> preference)
> 
> 
> 4) Go to options tab
> 
> 5) check Add command to Customise or Plugin menu
> 6) check Add command to File Item right button menu......
> 7) check Add command to Project Item....
> 8) check Add command to right button menu in editor
> 
> 9)  hit close
> 10) go menu Customise, Ant  and enter your target.
> 
> Hope this helps,
> 
> Rob
> 
> 

Mime
View raw message