| Summary: | h2.bat in greenpages sample refers to HOMEPATH environment variable, which fails when HOMEPATH doesn't exist on current drive | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Rick Herrick <rherrick> | ||||
| Component: | samples | Assignee: | Glyn Normington <glyn.normington> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | glyn.normington | ||||
| Version: | 2.3.0.RELEASE | ||||||
| Target Milestone: | 2.4.0.RELEASE | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rick Herrick
Created attachment 194638 [details]
Fixed h2.bat
I have one Win7 machine that has the HOME environment variable set up and another that doesn't. They both have HOMEDRIVE and HOMEPATH, so I just changed this to use:
"%HOMEDRIVE%%HOMEPATH%\.m2"
The db starts up properly now.
(In reply to comment #1) > Created attachment 194638 [details] > Fixed h2.bat > > I have one Win7 machine that has the HOME environment variable set up and > another that doesn't. They both have HOMEDRIVE and HOMEPATH, so I just changed > this to use: > > "%HOMEDRIVE%%HOMEPATH%\.m2" > > The db starts up properly now. This might seem silly, but to be squeaky clean from an IP perspective, please would you confirm that you made that change yourself and that you have the rights (such as your employer's permission) to donate the change. Oh and thanks very much for identifying and fixing this bug! Hi Rick We would like to release your fix. Please would you confirm that you made that change yourself and that you have the rights (such as your employer's permission) to donate the change. This is an essential part of the Eclipse IP process. Thanks, Glyn (In reply to comment #4) > We would like to release your fix. Please would you confirm that you made that > change yourself and that you have the rights (such as your employer's > permission) to donate the change. This is an essential part of the Eclipse IP > process. Yes, I made the change myself. My employer is NRG (http://nrg.wustl.edu) and all of our work is released under Simplified BSD, so there are no IP issues regarding ownership of this fix. Let me know if you need anything else from me! Thanks Rick. I've acknowledged your contribution and mentioned your employer in the 3.0 release notes. |