Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25921

setting classpath relative to source folder

From harryos <oswald.harry@gmail.com>
Newsgroups comp.lang.java.programmer
Subject setting classpath relative to source folder
Date 2011-02-09 08:25 -0800
Organization http://groups.google.com
Message-ID <ec9536ee-183e-4755-b03e-4209a659623b@n16g2000prc.googlegroups.com> (permalink)

Show all headers | View raw


hi,
I have a java project which I configured in eclipse (helios).it has a
src folder containing the java packages of my code.I want to share
this to others using subversion..However when I checked the
src/.classpath file ,I find that the required jars which I have put in
a lib directory are represented by their absolute paths.

<classpathentry kind="lib" path="/home/me/dev/java/mycode_ver2/lib/
required.jar"/>

This makes it difficult for another person to import my project.I wish
I could represent these jars by relative paths .Do I need to manually
edit the .classpath file to do this?Or is there another way?

thanks
harry

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

setting classpath relative to source folder harryos <oswald.harry@gmail.com> - 2011-02-09 08:25 -0800

csiph-web