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


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

setting classpath relative to source folder

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!n16g2000prc.googlegroups.com!not-for-mail
From harryos <oswald.harry@gmail.com>
Newsgroups comp.lang.java.programmer
Subject setting classpath relative to source folder
Date Wed, 9 Feb 2011 08:25:36 -0800 (PST)
Organization http://groups.google.com
Lines 16
Message-ID <ec9536ee-183e-4755-b03e-4209a659623b@n16g2000prc.googlegroups.com> (permalink)
NNTP-Posting-Host 115.99.77.71
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1297268737 29656 127.0.0.1 (9 Feb 2011 16:25:37 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 9 Feb 2011 16:25:37 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info n16g2000prc.googlegroups.com; posting-host=115.99.77.71; posting-account=qIh4oQoAAAAd1w7VT2vI0fkPdGQ-w2gN
User-Agent G2/1.0
X-HTTP-UserAgent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13,gzip(gfe)
Xref csiph.com comp.lang.java.programmer:25921

Show key headers only | 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