[jira] [Commented] (THRIFT-731) configure doesn't check for ant >= 1.7
[ https://issues.apache.org/jira/browse/THRIFT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039356#comment-13039356 ] Hudson commented on THRIFT-731: --- Integrated in Thrift #148 (See [https://builds.apache.org/hudson/job/Thrift/148/]) Thrift-731: configure doesn't check for ant >= 1.7 Client: java, build process Patch: Harlan Lieberman-Berg, Jake Farrell Adds a configure check to verify that the current version of ant is >= 1.7 otherwise sets WITH_JAVA to no. > configure doesn't check for ant >= 1.7 > -- > > Key: THRIFT-731 > URL: https://issues.apache.org/jira/browse/THRIFT-731 > Project: Thrift > Issue Type: Bug > Components: Java - Compiler >Reporter: Henry Robinson >Assignee: Jake Farrell >Priority: Minor > Fix For: 0.7 > > Attachments: Thrift-731.patch, ant.diff, configure.diff > > > ./configure on a machine with ant 1.6 successfully runs, even though it's > required for the Java build step - otherwise you get > BUILD FAILED > /home/henry/thrift-0.2.0/lib/java/build.xml:86: Class > org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested > "typefound" element. > Upgrading to ant 1.7.1 fixed the build failure, but would be nice if > configure gave a clue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-731) configure doesn't check for ant >= 1.7
[ https://issues.apache.org/jira/browse/THRIFT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038580#comment-13038580 ] Jake Farrell commented on THRIFT-731: - Sriranjan, Nevo: you can specify which ant, java and javac to use by passing the following to the configure script ./configure ANT=/path/to/bin/ant JAVAC=/path/to/bin/javac JAVA=/path/to/bin/java > configure doesn't check for ant >= 1.7 > -- > > Key: THRIFT-731 > URL: https://issues.apache.org/jira/browse/THRIFT-731 > Project: Thrift > Issue Type: Bug > Components: Java - Compiler >Reporter: Henry Robinson >Assignee: Harlan Lieberman-Berg >Priority: Minor > Fix For: 0.7 > > Attachments: ant.diff, configure.diff > > > ./configure on a machine with ant 1.6 successfully runs, even though it's > required for the Java build step - otherwise you get > BUILD FAILED > /home/henry/thrift-0.2.0/lib/java/build.xml:86: Class > org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested > "typefound" element. > Upgrading to ant 1.7.1 fixed the build failure, but would be nice if > configure gave a clue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-731) configure doesn't check for ant >= 1.7
[ https://issues.apache.org/jira/browse/THRIFT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026158#comment-13026158 ] Sriranjan Manjunath commented on THRIFT-731: I second Nevo's comment. Please provide a way to pass the ant home to make. > configure doesn't check for ant >= 1.7 > -- > > Key: THRIFT-731 > URL: https://issues.apache.org/jira/browse/THRIFT-731 > Project: Thrift > Issue Type: Bug > Components: Java - Compiler >Reporter: Henry Robinson >Assignee: Harlan Lieberman-Berg >Priority: Minor > Fix For: 0.7 > > Attachments: ant.diff, configure.diff > > > ./configure on a machine with ant 1.6 successfully runs, even though it's > required for the Java build step - otherwise you get > BUILD FAILED > /home/henry/thrift-0.2.0/lib/java/build.xml:86: Class > org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested > "typefound" element. > Upgrading to ant 1.7.1 fixed the build failure, but would be nice if > configure gave a clue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (THRIFT-731) configure doesn't check for ant >= 1.7
[ https://issues.apache.org/jira/browse/THRIFT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997203#comment-12997203 ] Nevo Hed commented on THRIFT-731: - I also installed a new ant (1.8.2) without removing an older one. I also have multiple Java environments. My ANT_HOME & JAVA_HOME variables seem to be set correctly through /etc/profile.d/java.sh (and marked for export) I tested these both logged in as myself and as root (su -l). but my problem was when running 'sudo make install'. The 'sudo' manual taked about the '-E' option to preserve the environment, but I would assume that this would not be a desirable option to use While I know my way around make, but not so much with ant or java, I was wondering if you could comment if the following is a reasonable alternative $ sudo make JAVA_HOME=$JAVA_HOME ANT_HOME=$ANT_HOME install (explicitly passing the 2 variables to make) > configure doesn't check for ant >= 1.7 > -- > > Key: THRIFT-731 > URL: https://issues.apache.org/jira/browse/THRIFT-731 > Project: Thrift > Issue Type: Bug > Components: Java - Compiler >Reporter: Henry Robinson >Assignee: Harlan Lieberman-Berg >Priority: Minor > Fix For: 0.7 > > Attachments: ant.diff, configure.diff > > > ./configure on a machine with ant 1.6 successfully runs, even though it's > required for the Java build step - otherwise you get > BUILD FAILED > /home/henry/thrift-0.2.0/lib/java/build.xml:86: Class > org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested > "typefound" element. > Upgrading to ant 1.7.1 fixed the build failure, but would be nice if > configure gave a clue. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (THRIFT-731) configure doesn't check for ant >= 1.7
[ https://issues.apache.org/jira/browse/THRIFT-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975040#action_12975040 ] thinker0 commented on THRIFT-731: - hi. env path.. export ANT_HOME=/usr/program/apache-ant-1.8.1 > configure doesn't check for ant >= 1.7 > -- > > Key: THRIFT-731 > URL: https://issues.apache.org/jira/browse/THRIFT-731 > Project: Thrift > Issue Type: Bug > Components: Java - Compiler >Reporter: Henry Robinson >Assignee: Harlan Lieberman-Berg >Priority: Minor > Fix For: 0.6 > > Attachments: ant.diff, configure.diff > > > ./configure on a machine with ant 1.6 successfully runs, even though it's > required for the Java build step - otherwise you get > BUILD FAILED > /home/henry/thrift-0.2.0/lib/java/build.xml:86: Class > org.apache.tools.ant.taskdefs.ConditionTask doesn't support the nested > "typefound" element. > Upgrading to ant 1.7.1 fixed the build failure, but would be nice if > configure gave a clue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.