Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6863195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:45:11+00:00 2026-05-27T02:45:11+00:00

I want to include a jar file ( ant-contrib.jar ) in my ant build.xml

  • 0

I want to include a jar file (ant-contrib.jar) in my ant build.xml from within a zip.
How can i do that without unzipping the zip file.
I have tried to use the jarURLConnect.

<property url="jar:file:/D:/testing.zip!/testing/ant-contrib.jar" />

But this gives me a

java.lang.IllegalArgumentException: Malformed \uxxxx encoding.

There is no error if I replace “ant-contrib.jar” with a “test.properties” file.

Can anybody please help..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:45:11+00:00Added an answer on May 27, 2026 at 2:45 am

    The property tag is for including properties, which would be in a property file. A jar file isn’t a property file. The property docs are pretty clear.

    You need to unzip the file in order to add it to a classpath, and then actually add it to a classpath: see the path-like structures documentation. It’s not just a property, though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run Junit test from my ant build.xml file. I read here
I want to include enterprise.jar file of salesforce in my project at build time
I have an external JAR signpost-core-1.2.1.1.jar (from http://code.google.com/p/oauth-signpost/ ), that I want to include
I am having issues integrating junit with a working ant build.xml file. My test
Let's say I have a file-system that looks a little something like this: C:\stuff\build.xml
I want include the Type name of each object in my collection from my
I want to include a php file in a div box whenever one generated
I want to include a folder in a setup project so that when I
I have a codebase that I want to produce several deliverable jar files, each
I want to automatically deploy a EAR file build in our continuous integration server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.