I would invert that check to test for *.xml.template.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -----Original Message-----
> From: mikemcc...@apache.org [mailto:mikemcc...@apache.org]
> Sent: Saturday, September 22, 2012 7:04 PM
> To: comm...@lucene.apache.org
> Subject: svn commit: r1388844 - /lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py
> 
> Author: mikemccand
> Date: Sat Sep 22 17:04:14 2012
> New Revision: 1388844
> 
> URL: http://svn.apache.org/viewvc?rev=1388844&view=rev
> Log:
> hack: skip .properties from POM checking; really we need to figure out why
> .properties is in POMtemplates[project] to begin with...
> 
> Modified:
>     lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py
> 
> Modified: lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py?rev=1388844&r1=1388843&r2=1388844&vi
> ew=diff
> ================================================================
> ==============
> --- lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py (original)
> +++ lucene/dev/branches/lucene_solr_4_0/dev-
> tools/scripts/smokeTestRelease.py Sat Sep 22 17:04:14 2012
> @@ -982,6 +982,8 @@ def verifyArtifactPerPOMtemplate(POMtemp
>    xpathSkipConfiguration = '{0}configuration/{0}skip'.format(namespace)
>    for project in ('lucene', 'solr'):
>      for POMtemplate in POMtemplates[project]:
> +      if POMtemplate.endswith('.properties'):
> +        continue
>        print('      Checking POM template %s' % POMtemplate)
>        treeRoot = ET.parse(POMtemplate).getroot()
>        skipDeploy = False



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to