Changeset 10691

Show
Ignore:
Timestamp:
12/10/10 12:34:55 (2 years ago)
Author:
p_lindheimer
Message:

Merged revisions 10690 via svnmerge from
http://svn.freepbx.org/modules/branches/2.9

........

r10690 | p_lindheimer | 2010-12-10 09:31:57 -0800 (Fri, 10 Dec 2010) | 1 line


update publish.pl to do a sanity check on the module.xml systax and add check_xml.php function to do that check using the exact xml parser used by FreePBX

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8

    • Property svnmerge-integrated changed from /modules/branches/2.7:1-9074,9105,10001,10196,10253,10264,10295,10355,10399-10422,10424-10426,10428-10430,10432-10433,10436-10458,10628 /modules/branches/2.9:1-10122,10411-10428,10430-10440,10442-10444,10447,10449-10451,10453-10510,10512-10526,10529-10533,10536-10539,10542-10543,10545-10549,10556-10564,10572-10576,10578-10581,10597-10599,10602,10605,10607,10611 to /modules/branches/2.7:1-9074,9105,10001,10196,10253,10264,10295,10355,10399-10422,10424-10426,10428-10430,10432-10433,10436-10458,10628 /modules/branches/2.9:1-10122,10411-10428,10430-10440,10442-10444,10447,10449-10451,10453-10510,10512-10526,10529-10533,10536-10539,10542-10543,10545-10549,10556-10564,10572-10576,10578-10581,10597-10599,10602,10605,10607,10611,10690
  • modules/branches/2.8/publish.pl

    r10006 r10691  
    3030while ($moddir = shift @ARGV) { 
    3131  next if (!-d $moddir); 
     32  # Check the XML integrity using the FreePBX XML parser 
     33  if (system("./check_xml.php $moddir")) { 
     34    die "Fatal syntax error with $moddir module.xml file, aborting\n"; 
     35  } 
    3236  if ($moddir =~ /$framework/) { 
    3337