Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-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 AEA0911DE4 for ; Sun, 13 Jul 2014 20:18:51 +0000 (UTC) Received: (qmail 54159 invoked by uid 500); 13 Jul 2014 20:18:51 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 54120 invoked by uid 500); 13 Jul 2014 20:18:51 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 53424 invoked by uid 99); 13 Jul 2014 20:18:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2014 20:18:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of VVelda@seznam.cz designates 77.75.72.123 as permitted sender) Received: from [77.75.72.123] (HELO mxf1.eznam.cz) (77.75.72.123) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jul 2014 20:18:45 +0000 Received: from email.seznam.cz by email-smtpc6b.go.seznam.cz (email-smtpc6b.go.seznam.cz [192.168.92.43]) id 67e083f509183c2667636177; Sun, 13 Jul 2014 22:18:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seznam.cz; s=beta; t=1405282703; bh=hRjHIviVnyrqlPP0DSLGKRVLfC0CGEXuH0KZcMMZkr4=; h=Received:From:To:Subject:Date:Message-Id:Mime-Version:X-Mailer: Content-Type; b=gPnUhRX6iJIkMwREAMV1LiHOv2khuHSefdwRxko6CiSFXhktk7ZC2tqftnT21M6qL pyuL+S/Q+S2MwUlBx80ov6PMkyCapo1Mb2o86JSmvpTs0exbwLlQsQQbuaWUvOunaR 2J6NK5H4SiPll5o3QOSFQzBaY16z3bsSzvIVQxOY= Received: from bojkovice.freepoint.cz (bojkovice.freepoint.cz [80.251.242.115]) by email.seznam.cz (szn-ebox-4.4.200) with HTTP; Sun, 13 Jul 2014 22:18:23 +0200 (CEST) From: =?utf-8?q?Jan_Veleck=C3=BD?= To: Subject: One platform development vs. Cordova CLI Date: Sun, 13 Jul 2014 22:18:23 +0200 (CEST) Message-Id: Mime-Version: 1.0 (szn-mime-1.1.14) X-Mailer: szn-ebox-4.4.200 Content-Type: multipart/alternative; boundary="=_6f9442a27816782c39475c74=cda699a4-7fe7-5898-bdc9-e807f8ebfc8d_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_6f9442a27816782c39475c74=cda699a4-7fe7-5898-bdc9-e807f8ebfc8d_= Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, there is serious backlog when using CLI in case one platform development. In this case is better to change platform project config.xml instead of whole project config.xml. Problem is what prepare should do, and what prepare actually do. (And prepare is also run if we do build.) At this moment, prepare in CLI does clean & copy... Also prepare does it in different way in Android, than in iOS. On Android, config.xml and androidmanifest.xml is probably recreated (destroy previous formatting, what a feature...) and then probably add differences, so changes and new options are preserved, however nobody wanna read it... On iOS, config.xml is completely recreated, no any option is preserved... So, there are 2 questions... If is Android CLI too clever to do preserve changes created by user, why it ruins my formatting (new lines, maybe also tabulators)? Why is iOS CLI such a stupid? Why it is not able to do it like Android CLI (at least)? --=_6f9442a27816782c39475c74=cda699a4-7fe7-5898-bdc9-e807f8ebfc8d_=--