Git Product home page Git Product logo

Comments (6)

samskivert avatar samskivert commented on September 3, 2024

Can you include the part of your getdown.txt that sets the jvmargs?

Also, Getdown generates a launcher.log (in the app directory) which will tell you exactly what arguments it's passing to the JVM when it launches your app, so you can look at that to see if something looks amiss.

from getdown.

MystyxMac avatar MystyxMac commented on September 3, 2024

I modified my first post with the requested info.

from getdown.

samskivert avatar samskivert commented on September 3, 2024

Those backslashes are preventing the %ENV.USERNAME% blocks from working. In the launcher.log you should not see %ENV.USERNAME% you should see the actual environment variables that were substituted.

For example, if I add this to the Getdown testapp:

jvmarg = -Dusername=%ENV.USER%

When I look at launcher.log I see my actual USER env variable:

2016/03/23 09:11:01:988 INFO n.a: Running /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin/java
  -classpath
  /Users/mdb/projects/getdown/testapp/target/testapp/testapp-jar-with-dependencies.jar
  -Xdock:icon=/Users/mdb/projects/getdown/testapp/target/testapp/../desktop.icns
  -Xdock:name=Getdown Test App
  -Dcom.threerings.getdown=true
  -Dusername=mdb
  com.threerings.testapp.TestApp
  /Users/mdb/projects/getdown/testapp/target/testapp

from getdown.

samskivert avatar samskivert commented on September 3, 2024

Oh, actually it's probably not the backslashes. I just tried that, and it still did the substitution:

jvmarg = -Dusername=\%ENV.USER%

yielded:

  -Dusername=\mdb

So you must just not actually be using the new code.

from getdown.

MystyxMac avatar MystyxMac commented on September 3, 2024

I'm using the new code. The problem is not the substitution of the ENV parameters.
When I start my app with getdown, it creates a folder like c:\data\app\mystyxmac. The recording files also gets created, but when I try to open it in Mission Control, I get the message that there are no recording events.
When I start my app without getdown, there are recording events.

from getdown.

samskivert avatar samskivert commented on September 3, 2024

I don't know. Getdown reports in launcher.log the EXACT command line that it is running. So if you run that exact same command and get different behavior, then something outside of Getdown's control is going awry.

from getdown.

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.