Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] Why cant ant find the ant-contrib library?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
KWhat
l33t
l33t
User avatar
Posts: 673
Joined: Sun Sep 04, 2005 4:49 pm
Location: Los Angeles

[Solved] Why cant ant find the ant-contrib library?

  • Quote

Post by KWhat » Mon Oct 24, 2011 6:09 pm

Can someone explain why ant on gentoo cannot find the ant-contrib library? I have the lib installed via portage and i have a static copy that shipped with jquery-ui. The build xml came directly from jquery-ui and already includes the correct taskdef:

Code: Select all

	<taskdef resource="net/sf/antcontrib/antcontrib.properties">
		<classpath>
			<pathelement location="build/ant-contrib-0.6.jar"/>
		</classpath>
	</taskdef>
I have tired pointing it to the absolute path of the included ant-contrib.jar as well as /usr/share/ant-contrib/lib/ant-contrib.jar I have tired disabling class paths, setting them to the location of the jar, tried disabling user libs. STILL: "failed to create task or type for" on the For loop task. This is really freaking annoying and ONLY happens on Gentoo.
Last edited by KWhat on Tue Oct 25, 2011 10:10 pm, edited 1 time in total.
Top
sera
Retired Dev
Retired Dev
Posts: 1017
Joined: Fri Feb 29, 2008 3:03 pm
Location: CET

  • Quote

Post by sera » Tue Oct 25, 2011 6:27 am

Use resource="net/sf/antcontrib/antlib.xml" instead.

net/sf/antcontrib/antcontrib.properties is the pre ant-1.6 stuff.
There is a for task in there as well but its definition is commented out.
Top
KWhat
l33t
l33t
User avatar
Posts: 673
Joined: Sun Sep 04, 2005 4:49 pm
Location: Los Angeles

  • Quote

Post by KWhat » Tue Oct 25, 2011 10:09 pm

Totally Worked, Thanks!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic