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

View: New views
4 Messages — Rating Filter:   Alert me  

[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 Threaded | Show Only this Message

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



[jira] Commented: (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 Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JMOCK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170138#action_170138 ]

Nat Pryce commented on JMOCK-218:
---------------------------------

Good catch.  The code in Subversion head is still work in progress. 2.6.0 is not yet released. For issues with the code in subversion, it's better to just send an email to the developers or users mailing list, rather than raising a JIRA.  We use JIRA for tracking issues against released versions.  

> 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



[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 Threaded | Show Only this Message


     [ 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



[jira] Updated: (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 Threaded | Show Only this Message


     [ 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