[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user chinhodado commented on the issue: https://github.com/apache/ant-ivy/pull/68 Unrelated, but maybe you should consider enabling the issue tracker here on github. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 Thanks for your help. P.S.: Maybe one pre-release test should download an extensive list of dependencies with Ivy and compare them to what Maven or Gradle is getting. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 Yes, it is. See the list of bug reports above. I'd say we have another blocker, speaking of releases. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 What is the naming sceme you suggested fixing?: `String pattern = destFolder + "/[organization]/[module]/[type]/[artifact]-[revision](-[classifier]).[ext]";` The dependency lwjgl-3.1.2.jar still gets lost, right? So this is a bug? --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 What you download is `lwjgl-3.1.2-natives-macos.jar`; the dependency `lwjgl-3.1.2.jar` gets lost. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 `http://central.maven.org/maven2/org/lwjgl/lwjgl/3.1.2/lwjgl-3.1.2.jar` --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 You get the correct name using pattern `"artifact]-[revision](-[classifier]).[ext]"` ð --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 This is another case of [IVY-1576](https://issues.apache.org/jira/browse/IVY-1576); maybe related to [IVY-1484](https://issues.apache.org/jira/browse/IVY-1484) and [IVY-1407](https://issues.apache.org/jira/browse/IVY-1407) and [IVY-1244](https://issues.apache.org/jira/browse/IVY-1244). --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 True. The JUnit3 part is strange. My example above wasn't with the current master but the ivy-2.4.0.jar. Maybe that's the reason. Ignoring the platform-specific wjgl jars is only one part of the problem. Please go in the .ivy cache and look at the content of for example: org/lwjgl/lwjgl/ 3.1.2/lwjgl-3.1.2.jar Here is the correct jar for content comparison: http://central.mav en.org/maven2/org/lwjgl/lwjgl/ 3.1.2/lwjgl-3.1.2.jar When you look at the content of the jar, it isn't identical with the same jar stored on maven central. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 Oh, I see. We're looking at the same result, except you somehow keep an older version of junit (in my case JUnit 3 is evicted). The bug is (as you stated) that only platform-specific wjgl jars are downloaded. Somehow the presence of classifier makes Ivy ignore the artifact withouth them. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 I used the code below to download all dependencies. You see the output at the very bottom. Here are the 13 direct compile dependencies it should download: https://mvnrepository.com/artifact/io.playn/playn-java-lwjgl/2.0 It only downloads some OSX jars for lwjgl. Also the content of those jars is somehow wrong when you open them. Here is the correct jar for content comparison: http://central.mav en.org/maven2/org/lwjgl/lwjgl/ 3.1.2/lwjgl-3.1.2.jar Very confusing. The file ivy2.xml looks like this: ` ` `import java.io.File; import java.io.IOException; import java.text.ParseException; import java.util.List; import org.apache.ivy.Ivy; import org.apache.ivy.core.LogOptions; import org.apache.ivy.core.module.descriptor.ModuleDescriptor; import org.apache.ivy.core.module.id.ModuleRevisionId; import org.apache.ivy.core.report.ResolveReport; import org.apache.ivy.core.retrieve.RetrieveOptions; import org.apache.ivy.core.settings.IvySettings; public class IvyApiExperiments { public static void main(String[] args) throws ParseException, IOException { IvySettings ivySettings = new IvySettings(); // Now let's set the basedir of the ivy settings to some location File baseDir = new File("."); System.out.println("baseDir: " + baseDir.getAbsolutePath()); ivySettings.setBaseDir(baseDir); // create an ivy instance Ivy ivy = Ivy.newInstance(ivySettings); // That's where my ivy-settings.xml is located File ivySettingsXmlFile = new File("./ivysettings.xml"); System.out.println(ivySettingsXmlFile.getAbsolutePath()); // configure ivy to use the settings file ivy.configure(ivySettingsXmlFile); System.out.println("\n\n1. Define Dependencies\n\n"); // file containing the list of dependencies (ex: ivy.xml) // File dependencyFile = new File("./ivy-2.0.xml"); File dependencyFile = new File("./ivy2.xml"); System.out.println("\n\n2. Resolve Dependencies\n\n"); // resolve the dependencies - Ivy returns a report of the resolution ResolveReport resolveReport = ivy.resolve(dependencyFile); // check for errors (if any) during resolve if (resolveReport.hasError()) { List problems = resolveReport.getAllProblemMessages(); if (problems != null && !problems.isEmpty()) { StringBuffer errorMsgs = new StringBuffer(); for (String problem : problems) { errorMsgs.append(problem); errorMsgs.append("\n"); } System.err.println("Errors encountered during dependency resolution for package :"); System.err.println(errorMsgs); } } else { System.out.println("Dependencies in file " + dependencyFile + " were successfully resolved"); } System.out.println("\n\n3. Retrieve Dependencies\n\n"); // Now that the dependencies have been resolved, let now retrieve them // Get the descriptor ModuleDescriptor md = resolveReport.getModuleDescriptor(); // module revision id of the module whose dependencies were resolved ModuleRevisionId mRID = md.getModuleRevisionId(); // options that we pass to ivy instance for retrieve the dependencies RetrieveOptions retrieveOptions = new RetrieveOptions(); // folder to which we want the dependencies retrieved File destFolder = new File("./retrieved"); // the Ivy pattern which will be used for retrieving the dependencies String pattern = destFolder + "/[organization]/[module]/[type]/[artifact]-[revision].[ext]"; retrieveOptions.setDestIvyPattern(pattern); // default logging option retrieveOptions.setLog(LogOptions.LOG_DEFAULT); // retrieve them! int packagesRetrieved = ivy.retrieve(mRID, pattern
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 What's missing? ``` $ java -jar build/artifact/jars/ivy.jar -dependency io.playn playn-java-lwjgl 2.0 :: loading settings :: url = jar:file:/Users/gintas/Projects/ant-ivy-asf/build/artifact/jars/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml :: resolving dependencies :: io.playn#playn-java-lwjgl-caller;working confs: [default] found io.playn#playn-java-lwjgl;2.0 in public found io.playn#playn-java-base;2.0 in public found io.playn#playn-core;2.0 in public found com.samskivert#pythagoras;1.4.3 in public found com.threerings#react;1.5.3 in public found com.googlecode.soundlibs#mp3spi;1.9.5-1 in public found com.googlecode.soundlibs#jlayer;1.0.1-1 in public found com.googlecode.soundlibs#tritonus-share;0.3.7-1 in public found org.java-websocket#Java-WebSocket;1.3.0 in public found org.lwjgl#lwjgl;3.1.2 in public found org.lwjgl#lwjgl-opengl;3.1.2 in public found org.lwjgl#lwjgl-glfw;3.1.2 in public found junit#junit;4.12 in default found org.hamcrest#hamcrest-core;1.3 in default ``` --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user sutchark commented on the issue: https://github.com/apache/ant-ivy/pull/68 Tested this with the latest release (2.4.0) and also a build of the latest master. Fetching all dependencies of: organisation="io.playn" module="playn-java-lwjgl" revision="2.0" Most of the dependencies are just fetched fine but it doesn't fetch all necessary dependencies from organisation='org.lwjgl' Tested this with Maven and Gradle. Both fetch the dependencies correctly. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/68 We have a PR where we lack a consensus for (#57) because it adds a new method to an important interface. To break the logjam, it could be postponed to the next release if that targets Java 8 which allows default method implementations in an interface. There are a couple of PRs (#55 and #60) that change UX by use of vector graphics; those can be postponed as well and synced with introduction of vector graphics in Ant (there's a [SVG logo for Ant](https://commons.wikimedia.org/wiki/File:Apache-Ant-logo.svg) out there). Could somebody review the rest of PRs, please? --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
[GitHub] ant-ivy issue #68: Why no new Ivy version yet?
Github user jaikiran commented on the issue: https://github.com/apache/ant-ivy/pull/68 There will be one soon. There's a discussion going on, in the mailing list to work towards a release soon. --- - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org