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

[jira] Resolved: (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


     [ http://jira.codehaus.org/browse/JMOCK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce resolved JMOCK-218.
-----------------------------

         Assignee: Nat Pryce
       Resolution: Fixed
    Fix Version/s: 2.6.0

I've moved the SingleThreadedImposteriser to the internal package.  I haven't changed the build but will be happy to apply the change if you attach it in its own patch file.

> 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
>            Assignee: Nat Pryce
>             Fix For: 2.6.0
>
>         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