[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870?page=c...
]
Andreas Joseph Krogh commented on HHH-4870:
-------------------------------------------
Fixed the jdk6-issue issuing:
{code}
export jdk16_home=/opt/jdk1.6.0_19
{code}
po2xml is not mentioned on that "sourcecode"-page, which gave me an error:
{code}
[INFO] Expanding:
/home/andreak/.m2/repository/org/jboss/jbossorg-fonts/1.0.0/jbossorg-fonts-1.0.0.jdocbook-style
into /home/andreak/dev/hibernate/documentation/manual/target/docbook/staging
[INFO] [jdocbook:translate {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unexpected problem
Embedded error: unable to execute po2xml : java.io.IOException: po2xml: not found
{code}
Fixed it issuing
{code}
sudo apt-get install poxml
{code}
I got one more error, which I ignored as all the libs were installed:
{code}
found empty tag entry
[INFO] [jdocbook:generate {execution: default-generate}]
[INFO] applying DocBook profiling
[/home/andreak/dev/hibernate/documentation/manual/target/docbook/work/profile/en-US/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml]
[INFO] applying DocBook profiling
[/home/andreak/dev/hibernate/documentation/manual/target/docbook/work/profile/de-DE/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml]
Error on line 46 column 89 of
file:/home/andreak/dev/hibernate/documentation/manual/target/docbook/work/xml/de-DE/Book_Info.xml:
Error reported by XML parser: Premature end of file.
Error on line 46 column 89 of
file:/home/andreak/dev/hibernate/documentation/manual/target/docbook/work/xml/de-DE/Book_Info.xml:
Error reported by XML parser: Error attempting to parse XML file
(href='legal_notice.xml').
Error on line 79 column 82 of
file:/home/andreak/dev/hibernate/documentation/manual/target/docbook/work/xml/de-DE/HIBERNATE_-_Relational_Persistence_for_Idiomatic_Java.xml:
Error reported by XML parser: Error attempting to parse XML file
(href='Book_Info.xml').
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XSLT problem
Embedded error: error performing translation [null] : org.xml.sax.SAXParseException: Error
attempting to parse XML file (href='Book_Info.xml').
{code}
Don't know if this is useful information but It'll likely bite anyone trying to
build Hibernate fresh from source without prior knowledge.
Anyway; Great work!
Cannot determine java-type from given member [null]
---------------------------------------------------
Key: HHH-4870
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4870
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.0-Beta-4
Environment: jdk 6u18
glassfishv3
Reporter: Marcial Atienzar
Assignee: Steve Ebersole
Fix For: 3.5.0.Next
Attachments: eclipse.debug, Empre.java, fk_to_nonpk.zip, hibernate.cfg.xml,
hibernateTest.ear, jpa2-failure-java.jar, jpa2-failure.jar, persistence.xml,
Prcontra.java, PrcontraPK.java
Time Spent: 6 hours, 35 minutes
Remaining Estimate: 0 minutes
I've tested to migrate from hibernate 3.3.2 to 3.5.0 Beta4.
I've remove all hibernate*.jar from classpath and add only de hibernate3.jar
I've downloaded the source off hibernate-entitymanager to debug from eclipse.
I've reached the class that has the error, but I don't know what can I do to
resolve it.
I'm doing something wrong?
I attatch the sources of the classes that takes part on eclipse debug.
I don't know how to attach a testcase. The project has more than 200 entities.
I've post previously in hibernate forums:
https://forum.hibernate.org/viewtopic.php?f=1&t=1002363&p=2424419...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira