You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David <da...@hackbinary.com> on 2011/03/28 18:17:37 UTC
ant-trax.jar not included in openjdk (on ubuntu)
Hello,
I just wanted to report a problem that I had when I was trying to build
Eclipse on Ubuntu 11.04:
and the build needed ant-trax.jar.
Ubuntu 11.04 ships with ant 1.8.1, which has had ant-trax.jar taken out:
from the WHATSNEW file
<snip>
Changes that could break older environments:
-------------------------------------------
* ant-trax.jar is no longer produced since TrAX is included in JDK 1.4+.
</snip>
The open OpenJDK which ships on Ubuntu does not ship with ant-trax.jar; I
did a full search of my /usr directory and nothing came up.
I downloaded ant 1.8.0, and copied ant-trax.jar manually into
/usr/share/java and my build now works. I'm not sure if it is a build or a
run time dependancy for Eclipse, but
Should this be something that ant should put back into its shipping
packages?
Thanks,
David
--
+-------------------------------------------------------------------------------------
David
I have no doubt that in reality the future will be vastly more surprising
than anything I can imagine. Now my own suspicion is that the Universe is
not only queerer than we suppose, but queerer than we can suppose.
- J.B.S. Haldane
+-------------------------------------------------------------------------------------
Re: ant-trax.jar not included in openjdk (on ubuntu)
Posted by Stefan Bodewig <bo...@apache.org>.
On 2011-03-28, David wrote:
> Hello,
> I just wanted to report a problem that I had when I was trying to build
> Eclipse on Ubuntu 11.04:
> and the build needed ant-trax.jar.
> Ubuntu 11.04 ships with ant 1.8.1, which has had ant-trax.jar taken out:
> from the WHATSNEW file
> <snip>
> Changes that could break older environments:
> -------------------------------------------
> * ant-trax.jar is no longer produced since TrAX is included in JDK 1.4+.
> </snip>
> The open OpenJDK which ships on Ubuntu does not ship with ant-trax.jar;
That's normal. The note says ant-trax.jar is removed because TrAX (not
ant-trax.jar) is included in ...
TraX is the javax.xml.transform package and friends. ant-trax.jar used
to contain classes of Ant that are dependent on TraX. Since Ant 1.8.x
requires Java 1.4+ and TraX is part of the Java 1.4+ API, the contents
of said file have been merged into ant-nodeps.jar.
I don't think the added or missing jar is your problem but rather that
you've hit bug
<https://issues.apache.org/bugzilla/show_bug.cgi?id=49712> or maybe
<https://issues.apache.org/bugzilla/show_bug.cgi?id=49271>.
Ant 1.8.2 should fix it in either case.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org