[Openroad-users] documentation on get_appl?

Kim Ginnerup kgi at bording.dk
Thu Jul 19 06:43:35 EST 2007


There is a couple of problems with processed script.

1. It is processed!
So all defines and includes are gone, and all built in OpenROAD stuff like $_curfld has been substituted.

2. It does not contain the form 

Kim
-----Oprindelig meddelelse-----
Fra: openroad-users-bounces at peerlessit.com [mailto:openroad-users-bounces at peerlessit.com] På vegne af Antill, Jim
Sendt: 18. juli 2007 16:08
Til: International OpenROAD Users
Emne: Re: [Openroad-users] documentation on get_appl?


Hi,

One idea would be to start integrating OpenROAD with something like CVS. I've
used CVS (through Eclipse) with Java and think it works well, handling the
merging of changes either automatically or with a little manual intervention.
CVS presents an external interface that could be used from an OpenROAD app.

Given the AppSource for an application it is possible to get hold of
individual components using FetchComponent. From there you can get hold of
the scripts etc. There is a function make_glued_script that will produce the
processed script for a frame, details that I've found below:

make_glued_copy - Produces processed script for a frame.

	make_glued_copy(comperr = byref(i4),
			scr = scriptcomposite,
			srcobj = FrameSource);

	srcobj	- Framesource of frame to get processed script for.
	scr	- scriptcomposite, the script attribute contains the
processed script.

The scriptcomposite could then be used as the basis of the thing to save into
CVS.

I guess you could have flushing issues etc. as has been pointed out. As
get_appl etc. is unsupported I guess it's behaviour could also change from
one version of OR to the next (or from patch to patch).

Hope that helps or provides some ideas.

Regards,
Jim

-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Robert Maier
Sent: 18 July 2007 14:47
To: Christian Birkl; openroad-users at sealion.peerlessit.com
Subject: [Openroad-users] documentation on get_appl?


*************************************

This e-mail has been received by the Revenue Internet e-mail service. (IP)

*************************************

Hi,

vermutlich könnte ich auf Deutsch schreiben:-)) , but let's stick to
English.

Currently we consider two methodologies for versioning OpenROAD:

- One is based on exporting, versioning and re-importing components, along
with locking-mechanisms.

- The other is based on storing the internal versions of all components
when baselining, and using this information to re-establish a specific
baseline.

Both methodologies have quite some limitations due to the fact that support
for merging is not provided, and changes that shall be transfered from one
branch to another need to be re-done (possible with support by some basic
tooling).

>From the mailing list I have some more information on how to preceed for
versioning OpenROAD
(http://www.peerlessit.com/pipermail/openroad-users/2007-May/000464.html)
and I found some more information on how to merge at least code ("scripts"
in O.R.-terminology?) automatically, using documentapp-outputs for
detecting differences between two versions, and get_appl for implementing
the merge functionality.

I currently don't have access to a development environment, so I cannot try
out what you sent me. What will FrameSourceVar.Script  return? Will I be
able to parse the code then, using normal string processing?

Thanks
Robert






|---------+--------------------------->
|         |           Christian Birkl |
|         |           <Christian.Birkl|
|         |           @gamed.com>     |
|         |                           |
|         |           18.07.2007 13:45|
|---------+--------------------------->
 
>----------------------------------------------------------------------------
----------------------------------------------------|
  |
|
  |        To:      Robert Maier <robert.maier at lido.net>
|
  |        cc:
|
  |        Subject: get_appl
|
 
>----------------------------------------------------------------------------
----------------------------------------------------|




Sounds interesting, good luck!

We have an application which does automated exports (OpenROAD components to
files) and also automated changes within components like changing the
BgColor of all EntryFields.

After having loaded an application through get_appl, the next step is
loading the components one after another using

CompSourceVar = AppSourceVar.FetchComponent(COMPONENTNAME = ...)

You then have access to the Frame Script or Procedure Script
(FrameSourceVar.Script) as well as to the visual elements of a frame.

Let me know if I can help you!

--


Mit freundlichen Grüßen / With kind regards
Christian Birkl
Software Engineering




GAMED Gesellschaft für Angewandte
Mathematik und EDV mbH
Austria       8053 Graz, Harter Straße 48
Phone:       +43 (0) 316  27 86 60 - 18
Telefax:     +43 (0) 316  27 86 60 - 10
E-Mail:       Christian.Birkl at gamed.com
Internet:    www.gamed.com
Firmenbuchnummer: FN 50094v
Firmenbuchgericht:   Handelsgericht Graz


This message and any attachments are solely for the use of the intended
recipients. They may contain privileged and/or confidential information or
other information protected from disclosure. If you are not an intended
recipient, you are hereby notified that you received this email in error
and that any review, dissemination, distribution or copying of this email
and any attachment is strictly prohibited. If you have received this email
in error, please contact the sender and delete the message and any
attachment from your system. Thank you for your cooperation.



________________________________________________________________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users

To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe

To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 


************************

This message has been delivered to the Internet by the Revenue Internet e-mail service (OP)

*************************

________________________________________________________________
OpenROAD-Users mailing list

You can maintain your subscription here:
http://www.peerlessit.com/mailman/listinfo/openroad-users

To unsubscribe click on this link
mailto:openroad-users-unsubscribe at peerlessit.com&subject=unsubscribe

To subscribe click on this link
mailto:openroad-users-subscribe at peerlessit.com&subject=subscribe 



More information about the Openroad-users mailing list