by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    eugene yokota
    @eed3si9n
    I don't think that's necessary
    Eric K Richardson
    @ekrich
    I opened the project in VSCode, actually the scala-seed uses CI and everything - not sure I am that ambitious.
    eugene yokota
    @eed3si9n
    how bad can it be?
    try bumping it latest sbt 1.x and see if PR runs
    Eric K Richardson
    @ekrich
    If it is not 0.13 then it looks for the 2.12_0.11 plugin. No big deal at all. I am working on the Scala Native seed, was just looking at Seth's work. He has 0.13.18 so I'm pretty darn sure he is correct.
    eugene yokota
    @eed3si9n
    Eric K Richardson
    @ekrich
    The whole g8 thing is super useful. Oh gosh thanks. That can just be copied.
    eugene yokota
    @eed3si9n
    Eric K Richardson
    @ekrich
    I already had one so I skipped that part but the template is old so prior to that I am sure. Thanks, nice chatting with you - you start something and you can always do better and it always takes longer.
    Eric K Richardson
    @ekrich
    Needed to change http -> https on the resolver.
    Eric K Richardson
    @ekrich
    Once I change the plugin to version 0.12 then sbt 1.3.10 works. I used the build with the scripted and that works great too. I did get this.
    Erics-MacBook-Pro:workspace eric$  g8 file://scala-native.g8/ --name=sng8-test --force
    log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
    log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
    log4j:ERROR [java.net.URLClassLoader@1d8d30f7] whereas object of type 
    log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [java.net.URLClassLoader@58372a00].
    log4j:ERROR Could not instantiate appender named "stderr".
    
    Template applied in /Users/eric/workspace/./sng8-test
    When I do sbt run in the generated project - works fine.
    eugene yokota
    @eed3si9n
    cool
    Eric K Richardson
    @ekrich
    What do you think that log4j thing is?
    eugene yokota
    @eed3si9n
    I think I've seen them too
    Eric K Richardson
    @ekrich
    Do I need to put in an issue for the http-> https?
    eugene yokota
    @eed3si9n
    sure
    I'm not quite sure what the log things are
    Eric K Richardson
    @ekrich
    Ok, I think lightbend changed to https on the repos?
    eugene yokota
    @eed3si9n
    I'm guessing that different parts of the app claim various pieces of slf4j
    most repos have been going https
    recently toolings started to deprecate http
    recently Lightbend announced that it would drop HTTP endpoints
    so did most other public repos now
    Eric K Richardson
    @ekrich
    Darn, for foundweekends, 64 open issues - that seems like lostweekends.
    :smile:
    eugene yokota
    @eed3si9n
    Eric K Richardson
    @ekrich
    Interestingly, when I run g8Test I see clang and such running but no output from the scripted but it succeeds so I am guessing it is running the app but no output is coming through.
    eugene yokota
    @eed3si9n
    you can turn off log buffering to see what's up
    Eric K Richardson
    @ekrich
    Is this correct Keys.test in Test in scala-seed it is test in Test.
    Oh yeah, I forgot about that.
    So many things.
    eugene yokota
    @eed3si9n
    I forgot why Keys.test was needed but at some point there was some confusion because there was a class named test somewhere I think
    or a package named test
    Eric K Richardson
    @ekrich
    Does slash syntax help Test / test or is that the same?
    eugene yokota
    @eed3si9n
    you can try it
    sometimes it's just accumulation of old small fixes and changes that are no longer needed
    Eric K Richardson
    @ekrich
    I meant for the conflict. I did go to slash and it worked. Yeah, totally understand - things have a way of accumulating.
    drocsid
    @drocsid
    Hi again. I was trying to make a launcher shell script using my giter8 template but it looks like it confused the shell syntax File: /tmp/giter8-8880851143575/src/main/g8/$if(graal_native_image.truthy)$build-native-image.sh$endif$, 4:13: '=' came as a complete surprise to me
    I looked in the manual for information about escape patterns but didn't see anything.
    drocsid
    @drocsid
    Is there a simple workaround for writing my script?
    eugene yokota
    @eed3si9n
    no idea
    bjenkinsgit
    @bjenkinsgit

    In Windows 10 with Conscript and g8 installed:

    cd c:\temp
    git clone https://github.com/scala/hello-world.g8.git
    g8 file://c:/temp/hello-world.g8

    It asks me for name and then a few other variables and then I get...

    java.util.regex.PatternSyntaxException: Unexpected internal error near index 1

    What might be going on?

    bjenkinsgit
    @bjenkinsgit

    Ok. The following worked:

    sbt new file://c:/temp/hello-world.g8

    Now I can get further with testing my own custom template.

    drocsid
    @drocsid

    I filed a bug report:

    foundweekends/giter8#466

    Robby Kiskanyan
    @robbyki
    i'm not sure why I'm having such a hard time to merely have dollar signs ignored. How do I just have this completely ignored? assemblyJarName in assembly := s"${name.value}_${scalaVersion.value}.jar" Already tried \$
    eugene yokota
    @eed3si9n
    @robbyki if \$ is not working, then it could be a bug. could you open an issue on https://github.com/foundweekends/giter8/issues/ with repro steps plz?
    Tomasz Godzik
    @tgodzik
    Hey all, we will be using the g8 templates as a default way to create a new project in Metals: scalameta/metals#1728
    We will also be parsing the https://github.com/foundweekends/giter8/wiki/giter8-templates to get a more complete version of know templates if the users wants to.
    Thanks for the amazing work on the project! It's all working rather smoothly and was really simple to integrate with Metals