ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-542) Ibator will not build from trunk with Ant > 1.6
Date Wed, 08 Oct 2008 21:45:44 GMT

    [ https://issues.apache.org/jira/browse/IBATIS-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638104#action_12638104

Jeff Butler commented on IBATIS-542:

I've got it working in my environment now.  The basic idea is that you use the Ant Java launcher
- NOT the supplied scripts that come with Ant.

The Ant manual has a section about running Ant from Java - that's what I used.

You can look at the ant.bat file from the iBATIS build for the basic idea - but that uses
an older method to launch Ant.

> Ibator will not build from trunk with Ant > 1.6
> -----------------------------------------------
>                 Key: IBATIS-542
>                 URL: https://issues.apache.org/jira/browse/IBATIS-542
>             Project: iBatis for Java
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.3.4
>         Environment: Windows XP SP3
> Ant 1.7.1
>            Reporter: Dan Turkenkopf
>         Attachments: ant_version.patch
> Ibator includes an ant.jar in the /core/devlib directory that is directly referenced
by the build.xml file.
> This ant.jar is version 1.6, which causes conflicts when ANT_HOME is version 1.7 or 1.7.1.
(cannot find the method Resources.dieOnCircularReference).
> I've attached a patch that loads the ant.jar from ANT_HOME/lib instead of /core/devlib.
> Also, the ant.jar should be removed from /core/devlib so as to avoid any possible conflicts
or warnings.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message