Coder Social home page Coder Social logo

Comments (6)

pmlopes avatar pmlopes commented on June 21, 2024

Can you describe how you're trying to run? command line, ide? also what is your cwd path when you run, so we can try to reproduce the issue.

from vertx-examples.

cescoffier avatar cescoffier commented on June 21, 2024

It's probably a "current working directory" issue.

from vertx-examples.

ragulan77 avatar ragulan77 commented on June 21, 2024

I am runing with almost the last version of Netbeans. I switch on the tag 3.0.0 with git, click "run" on Netbeans and select the concerning class. I don't know what to say about the cwd path, actually my netbeans is on my desktop.

edit : I tried on both linux mint and Windows 8.1

from vertx-examples.

purplefox avatar purplefox commented on June 21, 2024

Yes, I believe there is at least one other issue like this. The solution is to set up the IDE to the correct working dir.

from vertx-examples.

purplefox avatar purplefox commented on June 21, 2024

Just a thought. I think we can fix it so the examples run on every IDE out of the box even if the IDEs have different cwd configured.

All we need to do is to evaluate new File(".").getAbsolutePath() to find out what the actual cwd is set to. Then we compare that to the examples directory that the test wants. There will be some overlap in the paths. From that we can compute what to set System.setProperty("vertx.cwd", exampleDir); to in ExampleRunner.java (in vertx-examples).

from vertx-examples.

purplefox avatar purplefox commented on June 21, 2024

Should be fixed with #89

from vertx-examples.

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.