How to add external jar...through URL..using .classpath??

Posted by Rahul on Stack Overflow See other posts from Stack Overflow or by Rahul
Published on 2010-04-16T07:06:32Z Indexed on 2010/04/16 7:23 UTC
Read the original article Hit count: 286

Filed under:

**In any javaProject in eclipse there we always get .classpath file...like

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry path="ABC/junit" kind="src"/>
    <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
    <classpathentry path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4" kind="con"/>
    <classpathentry path="targets" kind="output"/>
</classpath>

Here when we import any external jar it is giving path of that jar in classpathentry...i want that classpathentry should be from any URL which will provide that external jar...can anyone plz tell me how to do that..actually i want to add external jar automatically from URL(any) when user will import that project in eclipse..i don't want user will manually add external jars..i want to make change .classpath accordingly. Or anyother way to do this automatically. Please help me...Waiting for reply.**

© Stack Overflow or respective owner

Related posts about eclipse