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

Anton Klimkovich (JIRA) jira-events at lists.jboss.org
Wed Dec 24 09:00:54 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Klimkovich closed JBIDE-1277.
-----------------------------------



Verified and closed.

> Test's can't run when -ds.xml is not on the sourcepath
> ------------------------------------------------------
>
>                 Key: JBIDE-1277
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-1277
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 2.0.0.Beta4
>         Environment: Seam 2.0
>            Reporter: Max Rydahl Andersen
>            Assignee: Max Rydahl Andersen
>            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: 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