Re: Problem with orion-ejb-jar.xml

2000-05-10 Thread Robert Krüger

At 14:47 10.05.00 , you wrote:
>I have a problem with using my source control system with Orion.
>
>The problem occurs because the orion-ejb-jar.xml file both contains source
>code (the query="" part, among other things) and is also partially generated
>by Orion.
>
>Therefore, is someone checks out orion-ejb-jar.xml and not all the files
>which orion-ejb-jar.xml depends on (like ejb-jar.xml and the Home
>interfaces, and the PK class, and so on), he risks deleting source code when
>he runs Orion!

that should never happen. orion attempts to merge your information (like 
the queries) with the stuff it generates. I agree that it's not really fun 
keeping it in version control because it is a pain when cvs tries to merge 
two files because of a differerent timestamp but we haven't had any serious 
problems with orion deleting manual changes to elements or attributes in 
orion-ejb-jar.xml.

>In a way, this file is both a source code file and an object file at the
>same time. I would therefore suggest removing fields like query="" and
> and so on from orion-ejb-jar.xml, and putting them in
>another file which is not automatically updated by Orion. Or, you could make
>sure that stuff is never automatically deleted from the file, and show some
should not really happen the way it is now, what particular config element 
are you refererring to? we have been working with edited orion-ejb-jar.xml 
files for quite a while (edited cmp-mappings, finder definitions etc.) and 
it works quite well. from time to time there have been bugs in some orion 
versions that caused loss of edited information but they were recognized as 
such and removed.

regards,

robert


>warnings if the file is out of sync with the files it is dependent on. Or
>maybe some other solution is better...



>yours
>Christian Tellefsen
>Telenor Mobil AS - Planavdelingen





(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Problem with orion-ejb-jar.xml

2000-05-10 Thread Christian . Tellefsen

I have a problem with using my source control system with Orion. 

The problem occurs because the orion-ejb-jar.xml file both contains source
code (the query="" part, among other things) and is also partially generated
by Orion.

Therefore, is someone checks out orion-ejb-jar.xml and not all the files
which orion-ejb-jar.xml depends on (like ejb-jar.xml and the Home
interfaces, and the PK class, and so on), he risks deleting source code when
he runs Orion! 

In a way, this file is both a source code file and an object file at the
same time. I would therefore suggest removing fields like query="" and
 and so on from orion-ejb-jar.xml, and putting them in
another file which is not automatically updated by Orion. Or, you could make
sure that stuff is never automatically deleted from the file, and show some
warnings if the file is out of sync with the files it is dependent on. Or
maybe some other solution is better...

yours
Christian Tellefsen
Telenor Mobil AS - Planavdelingen