Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Alex Fowler
    @noncom
    hmmm, so, then as I understand that lein cannot fetch some dependency of quartz?
    Gardner Vickers
    @gardnervickers
    Yea, i’m working to find the offending jar. Another thing I noticed, CCW cant reset the project config if the :source-paths key is not in the project.clj. It throws an error. I am using Leiningen to build a bunch of java projects, not sure if this would be considered a bug.
    Alex Fowler
    @noncom
    @gardnervickers you can try lein deps :tree - it can help find out about the deps, sometimes shows conflicts
    as for the remaining part of your query, I guess that the core devs could be helpful when they come around
    also, I can say, when building clojure projects, it is very possible to get into strange situations here and there
    the process is still being streamlined
    although it is quite very well working already
    for most cases
    Gardner Vickers
    @gardnervickers
    Yea I am very familiar with leiningen, just trying to get a build process setup for my Eclipse-using peers :) thanks for the help!
    Alex Fowler
    @noncom
    how are you guys? heard there were floods...
    Andrea Richiardi
    @arichiardi
    Yep thanks :smile:
    Alex Fowler
    @noncom
    suddenly I came across an issue on #leiningen that was bothering me for long time - it is about "fetching deps" for a big project
    it can really be a sad thing - if i change 1 dep and wait for too much time at the step of updating deps
    here's the transcript:
    [01:43:34] <cfleming> hyPiRion: So in my new integration, Cursive still runs leiningen in-process, but in an isolated classloader using ShimDandy.
    [01:44:09] <cfleming> hyPiRion: However for really big projects, the dependency sync operation is really slow - I have users with projects with 65+ modules.
    [01:46:13] <cfleming> hyPiRion: I also create a temporary repo to ensure that the modules will sync correctly even if they're not all installed. For that I call pom/pom and jar/jar, but with the jar task hooked so that it doesn't actually create the jar files.
    [01:46:34] <cfleming> I just do that so I know which jar files it's expecting.
    [01:47:00] <cfleming> The pom/jar combo takes about half a second, which seems long, I haven't profiled yet to figure out why.
    [01:47:17] <cfleming> So that's 30sec+ for a large project.
    [01:47:41] <cfleming> If I could parallelise that work that would be great. I'm also looking into other optimisations.
    [13:37:55] <hyPiRion> cfleming: Alright, makes sense. I don't think it's possible far as I know, but I want to make that (indirectly) possible for 3.x
    [13:41:45] <cfleming> hyPiRion: Ok, thanks. Any idea what would prevent that? is there some global state being used somewhere?
    [13:45:55] <cfleming> hyPiRion: Failing that, I'm going to try creating the temp repo and then just updating the modules whose details have changed. Am I correct in thinking that the project map after calling project/read is basically finished and I can use it as a cache key?
    [13:46:18] <cfleming> hyPiRion: I'd probably hash the whole thing and its metadata for the key.
    [13:46:38] <hyPiRion> cfleming: Well, it's probably a stretch to call it "not possible", but I'm guessing a lot of corner cases with different plugin hooks/middleware and dependency fetching could happen
    [13:46:54] <hyPiRion> (You can try it out I guess?)
    [13:47:29] <cfleming> Yeah, I would only parallelise the operations after reading the project map, i.e. the project read would be sequential.
    [13:47:51] <hyPiRion> cfleming: Yeah, the project itself should be finished after middleware inits
    [13:48:12] <hyPiRion> as in immutable
    [13:48:35] <cfleming> Ok, great. So there are some optimisations I can make, and then I can hopefully cache too.
    i just never brought up this point, and thought it could possibly be an interesting thing to look at
    as for my work on the Live plugin - I am sorry, it is taking so long for me to take it now.. there's so much to learn about Eclipse and CCW before I can create something working and sensible and now I had to apply for a second job to make living, so I have 0 time now.. it should clear up not so long in the future, maybe in a month, so I will come back to it :/
    Alex Fowler
    @noncom
    Hello again
    Seeing that the issue technomancy/leiningen#1961 still remains unnoticed, I've contacted hyPiRion to discuss the matter
    he then noticed the improved issue description and scheduled the resolution for milestone 2.6
    Laurent Petit
    @laurentpetit
    Nice!
    Alex Fowler
    @noncom
    Omg, I saw the news...
    Andrea Richiardi
    @arichiardi
    which news?
    Laurent Petit
    @laurentpetit
    Yeah, I also just got informed. @arichiardi I guess you're now up to date with what happened in Paris.
    This is a very sad day indeed :-(
    Andrea Richiardi
    @arichiardi
    Yes I saw it, crazy, everything ok over there
    ?
    Laurent Petit
    @laurentpetit
    Yes, as far as I am concerned. The events have been very local to Paris, and here in Lyon we're as safe as you. My family living near Paris is safe also.
    Andrea Richiardi
    @arichiardi
    That's good, it is really saddening though
    What happened
    They say inhuman but unfortunately human are this as well
    Alex Fowler
    @noncom
    hello...
    I am having a project where CCW refuses to start a REPL both in Lein-enabled and Java-launcher-enabled ways
    The project depends on two other projects in the workspace (referenced from within checkouts as well as marked dependant in Eclipse project dependencies)
    Eclipse is
    Version: Neon Release (4.6.0)
    Build id: 20160613-1800
    CCW is Version 0.35.0.STABLE001
    previously it worked just fine on Eclipse Mars + CCW 0.34.0.STABLE001
    some minutes ago decided to try out Neon, and here we go
    if somehow I can make CCW report what's really going on, I'd be glad to do so and present the logs
    currently it is very silent about that - simply there is no REPL
    plain lein repl in the command line works OK and starts the repl
    Alex Fowler
    @noncom
    and then if I "Connect to REPL" that is started in the OS command line with lein repl, it connects and everything is fine
    Alex Fowler
    @noncom
    got some little idea - lein clean via CCW's "Generic Leiningen Command Line" says "Exception occurred executing command line.
    Cannot run program "C:\Program Files\Java\jre1.8.0_91\bin\javaw.exe" (in directory "D:\my_project_dir"): CreateProcess error=206, The filename is too long"
    lein clean from the OS command line works OK
    Eclipse Mars + CCW 0.34 also work OK
    so here it is, I guess...
    Alex Fowler
    @noncom
    @laurentpetit hello.. :)
    what do you think? worth a github issue?