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

Add java and maven as a dep #3

Closed
wants to merge 1 commit into from
Closed

Conversation

hadim
Copy link
Member

@hadim hadim commented Nov 20, 2018

@ctrueden @hanslovsky

I got an error during imglyb tests because maven was missing.

Are you ok adding Java and maven as a dependency of jgo?

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ctrueden
Copy link
Member

Are you ok adding Java and maven as a dependency of jgo?

That seems proper to me, but there was some reason @hanslovsky chose not to do that earlier...

@hadim
Copy link
Member Author

hadim commented Nov 20, 2018

I see.

I really don't have a strong preference and those tools are more yours than mine anyway so it's up to you @hanslovsky.

@hadim
Copy link
Member Author

hadim commented Nov 20, 2018

FYI: I added maven as a dependency to imglyb so the lack of dependency to jgo will only affect "jgo-only" users.

@ctrueden
Copy link
Member

ctrueden commented Nov 20, 2018

I added maven as a dependency to imglyb

I would like maven and openjdk to be dependencies of scyjava. I see scyjava as a layer on top of jgo and pyjnius that makes things easy for developers to use Java.

The imglyb project depends on scyjava, so that should be fine downstream too.

@hadim
Copy link
Member Author

hadim commented Nov 20, 2018

Good idea! I'll close here then.

@hadim hadim closed this Nov 20, 2018
@hadim hadim deleted the java-dep branch November 20, 2018 20:53
@hanslovsky
Copy link
Contributor

Java should not be a dependency of jgo because

  1. There is no JavaFX/OpenJFX on conda and running JavaFX applications with jgo would be unnecessarily complicated that way, in particular in a scenario in which the software would be shipped through conda, as well. I tried to create a conda package but I failed miserably just trying to build OpenJFX on my machine.
  2. Currently, the selection of JDKs is very limited on conda, pretty much the same problem as (1).

FYI: I added maven as a dependency to imglyb so the lack of dependency to jgo will only affect "jgo-only" users.

Good catch, thank you!

@hadim
Copy link
Member Author

hadim commented Nov 20, 2018

FYI: I am also trying to update Java itself on conda-forge:

@hanslovsky
Copy link
Contributor

hanslovsky commented Nov 20, 2018

Good stuff @hadim!
Java10 might be a game changer for my argument above as JavaFX is available through maven central for Java >= 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants