This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MS-DOS path warning with maven


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]