|
|
Welcome to the Java Forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
- have access to post topics
- communicate privately with other members (PM)
- not see advertisements between posts
- have the possibility to earn one of our surprises if you are an active member
- access many other special features that will be introduced later.
Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|

06-30-2008, 10:08 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
|
[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?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-30-2008, 11:04 AM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
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
|
|

06-30-2008, 11:15 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
|
Yep, that's what I want to do. Any suggestions.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-30-2008, 11:58 AM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
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
|
|

06-30-2008, 12:00 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
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
|
|

06-30-2008, 12:05 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
and if eclipse check this.
Help - Eclipse SDK
__________________
To finish sooner, take your own time....
Nivedithaaaa
|
|

06-30-2008, 12:13 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
Originally Posted by Niveditha
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-30-2008, 12:52 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
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
|
|

06-30-2008, 01:25 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
|
Yes, I have a jar file and added to the class path. But still no luck for me.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-30-2008, 01:34 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
Eclipse supports adding of zip file in classpath
__________________
To finish sooner, take your own time....
Nivedithaaaa
|
|

06-30-2008, 01:37 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
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
|
|

06-30-2008, 01:45 PM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
|
I'll try it out.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

06-30-2008, 01:48 PM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
|
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
|
|

07-01-2008, 04:13 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

07-01-2008, 10:35 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
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. 
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|

07-01-2008, 10:39 AM
|
 |
Senior Member
|
|
Join Date: May 2008
Posts: 299
|
|
Oh i am eclipse lover never worked with netbeans before.. 
__________________
To finish sooner, take your own time....
Nivedithaaaa
|
|

07-01-2008, 11:25 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 3,486
|
|
|
Any way, it's fine now Niveditha. Thanks for working on my thread.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|