Changeset 304

Show
Ignore:
Timestamp:
03/09/2007 02:57:16 PM
Author:
toby
Message:

* Have Expat parser look for an "encodings" directory regardless of whether running via .exe or .pl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/script/build-vss2svn.perlapp

    r303 r304  
    66Add: XML::SAX::Expat 
    77Add: integer 
    8 Bind: big5.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\big5.enc,extract,mode=666] 
    9 Bind: euc-kr.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\euc-kr.enc,extract,mode=666] 
    10 Bind: ibm866.enc[file=encodings\ibm866.enc,extract,mode=666] 
    11 Bind: iso-8859-2.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-2.enc,extract,mode=666] 
    12 Bind: iso-8859-3.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-3.enc,extract,mode=666] 
    13 Bind: iso-8859-4.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-4.enc,extract,mode=666] 
    14 Bind: iso-8859-5.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-5.enc,extract,mode=666] 
    15 Bind: iso-8859-7.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-7.enc,extract,mode=666] 
    16 Bind: iso-8859-8.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-8.enc,extract,mode=666] 
    17 Bind: iso-8859-9.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-9.enc,extract,mode=666] 
    18 Bind: koi8-r.enc[file=encodings\koi8-r.enc,extract,mode=666] 
     8Bind: encodings/big5.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\big5.enc,extract,mode=666] 
     9Bind: encodings/euc-kr.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\euc-kr.enc,extract,mode=666] 
     10Bind: encodings/ibm866.enc[file=encodings\ibm866.enc,extract,mode=666] 
     11Bind: encodings/iso-8859-2.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-2.enc,extract,mode=666] 
     12Bind: encodings/iso-8859-3.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-3.enc,extract,mode=666] 
     13Bind: encodings/iso-8859-4.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-4.enc,extract,mode=666] 
     14Bind: encodings/iso-8859-5.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-5.enc,extract,mode=666] 
     15Bind: encodings/iso-8859-7.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-7.enc,extract,mode=666] 
     16Bind: encodings/iso-8859-8.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-8.enc,extract,mode=666] 
     17Bind: encodings/iso-8859-9.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\iso-8859-9.enc,extract,mode=666] 
     18Bind: encodings/koi8-r.enc[file=encodings\koi8-r.enc,extract,mode=666] 
    1919Bind: SAX/ParserDetails.ini[file=C:\Perl\site\lib\XML\SAX\ParserDetails.ini,extract,mode=666] 
    20 Bind: windows-1250.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\windows-1250.enc,extract,mode=666] 
    21 Bind: windows-1251.enc[file=encodings\windows-1251.enc,extract,mode=666] 
    22 Bind: windows-1252.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\windows-1252.enc,extract,mode=666] 
    23 Bind: windows-1253.enc[file=encodings\windows-1253.enc,extract,mode=666] 
    24 Bind: x-euc-jp-jisx0221.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-euc-jp-jisx0221.enc,extract,mode=666] 
    25 Bind: x-euc-jp-unicode.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-euc-jp-unicode.enc,extract,mode=666] 
    26 Bind: x-sjis-cp932.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-cp932.enc,extract,mode=666] 
    27 Bind: x-sjis-jdk117.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-jdk117.enc,extract,mode=666] 
    28 Bind: x-sjis-jisx0221.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-jisx0221.enc,extract,mode=666] 
    29 Bind: x-sjis-unicode.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-unicode.enc,extract,mode=666] 
     20Bind: encodings/windows-1250.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\windows-1250.enc,extract,mode=666] 
     21Bind: encodings/windows-1251.enc[file=encodings\windows-1251.enc,extract,mode=666] 
     22Bind: encodings/windows-1252.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\windows-1252.enc,extract,mode=666] 
     23Bind: encodings/windows-1253.enc[file=encodings\windows-1253.enc,extract,mode=666] 
     24Bind: encodings/x-euc-jp-jisx0221.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-euc-jp-jisx0221.enc,extract,mode=666] 
     25Bind: encodings/x-euc-jp-unicode.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-euc-jp-unicode.enc,extract,mode=666] 
     26Bind: encodings/x-sjis-cp932.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-cp932.enc,extract,mode=666] 
     27Bind: encodings/x-sjis-jdk117.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-jdk117.enc,extract,mode=666] 
     28Bind: encodings/x-sjis-jisx0221.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-jisx0221.enc,extract,mode=666] 
     29Bind: encodings/x-sjis-unicode.enc[file=C:\Perl\site\lib\XML\Parser\Encodings\x-sjis-unicode.enc,extract,mode=666] 
    3030Clean: 0 
    3131Date: 2006-04-27 23:13:54 
  • trunk/script/vss2svn.pl

    r303 r304  
    16851685        # for exe version, XML::Parser::Expat needs help finding its encmaps 
    16861686        no warnings 'once'; 
    1687         push(@XML::Parser::Expat::Encoding_Path, @INC); 
     1687 
     1688        my $encdir; 
     1689        foreach my $dir (@INC) { 
     1690            $encdir = "$dir/encodings"; 
     1691            $encdir =~ s:\\:/:g; 
     1692            $encdir =~ s://:/:g; 
     1693            if(-d $encdir) { 
     1694                print "Adding '$encdir' to encodings file path\n"; 
     1695                push(@XML::Parser::Expat::Encoding_Path, $encdir); 
     1696            } 
     1697        } 
     1698 
    16881699        return 1; 
    16891700    } 

These ads are automatically generated by Google based on the content of this page. Revenue from these ads helps to pay for hosting fees of this site; however, these ads do not constitute an endorsement by PumaCode.org.