You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2008/10/08 17:35:44 UTC

[jira] Commented: (IBATIS-542) Ibator will not build from trunk with Ant > 1.6

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

Jeff Butler commented on IBATIS-542:
------------------------------------

I've had this frustration myself!  You've prompted me to get around to doing something about it.

I'm going to fix this a bit differently than you suggest.  I'll do the following:

1. Upgrade to Ant 1.7.1
2. Keep the Ant jars in \devlib - because Ant is required for the compile (ibator includes an Ant task)
3. Change the build process so that it always uses the Ant JARs in \devlib.

This should ensure that ibator builds successfully regardless of whether another version of Ant is already on your machine.  This is closer to the way iBATIS builds.

Sound good?


> 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.