Author: brett
Date: Wed Jan 18 03:12:22 2012
New Revision: 1232736
URL: http://svn.apache.org/viewvc?rev=1232736&view=rev
Log:
make sure there are cultures to append, ensures IT007 passes
Modified:
incubator/npanday/trunk/plugins/wix-maven-plugin/src/main/java/npanday/plugin/wix/LightMojo.java
Modified:
incubator/npanday/trunk/plugins/wix-maven-plugin/src/main/java/npanday/plugin/wix/LightMojo.java
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/plugins/wix-maven-plugin/src/main/java/npanday/plugin/wix/LightMojo.java?rev=1232736&r1=1232735&r2=1232736&view=diff
==============================================================================
---
incubator/npanday/trunk/plugins/wix-maven-plugin/src/main/java/npanday/plugin/wix/LightMojo.java
(original)
+++
incubator/npanday/trunk/plugins/wix-maven-plugin/src/main/java/npanday/plugin/wix/LightMojo.java
Wed Jan 18 03:12:22 2012
@@ -117,7 +117,7 @@ public class LightMojo
arguments.add( outputDirectory.getAbsolutePath() + "\\" );
}
- if ( cultures != null )
+ if ( cultures != null && cultures.length > 0 )
{
String commaDelimitedCultures = StringUtils.join( cultures, "," );
arguments.add( "-cultures:" + commaDelimitedCultures );