What is the difference between getLastConcreteRevisionId() and getLastRevisionId()?
Depending on OS, it seems, we get some different values using these two calls. Any clues would help us :)
-
Could you please elaborate a little bit more on the differences between OSes?
I have written a short explanation of Revisions and ConcreteRevisions here: http://code.google.com/p/bimserver/wi... -
-
Ok, it is a little bit clearer to me what the differences are. Thanks.
On Windows 7, calling getLastRevisionId() gives one valid number, say 57. On Mac OS X (Snow Leopard) this gives 0. However, on OS X, calling getLastConcreteRevisionId() gives 57.
That is how far we have been able to investigate this. -
-
...we assume everything else between these OSes, database and all, are the same.
-
-
That's very strange, I'll try exchanging a database between Windows 7 and OSX Snow Leopard in the coming days and let you know my findings
-
-
Before you spend som time on this, This might be configuration error on my part. Now it works, and I changed JDK, and made sure the project that calls getLastRevisionId() was in sync with BiMserver.
This may, or may not, be the reason for the strange behavior. For example, if the bytecode somehow got unsynced, and getLastRevisionId() was replaced with getLastConcreteRevisionId()? Wild guess from my part, but I bet you have plenty of other things, more important, to spend time on than this. :) -
-
-
Loading Profile...



Twitter,
Facebook, or email.


