[
http://jira.codehaus.org/browse/MNG-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103645
]
Martin Gilday commented on MNG-2127:
What is the situation with this on WinXP SP2, with Maven 2.0.7? I have set
MAVEN_TER
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60662 ]
Brett Porter commented on MNG-2127:
---
its also for Maven 1, so it won't work for m2.
> mvn.bat always exits 0 on Windows 2000 and higher
> --
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60557 ]
Steve Loughran commented on MNG-2127:
-
Dan, the last fix was bugzilla ID 32069
http://issues.apache.org/bugzilla/show_bug.cgi?id=32069
and the SVN HEAD of ant.bat contains it, just a
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60520 ]
Dan Fabulich commented on MNG-2127:
---
exit /B is the only thing making this work nicely on Windows 2003. I'd rather
say "if errorlevel 1 exit /B >NUL 2>&1" which will work on Windows N
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60518 ]
Brett Porter commented on MNG-2127:
---
I guess we don't support Windows NT either :(
Perhaps we should remove the exit /B altogether and rely on errorlevel not
getting murdered by caref
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60514 ]
Dan Fabulich commented on MNG-2127:
---
Good points, Steve. I've filed a wish MNG-2139 for a ant task to
launch Maven.
When you say you believe Ant's return code on "winnt systems" was
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60507 ]
Steve Loughran commented on MNG-2127:
-
I believe Ant's return code on winnt systems was fixed as of last week. We
really need to think of a good regression test for this, because ant
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60505 ]
Dan Fabulich commented on MNG-2127:
---
Wow... I'm definitely surprised to see that ant.bat suffers from this same
problem. Let that teach me a valuable lesson. :-)
I'm definitely surp
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60464 ]
Emmanuel Venisse commented on MNG-2127:
---
ok, i'll look at it.
Actually, Continuum works by setting the MAVEN_TERMINATE_CMD, without
requiring any user intervention. For ant, we h
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60462 ]
Brett Porter commented on MNG-2127:
---
I know ant doesn't, and I'm saying ant doesn't work here either. cmd /C still
swallows the result.
Continuum works by setting the TERMINATE_CMD, w
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60461 ]
Emmanuel Venisse commented on MNG-2127:
---
ant doesn't use cmd /C call ...
it use cmd /C cd DIR && command for Windows XP/2000/NT
and it use an external launcher (antrun.bat for wind
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60460 ]
Brett Porter commented on MNG-2127:
---
It looks like we could add that to setDefaultShell() in plexus utils for
continuum to fix it permanently.
> mvn.bat always exits 0 on Windows 2000
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60459 ]
Brett Porter commented on MNG-2127:
---
Ant should be using:
cmd /C call mvn.bat
instead, though it doesn't know that it's a batch file, I assume.
Emmanuel, can we do this in Continuum
[ http://jira.codehaus.org/browse/MNG-2127?page=comments#action_60445 ]
Emmanuel Venisse commented on MNG-2127:
---
choice command is available only with ms resource kit
> mvn.bat always exits 0 on Windows 2000 and higher
> ---
14 matches
Mail list logo