[mojo-dev] [jira] Commented: (MOJO-94) mavencall file different on Windows platform because "m2" is written as "m2.bat"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[mojo-dev] [jira] Commented: (MOJO-94) mavencall file different on Windows platform because "m2" is written as "m2.bat"

JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/MOJO-94?page=comments#action_49640 ]

Mark Donszelmann commented on MOJO-94:
--------------------------------------

So, the tests on Windows will always fail !

I understand it is a feature to generate the output file on windows with m2.bat in it (which is correct).

But when I run the tests of the netbeans plugin, the test fail, since the reference files are the ones from unix.

I guess one could make the FileCompare smart enough to ignore the ".bat" extension or to see
if it ran on Windows that a compare to "m2" should be interpreted as a compare to "m2.bat".

To reiterate, the code of the netbeans plugin is correct (also for windows), but the test against
the reference file fails on windows.



> mavencall file different on Windows platform because "m2" is written as "m2.bat"
> --------------------------------------------------------------------------------
>
>          Key: MOJO-94
>          URL: http://jira.codehaus.org/browse/MOJO-94
>      Project: Mojo
>         Type: Bug
>   Components: netbeans
>  Environment: Windows
>     Reporter: Mark Donszelmann
>     Assignee: Raphaël Piéroni
>     Priority: Minor

>
>
> The reference file for mavencall for all the test projects contains "m2".
> A litteral diff of the generated mavencall file on Windows will fail, since it contains "m2.bat"
> though it is correct.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira