Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] error building grouper-UI 1.4.0 on CentOS 5.2 with ant 1.6.5

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] error building grouper-UI 1.4.0 on CentOS 5.2 with ant 1.6.5


Chronological Thread 
  • From: Scott Koranda <>
  • To: Chris Hyzer <>
  • Cc: Tom Zeller <>, "" <>
  • Subject: Re: [grouper-users] error building grouper-UI 1.4.0 on CentOS 5.2 with ant 1.6.5
  • Date: Tue, 6 Jan 2009 12:45:11 -0600

> Hi,
>
> Thanks to you and Tom. I did not see the Specsheet, only the
> prerequisites page at
>
> https://wiki.internet2.edu/confluence/display/GrouperWG/Prerequisites
>
> Unfortunately it is going to be difficult for me to get ant
> 1.7 deployed within my project for use when building the
> Grouper UI (the 1.4.0 Grouper API by the way appears to have built
> fine with 1.6.5).
>
> Is there some way for me to work around this issue without
> doing a custom deployment of ant 1.7?

I figured it out.

I modified build.xml by hand so that this target

<target name="-fix-grouper-home" if="replace.grouper.home">

executes the logic I want without the <if></if> clause and the
included/offending <matches>.

For the record, with this change the UI appears to build fine
with ant 1.6.5, at least when the target is 'dist'.

Thanks again,

Scott

>
> Sincerely,
>
> Scott
>
>
> > Yes, that is correct (I reproduced it to make sure it was not an
> > ant-contrib issue).
> >
> > I wish ant would say "The <matches> tag is not available in 1.6.5"
> > instead of the error about antcontrib.IfTask... oh well
> >
> > Thanks Tom!
> > Chris
> >
> > From:
> >
> >
> > [mailto:]
> > On Behalf Of Tom Zeller
> > Sent: Tuesday, January 06, 2009 1:15 PM
> > To: Scott Koranda
> > Cc:
> >
> > Subject: Re: [grouper-users] error building grouper-UI 1.4.0 on CentOS
> > 5.2 with ant 1.6.5
> >
> > For Grouper 1.4.0, ant 1.7.0 or later is required.
> >
> > https://wiki.internet2.edu/confluence/display/GrouperWG/Specsheet
> >
> > TomZ
> > On Tue, Jan 6, 2009 at 12:11 PM, Scott Koranda
> > <<mailto:>>
> > wrote:
> > Hi,
> >
> > I am attempting to build the Grouper UI from grouper-ui-1.4.0.tar.gz
> > on this platform:
> >
> > -sh-3.2$ cat /etc/issue
> > CentOS release 5.2 (Final)
> > Kernel \r on an \m
> >
> > -sh-3.2$ uname -a
> > Linux oregano.phys.uwm.edu<http://oregano.phys.uwm.edu> 2.6.18-xen #1 SMP
> > Fri May 18
> > 16:01:42 BST 2007 x86_64 x86_64 x86_64 GNU/Linux
> > -sh-3.2$ java -version
> > java version "1.6.0_0"
> > IcedTea6 1.3.1 (6b12-Fedora-EPEL-5) Runtime Environment (build
> > 1.6.0_0-b12)
> > OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)
> > -sh-3.2$ ant -version
> > Apache Ant version 1.6.5 compiled on January 6 2007
> >
> > I see the following error when using the 'dist' target:
> >
> > BUILD FAILED
> > /opt/grouper/grouper-ui-1.4.0/build.xml:110: The following
> > error occurred while executing this line:
> > /opt/grouper/grouper-ui-1.4.0/build.xml:546: The following
> > error occurred while executing this line:
> > /opt/grouper/grouper-ui-1.4.0/build.xml:201: The following
> > error occurred while executing this line:
> > /opt/grouper/grouper-ui-1.4.0/build.xml:216: Class
> > net.sf.antcontrib.logic.IfTask doesn't support the nested
> > "matches" element.
> >
> > How can I work around this error?
> >
> > Thanks,
> >
> > Scott
> >



Archive powered by MHonArc 2.6.16.

Top of Page