You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/03/22 08:01:51 UTC

[Bug 59211] New: Add hamcrest to IDE's classpath to make test case compilable

https://bz.apache.org/bugzilla/show_bug.cgi?id=59211

            Bug ID: 59211
           Summary: Add hamcrest to IDE's classpath to make test case
                    compilable
           Product: Tomcat 9
           Version: 9.0.0.M4
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: huxing.zhang@gmail.com

The ant task ide-eclipse helps us to generate configuration files for IDE, but
I found that hamcrest is missing in the classpath generated for IDE. Thus I
have to manually add it to classpath  in order to run test case from IDE.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59211] Add hamcrest to IDE's classpath to make test case compilable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59211

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Violeta Georgieva <vi...@apache.org> ---
(In reply to Huxing Zhang from comment #3)
> Hi, I'm using Intellij IDEA 14.1, the way I import tomcat source code  is to
> import from eclipse project, since there is no ide-idea ant task.

I understand.

Thanks for the report and the patch.
The fix will be available from 9.0.0.M5, 8.5.1, 8.0.34 and 7.0.69 onwards.

Regards,
Violeta

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59211] Add hamcrest to IDE's classpath to make test case compilable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59211

--- Comment #1 from Huxing Zhang <hu...@gmail.com> ---
Created attachment 33691
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33691&action=edit
Patch to add hamcrest to IDE's classpath.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59211] Add hamcrest to IDE's classpath to make test case compilable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59211

--- Comment #3 from Huxing Zhang <hu...@gmail.com> ---
Hi, I'm using Intellij IDEA 14.1, the way I import tomcat source code  is to
import from eclipse project, since there is no ide-idea ant task.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59211] Add hamcrest to IDE's classpath to make test case compilable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59211

--- Comment #2 from Violeta Georgieva <vi...@apache.org> ---
Hi,

I'm curios about the Eclipse version.
With Eclipse Luna and Mars this is added by default with the following
declaration

<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>

junit and hamcrest jar files are taken from  Eclipse plugins folder.

Thanks,
Violeta

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org