Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C78D1E921 for ; Fri, 22 Feb 2013 19:56:12 +0000 (UTC) Received: (qmail 23366 invoked by uid 500); 22 Feb 2013 19:56:12 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 23346 invoked by uid 500); 22 Feb 2013 19:56:12 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 23337 invoked by uid 99); 22 Feb 2013 19:56:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 19:56:12 +0000 Date: Fri, 22 Feb 2013 19:56:12 +0000 (UTC) From: "Svetoslav Marinov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-2529) Create script fails on Windows at last step: .....phonegap-2.4.0\lib\android\bin\create.js(31, 5) Microsof t JScript runtime error: Path not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Svetoslav Marinov created CB-2529: ------------------------------------- Summary: Create script fails on Windows at last step: .....phonegap-2.4.0\lib\android\bin\create.js(31, 5) Microsof t JScript runtime error: Path not found Key: CB-2529 URL: https://issues.apache.org/jira/browse/CB-2529 Project: Apache Cordova Issue Type: Bug Affects Versions: 2.4.0 Environment: Windows 8 64bit Reporter: Svetoslav Marinov Priority: Blocker C:\Users\User\Downloads\phonegap-2.4.0\lib\android\bin>create \Users\User\worksp ace\LearnBGDaily com.orbisius.mobile.learnbgdaily LearnBGDaily Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Creating new android project... Copying template files... Copying js, jar & config.xml files... Copying cordova command tools... Updating AndroidManifest.xml and Main Activity... C:\Users\User\Downloads\phonegap-2.4.0\lib\android\bin\create.js(31, 5) Microsof t JScript runtime error: Path not found Here is the fix Add the following fix lines after line 158 of create.js. That's right after: var PACKAGE_AS_PATH=PACKAGE.replace(/\./g, '\\'); -------------------- fix ---------------------- var ACTIVITY_DIR=PROJECT_PATH + '\\src\\' + PACKAGE_AS_PATH; exec('%comspec% /c mkdir ' + ACTIVITY_DIR); -------------------- /fix ---------------------- Credit: http://groups.google.com/group/phonegap/tree/browse_frm/month/2013-01/8958eef075e72a73?rnum=131&lnk=ol&pli=1 -- 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