X-Spam-Check-By: sourceware.org Date: Fri, 29 Sep 2006 15:45:53 +0200 From: Thomas Porschberg To: Jonathan Arnold Cc: cygwin AT cygwin DOT com Subject: Re: Xalan and path problem Message-ID: <20060929154553.0f8fb96c@porschberg.osp-dd.de> In-Reply-To: <451D1FDE.7000507@buddydog.org> References: <20060929134317 DOT 445dfb40 AT porschberg DOT osp-dd DOT de> <451D1FDE DOT 7000507 AT buddydog DOT org> X-Mailer: Sylpheed-Claws 2.1.0 (GTK+ 2.8.3; i686-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Am Fri, 29 Sep 2006 09:30:06 -0400 schrieb Jonathan Arnold : > Thomas Porschberg wrote: > > Hi, > > > > 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 ? > > Yeah - get Xalan to understand unix paths. No Windows app will > understand full cygwin paths, although most do understand the / as a > path separator. Maybe you can create a cygwin version Xalan (whatever > that is). > Yes I tried that(building a Cygwin version) but struggled over some make-errors. But could it work ? If I achieve to compile the Xalan sources under cygwin, then Xalan would be UNIX-Path aware, right ? 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/