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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >