Cannot use the installer or build from ant source

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot use the installer or build from ant source

stevieboy
Hello,

I am running into two different errors.  First, I tried to install
ApacheFlex with the installer version 3.3.1 with FlashPlayer 30 but got this
error:

Installer version 3.3.1 (windows)
Using Locale: en_US
Fetched the SDK download mirror URL from the CGI.
Timeout
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true&label=Apache Flex
SDK 4.16.1&version=4.16.1&os=windows&installerversion=3.3.1&info=Timeout

Alright, so then I tried to build from source on Windows.  I am getting this
error instead:
BUILD FAILED
C:\Apps\flex-sdk\build.xml:162: The following error occurred while executing
this line:
C:\Apps\flex-sdk\modules\build.xml:64: The following error occurred while
executing this line:
C:\Apps\flex-sdk\modules\downloads.xml:283:
java.nio.file.InvalidPathException: Illegal char <*> at index 46:
C:\Apps\flex-sdk\modules\thirdparty\batik\lib\**
        at
java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at
java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
        at
java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
        at java.base/java.io.File.toPath(File.java:2290)


Any ideas?  Do I have to edit the build.xml?



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Cannot use the installer or build from ant source

Alex Harui-2
Hi,

Timeouts for Installer 3.3.1 is a known issue.  The Installer uses TLS1.0 and some servers are no longer supporting that version of TLS.  We will hopefully have a fix out shortly.  In the meantime, we recommend getting the binary package from http://flex.apache.org/download-binaries.html
Unpack it into a folder, and run:

  ant -f installer.xml

That defaults to using AIR/Flash 29.  If you want 30, use:

  ant -f installer.xml -Dair.sdk.version=30.0 -Dflash.sdk.version=30.0

Regarding your second issue, you may need to set the environment variable:

  JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8"

HTH,
-Alex

´╗┐On 6/15/18, 11:03 PM, "stevieboy" <[hidden email]> wrote:

    Hello,
   
    I am running into two different errors.  First, I tried to install
    ApacheFlex with the installer version 3.3.1 with FlashPlayer 30 but got this
    error:
   
    Installer version 3.3.1 (windows)
    Using Locale: en_US
    Fetched the SDK download mirror URL from the CGI.
    Timeout
    Installation aborted:
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fflex.apache.org%2Ftrack-installer.html%3Ffailure%3Dtrue%26label%3DApache&data=02%7C01%7Caharui%40adobe.com%7C73f0b9bb171d4eb9b46508d5d34ee217%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636647258109906982&sdata=I3kAaFLScl3pIHV%2BskHhEbiMRFs5syWptiOUV605qss%3D&reserved=0 Flex
    SDK 4.16.1&version=4.16.1&os=windows&installerversion=3.3.1&info=Timeout
   
    Alright, so then I tried to build from source on Windows.  I am getting this
    error instead:
    BUILD FAILED
    C:\Apps\flex-sdk\build.xml:162: The following error occurred while executing
    this line:
    C:\Apps\flex-sdk\modules\build.xml:64: The following error occurred while
    executing this line:
    C:\Apps\flex-sdk\modules\downloads.xml:283:
    java.nio.file.InvalidPathException: Illegal char <*> at index 46:
    C:\Apps\flex-sdk\modules\thirdparty\batik\lib\**
            at
    java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
            at
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
            at
    java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
            at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
            at
    java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
            at java.base/java.io.File.toPath(File.java:2290)
   
   
    Any ideas?  Do I have to edit the build.xml?
   
   
   
    --
    Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C73f0b9bb171d4eb9b46508d5d34ee217%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C636647258109906982&sdata=YL2nYnIMIQhHA9T%2BHYG7Ll35W%2FTni4HV%2BpidMNCtfto%3D&reserved=0
   

Reply | Threaded
Open this post in threaded view
|

Re: Cannot use the installer or build from ant source

pol2095
In reply to this post by stevieboy
On Windows 10, Ant Build Successful using "ant -f installer.xml
-Dair.sdk.version=30.0 -Dflash.sdk.version=30.0"



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/