Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 27549 invoked from network); 31 Oct 2008 14:38:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2008 14:38:52 -0000 Received: (qmail 13205 invoked by uid 500); 31 Oct 2008 14:38:58 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 13180 invoked by uid 500); 31 Oct 2008 14:38:58 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 13171 invoked by uid 99); 31 Oct 2008 14:38:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 07:38:58 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 14:37:51 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 04568234C256; Fri, 31 Oct 2008 07:38:31 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 46135] New: Regression: scriptcondition fails on 1.7.1 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ext-simon.steiner@nokia.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 31 Oct 2008 07:38:31 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46135 Summary: Regression: scriptcondition fails on 1.7.1 Product: Ant Version: 1.7.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: ext-simon.steiner@nokia.com Hi, I am getting this with error with 1.7.1 and not with 1.7.0. Calling just self.xxx doesn't cause problems. There was a similar issue, I've included below. SyntaxError: ('invalid syntax', ('', 2, 13, "errorsTotal = project.getPr operty('build.errors.total')")) errorsTotal = project.getProperty('build.errors.total') self.setValue(True) Also: errorsTotal = project.getProperty("build.errors.total") errorsLimit = project.getProperty("build.errors.limit") if int(errorsLimit) > -1: if int(errorsTotal) > int(errorsLimit): self.setValue(1) Thanks List: ant-dev Subject: is broken with Jython in the recent trunk builds From: "Alexey N. Solofnenko" Date: 2007-07-30 23:08:30 Message-ID: 46AE6F6E.3000700 () mdl ! com [Download message RAW] Recent trunk ANT fails in my builds because does something with the script that Jython cannot digest (new lines?). and the output is: Buildfile: test.xml [script] test BUILD FAILED C:\tmp\test.xml:6: Traceback (innermost last): (no code object) at line 0 SyntaxError: ('invalid syntax', ('', 1, 8, ' # test')) Total time: 0 seconds - Alexey. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.