[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1277) Test's can't run when -ds.xml is not on the sourcepath

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 7 15:37:44 EST 2007


Test's can't run when -ds.xml is not on the sourcepath
------------------------------------------------------

                 Key: JBIDE-1277
                 URL: http://jira.jboss.com/jira/browse/JBIDE-1277
             Project: JBoss Tools
          Issue Type: Bug
          Components: Seam
    Affects Versions: 2.0.0.Beta4
            Reporter: Max Andersen
         Assigned To: Denis Golovin
            Priority: Blocker
             Fix For: 2.0.0.CR1


the change from having -ds.xml in the classpath to a resources dir breaks the execution of unit tests since the -ds.xml is not found by the deployer.

Since the resources folder where intended for non-classpath relevant things I suggest we put the -ds.xml into the META-INF/ dir since they are special files being picked up by the jboss deployers.

I guess this affect both WAR and EAR.

Test case is simple:

EXECUTE: Create New Seam Project
EXECUTE: Create New Seam Action
EXECUTE:right click the generated test xml and execute TestNG
ASSERT: Green light! and not some error about datasource not being found.

-- 
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