From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Cc: Dave Yost <Dave@Yost.com>, cygwin@cygwin.com
Subject: Re: cygpath
Date: Wed, 12 May 2004 19:30:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.56.0405121510360.26019@slinky.cs.nyu.edu> (raw)
In-Reply-To: <20040512162136.13663.qmail@web61104.mail.yahoo.com>
On Wed, 12 May 2004, Joshua Daniel Franklin wrote:
> --- Dave Yost wrote:
> [snip]
> > I have a small problem.
> >
> > I have a path ../foo:../bar
> >
> > When I use the --path argument, cygpath insists on converting the relative
> > paths into absolute paths. I wish it wouldn't do that. But I can understand
> > the need for backward compatibility, so could I request a --relative option?
>
> You might use a simple sed script to take out what you don't need.
Keeping relative paths might actually be useful functionality in cygpath.
<http://cygwin.com/acronyms/#PTC>.
> > Also:
> >
> > I have this nasty problem with the Sun 1.4.x JDK (fixed in 1.5.0-beta1). I
> > pass in a classpath argument like this:
> >
> > javac -classpath `cygpath -w /usr/local/jdk/lib/tools.jar` X.java
> >
> > Problem is, /usr/local/jdk is a cygwin symlink, and the java runtime
> > apparently can't follow symbolic links or shortcuts.
>
> I don't use Java with cygwin, so maybe someone else on the list will have
> some ideas for this issue.
Use mounts instead of symlinks. Alternatively, you can take the java
wrapper script I posted to this list some time ago[*], and modify it to
walk the classpath and resolve symlinks.
Igor
[*] <http://cygwin.com/ml/cygwin/2003-01/msg00174.html> or use the CVS
version at :pserver:anoncvs@sources.redhat.com:/cvs/cygwin-apps (directory
wrappers/java).
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2004-05-12 19:18 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <pdy988306100538bcc77a8d4986@[209.128.98.50]>
2004-05-12 16:32 ` cygpath Joshua Daniel Franklin
2004-05-12 17:58 ` cygpath Dave Korn
2004-05-12 19:00 ` cygpath Christopher Faylor
2004-05-12 19:30 ` Igor Pechtchanski [this message]
2017-02-10 19:07 cygpath Gluszczak, Glenn
2017-02-10 19:50 ` cygpath Andrey Repin
2017-02-10 20:04 ` cygpath Gluszczak, Glenn
2017-02-10 20:31 ` cygpath Gluszczak, Glenn
2017-02-10 20:42 ` cygpath Michael Enright
2017-02-10 20:47 ` cygpath Michael Enright
2017-02-10 20:52 ` cygpath Gluszczak, Glenn
2017-02-10 21:35 ` cygpath Andrey Repin
2017-02-10 21:47 ` cygpath Gluszczak, Glenn
2017-02-10 21:54 ` cygpath Michael Enright
2017-02-10 21:55 ` cygpath Michael Enright
2017-02-10 23:17 ` cygpath Eliot Moss
2017-02-10 23:50 ` cygpath Sam Edge
2017-02-11 0:05 ` cygpath Eliot Moss
2017-02-11 0:45 ` cygpath Sam Edge
2017-02-10 20:37 ` cygpath Michael Enright
2017-02-13 17:29 ` cygpath Nellis, Kenneth (Conduent)
2017-02-14 8:47 ` cygpath Corinna Vinschen
2017-02-15 14:41 ` cygpath Nellis, Kenneth (Conduent)
2017-02-15 15:29 ` cygpath Corinna Vinschen
2017-02-11 18:19 ` cygpath Brian Inglis
-- strict thread matches above, loose matches on Subject: below --
2011-03-02 14:10 cygpath Jim P
2011-03-02 14:16 ` cygpath Edward Lam
2011-03-02 14:19 ` cygpath Roger K. Wells
[not found] <19981114183901.22135.rocketmail@send104.yahoomail.com>
1998-11-17 12:51 ` cygpath Laurent Charles
1998-11-12 16:07 cygpath Earnie Boyd
1998-11-12 17:30 ` cygpath Rick Rankin
[not found] <36484B31.A6089DF.cygnus.gnu-win32@st.com>
1998-11-11 8:01 ` cygpath DJ Delorie
1998-11-11 4:22 cygpath Earnie Boyd
1998-11-12 3:32 ` cygpath Rick Rankin
1998-11-10 6:18 cygpath Laurent Charles
1998-11-12 3:32 ` cygpath Rick Rankin
1998-11-13 2:57 ` cygpath Laurent Charles
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.56.0405121510360.26019@slinky.cs.nyu.edu \
--to=pechtcha@cs.nyu.edu \
--cc=Dave@Yost.com \
--cc=cygwin@cygwin.com \
--cc=joshuadfranklin@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).