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 7D2FF18039 for ; Sun, 31 Jan 2016 00:46:40 +0000 (UTC) Received: (qmail 20189 invoked by uid 500); 31 Jan 2016 00:46:40 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 20155 invoked by uid 500); 31 Jan 2016 00:46:40 -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 20146 invoked by uid 99); 31 Jan 2016 00:46:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2016 00:46:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D64A02C14F0 for ; Sun, 31 Jan 2016 00:46:39 +0000 (UTC) Date: Sun, 31 Jan 2016 00:46:39 +0000 (UTC) From: "Julien Kronegg (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLEX-35021) FlexJS install failed to download antlr.jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Julien Kronegg created FLEX-35021: ------------------------------------- Summary: FlexJS install failed to download antlr.jar Key: FLEX-35021 URL: https://issues.apache.org/jira/browse/FLEX-35021 Project: Apache Flex Issue Type: Bug Components: installer.xml (FalconJX), installer.xml (FlexJS) Affects Versions: Apache FlexJS 0.5.0 Environment: Windows 10, Oracle JDK 1.8.0_66 Reporter: Julien Kronegg *Context:* The "ant -f installer.xml" command failed to properly install FlexJS because the download of antlr.jar failed. This is caused by an issue in the falcon compiler and compiler.jx (see details below). *Expected result:* The "ant -f installer.xml" command work properly. *Actual result:* The "ant -f installer.xml command failed (BUILD FAILED) with the following error: {noformat} [get] Error opening connection java.io.FileNotFoundException: https://repo1.maven.org/maven2//org/antlr/antlr-complete/3.5.2/antlr-complete-3.5.2.jar [get] Can't get http://search.maven.org/remotecontent?filepath=/org/antlr/antlr-complete/3.5.2/antlr-complete-3.5.2.jar to C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\lib\antlr.jar BUILD FAILED C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\installer.xml:352: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\installer.xml:358: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\installer.xml:97: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\downloads.xml:73: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\downloads.xml:293: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\downloads.xml:320: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\downloads.xml:412: The following error occurred while executing this line: C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\downloads.xml:430: Can't get http://search.maven.org/remotecontent?filepath=/org/antlr/antlr-complete/3.5.2/antlr-complete-3.5.2.jar to C:\Apps\FlexJS-0.5.0\apache-flex-flexjs-0.5.0-bin\in\falcon\compiler\lib\antlr.jar {noformat} It looks like the {{antlr.jar}} URL has a double backslash (//) which cause the 404 error. *Test-case:* 1. download the FlexJS 0.5.0 package from http://www.apache.org/dyn/closer.lua/flex/flexjs/0.5.0/binaries/apache-flex-flexjs-0.5.0-bin.zip 2. extract the file on local hard drive 3. run the "ant -f installer.xml" as advised in https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+Flash+Builder 4. answer "y" for ask-air and ask-flash questions *Diagnostic:* Apparently, it comes from the "CURRENT_DIR/in/falcon/compiler/download.xml" file with the following lines 429-430: {code} {code} For {{antlr.jar}}, the maven redirection gives (from the log file): {noformat} [get] http://search.maven.org/remotecontent?filepath=/org/antlr/antlr-complete/3.5.2/antlr-complete-3.5.2.jar moved to https://repo1.maven.org/maven2//org/antlr/antlr-complete/3.5.2/antlr-complete-3.5.2.jar {noformat} Thus, this is an issue of the falcon installer. *Workaround:* In order to correct the {{antlr.jar}} issue, I used the following workaround: 1. open CURRENT_DIR/in/apache-flex-falconjx-0.5.0-bin.zip using 7zip 2. browse to "compiler" directory in the zip archive 3. open download.xml in edit mode 4. replace target "get-if-not-cached" (around line 429): {code} {code} by {code} {code} 5. save the file and agree 7zip to update the fip file 6. do the same as step 4 for the "compiler.jx/download.xml" file within the zip file 7. save the file and agree 7zip to update the fip file 8. close the zip file Solving the issue will require to correct the falcon compiler and compiler.jx download.xml files (thus both components are impacted). As this is issue is on the installation, I would categorize it as Blocking. However, as there is a workaround, I categorized it as Major. -- This message was sent by Atlassian JIRA (v6.3.4#6332)