| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_MV |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4BE855DD.4090506@bopp.net> |
| Date: | Mon, 10 May 2010 13:52:13 -0500 |
| From: | Jeremy Bopp <jeremy AT bopp DOT net> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: MS-DOS path warning with maven |
| References: | <AANLkTinlLG_jJa_RYdXZoEge1uXJsr7r4uHqvN2dsJeI AT mail DOT gmail DOT com> <4BE81BBF DOT 7040700 AT bopp DOT net> <AANLkTin3SIu5H_Qm4hWymzEXYZJntreagosIqFyE0V5Y AT mail DOT gmail DOT com> |
| In-Reply-To: | <AANLkTin3SIu5H_Qm4hWymzEXYZJntreagosIqFyE0V5Y@mail.gmail.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 5/10/2010 12:59 PM, David Balažic wrote: > mvn -version also gives the message. > > > $ which -a java > /cygdrive/c/WINDOWS/system32/java > > > $ set | grep JAVA > JAVA_HOME='C:\Program Files\Java\jdk1.6.0_20' > > I'm not caiming there is somethng wrong with cygwin, jut find it > surprising to get this warning with a cygwin-aware program (mvn). The mvn script also sources /etc/mavenrc and ~/.mavenrc files if they exist, so it's possible that what you're seeing is the result of something running in one of them. I noticed that the path in the warning message references the boot subdirectory of the Maven installation, however, so I suspect that the problem is actually occurring either during or after the hand-off to Java to actually run the Java class used to instantiate Maven. What's the output when you run the following? $ sh -x "$(which mvn)" -version -Jeremy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |