run-platform tries to start ${project}_w.exe instead of ${project}.exe
----------------------------------------------------------------------

                 Key: MNBMODULE-66
                 URL: http://jira.codehaus.org/browse/MNBMODULE-66
             Project: Maven 2.x Netbeans Module Plugin
          Issue Type: Bug
    Affects Versions: 3.1
         Environment: Windows XP
            Reporter: Bjorn Nord
            Assignee: Milos Kleint


Hi,

When I mvn nbm:run-platform using RELEASE67 in my nb-dependencies, nbm tries to 
start my project with the _w.exe extionsion instead of .exe.

I changed RunPlatformAppMojo.java around line 100 to:
 File exec;
        if (windows) {
            exec = new File( appbasedir, "bin\\" + brandingToken + "_w.exe" );
            if (!exec.exists()) {
                // Was removed as of nb 6.7
                exec = new File( appbasedir, "bin\\" + brandingToken + ".exe" );
            }
        } else {
            exec = new File( appbasedir, "bin/" + brandingToken );
        }

in order to have it working in my environment.

You think I did the right thing?

Kindest regards,

Björn

-- 
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



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to