|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
run.args.extra= -J-D....In a module suite's nbproject/project.properties file there is
run.args.extra= -J-Dcom.raelity.jvi.motd=file:///c:/a/src/jvi-docs/htdocs/motd and in a module there is String s = System.getProperty("com.raelity.jvi.motd"); The variable 's' is always null when I run NB from NB. I have tried quoting the run.args.extra in various ways, but no luck. I'm working on windows. Any idea what dumb thing I'm doing? -ernie |
|
|
Re: run.args.extra= -J-D....Should work. Have you tried a clean and build maybe? If you had built prior to adding this that could be it I think. Wade ================== Wade Chandler, CCE Software Engineer and Developer Certified Forensic Computer Examiner NetBeans Dream Team Member and Contributor http://www.certified-computer-examiner.com http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam http://www.netbeans.org ----- Original Message ---- > From: Ernie Rael <err@...> > To: dev@... > Sent: Saturday, July 4, 2009 1:59:47 PM > Subject: [openide-dev] run.args.extra= -J-D.... > > In a module suite's nbproject/project.properties file there is > run.args.extra= > -J-Dcom.raelity.jvi.motd=file:///c:/a/src/jvi-docs/htdocs/motd > and in a module there is > String s = System.getProperty("com.raelity.jvi.motd"); > The variable 's' is always null when I run NB from NB. I have tried quoting the > run.args.extra in various ways, but no luck. I'm working on windows. > > Any idea what dumb thing I'm doing? > > -ernie |
|
|
Re: run.args.extra= -J-D....If I run the "debug" target from the context menu over suite>ImportantFiles>BuildScript then it works ok, as opposed to using the toolbar button "Debug Main Project". -ernie Wade Chandler wrote: Should work. Have you tried a clean and build maybe? If you had built prior to adding this that could be it I think. Wade ================== Wade Chandler, CCE Software Engineer and Developer Certified Forensic Computer Examiner NetBeans Dream Team Member and Contributor http://www.certified-computer-examiner.com http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam http://www.netbeans.org ----- Original Message ----From: Ernie Rael err@... To: dev@... Sent: Saturday, July 4, 2009 1:59:47 PM Subject: [openide-dev] run.args.extra= -J-D.... In a module suite's nbproject/project.properties file there is run.args.extra= -J-Dcom.raelity.jvi.motd=file:///c:/a/src/jvi-docs/htdocs/motd and in a module there is String s = System.getProperty("com.raelity.jvi.motd"); The variable 's' is always null when I run NB from NB. I have tried quoting the run.args.extra in various ways, but no luck. I'm working on windows. Any idea what dumb thing I'm doing? -ernie |
| Free embeddable forum powered by Nabble | Forum Help |