ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs" <>
Subject Errors from nested ant invocations being ignored
Date Wed, 10 Dec 2008 16:56:21 GMT
I just filed a couple of bugs relating to the nested ant invocations used by
Ivy's new packager resolver. Basically, errors in the nested ant invocation
are being ignored by the outer ant invocation. I'm not exactly sure if this
is an ivy problem or an ant problem (I suspect the former) and am looking
for advice in how to fix it.

Does this problem ring a bell with anyone?

Here is a synopsis of how we do the invocation:

        // Execute the Ant build file
        Project project = new Project();
        project.setUserProperty("ant.file" , new File(dir,
        ProjectHelper.configureProject(project, new File(dir, "build.xml"));


        // Execute task
        Message.verbose("performing packager resolver build in " +
        try {
            this.built = true;
        } catch (BuildException e) {
            Message.verbose("packager resolver build failed: " + e);
            throw e;

I'm hoping some ant experts (which I am not) can spot the problem. The
relevant class containing that code is


Archie L. Cobbs

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