delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 29 Sep 2006 15:48:02 +0200 |
From: | Thomas Porschberg <thomas DOT porschberg AT osp-dd DOT de> |
To: | cygwin AT cygwin DOT com |
Cc: | mailing-cygwin AT schoenhaber DOT de |
Subject: | Re: Xalan and path problem |
Message-ID: | <20060929154802.6a12cd7b@porschberg.osp-dd.de> |
In-Reply-To: | <200609291541.48111.mailing-cygwin@schoenhaber.de> |
References: | <20060929134317 DOT 445dfb40 AT porschberg DOT osp-dd DOT de> <200609291541 DOT 48111 DOT mailing-cygwin AT schoenhaber DOT de> |
X-Mailer: | Sylpheed-Claws 2.1.0 (GTK+ 2.8.3; i686-suse-linux-gnu) |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k8TDmF5R012586 |
Am Fri, 29 Sep 2006 15:41:47 +0200 schrieb Markus Schönhaber <mailing-cygwin AT schoenhaber DOT de>: > Thomas Porschberg wrote: > > we use Xalan on our UNIX/LINUX machines and I want now to the same > > on Cygwin. I installed Xerces+Xalan(the windows binaries). > > > > In our UNIX scripts the call to Xalan is: > > > > Xalan -o $RESULTFILE $XMLFILE $XSLFILE > > > > where $RESULTFILE, $XMLFILE and $XSLFILE are specified as > > UNIX-paths. > > > > That doesn't work under Cygwin I had to write: > > > > Xalan -o `cygpath -w $RESULTFILE` ... > > > > Of course I could now write > > if $cywin ; then > > Xalan -o `cygpath -w $RESULTFILE` ... > > else > > Xalan -o $RESULTFILE $XMLFILE $XSLFILE > > fi > > > > but I don't want change the script. > > > > Is there another way to solve the problem ? > > You could create a script that cygpath-ifies the parameters and > passes them to a call to the actual Xalan executable, name that > script "Xalan" and put it somewhere into the PATH where it gets > called instead of the actual Xalan binary. > Yes, nice idea and so it should be possible to let the origin code unchanged. But if I could achieve to compile Xalan on Cygwin, would the final application then UNIX-path aware ? Thomas -- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |