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 211D0FB27 for ; Wed, 3 Apr 2013 14:19:54 +0000 (UTC) Received: (qmail 9266 invoked by uid 500); 3 Apr 2013 14:19:53 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 9239 invoked by uid 500); 3 Apr 2013 14:19:53 -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 9220 invoked by uid 99); 3 Apr 2013 14:19:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 14:19:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.174] (HELO mail-ia0-f174.google.com) (209.85.210.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 14:19:48 +0000 Received: by mail-ia0-f174.google.com with SMTP id b35so1286644iac.5 for ; Wed, 03 Apr 2013 07:19:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=ElOemAykrQDSNXDRwwctuQi3dBC2MnqgJ0zlahGpF4U=; b=eVO+au+u/Q9Tm78RXBkwWR5/L7IDd8wlttTIuJE/0tcbnMwCEBPpdQz0eKQ4cSUv8x Sy6qIC21urcrs2va4zgB+gzRuIaQzHQjktIiQUDsp2O7L8c2RD0qaebnyXmOI2641a2B psenPwfeuJO/7OOijDLQ7RirEx3LUw6B0Yq9RCdfV+Ko/sDo8joluIr6rrPh7x8qD9N/ is4e0Tds1xRRE9y4lt9kgufI7iyStWT1OWND1Y72/I9Xade/H+Z0KUYVP/SgqVrk7Szf ZLTg6lf0AVdQexWfaO1TqCnpRBwa2jwGCRvS/KC3zDM2TpF7Q8rXR9FsZ1Dq2k7lvm/w py2g== MIME-Version: 1.0 X-Received: by 10.50.30.40 with SMTP id p8mr750372igh.70.1364998767641; Wed, 03 Apr 2013 07:19:27 -0700 (PDT) Received: by 10.64.226.131 with HTTP; Wed, 3 Apr 2013 07:19:27 -0700 (PDT) In-Reply-To: <01fa01ce3074$d215b2a0$764117e0$@gmail.com> References: <01fa01ce3074$d215b2a0$764117e0$@gmail.com> Date: Wed, 3 Apr 2013 09:19:27 -0500 Message-ID: Subject: Re: ASJS Publisher error From: Erik de Bruin To: "dev@flex.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnM3QtksbFlCG+t8ze30lYri1ON/iCoQppgQpfehGFVbW9DLsVaqYiyRlcRfbtUMfgOTUZs X-Virus-Checked: Checked by ClamAV on apache.org Ah, yes, the ASJS Publisher. My bad... I never updated that. I moved the functionality it provided into FalconJx, so building a project using that should also provide you with a 'debug' and 'release' build. So, the Publisher is obsolete, I'll remove it a.s.a.p. EdB On Wed, Apr 3, 2013 at 9:09 AM, Tigran Najaryan wrote: > Hi, > > I downloaded and built develop branch of Flex SDK (successful), then built > falcon and falconjx (successful), adjusted build.properties in the ASJS > directory and then tried to publish the sample using ASJS publisher using > the following command line as advised in the README: > > ant -Dproject.main.file=../examples/VanillaSDK_POC/src/Example.as > > However I get errors at both falconJx and closureBuilding steps which I do > not understand how to fix. Can anyone advise what am I doing wrong? > > Thanks, > Tigran. > > > Full output of ASJS publisher with the error message below: > > > > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher>ant > -Dproject.main.file=../examples/VanillaSDK_POC/src/Example.as > Buildfile: > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml > > cleanIntermediate: > > cleanRelease: > > clean: > [echo] Delete 'intermediate' and 'release' directories > > createDirs: > [echo] Create 'intermediate' and 'release' directory structure > [mkdir] Created dir: > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate > [mkdir] Created dir: > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-release > > prepareOutput: > [echo] > [echo] Creating 'intermediate' and 'release' target > directory requirements > [echo] > [copy] Copying 1745 files to > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate\goog > [copy] Copied 133 empty directories to 16 empty directories under > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate\go > og > [copy] Copying 15 files to > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate\goog_thirdParty > [copy] Copied 13 empty directories to 1 empty directory under > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate\goog_t > hirdParty > [copy] Copying 7 files to > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\examples\VanillaSDK_P > OC\js-intermediate\VanillaSDK > > ifWindows: > > ifOtherOS: > > falconJx: > [echo] Compiling the AS project into intermediate JS > [exec] Using Flex SDK: > D:\WORK\Projects\ApacheFlex\repo\sdk\branches\develop > [exec] Exception in thread "main" > java.lang.UnsupportedOperationException > [exec] at > org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandlerIn > stance(ASBackend.java:70) > [exec] at > org.apache.flex.compiler.clients.MXMLJSC.(MXMLJSC.java:201) > [exec] at > org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:169) > [exec] Result: 1 > > calculateDependencies: > [echo] Calculating dependencies and writing them to 'deps.js' > > closureBuilding: > [echo] Creating combined and compiled output JS > [exec] > D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b > uild/closurebuilder.py: Scanning paths... > [exec] > D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b > uild/closurebuilder.py: 869 sources scanned. > [exec] > D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\b > uild/closurebuilder.py: Building dependency tree.. > [exec] Traceback (most recent call last): > [exec] File > "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ > build/closurebuilder.py", line 256, in > [exec] main() > [exec] File > "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ > build/closurebuilder.py", line 223, in main > [exec] deps = [base] + tree.GetDependencies(input_namespaces) > [exec] File > "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ > build\depstree.py", line 80, in GetDependencies > [exec] namespace, [], self._provides_map, []): > [exec] File > "D:\WORK\Projects\ApacheFlex\dependencies\GoogleClosure\library\closure\bin\ > build\depstree.py", line 118, in _ResolveDependencies > [exec] raise NamespaceNotFoundError(required_namespace) > [exec] depstree.NamespaceNotFoundError: Namespace "Example" never > provided. > > BUILD FAILED > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml:1 > 40: The following error occurred while executing this line: > D:\WORK\Projects\ApacheFlex\repo\asjs\branches\develop\publisher\build.xml:6 > 6: exec returned: 1 > > Total time: 8 seconds > > > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl