Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BD28A200CA3 for ; Thu, 1 Jun 2017 14:04:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BBE49160BC4; Thu, 1 Jun 2017 12:04:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A23A160BB5 for ; Thu, 1 Jun 2017 14:04:09 +0200 (CEST) Received: (qmail 71494 invoked by uid 500); 1 Jun 2017 12:04:09 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 71482 invoked by uid 99); 1 Jun 2017 12:04:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 12:04:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 805421AFB17 for ; Thu, 1 Jun 2017 12:04:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SVsaSH9sA1D3 for ; Thu, 1 Jun 2017 12:04:04 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 33A535FB84 for ; Thu, 1 Jun 2017 12:04:04 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id 7EA014669998A for ; Thu, 1 Jun 2017 05:04:03 -0700 (MST) Date: Thu, 1 Jun 2017 04:49:17 -0700 (PDT) From: sankar To: dev@flex.apache.org Message-ID: <1496317757242-61991.post@n4.nabble.com> Subject: [FlexJS] Why FlexJS compiler statically looks for 'src' folder MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 01 Jun 2017 12:04:10 -0000 Hello, I'm using current release branch 0.8.0 FlexJS SDK. I noticed running FlexJS project compilation always produce me 'bin' folder to somewhere unexpected when I have source folder named anything but 'src'. I have my project's source folder in project root named "*srcx*" and contains on FlexJS application file. I tried to run following command in my project root: set FLEX_HOME=E:\out\apache-flex-flexjs-0.8.0-bin&& E:\out\apache-flex-flexjs-0.8.0-bin\js\bin\mxmlc.bat -load-config+=obj/OldFlexJSBrowserProjectConfig.xml -optimize=false -compiler.targets=JSFLEX (Here's the config file: https://kobra.io/#/e/-KlYWM07_bjF8CDhUgF6) If I ran the above command I noticed the 'bin' folder always produces inside the 'srcx' folder - not in the root project directory where I ran the command. Furthermore, if I have my application file resides anywhere in more deep sub-folder, and run the command in project root, it's anyway produce the 'bin' folder in 'srcx'! If I modify the folder name from "srcx" to "*src*" (and also does requisite changes in the config file above), FlexJS compiler produce the 'bin' folder now correctly in project root! It seems like compiler statically checks for 'src' folder existence and therefore (if exists) produce the 'bin' folder to it's parent. This may not right when a situation when source folder named something other than 'src' (like in my case) and the compiler produce the 'bin' folder and I was keep thinking where is the 'bin' folder by just searching into the project root! Thanks! -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Why-FlexJS-compiler-statically-looks-for-src-folder-tp61991.html Sent from the Apache Flex Development mailing list archive at Nabble.com.