Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1277

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.0.0.CR1
    • 2.0.0.Beta4
    • seam2
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              manderse@redhat.com Max Andersen
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: