Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build, download batik-1.13 not available #179

Closed
FalcoGer opened this issue Mar 9, 2021 · 3 comments · Fixed by #183
Closed

unable to build, download batik-1.13 not available #179

FalcoGer opened this issue Mar 9, 2021 · 3 comments · Fixed by #183

Comments

@FalcoGer
Copy link

FalcoGer commented Mar 9, 2021

Description

When trying to call ant run for the first time it tries to download batik-bin-1.13.zip from https://apache.osuosl.org/xmlgraphics/batik/binaries/
However this fails since the file is not available

Expected Behavior

A file is downloaded.

Current Behavior

Build aborts because 404

Steps to Reproduce

  1. Clone repo
  2. Enter build directory
  3. ant run

Your Environment

  • Processing version: b5baaa4
  • Operating System and OS version: Ubuntu Mate 20.04
  • Other information:
    openjdk 11.0.10 2021-01-19
    OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
    OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

Possible Causes / Solutions

Upload the required file to a server and download from there.
Alternatively make this batik guy not delete old versions
Alternatively use libraries that are available through software repositories and prompt the user to install those
Alternatively include subrepositories

@oseph
Copy link
Contributor

oseph commented Mar 17, 2021

I encountered this same issue (on macOS). It seems the URL for batik currently found in the java/libraries/svg/build.xml file is outdated. Apache now hosts batik (and a newer 1.14 version) over here: https://archive.apache.org/dist/xmlgraphics/batik/binaries/

I've updated the URL (and batik version to 1.14) in the build file to the above URL, and was able to build Processing4 successfully afterwards.

Will post a pull request shortly.

@benfry
Copy link
Owner

benfry commented Apr 29, 2021

Now fixed… As noted in #192, I wasn't aware they actually removed the download link once it was longer current. Will have to get a better solution together for that.

@benfry benfry closed this as completed Apr 29, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants