Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-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 7CB0C18E1C for ; Tue, 16 Jun 2015 17:27:11 +0000 (UTC) Received: (qmail 66462 invoked by uid 500); 16 Jun 2015 17:27:10 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 66428 invoked by uid 500); 16 Jun 2015 17:27:10 -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 66410 invoked by uid 99); 16 Jun 2015 17:27:10 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2015 17:27:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D13C8182829 for ; Tue, 16 Jun 2015 17:27:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[FREEMAIL_REPLY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 10QlvZkdppkX for ; Tue, 16 Jun 2015 17:27:00 +0000 (UTC) Received: from DUB004-OMC4S16.hotmail.com (dub004-omc4s16.hotmail.com [157.55.2.91]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id CC39C24CEA for ; Tue, 16 Jun 2015 17:26:59 +0000 (UTC) Received: from DUB118-W21 ([157.55.2.71]) by DUB004-OMC4S16.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 16 Jun 2015 10:26:32 -0700 X-TMN: [JMew8j9E8/wtiP5H1e46XYPnMg5ivbr7] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?iso-8859-1?B?RnLpZOlyaWMgVEhPTUFT?= To: "dev@flex.apache.org" Subject: RE: [FlexJS] Intellij integration Date: Tue, 16 Jun 2015 18:26:31 +0100 Importance: Normal In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Jun 2015 17:26:32.0524 (UTC) FILETIME=[968EC8C0:01D0A859] Hi=2C=0A= =0A= I checked in the intellij-config.xml=2C it should be available in the next = nightly=2C thanks @Alex for having taken care of the other missing files :-= )=0A= =0A= Thanks also @Mike for having re-posted the how-to.=0A= =0A= Here is what remains to do for the user when it wants to configure a projec= t for FlexJS in IntelliJ and some more precisions on unclear / not mentione= d parts:=0A= =0A= This is based on the assumption project / module(s) are already defined wit= h their build configuration(s)=0A= =0A= In IntelliJ=2C Project structure / Modules / your module / its build config= uration / dependencies:=0A= =0A= 1- set the Flex/AIR SDK to the =0A= 2- Add a global libraries pointing to =2C unticking everyth= ing not in the frameworks folder.=0A= =0A= In IntelliJ=2C Project structure / Modules / your module / its build config= uration / compiler options / Project Defaults:=0A= =0A= 1- Remove the en_US locale=0A= 2- add as "Default options for project"=2C -load-config+=3D\= ide\IDEA\intellij-config.xml=0A= =0A= In IntelliJ=2C Project structure / Modules / your module / its build config= uration / compiler options / Additional compiler options:=0A= =0A= add=2C as needed a -js-output-type (eg. -js-output-type=3DFLEXJS_DUAL) or l= et it empty if you want to produce only swf / swc and nt js files.=0A= =0A= You should now be able to build and debug swf and js=0A= =0A= Note: If you want to test JS.swc and manipulate the HTML DOM with ActionScr= ipt=2C you may want to:=0A= =0A= 1- Change the type of your build configuration to "Pure actionscript" only = if you untick "Prefer ActionScript compiler 2.0 for pure ActionScript build= configuration" in settings / ActionScript & Flex Compiler=0A= 2- Add in you module / build configuration / dependencies the \js\libs\temp\externals\bin\JS.swc and set its linkage type as external= =0A= =0A= =0A= Fr=E9d=E9ric THOMAS=0A= =0A= =0A= ----------------------------------------=0A= > Date: Tue=2C 16 Jun 2015 05:53:17 -0400=0A= > Subject: [FlexJS] Intellij integration=0A= > From: teotigraphixllc@gmail.com=0A= > To: dev@flex.apache.org=0A= >=0A= > Hi=2C=0A= >=0A= > For those trying to get FlexJS nightly working with IJ=2C Fred posted the= se=0A= > steps=2C I think Alex is working on getting files copied in builds coming= up.=0A= >=0A= > Note=3B I had to copy mx-manifest.xml over into the flexjs frameworks to.= =0A= >=0A= > Mike=0A= >=0A= > So=2C from there=2C fdb.jar is missing as well as the=0A= > ide\IDEA\intellij-config.xml=2C the content is here=0A= > https://gist.github.com/doublefx/5a2c20704fcc102428c6=2C is missing as we= ll=2C=0A= > the mxml-2009-manifest.xml=0A= >=0A= > 1- Copy the content of https://gist.github.com/doublefx/5a2c20704fcc10242= 8c6=0A= > into \ide\IDEA\intellij-config.xml=0A= > 2- Copy the \frameworks\mxml-2009-manifest.xml to Nightly>\frameworks\mxml-2009-manifest.xml=0A= > 3- To be able to debug=2C build the falcon/debugger "ant debugger"=2C cop= y the=0A= > freshly built \compiler\generated\dist\sdk\lib\fdb.jar to Nightly>\lib=0A= >=0A= > In IntelliJ=2C Project structure / Modules / your module / its build=0A= > configuration / dependencies:=0A= >=0A= > 1- set the Flex/AIR SDK to the =0A= > 2- Add a global libraries pointing to =2C unticking=0A= > everything not in the frameworks folder.=0A= >=0A= > In IntelliJ=2C Project structure / Modules / your module / its build=0A= > configuration / compiler options / Project Defaults:=0A= >=0A= > 1- Remove the en_US locale=0A= > 2- add as "Default options for project"=2C -load-config+=3D Nightly>\ide\IDEA\intellij-config.xml=0A= >=0A= > In IntelliJ=2C Project structure / Modules / your module / its build=0A= > configuration / compiler options:=0A= >=0A= > add=2C as needed a -js-output-type (eg. -js-output-type=3DFLEXJS_DUAL)=0A= >=0A= > You should now be able to build and debug swf and js=0A= =