Comments (6)
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.
I modified my first post with the requested info.
from getdown.
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.
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.
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.
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)
- Improvement suggestion for verification
- Portuguese translation issues HOT 1
- Exception with Java>14, the class Pack200 is missing
- How do I access the artifacts if the appbase URL in the getdown.txt file is of jfrog artifactory which requires credentials to log in?
- Download links broken
- Getdown not deleting validated marker files after update
- Error creating digest: Error computing digest HOT 1
- getdown update does not delete files deleted on the server in versionless mode HOT 2
- generating digest file in a project that does not use a built tool such as maven, ant HOT 1
- Option to enable relative paths to jarfiles in classpath entries HOT 1
- JVM error when adding JavaFX modules HOT 1
- [Question]How do you make an installer for a getdown project using jpackage? HOT 1
- Platform-specific Configuration for arm based mac
- cleanup_pattern problem - does not work HOT 2
- unable to build cloned getdown HOT 2
- getdown does not recognize downloaded java version HOT 1
- Sanitize JvmArgs HOT 2
- Starting with JDK 20, digest creation fails on dynamic `appbase`
- digest difference on zip file when migration from Getdown version 1.7 to version 1.8 HOT 3
- Digest exception when using a protected zip file (with password) in the application package HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getdown.