Jump to content

[Solved] Accessing an external library


HoBoS_TaCo

Recommended Posts

I can set up my ILibrarySet far enough that it downloads the library but I can't seem to access it. I know I'm making a simple error somewhere but I can't quite put my finger on it. Could someone please tell me where I've gone wrong?

 

 


public class CoreLibrarySet implements ILibrarySet
{
    private static String[] libraries = { "xstream-1.4.4.jar"};
    private static String[] checksums = { "488e9e4a47afc81d2b2dec3c3eb3a4d0f10fe105" };


    @Override
    public String[] getLibraries()
    {
        return libraries;
    }


    @Override
    public String[] getHashes()
    {
        return checksums;
    }


    @Override
    public String getRootURL()
    {
        return "https://nexus.codehaus.org/content/repositories/releases/com/thoughtworks/xstream/xstream/1.4.4/%s";
    }
}

 

 

Edit: Nevermind, I seemed to have solved it somehow.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.