RE: [xml] BUG+FIX: Win32 project files don't like paths with spaces in them



Hello,

The 'InputPath' variable, whose reference your patch puts in quotas,
contains a relative path, namely '.\libxml2.src.def'. This never
changes, no matter where you put the source. It is unclear to me where
the spaces should come from.

The Project files in the CVS are generated by Visual Studio, threy are
never created manually. There is no point in patching these.

Ciao
Igor

-----Original Message-----
From: Hydra [mailto:hydra hydras-world com] 
Sent: 06 March 2002 00:50
To: xml gnome org
Subject: [xml] BUG+FIX: Win32 project files don't like paths with spaces
in them


Oops, acidentally missed one and created a reversed diff, ignore the
previous mail.

Win32 project files don't like paths with spaces in them, e.g. When
building
a project from a path like: "c:\documents and settings\me\source\my
project\" errors are generated.

To fix this, apply the following diff, and change other project files
which
might also have this problem.

The file, libxml2\win32\dsp\libxml2.dsp needs to be updated like this:

--- libxml2.dsp.orig Mon Mar  4 18:18:12 2002
+++ libxml2.dsp Tue Mar  5 23:42:31 2002
@@ -158,8 +158,8 @@
 # Begin Custom Build
 InputPath=.\libxml2.def.src

-"libxml2.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- cl /I"..\.." /I"..\..\include" /nologo /EP $(InputPath) > libxml2.def
+"libxml2.def" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"
+ cl /I"..\.." /I"..\..\include" /nologo /EP "$(InputPath)" >
libxml2.def

 # End Custom Build

@@ -170,8 +170,8 @@
 # Begin Custom Build
 InputPath=.\libxml2.def.src

-"libxml2.def" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- cl /I"..\.." /I"..\..\include" /nologo /EP $(InputPath) > libxml2.def
+"libxml2.def" : "$(SOURCE)" "$(INTDIR)" "$(OUTDIR)"
+ cl /I"..\.." /I"..\..\include" /nologo /EP "$(InputPath)" >
libxml2.def

 # End Custom Build


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]