h5bp / ant-build-script

Ant build script intended for use with HTML5 Boilerplate. You may find something useful here, but this project is archived.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net/sf/antcontrib/antlib.xml. It could not be found.

lazukars opened this issue · comments

I'm getting the error below when running ant build.

Buildfile: /www/test/proto/ant-build-script/build.xml
[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

Is this file supposed to go into a certain directory: net/sf/antcontrib/antlib.xml

ant can't find you ant-contib.jar. Did you change the location of anything in the project?

Nah, haven't touched anything. Where is it supposed to be?

Yeah, it's definitely in there. Any other ideas?

what did you customize? That's a good place to start.

I haven't customized anything. I've literally cloned the ant-build-script repo into my sites folder. Here are some some specs that may help.

Folder setup: www/myproject/ant-build-script/ ant build is being run from this directory as well
OS: Ubuntu
Java Version:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

ant-contrib is also installed. Past versions of the build script worked fine on my system.

Any help is greatly appreciated.

I'm at work now, but I'll test on Ubuntu when I get home.

I appreciate the help. Look forward to seeing what you find.

Any luck with testing it on Ubuntu?

Setting the name of the build directory is now exposed in ``project.properties` https://github.com/h5bp/ant-build-script/blob/master/config/project.properties#L115