ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Goktepe" <andrewgokt...@gmail.com>
Subject Re: how to call Ant targets/tasks from command line or Eclipse
Date Sun, 11 May 2008 18:53:33 GMT
Ilango,

>From command line you just pass in the target name as an argument:

ant generate-Metro-jaxws
http://ant.apache.org/manual/running.html

For Eclipse you can either launch the target by right-clicking the target on
the right side of the Ant editor, or you can create a launch configuration
that calls the target.
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.user/gettingStarted/qs-81_basics.htm

-Andrew

On Sun, May 11, 2008 at 10:18 AM, ilango_g <ilangocal@yahoo.com> wrote:

>
> Hi
> I have an build file with 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>
>
> How would I call this target to generate JAX-WS classes?
>
> thanks in advance
> ilango
> --
> View this message in context:
> http://www.nabble.com/how-to-call-Ant-targets-tasks-from-command-line-or-Eclipse-tp17170580p17170580.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message