Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72DCC10ED2 for ; Sat, 14 Feb 2015 11:07:54 +0000 (UTC) Received: (qmail 63611 invoked by uid 500); 14 Feb 2015 11:01:14 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 63591 invoked by uid 500); 14 Feb 2015 11:01:14 -0000 Mailing-List: contact issues-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 issues@flex.apache.org Received: (qmail 63580 invoked by uid 99); 14 Feb 2015 11:01:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 11:01:14 +0000 Date: Sat, 14 Feb 2015 11:01:13 +0000 (UTC) From: =?utf-8?Q?Darlan_Ara=C3=BAjo_dos_Santos_=28JIRA=29?= To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34752) Problem with build ant (Error: Incorrect number of arguments. Expected no more than 0.) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34752?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Darlan Ara=C3=BAjo dos Santos updated FLEX-34752: -------------------------------------------- Attachment: testeGridComp.zip > Problem with build ant (Error: Incorrect number of arguments. Expected n= o more than 0.) > -------------------------------------------------------------------------= --------------- > > Key: FLEX-34752 > URL: https://issues.apache.org/jira/browse/FLEX-34752 > Project: Apache Flex > Issue Type: Bug > Components: Ant Tasks > Affects Versions: Apache Flex 4.14.0 > Environment: OS X Yosemite Version 10.10.2. Apache Flex 4.14 and = Adobe AIR 16.0 > Reporter: Darlan Ara=C3=BAjo dos Santos > Priority: Critical > Labels: ant, build > Attachments: testeGridComp.zip > > > Problem in compiling the action script that uses flash.display.NativeMenu= using flexTask.jar (ant).=20 > Error: > {code} > Darlans-MacBook-Pro:testeGridComp darlan$ ant > Buildfile: /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp/= build.xml > compile: > [echo] Compiling build/testeGridComp.swc > [compc] Loading configuration file /Users/darlan/Documents/Adobe Flas= h Builder 4.6/testeGridComp/compile-config.xml > [compc] /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp= /src/br/com/test/Test.as(8): col: 61 Error: Incorrect number of arguments. = Expected no more than 0. > [compc]=20 > [compc] =09=09=09var fileMenu:NativeMenuItem =3D new NativeMenuItem("= test", false); > [compc] =09=09=09 = ^ > [compc]=20 > BUILD FAILED > /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp/build.xml:3= 0: compc task failed. > Total time: 1 second > Darlans-MacBook-Pro:testeGridComp darlan$ clear > Darlans-MacBook-Pro:testeGridComp darlan$ ant > Buildfile: /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp/= build.xml > compile: > [echo] Compiling build/testeGridComp.swc > [compc] Loading configuration file /Users/darlan/Documents/Adobe Flas= h Builder 4.6/testeGridComp/compile-config.xml > [compc] /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp= /src/br/com/test/Test.as(8): col: 67 Error: Incorrect number of arguments. = Expected no more than 0. > [compc]=20 > [compc] =09=09=09var nativeMenuItem:NativeMenuItem =3D new NativeMenu= Item("test", false); > [compc] =09=09=09 = ^ > [compc]=20 > BUILD FAILED > /Users/darlan/Documents/Adobe Flash Builder 4.6/testeGridComp/build.xml:3= 0: compc task failed. > Total time: 1 second > {code} > Code: > {code:actionscript} > package br.com.test > { > =09import flash.display.NativeMenuItem; > =09public class Test > =09{ > =09=09public function createMenu():void { > =09=09=09var nativeMenuItem:NativeMenuItem =3D new NativeMenuItem("test",= false); > =09=09} > =09} > }{code} > Ant: > {code:xml} > > =09 > > > =09 > =09=09 > =09=09 > =09=09 =09=09=09 output=3D"${basedir}/build/testeGridComp.swc"> > > > =09=09=09 > > > =09=09=09 > =09=09 > =09 > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)