ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: how to call an Ant task
Date Thu, 24 Apr 2008 02:04:18 GMT
Are you asking how to invoke generate-Metro-jaxws from command line?

ant generate-Metro-jaxws

Will do it...

Or are you wanting it to be invoked from another target? Or something else?


ilango_g wrote:
> Hi
> I have a build.xml that has the following:
>
> <target name="generate-Metro-jaxws">
>       <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
>          <classpath refid="metro.classpath"/>
>       </taskdef>
>       <wsimport destdir="build/classes" 
>          sourcedestdir="src" wsdl="etc/${wsdl.file}"/>
>    </target> 
>
> I need to call the "generate-Metro-jaxws task (or should I say, target) to
> generate some Java classes.
>
> I would be grateful for any suggestions.
>
> thanks
> Ilango
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message