question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

application always run from root directory

See original GitHub issue
val p = project {
 ...
}

val example = project(p) {
    name = "example"
    directory = "example"
    ...
    application {
        mainClass = "com.example.foo"
    }
}

./kobaltw example:run will execute from the root directory, not directory.

This will be even more important if Kobalt is to support multiple build files.

Probably related to #273

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cbeustcommented, Apr 7, 2017

Yes, you just need to launch it in a separate process. I can modify run to do that.

0reactions
cbeustcommented, Apr 8, 2017

1.0.57.

Read more comments on GitHub >

github_iconTop Results From Across the Web

linux - program needs to be run as root by any user and can ...
foo needs to be able to be run by any user and can be located at any path. The reason this program can...
Read more >
How to open programs with Root access on Linux
The fastest and usually most reliable way to launch programs with Root privileges is to log into Root in the terminal, and then...
Read more >
How to run applications as root? - Ask Ubuntu
It is pretty simple to run a program as root. For a console program use sudo <program name>. If it is a GUI...
Read more >
Determine project root from a running node.js application
The package.json file is normally located at the root directory of a Node.js project. const fs = require(' ...
Read more >
macos - Making a program always run as root in OS X
There are two things to know here: The sticky bit, which could be used on files and directories, but won't do what you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found