[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-822) JBoss adapter classpath's are not visible for tests (and everything else)

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Aug 22 09:30:18 EDT 2007


JBoss adapter classpath's are not visible for tests (and everything else)
-------------------------------------------------------------------------

                 Key: JBIDE-822
                 URL: http://jira.jboss.com/jira/browse/JBIDE-822
             Project: JBoss Tools
          Issue Type: Bug
          Components: JBoss Tools Core
    Affects Versions: 2.0.0.Beta3
            Reporter: Max Andersen
         Assigned To: Marshall Culpepper
            Priority: Blocker
             Fix For: 2.0.0.Beta4


Create a junit test that contains this (in a dynamic web project or seam project):

import javax.faces.application.FacesMessage;

import junit.framework.TestCase;

public class Test extends TestCase {

		public void testShouldNotFail() throws Exception {
			javax.faces.event.PhaseListener.class.toString();
		}
}

This compiles fine, but will fail with classnotfoundexception on our adapter since the contribute classpath seem to not be considered as part of what should be available for anything launched (e.g. junittests)

This is critical for Seam projects to execute tests.

Places it is visible we are "special"
If you try and edit the junit test launch configuration you will see that all classlibraries except ours is added.
If you go to "Targetted runtimes" on a project and click on us the "Runtime composition" shows something very specific to us as if we do it on the default adapter "JBoss 4.2 the JDK" is shown..that makes much more sense.

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

        



More information about the jbosstools-issues mailing list