The last ant in Fedora 14 is 1.7, but I need ant 1.8

So, I am running the Android SDK on my Fedora 14 PC . Until yesterday, everything worked for me - Ant 1.7 , Eclipse 3.6.1 (Helios) , and I did not create my Android applications without problems.

Then I went into eclipse and installed the updates. Now I am launching a new Android SDK and it requires a later version of Ant (1.8). The latest version of ant available in Fedora 14 is Ant 1.7 . I do not see a way to return to the old SDK.

So, as far as I can tell, I need to remove Ant 1.7 , and then manually install Ant 1.8 (and all the dependencies that go with it, see below).

If I just reinstalled everything, I would be there too, because the Android SDK will still require Ant 1.8 , and Fedora will only offer Ant 1.7 .

Has anyone else encountered or solved this problem? Any advice?

The snippet below shows the output of the yum remove command, which displays all the ant dependencies that I would have to manually install:

===============================================================================
 Package                  Arch        Version              Repository     Size
===============================================================================
Removing:
 ant                      i686        1.7.1-13.fc13        @fedora       5.4 M
Removing for dependencies:
 ant-antlr                i686        1.7.1-13.fc13        @fedora        34 k
 ant-apache-bcel          i686        1.7.1-13.fc13        @fedora        34 k
 ant-apache-bsf           i686        1.7.1-13.fc13        @fedora        23 k
 ant-apache-log4j         i686        1.7.1-13.fc13        @fedora        18 k
 ant-apache-oro           i686        1.7.1-13.fc13        @fedora       169 k
 ant-apache-regexp        i686        1.7.1-13.fc13        @fedora        19 k
 ant-apache-resolver      i686        1.7.1-13.fc13        @fedora        20 k
 ant-commons-logging      i686        1.7.1-13.fc13        @fedora        23 k
 ant-commons-net          i686        1.7.1-13.fc13        @fedora       196 k
 ant-javamail             i686        1.7.1-13.fc13        @fedora        33 k
 ant-jdepend              i686        1.7.1-13.fc13        @fedora        72 k
 ant-jsch                 i686        1.7.1-13.fc13        @fedora       124 k
 ant-junit                i686        1.7.1-13.fc13        @fedora       387 k
 ant-nodeps               i686        1.7.1-13.fc13        @fedora       1.6 M
 ant-swing                i686        1.7.1-13.fc13        @fedora        35 k
 ant-trax                 i686        1.7.1-13.fc13        @fedora        95 k
 eclipse-jdt              i686        1:3.6.1-4.fc14       @updates       25 M
 eclipse-pde              i686        1:3.6.1-4.fc14       @updates       90 M
 eclipse-platform         i686        1:3.6.1-4.fc14       @updates       34 M
 jetty                    noarch      6.1.24-1.fc14        @fedora       2.7 M

Transaction Summary
===============================================================================
Remove       21 Package(s)

Error trying to compile with ant:

build.xml:121: The Android Ant-based build system requires Ant 1.8.0 or later. Current version is 1.7.1

Eclipse is in a "hosed" state

An internal error occurred during: "Refreshing external folders".
java.lang.NullPointerException
java.lang.NullPointerException at org.eclipse.jdt.internal.core.ExternalFoldersManager$RefreshJob.run(ExternalFoldersManager.java:387)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
+5
4

ant ant rpm
​​ yum.
- :
 $ wget -r -A.rpm k -nc -l1 -e robots = off http://kojipkgs.fedoraproject.org/packages/ant/1.8.2/3.fc15/noarch/
 $ su -c 'yum --nogpgcheck install $( kojipkgs.fedoraproject.org/-name "*.rpm" )'

+7

Fedora 14 rawhide repos / ant yum. .

+1

, Ant Home... Eclipse → Window → Preferences → Ant → Runtime Ant 1.8.

0

Android APK Ant 1.8.2, , Eclipse. main_rules.xml Android SDK, Proguard . Windows, Linux, Ant .

, , Eclipse. :

1) , Eclipse Ant , 1.8. Android build.xml( Eclipse), , Ant.

2) AndroidSDK/tools/lib/antasks.jar Eclipse/Preferences/ Ant/Runtime. Ant Eclipse , , . . , Ant , build.xml. , , build.xmls, build.properties, build.xml .

0

All Articles