Results 1 to 17 of 17
  1. #1
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Cool [SOLVED] Attaching/Including extra package

    Hi all,

    I have a question here.

    I want to use a package named "org.tmatesoft.svn.core.*" to use in one of my project. What is the correct way to do it.

    I'm try to ziped in to src package of the Java installation package(as I've done before) and use it. But it not work. Any idea?

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Question is a bit confusing..
    The package u specified is out of your project and want to use it, is it?
    To finish sooner, take your own time....
    Nivedithaaaa

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  4. #4
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Is "org.tmatesoft.svn.core.*" a standard API if so u can directly import it or if its user created i dont think we can use it by importing it.

    Cant u jar "org.tmatesoft.svn.core.*" and then use it in your project?
    To finish sooner, take your own time....
    Nivedithaaaa

  5. #5
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    If u r using NetBeans then check this link
    Java Tips - Accessing files outside the project

    I am not sure to what extent it can help u.
    To finish sooner, take your own time....
    Nivedithaaaa

  6. #6
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    and if eclipse check this.
    Help - Eclipse SDK
    To finish sooner, take your own time....
    Nivedithaaaa

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by Niveditha View Post
    Is "org.tmatesoft.svn.core.*" a standard API if so u can directly import it or if its user created i dont think we can use it by importing it.

    Cant u jar "org.tmatesoft.svn.core.*" and then use it in your project?
    This is not a standard API, open source package. If you check the src.zip\org you can't see this. So, what I'm asking is in such a case how can I use this new package.

  8. #8
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    If its a zip file then u can add it to the classpath just like a jar(never implemented) check it out.
    If not then extract that zip, jar it and then add into classpath na...
    To finish sooner, take your own time....
    Nivedithaaaa

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  10. #10
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Eclipse supports adding of zip file in classpath
    To finish sooner, take your own time....
    Nivedithaaaa

  11. #11
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    then try downloading it from different link may be the link u downloaded from does not hav a proper version
    To finish sooner, take your own time....
    Nivedithaaaa

  12. #12
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  13. #13
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Can u tell me which is that jar i will try adding in my eclipse and check?
    To finish sooner, take your own time....
    Nivedithaaaa

  14. #14
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Ok, this is the link. I'm working on NetBeans. May be the way attaching in Eclipse can be differ than NetBeans. :) Anyway let me know what happened.

  15. #15
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    It's time mark this thread solved. I've solved it. My NetBeans bugging on me. I've fix it now. Thanks all spending on this thread. :)

  16. #16
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Oh i am eclipse lover never worked with netbeans before.. :(
    To finish sooner, take your own time....
    Nivedithaaaa

  17. #17
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. Attaching the Java documentation
    By Eranga in forum NetBeans
    Replies: 11
    Last Post: 08-09-2010, 04:17 AM
  2. [SOLVED] File I/O Extra Credit Assignment FTW!
    By Bascotie in forum New To Java
    Replies: 9
    Last Post: 06-10-2008, 08:20 AM
  3. Extra bracket
    By CrazyShells Slam in forum New To Java
    Replies: 5
    Last Post: 05-16-2008, 06:12 AM
  4. Including JAR in applications
    By bugger in forum New To Java
    Replies: 0
    Last Post: 01-11-2008, 09:36 AM
  5. Including HTML in a JLabel
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-27-2007, 09:56 AM

Posting Permissions

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