Results 1 to 7 of 7
  1. #1
    malaguena is offline Member
    Join Date
    Mar 2011
    Posts
    24
    Rep Power
    0

    Default Importing a class folder

    Hello,

    It is regarding the limewire library of java.
    Previously I imported limewire folder via cvs in eclipse. I have got it as a class folder in my hard drive. Now, when I try to create a project from it (in another computer in which I only have the class folder of limewire, and not imported from cvs) it gives errors, thus I cannot even add it as a class folder to my project. I tried to import it from cvs, but the problem is that I don't remember what to put in the name, address information. (such as cvs.limewire.org) And I cannot search it on limewire's website either, because they seem to be under court and the website is closed.

    How can I add a class folder to my project which is downloaded before from cvs?

    P.S. The reason for needing the limewire is the patricia trie implementation. Any other library ideas will also be very helpful.

    Any help will be really appreciated.
    Thanks!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    SO what errors do you get?
    In Eclipse you can add a class directory to your list of libraries, IIRC.

  3. #3
    malaguena is offline Member
    Join Date
    Mar 2011
    Posts
    24
    Rep Power
    0

    Default

    Quote Originally Posted by Tolls View Post
    SO what errors do you get?
    In Eclipse you can add a class directory to your list of libraries, IIRC.
    It just shows a cross sign on the package hierarchy. I guess, it does not see the class directory although I added it to the project.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    Did you add it to your libraries?
    I think it's under Project-> Add Libraries (or something like that)...maybe Build Path. I've not got Eclipse here.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,783
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Tolls View Post
    Did you add it to your libraries?
    I think it's under Project-> Add Libraries (or something like that)...maybe Build Path. I've not got Eclipse here.
    I have an Eclipse installation in front of me: navigate to Projects>Properties>Java Build Path. You can either refer to another entire project or add a jar file to the current project (see the tabs and buttons on the right side of the dialog).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default

    I thought you could refer to a directory as well, for un-jarred class files?

    Or am I thinking of something other IDE?

  7. #7
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,783
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by Tolls View Post
    I thought you could refer to a directory as well, for un-jarred class files?

    Or am I thinking of something other IDE?
    Eclipse can do that too; one of those buttons on the right side allow you to import an 'external class folder'. You can turn your workspace into an entire mess if you want ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. importing claases from within folder!
    By Slimsheivy in forum New To Java
    Replies: 1
    Last Post: 07-30-2009, 09:42 AM
  2. importing class files
    By bizso in forum New To Java
    Replies: 6
    Last Post: 03-28-2009, 03:11 PM
  3. Importing custom class
    By BigRed in forum Eclipse
    Replies: 2
    Last Post: 02-14-2009, 03:12 PM
  4. how to use class in upper folder
    By osval in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 09:55 PM
  5. Importing a Custom Class
    By jfredrickson in forum New To Java
    Replies: 3
    Last Post: 07-11-2007, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •