From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by sourceware.org (Postfix) with ESMTPS id 3032C389200B for ; Sat, 21 Nov 2020 08:56:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3032C389200B Received: by mail-lj1-x231.google.com with SMTP id l10so12604110lji.4 for ; Sat, 21 Nov 2020 00:56:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F80ZKDPzB8qzs4a2dwSjXJoXkooRoDbT7w0G1AUK5Ks=; b=qd5sf0F+w8YlRCKnrZMA6OGXPj0Pml5z+L7RqJXxFdsZWevPhQKYkVyeJLbKlLYDeg MN8lGQ6cmzhu5rQLlJNLjdMCyziMQax//tL2lWz9Gih5SSUnH4Voo+gOH+Zb6IolCh4y 05sqnq4EL25QfKlPBp7uTl5H603K11UuLEtZF3uwC5L1Mr7eGqFcnLtOKxiGqvOYY8F8 2TV0dAqMpDXEsf0DPmRmNDJxsHlHjcye0nQh2sZBkZfiM2LspCVunCxSOVYLUFtNRU7e MNumeVjrJkrz3HUhwZp65MNm6ZKG3ferfTvksrah99faOqSXxpvy8OgVqaSM/IjlAr5J zphw== X-Gm-Message-State: AOAM531m6wLb8pcCYePMVDOHgmehYMmmKJhWbTIN9ovuwepeB/71DTJe XD3I6AC/nBgvC6Qj2finDHZApW/WXTSG21z3zPne4hkF0KU= X-Google-Smtp-Source: ABdhPJzXztxbr4FmgvnwH8E/RJGEAlZvYe9hI9yyObWQZRyND9ADSy6MeU7DUuWtutlweFUjetTsqDTDaB8JDqlRvG4= X-Received: by 2002:a2e:8899:: with SMTP id k25mr9981679lji.68.1605949008043; Sat, 21 Nov 2020 00:56:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Arvydas Silanskas Date: Sat, 21 Nov 2020 10:56:36 +0200 Message-ID: Subject: Re: Kawa maven plugin To: Duncan Mak Cc: kawa mailing list X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: kawa@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Kawa mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2020 08:56:51 -0000 I'm terribly sorry, Duncan, about misspelling of your name in my last mail. How embarrassing. 2020-11-21, =C5=A1t, 10:53 Arvydas Silanskas ra=C5=A1=C4=97: > Hi Duncat, > > regarding your first mail, the issue seems due to sensitive defaults. All > warning options default to true, and warn-as-error is also true. Adding = to > the plugin declaration > > > false > > > seems to fix it. I'm not sure why kawa emits the `unused` warning in the > first case, but not the other. > > Arvydas > > 2020-11-21, =C5=A1t, 05:39 Duncan Mak ra=C5=A1=C4= =97: > >> Hello Arvydas, >> >> I wanted to give your maven plugin a try, so I took the pom.xml from >> Gluon's HelloFX and tried to make it work with Kawa sources instead of J= ava. >> >> https://github.com/duncanmak/kawa-javafx-graalvm >> >> I wonder what I'm doing wrong in my pom.xml - >> >> mvn kawa:run works, and mvn compile claims it succeeded, but I don't see >> any class files in the target output directory, in fact, it's empty. >> >> hangul:kawa-javafx-graalvm (main) % mvn compile >> >> [*INFO*] Scanning for projects... >> >> [*INFO*] >> >> [*INFO*] *--------------< *com.github.duncanmak:kawa-javafx-graalvm* >> >--------------* >> >> [*INFO*] *Building HelloFXFromKawa 1.0.0-SNAPSHOT* >> >> [*INFO*] *--------------------------------[ jar >> ]---------------------------------* >> >> [*INFO*] >> >> [*INFO*] *--- *maven-resources-plugin:2.6:resources *(default-resources)= * >> @ kawa-javafx-graalvm* ---* >> >> [*INFO*] Using 'UTF-8' encoding to copy filtered resources. >> >> [*INFO*] skip non existing resourceDirectory >> /Users/duncan/git/duncanmak/kawa-javafx-graalvm/src/main/resources >> >> [*INFO*] >> >> [*INFO*] *--- *maven-compiler-plugin:3.8.1:compile *(default-compile)* @ >> kawa-javafx-graalvm* ---* >> >> [*INFO*] No sources to compile >> >> [*INFO*] >> >> [*INFO*] *--- *kawa-maven-plugin:0.0.5:compile *(compile)* @ >> kawa-javafx-graalvm* ---* >> >> (compiling >> /Users/duncan/git/duncanmak/kawa-javafx-graalvm/./src/main/scheme/main.s= cm >> to javafx-app) >> >> /Users/duncan/git/duncanmak/kawa-javafx-graalvm/./src/main/scheme/main.s= cm:11:10: >> no use of hello-world >> >> /Users/duncan/git/duncanmak/kawa-javafx-graalvm/./src/main/scheme/main.s= cm:13:10: >> no use of start >> >> [*INFO*] >> *-----------------------------------------------------------------------= -* >> >> [*INFO*] *BUILD SUCCESS* >> >> [*INFO*] >> *-----------------------------------------------------------------------= -* >> >> [*INFO*] Total time: 2.948 s >> >> [*INFO*] Finished at: 2020-11-20T22:36:08-05:00 >> >> [*INFO*] >> *-----------------------------------------------------------------------= -* >> >> I wonder if this has to do with the fact that Kawa doesn't seem to be >> handling the main method correctly (see the warnings saying "no use of >> start"). >> >> Any ideas? Per, maybe you know what's missing? I noticed that I get the >> error even if I just run kawa --main -C src/main/scheme/main.scm, so it >> might not have to do with the Maven plugin. >> >> Thanks! >> >> >> On Sat, Nov 7, 2020 at 4:39 PM Duncan Mak wrote: >> >>> Very cool work! I'm interested in using it in my personal project. >>> >>> It'd be interesting to see if this can be the basis for something like >>> https://clojure.org/guides/deps_and_cli for Kawa. >>> >>> On Sat, Nov 7, 2020 at 10:09 AM Arvydas Silanskas via Kawa < >>> kawa@sourceware.org> wrote: >>> >>>> Good evening, >>>> >>>> I'd like to share a maven plugin I've been working on lately >>>> https://github.com/arvyy/kawa-maven-plugin/ (examples on how it can be >>>> used >>>> can be seen https://github.com/arvyy/kawa-maven-plugin-example/). The >>>> main >>>> premise for using maven (with this plugin), is the automatic dependenc= y >>>> (including kawa runtime) gathering. I hope some of you find this usefu= l. >>>> >>>> Arvydas >>>> >>> >>> >>> -- >>> Duncan. >>> >> >> >> -- >> Duncan. >> >