[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5723) JAX-RS Usability Issues

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Wed Jan 27 16:22:19 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12508829#action_12508829 ] 

Brian Fitzpatrick commented on JBIDE-5723:
------------------------------------------

When you add JUnit in the way documented in Comment #14, you may see a message in the Problem Markers or Markers view that says "Classpath entry org.eclipse.jdt.junit.JUNIT_CONTAINER/4 will not be exported or published. Runtime ClassNotFoundExceptions may result."

This issue can be solved by the following steps:

1) Right-click on the project. Select "Properties" in the popup menu.
2) Find and select "Java EE Module Dependencies" in the list on the left of the Properties dialog.
3) Look for "JUnit 4" and check the box beside it. Click Apply and then OK or just OK. The JUnit 4 library will now be deployed in the WEB-INF/lib folder automatically at deploy time. 

This works the same if you configure a User Library in the Build Path for the project. You can associate all the jars you want for the user library from the RestEasy runtime directory and then configure the Java EE Module Dependencies the same way to make sure those jars are deployed with the web service project.

> JAX-RS Usability Issues
> -----------------------
>
>                 Key: JBIDE-5723
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5723
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>            Reporter: Burr Sutter
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.1.0.CR2, 3.2.next
>
>         Attachments: 10_Code_Application_Class.jpg, 11_Update_WebXML.jpg, 12_Add_JAXRS_JARS.jpg, 13_Add_JAXRS_JARS_To_Project.jpg, 13_Add_JAXRS_JARS_To_Project.jpg, 14_Begin_Add_Remove.jpg, 16_After_Deployment.jpg, 17_Browser_Test.jpg, 1_New_Class_Menu.jpg, 2_New_Class_Wizard.jpg, 3_Before_Annotations.jpg, 4_With_Import_Statements.jpg, 5_Java_Build_Path_Before.jpg, 6_JAR_Selection.jpg, 7_Java_Build_Path_After.jpg, 8_Completed_Hello_World.jpg, 9_Add_Application_Class.jpg, AnotherWebProject.war.zip, JAX_RS_HelloWorld.pdf, JAX_RS_Workflow.pdf, My_JAX-RS_HelloWorld.zip
>
>
> 1) Validate the steps - 17 screenshots provided to illustrate the attempted workflow
> 2) Document the steps involved in using JAX-RS with a Dynamic Web Project 
> 3) Reduce the number of steps involved by properly configuring the build path/lib directory

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list