Path to test pages uses workDirectory instead of testSourceDirectory
--------------------------------------------------------------------

                 Key: MOJO-989
                 URL: http://jira.codehaus.org/browse/MOJO-989
             Project: Mojo
          Issue Type: Bug
          Components: javascript-tools
            Reporter: Bryan Kyle
         Attachments: patch.diff

When running the javascript:jsunit goal, the testPage parameter is pointing to 
the wrong location.  As generated from the Mojo, the URL is: 

file:///E:/src/WS-Trunk/translator/war/src/test/jsunit/testRunner.html?autoRun=true&submitresults=true&resultid=TEST-testsuite&testPage=E:/src/WS-Trunk/translator/war/target/test-scripts/testsuite.html

However, it should be:

file:///E:/src/WS-Trunk/translator/war/src/test/jsunit/testRunner.html?autoRun=true&submitresults=true&resultid=TEST-testsuite&testPage=E:/src/WS-Trunk/translator/war/src/test/javascript/testsuite.html

It appears that the Mojo is using workingDirectory as the root of the testPage 
instead of testSourceDirectory.


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