« Return to Thread: [jira] Created: (JMOCK-218) Mockery depends on SingleThreadedImposteriser which is in the test source directory

[jira] Created: (JMOCK-218) Mockery depends on SingleThreadedImposteriser which is in the test source directory

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread

Mockery depends on SingleThreadedImposteriser which is in the test source directory
-----------------------------------------------------------------------------------

                 Key: JMOCK-218
                 URL: http://jira.codehaus.org/browse/JMOCK-218
             Project: jMock
          Issue Type: Bug
          Components: Library
    Affects Versions: 2.6.0
            Reporter: Tom Palmer
         Attachments: build-test.patch

org.jmock.Mockery currently depends on org.jmock.test.unit.lib.SingleThreadedImposteriser which is located in the test source folder thereby introducing a dependency from jmock.jar to jmock-tests.jar. To fix this I've moved test/org/jmock/test/unit/lib/SingleThreadedImposteriser.java to src/org/jmock/lib/SingleThreadedImposteriser.java. To prevent this happening in the future I've also updated the build.xml file so that the test files are compiled separately from the src files and placed into a separate directory (build/testclasses) to further prevent them being accidentally referenced.

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


 « Return to Thread: [jira] Created: (JMOCK-218) Mockery depends on SingleThreadedImposteriser which is in the test source directory