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

  • SEARCH
  • Home
  • 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 6670677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:17:49+00:00 2026-05-26T03:17:49+00:00

I am using merge list in my android project and up until now I

  • 0

I am using merge list in my android project and up until now I have just been shoving the source into my src root with the rest of my code. However I’m not modifying anything so I figured it was time to include this stuff as libraries. I clone the first repo and:

$ ant
Buildfile: /Users/user/dev/projects/cwac-sacklist/build.xml

BUILD FAILED
/Users/user/dev/projects/cwac-sacklist/build.xml:49: taskdef class com.android.ant.SetupTask cannot be found
 using the classloader AntClassLoader[]

Total time: 0 seconds

It looks like this ant script is looking for some stuff created by the “android” tool.. but I don’t see any docs.. but I see the missing prop sdk.dir.. so I create that in local.properties.. but then I get:

/Users/user/dev/libs/android-sdk-mac_x86/tools/ant/lib_rules.xml:126: Reference android.libraries.src not found.

What is the right way to go about packaging this stuff so I can shove it in my local maven repo? Or better yet, where can I find it pre-packaged or in an existing maven repo?

UPDATE – 2014-07-08

It looks like commonsware now has all this stuff in a proper repo:

from: https://github.com/commonsguy/cwac-sacklist

repositories {
    maven {
        url "https://repo.commonsware.com.s3.amazonaws.com"
    }
}

dependencies {
    compile 'com.commonsware.cwac:sacklist:1.0.0'
}
  • 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-26T03:17:50+00:00Added an answer on May 26, 2026 at 3:17 am

    Your first error is a standard one, caused by a discrepancy between the build files in the repo and your version of the build tools. Simply run:

    android update project -p ...

    where ... is the path to the project in question, to update the build files.

    Your second error is solved by adding the following lines to build.xml, just after the <setup/> tag:

    <path id="android.libraries.src"><path refid="project.libraries.src" /></path>
    <path id="android.libraries.jars"><path refid="project.libraries.jars" /></path>
    

    You will see those lines in the MergeAdapter edition of build.xml, though they apparently are not in the SackOfViewsAdapter build.xml file, as I have not touched that project in some time.

    Or better yet, where can I find it pre-packaged or in an existing maven repo?

    If there is one, it’s unofficial, as I am not a Maven user.

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

Sidebar

Related Questions

I've got 2 LINQ-to-SQL lists and I merge them into 1 list using: var
I have a list of List<KeyvaluePair<DateTime, int>> , which I want to merge into
Our project has been using Git for a week or so now, and we're
Is it possible to merge elements using XSLT. If I have the following XML
I am using cat *.txt to merge multiple txt files into one, but I
I'm trying to merge two docx-documents into one docx-document using OpenXML SDK 2.0. The
I'm using classic ASP in my project. I want to merge two XMLs together.
I am trying to merge two list in parallel. I have two sorted lists
I want to merge sorted lists into a single list. How is this solution?
I want to merge many PDF files into one using PDFBox and this is

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.