Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4054

seam-gen war project cannot be built with ant 1.6.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.GA_CP08
    • 4.3.0.GA_CP08
    • Seam2
    • None

    Description

      Seam 2.0.2-FP requires ant 1.6.5, otherwise you get the warning
      "/tmp/seam-gen.27415/jboss-eap-4.3/seam2/build.xml:9: You are using Apache Ant version 1.7.0 compiled on December 13 2006. You must use Ant 1.6.5 to build Seam FP."

      However, the build.xml file used for war projects (build-war.xml) contains the following line

      <available property="groovy.present" value="true" file="" searchparents="true">

      in which the "searchparents" attribute is allowed since ant 1.7.0. As a result, you'll get

      /mnt/hudson_workspace/workspace/seam-gen-eap4.3FP/jdk/java16_default/label/vmg18-rhel5-x86_64/projects/seamGenTestAppRichWarE001/build.xml:51: The <available> type doesn't support the "searchparents" attribute.

      when using the build file with ant 1.6.5

      Attachments

        Activity

          People

            mnovotny@redhat.com Marek Novotny
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: