[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7145) Fix hibernate tools core build so works with Maven and tests passes and can get latest hibernate-tools.jar

Max Andersen (JIRA) jira-events at lists.jboss.org
Wed Sep 22 17:59:28 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12552545#action_12552545 ] 

Max Andersen commented on JBIDE-7145:
-------------------------------------

Took a while to fix, but here were the main reasons for failure:

1) Maven surefire plugin sets a basedir property which forces Ant to always run the test with root in project, but from within a plain ant or IDE run it was the same location as the build file.
Fixed by explicitly setting basedir in base ant tests to location of build file. We can probably cleanup the build.xml even more; but for now keeping simple.

2) tons of replacements seem to have been done in the build.xml file because of #1 and thus things couldn't build in IDE - fixing #1 made it so I could roll it back to something that work for both situations

3) There are still a few tests that fails in mvn because of testdb db not being cleaned up - to be looked into after Beta.

> Fix hibernate tools core build so works with Maven and tests passes and can get latest hibernate-tools.jar
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-7145
>                 URL: https://jira.jboss.org/browse/JBIDE-7145
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Hibernate
>    Affects Versions: 3.2.0.M2
>            Reporter: Max Andersen
>            Assignee: Max Andersen
>            Priority: Blocker
>             Fix For: 3.2.0.Beta1
>
>


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

        


More information about the jbosstools-issues mailing list