[JIRA] Created: (APF-1120) CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources

4 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-1120) CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources

Reply Threaded More More options
Print post
Permalink
CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources
---------------------------------------------------------------------------------------------------------------------------

                 Key: APF-1120
                 URL: http://issues.appfuse.org/browse/APF-1120
             Project: AppFuse
          Issue Type: Bug
          Components: Tools - AMP
    Affects Versions: 2.0-M5
         Environment: Windows XP JDK 1.5 Eclipse
            Reporter: Daniel Henriksson
            Assignee: Matt Raible
             Fix For: 2.0-RC1


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

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1120) CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12610 ]

Daniel Henriksson commented on APF-1120:
----------------------------------------

Bug still exists with appfuse 2.0.2, at least with Struts 2 basic.

> CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: APF-1120
>                 URL: http://issues.appfuse.org/browse/APF-1120
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Tools - AMP
>    Affects Versions: 2.0-M5
>         Environment: Windows XP JDK 1.5 Eclipse
>            Reporter: Daniel Henriksson
>            Assignee: Matt Raible
>             Fix For: 2.0-RC1
>
>
> 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

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1120) mvn appfuse:full-source on a appfuse-basic-struts projects generates a duplicate hibernate.cfg.xml in test resources

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1120:
-----------------------------

    Affects Version/s:     (was: 2.0-M5)
                       2.0.2
        Fix Version/s:     (was: 2.0-RC1)
                       2.1
              Summary: mvn appfuse:full-source on a appfuse-basic-struts projects generates a duplicate hibernate.cfg.xml in test resources  (was: CLONE -mvn appfuse:full-source on a appfuse-basic-spring projects generates a duplicate hibernate.cfg.xml in test resources)

> mvn appfuse:full-source on a appfuse-basic-struts projects generates a duplicate hibernate.cfg.xml in test resources
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: APF-1120
>                 URL: http://issues.appfuse.org/browse/APF-1120
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Tools - AMP
>    Affects Versions: 2.0.2
>         Environment: Windows XP JDK 1.5 Eclipse
>            Reporter: Daniel Henriksson
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>
> 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

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-1120) mvn appfuse:full-source on a appfuse-basic-struts projects generates a duplicate hibernate.cfg.xml in test resources

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-1120:
-----------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> mvn appfuse:full-source on a appfuse-basic-struts projects generates a duplicate hibernate.cfg.xml in test resources
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: APF-1120
>                 URL: http://issues.appfuse.org/browse/APF-1120
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Tools - AMP
>    Affects Versions: 2.0.2
>         Environment: Windows XP JDK 1.5 Eclipse
>            Reporter: Daniel Henriksson
>            Assignee: Matt Raible
>             Fix For: 2.1.0-M2
>
>
> 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

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]