<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>49128</bug_id>
          
          <creation_ts>2004-04-26 23:22 0000</creation_ts>
          <short_desc>&lt;exec&gt; doesn&apos;t work in ant (missing antRun)</short_desc>
          <delta_ts>2004-06-12 10:56:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>webmaster@refstart.nl</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>webmaster@refstart.nl</who>
            <bug_when>2004-04-26 23:22:51 0000</bug_when>
            <thetext>I&apos;m using ant-1.6.1-r1.
When i try to add a &lt;exec&gt; tag to my build.xml I get this error:

BUILD FAILED
/home/.../build.xml:18: Execute failed: java.io.IOException: java.io.IOException: /usr/share/ant/bin/antRun: not found

The fix:
$ mkdir /usr/share/ant/bin
$ ln -sf /usr/bin/antRun /usr/share/ant/bin/antRun

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ar@nooneishere.co.uk</who>
            <bug_when>2004-05-01 07:21:05 0000</bug_when>
            <thetext>Created an attachment (id=30448)
Sample build.xml file

Can&apos;t verify this bug. Sample build.xml with &lt;exec&gt; works fine.
Suggest invalid.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2004-06-02 13:28:18 0000</bug_when>
            <thetext>I cannot seem to reproduce this bug. If it still persists, can you 
trim down your build.xml file and create a dummy project that can reproduce
it for me and attach it to this bug, then reopen it?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>webmaster@refstart.nl</who>
            <bug_when>2004-06-02 23:12:22 0000</bug_when>
            <thetext>First, sorry for the somewhat late reply and incomplete info in my first comment.
Second, I just discovered the bug only seems to occur when the vmlauncher attribute is set to false. I&apos;ll upload a test case.

Hope this helps, Niek.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>webmaster@refstart.nl</who>
            <bug_when>2004-06-02 23:12:53 0000</bug_when>
            <thetext>Created an attachment (id=32565)
Sample build.xml file
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>todd@tdegruyl.com</who>
            <bug_when>2004-06-12 09:18:48 0000</bug_when>
            <thetext>I also see this behavior.  This patch fixed it for me (using ant-1.6.1.ebuild since that&apos;s the latest one marked with ~ppc, but I think a similar approach should work for all of the ant ebuilds.)

*** /usr/portage/dev-java/ant/ant-1.6.1.ebuild  Sun May 16 14:49:02 2004
--- ant-1.6.1.ebuild    Sat Jun 12 11:50:12 2004
***************
*** 70,75 ****
--- 70,80 ----
                dobin ${S}/src/script/${each}
        done

+       dodir /usr/share/ant/bin
+       for each in antRun runant.pl runant.py complete-ant-cmd.pl; do
+               dosym /usr/bin/${each} /usr/share/ant/bin/${each}
+       done
+
        insinto /etc/env.d
        doins ${FILESDIR}/20ant
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2004-06-12 10:56:22 0000</bug_when>
            <thetext>Fixed. I should&apos;ve bumped the revision on this, but that&apos;s a bit tricky
because of the different platform keywords for 1.6.1 and 1.6.1-r1.

We should collate the two revisions in -r2 soon. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>30448</attachid>
            <date>2004-05-01 07:21 0000</date>
            <desc>Sample build.xml file</desc>
            <filename>build.xml</filename>
            <type>text/plain</type>
            <data encoding="base64">PHByb2plY3Q+Cgo8dGFyZ2V0IG5hbWU9ImV4ZWMiPgo8ZXhlYyBleGVjdXRhYmxlPSJlY2hvIj4K
CTxhcmcgbGluZT0iYmxhaCIgLz4KCQo8L2V4ZWM+CjwvdGFyZ2V0Pgo8L3Byb2plY3Q+Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>32565</attachid>
            <date>2004-06-02 23:12 0000</date>
            <desc>Sample build.xml file</desc>
            <filename>build.xml</filename>
            <type>text/xml</type>
            <data encoding="base64">PHByb2plY3QgbmFtZT0iVGVzdEV4ZWNCdWciIGRlZmF1bHQ9InRlc3RleGVjIj4KICAgPHRhcmdl
dCBuYW1lPSJ0ZXN0ZXhlYyI+CiAgICAgIDxleGVjIGV4ZWN1dGFibGU9ImVjaG8iIHZtbGF1bmNo
ZXI9ImZhbHNlIj4KCSA8YXJnIGxpbmU9IlRoaXMgaXMgYSB0ZXN0Ii8+CiAgICAgIDwvZXhlYz4K
ICAgPC90YXJnZXQ+CjwvcHJvamVjdD4K
</data>        

          </attachment>
    </bug>

</bugzilla>