Hibernate Development Environment
by Thamayanthi Guhan
Hi Everyone,
I have downloaded the hibernate 3.6 code from git. I had few problem which
i have corrected problem as I am using windows environment. Environment:
Windows Vista, 64bit, Eclipse Galieo. The problem which i faced was gradle
script hibernate-distribution project failing when
${project.basedir} replaced with actual as windows placing path with "\"
than "/". So while running throws exception invalid character. To fix that
problem i modified the file with original path than ${project.basedir}.
Do I to use only Linux environment to work on development activity?
Please help me.
Thanks
Thamayanthi
14 years, 5 months
Re: [hibernate-dev] building hibernate-search for testing HSEARCH-679
by Sanne Grinovero
Hi Adam,
thanks for the reminder, sorry the issue was not assigned to me so it
was lost in the pile of low priority things.
I've been looking into it today, and thanks a lot to your testcase as
stepping through it clarified the case.
Unfortunately I have bad news, this is more complex than what I
expected as it seems it will require changes in Hibernate Core: even
if that was easy we're working on Hibernate4 so this fix will depend
on moving Hibernate Search to depend on Hibernate4 (that's going to
come very fast - I'm just saying that this fix is very unlikely in an
hypothetical version 3.4.1 but will need to be Hibernate Search 4.0.0
in best case)
In short:
The event we (H.S.) receive from Hibernate Core only contain this
information "org.hibernate.search.test.engine.optimizations.LocationGroup.locations
was updated"
We don't know exactly what changed, so there's no way for the listener
to know that you only added a new element (or which one), they might
potentially be all different so an update on the whole collection is
required to guarantee changes are not lost.
Sad to have found such a limitation in H.S. and not being able to help
you quickly, but thank you a lot for spotting and reporting it. Please
get in touch on the forums if you need some help to implement a
workaround.
In case you want to try help contributing a fix (that would be very
nice) you can start by pulling this
https://github.com/Sanne/hibernate-search/tree/HSEARCH-782
where I've updated your testcase to actually expect the correct case
(so it currently fails), but I'd suggest waiting a bit for it to be
updated to Hibernate 4.
Sanne
2011/7/5 Adam Harris <adam.harris7(a)gmail.com>:
> Any chance to look at HSEARCH-782 yet?
> Adam
>
> On Thu, Jun 23, 2011 at 3:36 PM, Adam Harris <adam.harris7(a)gmail.com> wrote:
>>
>> Done - HSEARCH-782
>> Thanks and enjoy your holiday.
>> Adam
>>
>> On Thu, Jun 23, 2011 at 12:41 PM, Sanne Grinovero <sanne(a)hibernate.org>
>> wrote:
>>>
>>> Adam,
>>> actually could you open a new issue and attach your test to it? And
>>> please assign it to me. I don't think this is exactly the same as
>>> HSEARCH-679, they are likely related but this is more an improvement.
>>> We need to track all changes anyway.
>>>
>>> Regards,
>>> Sanne
14 years, 5 months
Initializable and Destructible equivalent in Hibernate Core 4
by Emmanuel Bernard
Hey,
Hibernate 3.6 had the notion of EventListeners's Initializable and Destructible lifecycles.
What is the new way of doing it in Hibernate Core 4?
I apologize of we have discussed it but my memory tells me I've no idea ;)
Emmanuel
14 years, 5 months
Re: [hibernate-dev] [Hibernate-JIRA] Commented: (HHH-6390) hibernate 3.6 build failed for hibernate-distribution project when development environment in windows
by Thamayanthi Guhan
Hi,
How you are saying? Because unix-style format is supported.Just I tried to
fix so that I can start working issues.
Thanks
Thamayanthi
On Wed, Jul 6, 2011 at 8:12 AM, Strong Liu (JIRA) <noreply(a)atlassian.com>wrote:
>
> [
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-6390?page=c...]
>
> Strong Liu commented on HHH-6390:
> ---------------------------------
>
> if then, i would suggest you just run "mvn clean install
> -DdisableDistribution=true", this will not active "hibernate-documentation"
> nor "hibernate-distribution" modules, and these two do not affect
> development (actually they're only useful when release hibernate)
> and even we *fix* this issue, you will run into another environment issue
>
> since, hibernate-documentation use jdocbook plugin to generate documents
> from docbook and also doing translation, but unforutunally, this translation
> task depends on some linux tool which are not available on windows
>
> > hibernate 3.6 build failed for hibernate-distribution project when
> development environment in windows
> >
> -----------------------------------------------------------------------------------------------------
> >
> > Key: HHH-6390
> > URL:
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-6390
> > Project: Hibernate Core
> > Issue Type: Patch
> > Components: core
> > Affects Versions: 3.6.0
> > Environment: Hibernate 3.6 Windows Environment
> > Reporter: Thamayanthi Karuppusamy
> > Priority: Minor
> >
> > unexpected char: '\' while running hibernate-distribution project
> whereever basedir used in gmaven script used. Because in windows environment
> \ but script is not accepting when the path \. So it has to be converted
> into unix-style before using project.basedir
>
> --
> 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
>
>
>
14 years, 5 months