AppFuse JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
  • AppFuse
  • APF-794

mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-M5
  • Fix Version/s: 2.0-RC1
  • Component/s: Tools - AMP
  • Labels:
    None
  • Environment:
    Windows XP JDK 1.5 Eclipse

Description

When running mvn appfuse:full-source. A hibernate.cfg.xml file is placed in both src/main/resources and src/test/resources. This causes all tests to fail since hibernate will read the incorrect configuration file from src/test/resources during unit testing. As a work around, simply delete the hibernate.cfg.xml from the test resources

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
Hide
Permalink
Matt Raible added a comment - 04/Jun/07 3:48 PM
Fixed in r2752:

http://fisheye4.cenqua.com/changelog/appfuse/?cs=2752
Show
Matt Raible added a comment - 04/Jun/07 3:48 PM Fixed in r2752: http://fisheye4.cenqua.com/changelog/appfuse/?cs=2752

People

  • Assignee:
    Matt Raible
    Reporter:
    Todd Nine
Vote (0)
Watch (1)

Dates

  • Created:
    03/Jun/07 4:21 PM
    Updated:
    04/Jun/07 3:48 PM
    Resolved:
    04/Jun/07 3:48 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for AppFuse. Try JIRA - bug tracking software for your team.