Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Andrew DeFaria
On 5/18/2012 8:11 AM, Marilo wrote: The java aspect looks like a red herring as not relevant to the problem. You want to run a *nix shell script and presumably don't want to write your own bat file doing the same job. I'm probably missing something but given that there's cygwin, and it's a *nu

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 11:50 AM, Marilo wrote: > > Still use /cygdrive/c in the shell script. > It is possible but the OP stated that he mounted the directory to /ABC/XYZ. > I wasn't suggesting using /cygdrive/c in his java program.  His java program > is not so much a cygwin issue, as his shel

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Marilo
--- On Fri, 18/5/12, Earnie Boyd wrote: > From: Earnie Boyd > Subject: Re: Making Unix like paths work when using java program from Cygwin > Date: Friday, 18 May, 2012, 16:15 > On Fri, May 18, 2012 at 11:11 AM, > Marilo wrote: > > The java aspect looks like a red herring

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 11:11 AM, Marilo wrote: > The java aspect looks like a red herring as not relevant to the problem. > > You want to run a *nix shell script and presumably don't want to write your > own bat file doing the same job. > > I'm probably missing something but given that there's cy

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Marilo
t about just editing the script for your computer, amending the paths in the script, with a find and replace, so /ABC/XYZ is replaced with /cygdrive/c/ABC/XYZ and running the script in cygwin. --- On Fri, 18/5/12, Earnie Boyd wrote: > From: Earnie Boyd > Subject: Re: Making Unix like

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 9:22 AM, Csaba Raduly wrote: > On Fri, May 18, 2012 at 1:51 PM, Earnie Boyd  wrote: >> On Fri, May 18, 2012 at 4:56 AM, himoundary wrote: >>> >>> I am working in a team where everyone else has a Linux/Mac OS X workstation, >>> but I have a windows workstation. Our project us

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Csaba Raduly
On Fri, May 18, 2012 at 1:51 PM, Earnie Boyd wrote: > On Fri, May 18, 2012 at 4:56 AM, himoundary wrote: >> >> I am working in a team where everyone else has a Linux/Mac OS X workstation, >> but I have a windows workstation. Our project uses a shell script and a java >> program to automate some de

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Earnie Boyd
On Fri, May 18, 2012 at 4:56 AM, himoundary wrote: > > I am working in a team where everyone else has a Linux/Mac OS X workstation, > but I have a windows workstation. Our project uses a shell script and a java > program to automate some deployment/setup etc, which needs to create some > directorie

Re: Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread Filipp Gunbin
> Is there a way to get the equivalent of the "native" javac and java > programs one would find on a typical Linux workstation. If not, can I > accomplish what I want using the gcc java compiler gjc? Even if you compile with gjc, you still need the virtual machine, which is as far as I know not av

Making Unix like paths work when using java program from Cygwin

2012-05-18 Thread himoundary
an I accomplish what I want using the gcc java compiler gjc? (Note: I am a relative newbie to Linux, and a complete newbie to Cygwin... my apologies :) -- View this message in context: http://old.nabble.com/Making-Unix-like-paths-work-when-using-java-program-from-Cygwin-tp33869106p33869106.html