X-Recipient: archive-cygwin@delorie.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@bopp.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@cygwin.com
Subject: Re: MS-DOS path warning with maven
References: <AANLkTinlLG_jJa_RYdXZoEge1uXJsr7r4uHqvN2dsJeI@mail.gmail.com>	 <4BE81BBF.7040700@bopp.net> <AANLkTin3SIu5H_Qm4hWymzEXYZJntreagosIqFyE0V5Y@mail.gmail.com>
In-Reply-To: <AANLkTin3SIu5H_Qm4hWymzEXYZJntreagosIqFyE0V5Y@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

