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 6CD3DC920 for ; Wed, 17 Dec 2014 17:18:42 +0000 (UTC) Received: (qmail 32185 invoked by uid 500); 17 Dec 2014 17:18:42 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 32149 invoked by uid 500); 17 Dec 2014 17:18:42 -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 32137 invoked by uid 99); 17 Dec 2014 17:18:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 17:18:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mihai.chira@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 17:18:16 +0000 Received: by mail-wi0-f176.google.com with SMTP id ex7so16513267wid.3 for ; Wed, 17 Dec 2014 09:18:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=WIUUBRNNOCCxQBTvLk1/PGdvgTzxVRnCSyizePVEQ2U=; b=I7vk0D2FLFTl3C6lgj9ujbakeIijFRksCiDNwpi4+4UJ60HT0/h1sUjh+QYTKkRiJt 8v5A2rtSf+nWmGWCR7uWinj+QL7xVxljSud/DddzureZxoqYJUnl+EOm5cxOHg6uDNdc /+0htmgnZtuaWv7347vNGHoi1GFLFRX/5FrpUe5QWQV6BbzS/rpn7IOQ+v6ZOmRkc5HJ D22/znbyydH8bW07HWaF5/ErshSBVotP5335YgOWmidLpARJvc3JTGE4p/O2xFrj/z+1 VAcHwGKDvJ6wnqj6Sm/wYd3N70h5uThbr95OaYHJLewl9T+n99FKM7ofj6l7L8TI+f4e 2hNA== X-Received: by 10.180.221.72 with SMTP id qc8mr16644932wic.19.1418836694610; Wed, 17 Dec 2014 09:18:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.15.130 with HTTP; Wed, 17 Dec 2014 09:17:54 -0800 (PST) In-Reply-To: References: <43e9ce404df3429daf102feb014fdd8e@git.apache.org> <153067b17ff94b8d9b5c49a1b85dcfca@git.apache.org> From: Mihai Chira Date: Wed, 17 Dec 2014 17:17:54 +0000 Message-ID: Subject: Re: [3/3] git commit: [flex-sdk] [refs/heads/release4.14.0] - Changed 'prepare SDK' section again To: "dev@flex.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I compiled blazeds separately (cd ../flex-blazeds & ant clean & ant main), and now it seems to be working. I'll let you know once it's done if I can compile an app. On 17 December 2014 at 16:52, Mihai Chira wrote: > I did a super-clean, and now the error changed: it failed when trying > to compile blazeds: > > compile: > [javac] c:\Users\evolverine\workspace\flex-blazeds\modules\common\bui= ld.xml:54: > warning: 'includeantruntime' was not set, defa > ulting to build.sysclasspath=3Dlast; set to false for repeatable builds > [javac] Compiling 47 source files to > c:\Users\evolverine\workspace\flex-blazeds\modules\common\classes > [javac] warning: [options] bootstrap class path not set in > conjunction with -source 1.4 > [javac] warning: [options] source value 1.4 is obsolete and will > be removed in a future release > [javac] warning: [options] target value 1.4 is obsolete and will > be removed in a future release > [javac] warning: [options] To suppress warnings about obsolete > options, use -Xlint:-options. > [javac] c:\Users\evolverine\workspace\flex-blazeds\modules\common\src= \flex\messaging\config\ApacheXPathClientConfigurationPars > er.java:19: error: package org.apache.xpath does not exist > [javac] import org.apache.xpath.CachedXPathAPI; > [javac] ^ > [javac] c:\Users\evolverine\workspace\flex-blazeds\modules\common\src= \flex\messaging\config\ApacheXPathClientConfigurationPars > er.java:37: error: cannot find symbol > [javac] private CachedXPathAPI xpath; > [javac] ^ > [javac] symbol: class CachedXPathAPI > [javac] location: class ApacheXPathClientConfigurationParser > [javac] c:\Users\evolverine\workspace\flex-blazeds\modules\common\src= \flex\messaging\config\ApacheXPathClientConfigurationPars > er.java:41: error: cannot find symbol > [javac] this.xpath =3D new CachedXPathAPI(); > [javac] ^ > [javac] symbol: class CachedXPathAPI > [javac] location: class ApacheXPathClientConfigurationParser > [javac] 3 errors > [javac] 4 warnings > > BUILD FAILED > c:\Users\evolverine\workspace\sdk\build.xml:411: The following error > occurred while executing this line: > c:\Users\evolverine\workspace\sdk\modules\build.xml:157: The following > error occurred while executing this line: > c:\Users\evolverine\workspace\sdk\modules\flex-messaging-common\build.xml= :86: > The following error occurred while executing this li > ne: > c:\Users\evolverine\workspace\flex-blazeds\build.xml:161: The > following error occurred while executing this line: > c:\Users\evolverine\workspace\flex-blazeds\modules\common\build.xml:54: > Compile failed; see the compiler error output for details. > > On 17 December 2014 at 16:28, Erik de Bruin wrote: >> Do a 'super-clean' instead of a clean, and make sure your workspace is >> up to date. The fix for the 'flex-tool-api' download is in there >> (https instead of http)... >> >> EdB >> >> >> >> On Wed, Dec 17, 2014 at 5:22 PM, Mihai Chira wro= te: >>> Running >>> >>> ant clean >>> ant main >>> >>> should work just fine, right? I'm on the release4.14.0 branch, but >>> when I run ant main I keep getting >>> >>> BUILD FAILED >>> c:\Users\evolverine\workspace\sdk\build.xml:411: The following error >>> occurred while executing this line: >>> c:\Users\evolverine\workspace\sdk\modules\build.xml:140: The following >>> error occurred while executing this line: >>> c:\Users\evolverine\workspace\sdk\modules\compiler\build.xml:171: >>> Warning: Could not find file c:\Users\evolverine\workspace\sdk\i >>> n\flex-tool-api.jar to copy. >>> >>> For some reason it doesn't download flex-tool-api.jar before trying to >>> copy it. I'll try on develop. >>> >>> On 17 December 2014 at 14:26, Mihai Chira wrote= : >>>> This looks great. I'll try it hopefully today. It also probably means >>>> we can delete those sh and bat files, which should simplify work with >>>> the SDK. >>>> >>>> On 17 December 2014 at 13:41, wrote: >>>>> Changed 'prepare SDK' section again >>>>> >>>>> After Mihai's effort, I looked into this some more. Turns out the eas= iest, cross platform and most up-to-date way to do this is using the same s= cript as the Installer. Since I can't find a way to change the FP/AIR versi= ons of an existing SDK that works on Windows, I made that a 'Mac/Linux' onl= y section. >>>>> >>>>> Signed-off-by: Erik de Bruin >>>>> >>>>> >>>>> Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo >>>>> Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/feb40f= 62 >>>>> Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/feb40f62 >>>>> Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/feb40f62 >>>>> >>>>> Branch: refs/heads/release4.14.0 >>>>> Commit: feb40f628bf126db22fc9c90fcb35a0f72511866 >>>>> Parents: 8ce76a2 >>>>> Author: Erik de Bruin >>>>> Authored: Wed Dec 17 14:40:53 2014 +0100 >>>>> Committer: Erik de Bruin >>>>> Committed: Wed Dec 17 14:40:53 2014 +0100 >>>>> >>>>> ---------------------------------------------------------------------= - >>>>> README | 31 +++++++------------------------ >>>>> 1 file changed, 7 insertions(+), 24 deletions(-) >>>>> ---------------------------------------------------------------------= - >>>>> >>>>> >>>>> http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/feb40f62/README >>>>> ---------------------------------------------------------------------= - >>>>> diff --git a/README b/README >>>>> index 8ecd4fd..0e4eaf4 100644 >>>>> --- a/README >>>>> +++ b/README >>>>> @@ -310,41 +310,24 @@ To get a brief listing of all the targets type,= use: >>>>> Prepare the SDK for use with an IDE >>>>> ----------------------------------- >>>>> >>>>> -If you want to use the SDK you built from source in Adobe Flash Buil= der, you >>>>> -need to run these commands and scripts: >>>>> +To create an SDK for Flash Builder or any other IDE, run: >>>>> >>>>> cd >>>>> ant frameworks-rsls >>>>> - ./ide/constructFlexForIDE.[sh/bat] "[path-to-sdk]" "[path-to-UNZ= IPPED-flex_sdk_4.6.0.23201B.zip]" >>>>> - (Mac only: ./ide/addAIRtoSDK.sh) >>>>> + ant -f installer.xml -Dflash.sdk.version=3D15.0 -Dair.sdk.versio= n=3D15.0 >>>>> >>>>> -This builds the RSLS for the SDK and copy some IDE related files fro= m the Adobe >>>>> -Flex SDK 4.6. >>>>> +On Mac/Linux the AIR and Flash Player version can be changed by runn= ing: >>>>> >>>>> -To create an SDK for another IDE, or if you want to use a different = version of >>>>> -Adobe AIR (Adobe Flex 4.6 uses Adobe AIR 3.1), run: >>>>> + ./ide/setFlashPlayerVersion.sh ./ 15.0 >>>>> + ./ide/addAIRtoSDK.sh 15.0 ./ >>>>> >>>>> - cd ide/flashbuilder & call ide/flashbuilder/makeApacheFlexForIDE= .bat "[path-to-sdk]" (on Windows) >>>>> - ./ide/flashbuilder/makeApacheFlexForIDE.sh (on Mac and Linux) >>>>> - >>>>> -On Mac the AIR and Flash Player version can be changed by running: >>>>> - ./ide/setFlashPlayerVersion.sh >>>>> - ./ide/addAIRtoSDK.sh >>>>> >>>>> >>>>> Using the Binary Distribution >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >>>>> >>>>> -In order to use the binary distribution of the SDK, you must first d= ownload the >>>>> -third-party dependencies. First, make sure your system is good to go= : see >>>>> -'Prepare your system' above. Note: you cannot use the env.properties= file to >>>>> -set the environment variables when you use the Binany Distribution. = Now, use: >>>>> - >>>>> - cd /frameworks >>>>> - ant thirdparty-downloads >>>>> - >>>>> -To complete the setup of the SDK, follow the instructions in the >>>>> -'Prepare the SDK for use with an IDE' section above. >>>>> +In order to use the binary distribution of the SDK, follow the instr= uctions in >>>>> +the 'Prepare the SDK for use with an IDE' section above. >>>>> >>>>> >>>>> >>>>> >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl