New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lazukars opened this Issue Nov 26, 2012 · 10 comments

Comments

Projects
None yet
2 participants
@lazukars

lazukars commented Nov 26, 2012

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

@roblarsen

This comment has been minimized.

Member

roblarsen commented Nov 26, 2012

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

@lazukars

This comment has been minimized.

lazukars commented Nov 26, 2012

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

@lazukars

This comment has been minimized.

lazukars commented Nov 26, 2012

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

@roblarsen

This comment has been minimized.

Member

roblarsen commented Nov 27, 2012

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

@lazukars

This comment has been minimized.

lazukars commented Nov 27, 2012

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.

@roblarsen

This comment has been minimized.

Member

roblarsen commented Nov 27, 2012

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

@lazukars

This comment has been minimized.

lazukars commented Nov 27, 2012

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

@lazukars

This comment has been minimized.

lazukars commented Dec 3, 2012

Any luck with testing it on Ubuntu?

@roblarsen

This comment has been minimized.

Member

roblarsen commented Jan 8, 2013

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

@roblarsen roblarsen closed this Jan 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment