Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5B711859A for ; Fri, 30 Oct 2015 15:25:22 +0000 (UTC) Received: (qmail 45809 invoked by uid 500); 30 Oct 2015 15:24:48 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 45761 invoked by uid 500); 30 Oct 2015 15:24:48 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 45748 invoked by uid 99); 30 Oct 2015 15:24:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 15:24:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B94BDDFC3B; Fri, 30 Oct 2015 15:24:47 +0000 (UTC) From: rafaelweingartner To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request: Use java.io.tmpdir instead of hardcoded /... Content-Type: text/plain Message-Id: <20151030152447.B94BDDFC3B@git1-us-west.apache.org> Date: Fri, 30 Oct 2015 15:24:47 +0000 (UTC) Github user rafaelweingartner commented on the pull request: https://github.com/apache/cloudstack/pull/1012#issuecomment-152555222 Tested and that is not working on Windows. I remember having fixed that into a PR that @DaanHoogland submitted @wido, to fix the problem for windows you have to: 1. In file “LocalTemplateDownloaderTest.java” change the line 34 to String url = new File("pom.xml").toURI().toURL().toString(); 2. In file “LocalTemplateDownloader.java” change the line 41 to String filename = new File(downloadUrl).getName(); That is all. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---