Coder Social home page Coder Social logo

Comments (4)

quarkus-bot avatar quarkus-bot commented on June 19, 2024

/cc @glefloch, @quarkusio/devtools

from quarkus.

brunobat avatar brunobat commented on June 19, 2024

No error reported on my machine both asking the question and with a following run:

bbaptist@bbaptist-mac gradle-analytics-error % quarkus create app -S 3.9 --gradle && cd code-with-quarkus && ./gradlew quarkusDev
Looking for the newly published extensions in registry.quarkus.io
-----------

applying codestarts...
📚 java
🔨 gradle
📦 quarkus
📝 config-properties
🔧 tooling-dockerfiles
🔧 tooling-gradle-wrapper
🚀 rest-codestart

-----------
[SUCCESS] ✅  quarkus project has been successfully generated in:
--> /Volumes/devel/projects/other/reproducers/gradle-analytics-error/code-with-quarkus
-----------
Navigate into this directory and get started: quarkus dev

> Task :quarkusDev
io.smallrye.common:smallrye-common-net::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-net/2.2.0/261d912ae8bc78a67df97e69a589f998440f6d1c/smallrye-common-net-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-net/2.3.0/4858c78377802c801d2f9b24141381733b256260/smallrye-common-net-2.3.0.jar
io.smallrye.common:smallrye-common-constraint::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-constraint/2.2.0/73c7b76ba2582b5bd92b0b5300ed85ce5c86d8cb/smallrye-common-constraint-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-constraint/2.3.0/1be18f3663dc7e8a5080039cdd10415ae679544/smallrye-common-constraint-2.3.0.jar
io.smallrye.common:smallrye-common-ref::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-ref/2.2.0/3887e9f5b9c6ab21e6f9d5f71d550ecbdafc620a/smallrye-common-ref-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-ref/2.3.0/8dee03ceb1c5466faaeb5554e045abfffa3df4eb/smallrye-common-ref-2.3.0.jar
io.smallrye.common:smallrye-common-expression::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-expression/2.2.0/efd956fc77a194e2067525587a73c01ed3f18d05/smallrye-common-expression-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-expression/2.3.0/10b4807e36c082607bbd22bd263898c2043bb5f6/smallrye-common-expression-2.3.0.jar
io.smallrye.common:smallrye-common-function::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-function/2.2.0/fa5b3437899e29e29dad719543d05bdd9c5c98a8/smallrye-common-function-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-function/2.3.0/17e2dcd9e238c99a6aaaba0162ba8547bfc8ade3/smallrye-common-function-2.3.0.jar
io.smallrye.common:smallrye-common-cpu::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-cpu/2.2.0/b70030308912ce33baafbf9775bba3a5d0c69b00/smallrye-common-cpu-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-cpu/2.3.0/46b679da6b944d7e99fe2c32928978d916770b26/smallrye-common-cpu-2.3.0.jar
Listening for transport dt_socket at address: 5005
Press [e] to edit command line args (currently ''), [h] for more options>
Tests paused
Press [e] to edit command line args (currently ''), [r] to resume testing, [h] for more options>
Press [e] to edit command line args (currently ''), [r] to resume testing, [o] Toggle test output, [h] for more options>
__  ____  __  _____   ___  __ ____  ______
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2024-05-15 10:53:42,961 INFO  [io.quarkus] (Quarkus Main Thread) code-with-quarkus 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.9.5) started in 1.025s. Listening on: http://localhost:8080
2024-05-15 10:53:42,963 INFO  [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2024-05-15 10:53:42,963 INFO  [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, rest, smallrye-context-propagation, vertx]

<===========--> 90% EXECUTING [1m 8s]
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :quarkusDev
> IDLE
> IDLE

Accepts requests:

bbaptist@bbaptist-mac ~ % curl -v http://localhost:8080/hello
*   Trying [::1]:8080...
* connect to ::1 port 8080 failed: Connection refused
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080
> GET /hello HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200 OK
< content-length: 23
< Content-Type: text/plain;charset=UTF-8
<
* Connection #0 to host localhost left intact
Hello from Quarkus REST%

Not sure if the analytics were sent

Using Quarkus cli 3.10.0
Gradle data:
```bash
bbaptist@bbaptist-mac code-with-quarkus % ./gradlew --version
]
------------------------------------------------------------
Gradle 8.6
------------------------------------------------------------

Build time:   2024-02-02 16:47:16 UTC
Revision:     d55c486870a0dc6f6278f53d21381396d0741c6e

Kotlin:       1.9.20
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          21.0.2 (Eclipse Adoptium 21.0.2+13-LTS)
OS:           Mac OS X 13.6.6 aarch64

from quarkus.

brunobat avatar brunobat commented on June 19, 2024

Not sure if the analytics were sent... Researching that.

from quarkus.

brunobat avatar brunobat commented on June 19, 2024

Run again... No errors with and without question.

The command to generate analytics must use a valid group id... The following command worked for me:

quarkus create app -S 3.9 --gradle org.brunobat:code-with-quarkus:1.0.0 && cd code-with-quarkus && ./gradlew quarkusDev

This is because the default group id, org.acme is ignored for analytics.

This way I can see the analytics file being created with gradle:

-rw-r--r--@  1 bbaptist  staff    824 May 15 11:30 build-analytics-event.json

from quarkus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.