[
http://jira.codehaus.org/browse/JMOCK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Palmer updated JMOCK-218:
-----------------------------
Attachment: build.xml.patch
Ok - the next patch (if there is one :) ) will go to the developers list but for completeness here's the updated build.xml patch. I suspect you might want to change the checked in Eclipse settings files so that test outputs to a separate directory from src but I'm an IntelliJ user and don't have a copy of eclipse around to edit those.
> 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, build.xml.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