ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: How to run a target without ANTCALL?
Date Thu, 17 Jan 2002 15:15:25 GMT

     This is my first post to this list so I do appologize if I don't do it
exactly right.

     Here is the code that I wrote for a do task.

 * Author: Vladimir Berezniker
package com.volchoksoft.ant;


public class DoTask extends Task {
    private String _target = null;

    public String getTarget() {
        return _target;

    public void setTarget(String target) {
        this._target = target;

    public void execute() throws BuildException {

Vladimir Berezniker

Alan Pearson <> on 01/16/2002 02:39:32 PM

Please respond to "Ant Users List" <>

To:   "''" <>

Subject:  RE: How to run a target without ANTCALL?

Hello, Mark,
     I'm trying to write a build.xml file that has several
targets invoked by antcall (which themselves have depends),
and am running into the same issue which you described.  Your
<do> task sounds like a very nice solution.  I wonder if
you would be inclined to share the code with the ANT users
community.  It would be quite helpful to me and I'm sure
many others.


     Alan Pearson
     Software Design Engineer
     Paramark, Inc.  (


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message