Build fails on Windows if dictionaryFile is given
-------------------------------------------------
Key: MOJO-1718
URL: https://jira.codehaus.org/browse/MOJO-1718
Project: Mojo
Issue Type: Bug
Components: osxappbundle
Environment: Windows XP SP3
Reporter: Trevor Harmon
A POM using osxappbundle 1.0-alpha-2 fails to build on Windows if it specifies
a custom dictionaryFile. This is due to a bug in Velocity 1.4's
org.apache.velocity.runtime.resource.loader.FileResourceLoader, which strips
out the leading forward slash of the path. This action fails to account for
Windows-style path names such as "C:\foo\Info.plist" and prevents the
Info.plist from being read.
The behavior of FileResourceLoader in Velocity 1.5 (and above) was changed
slightly, such that this bug does not occur in these versions. Therefore,
fixing the problem in osxappbundle is simply a matter of changing the version
dependencies to the latest versions:
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-velocity</artifactId>
<version>1.1.8</version>
</dependency>
<dependency>
<groupId>velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.5</version>
</dependency>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email