HOME - Recent Changes - Search:

Academic Work


Personal

* pot de départ


dblp


(:twitter:)

-----

[ edit | logout ]
[ help | sandbox | passwd ]

Ant problem

#############################

In June everything worked fine. Two months later I came back and updated my Ubuntu machine. Ant doesn't work anymore. Great! What's wrong?

Error message

$ ant compile
Buildfile: /home/jabba/eclipse.2010.etp/etp-0.7/themes2/etp-theme/build.xml
  [taskdef] Could not load definitions from resource ise/antelope/tasks/antlib.xml. It could not be found.

BUILD FAILED
/home/jabba/eclipse.2010.etp/etp-0.7/themes2/etp-theme/build.xml:4: The following error occurred while executing this line:
/home/jabba/eclipse.2010.etp/etp-0.7/themes2/build-common-theme.xml:6: The following error occurred while executing this line:
/home/jabba/eclipse.2010.etp/etp-0.7/build-common-plugin.xml:38: Problem: failed to create task or type antlib:ise.antelope.tasks:stringutil
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration. 
Action: Check that the implementing library exists in one of:
        -/usr/share/ant/lib
        -/home/jabba/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 0 seconds

Solution

I added two JAR files to the CLASSPATH

  • ~/.ant/lib/ant-contrib.jar (can be found in the Ubuntu repository)
  • ~/.ant/lib/antelope_app.jar (downloaded from http://antelope.tigris.org/)

Now it works :)

Cloud City


anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows


Blogs and Dev.

* Ubuntu Incident
* Python Adventures
* me @ GitHub


Places

Debrecen | France | Hungary | Montreal | Nancy


Notes

full circle | km


Hobby Projects

* Jabba's Codes
* PmWiki
* Firefox
* PHP
* JavaScript
* Scriptorium
* Tutorials
* me @ GitHub


Quick Links


[ edit ]

View - Edit - History - Attach - Print *** Report - Recent Changes - Search
Page last modified on 2010 September 13, 23:23