shifting hibernate hbm.xml files

Can anybody tell me what is modifying the hibernate configuration
files? I (perhaps naively) thought that the developer writes these
and keeps under version control.

Every now again I see that they have changed - usually just formatting
changes. Like they are being read and then written back out again by
"something". What on earth can be doing this?

Have noticed this for a while now but this has caused me some grief
today as I have included a couple of XML ENTITY declarations which
after compiling and installing seem to have disappeared again.

Baffled.
Bob

OK. That will have confused most of you. But it seems I am not crazy
either. Looks like a netbeans bug related to this one:
http://netbeans.org/bugzilla/show_bug.cgi?id=161628

Now what exactly triggers the rewrite is not clear. Its certainly not
to do with swing forms. But it has messed up my day.

Saptarshi have you seen anything like this?

Bob

···

On 1 November 2011 23:21, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

Can anybody tell me what is modifying the hibernate configuration
files? I (perhaps naively) thought that the developer writes these
and keeps under version control.

Every now again I see that they have changed - usually just formatting
changes. Like they are being read and then written back out again by
"something". What on earth can be doing this?

Have noticed this for a while now but this has caused me some grief
today as I have included a couple of XML ENTITY declarations which
after compiling and installing seem to have disappeared again.

Baffled.
Bob

I dont see them changing...
atleast when i tried to commit through bzr nothing showed up in
changed files for me

···

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 2 November 2011 05:50, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

OK. That will have confused most of you. But it seems I am not crazy
either. Looks like a netbeans bug related to this one:
161628 – ide automatically reformats hibernate's .hbm.xml files

Now what exactly triggers the rewrite is not clear. Its certainly not
to do with swing forms. But it has messed up my day.

Saptarshi have you seen anything like this?

Bob

On 1 November 2011 23:21, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

Can anybody tell me what is modifying the hibernate configuration
files? I (perhaps naively) thought that the developer writes these
and keeps under version control.

Every now again I see that they have changed - usually just formatting
changes. Like they are being read and then written back out again by
"something". What on earth can be doing this?

Have noticed this for a while now but this has caused me some grief
today as I have included a couple of XML ENTITY declarations which
after compiling and installing seem to have disappeared again.

Baffled.
Bob

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

But I'm 7.1 dev builds, so if that bug you linked is correct... the
thing might be fixed in the build I'm using
Although I still dont remember committing the .hbm.xml files ever
because of the changes

···

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 2 November 2011 10:34, Saptarshi Purkayastha <sunbiz@gmail.com> wrote:

I dont see them changing...
atleast when i tried to commit through bzr nothing showed up in
changed files for me

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 2 November 2011 05:50, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

OK. That will have confused most of you. But it seems I am not crazy
either. Looks like a netbeans bug related to this one:
161628 – ide automatically reformats hibernate's .hbm.xml files

Now what exactly triggers the rewrite is not clear. Its certainly not
to do with swing forms. But it has messed up my day.

Saptarshi have you seen anything like this?

Bob

On 1 November 2011 23:21, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

Can anybody tell me what is modifying the hibernate configuration
files? I (perhaps naively) thought that the developer writes these
and keeps under version control.

Every now again I see that they have changed - usually just formatting
changes. Like they are being read and then written back out again by
"something". What on earth can be doing this?

Have noticed this for a while now but this has caused me some grief
today as I have included a couple of XML ENTITY declarations which
after compiling and installing seem to have disappeared again.

Baffled.
Bob

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

But I'm 7.1 dev builds, so if that bug you linked is correct... the
thing might be fixed in the build I'm using
Although I still don't remember committing the .hbm.xml files ever
because of the changes

I am still using 6.9.1. Its only been happening in the last month or
three but I now realize it is definitely netbeans which is doing this.
Currently editing files in emacs while wondering whether to upgrade
to 7.1 or make the switch to that "other" ide. I wish I could figure
out exactly what I do which triggers the reformatting of the files.
The bug report refers to working on swing components which is not what
I am doing.

···

On 2 November 2011 05:09, Saptarshi Purkayastha <sunbiz@gmail.com> wrote:

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 2 November 2011 10:34, Saptarshi Purkayastha <sunbiz@gmail.com> wrote:

I dont see them changing...
atleast when i tried to commit through bzr nothing showed up in
changed files for me

---
Regards,
Saptarshi PURKAYASTHA

My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE

On 2 November 2011 05:50, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

OK. That will have confused most of you. But it seems I am not crazy
either. Looks like a netbeans bug related to this one:
161628 – ide automatically reformats hibernate's .hbm.xml files

Now what exactly triggers the rewrite is not clear. Its certainly not
to do with swing forms. But it has messed up my day.

Saptarshi have you seen anything like this?

Bob

On 1 November 2011 23:21, Bob Jolliffe <bobjolliffe@gmail.com> wrote:

Can anybody tell me what is modifying the hibernate configuration
files? I (perhaps naively) thought that the developer writes these
and keeps under version control.

Every now again I see that they have changed - usually just formatting
changes. Like they are being read and then written back out again by
"something". What on earth can be doing this?

Have noticed this for a while now but this has caused me some grief
today as I have included a couple of XML ENTITY declarations which
after compiling and installing seem to have disappeared again.

Baffled.
Bob

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help