You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Bram de Kruijff (JIRA)" <ji...@apache.org> on 2013/05/28 09:42:21 UTC
[jira] [Closed] (ACE-338) DeploymentPackageTask throws exception on
Windows
[ https://issues.apache.org/jira/browse/ACE-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bram de Kruijff closed ACE-338.
-------------------------------
Assignee: (was: Angelo van der Sijpt)
> DeploymentPackageTask throws exception on Windows
> -------------------------------------------------
>
> Key: ACE-338
> URL: https://issues.apache.org/jira/browse/ACE-338
> Project: ACE
> Issue Type: Bug
> Components: Build
> Affects Versions: 0.8.1-incubator
> Environment: windows
> Reporter: Peter Doornbosch
> Fix For: 1.0.0
>
> Attachments: DeploymentPackageTask.patch
>
>
> Running the DeploymentPackageTask on Windows leads to the this weird error: "Error building deployment package: C" ....?
> This is caused by a file URL that is constructed in a platform dependent way that does not work in windows. The "C" in the message comes from the root cause: UnknownHostException ;-).
> The platform independent way is to use File.toURI().toURL(). I attached a patch (tested on windows and osx).
> This patch also includes a warning when no files were selected, which, in cases no files are found, is a lot more usefull than logging the files that are found ;-) (especially for newbies)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira