Proparse Group



metaschema last?

In your sample setup for Proparse scripting, you dump the schemas for any attached database and then dump the metaschema last. Any reason for putting it last?


Does Proparse know about index usage?

Or is one going to have to parse Compile XREF output for that?


IS an IP local?

I recognize that if an IP is not in the current compile unit and isn't run in a handle, that it can be difficult determining where it is. Even run in a handle it could be tricky determining where it is because the handle could be passed in to the compile unit. But, is there any reasonably easy way of determining that an IP *is* local so that one can take those out of the pool of what needs to be resolved?


Setup

In proparse/setup/setup.p and associated programs you create instances of
com.joanju.proparse.Environment
org.prorefactor.core.schema.Schema
org.prorefactor.refactor.RefactorSession
references to which are not passed anywhere. Each appears to be static
in that you obtain the reference via getInstance() rather than newing
it. Am I correct that this is just "priming the pump" to create a
reference base which the rest of the Proparse objects refer and that it
is OK for these to persist?

Right now, I am starting a new AVM for each trial so I am always


Includes - actual reference

At the end of the Recent Q&A topic there is some code for listing the include files in a CU. This is returning full path names. I know we can walk through the PROPATH and find a match for the begining of the full path name ... and that should be good enough for most cases, but I'm wondering about cases like AutoEdge where they have a PROPATH which includes both A/B and A/B/C. How would one know if the actual include reference was C/x.i or just x.i?


Recent Q & A

Here's some recent questions from Thomas and answers from me which I'd like to share here.

> There are references to classes which are clearly not there in the ABL,
> so I presume these are in the assemblies? What kind of documentation is
> there for those ... other than downloading the Java code and reading it?
>
> Do you have a recommendation for where I should look to understand how
> the various pieces work and what capabilities there are? Is ProLint a
> good source of examples ... or is it significantly incomplete relative
> to what you have built in to the tools?
>


progress explorer tool (server 2008)

I use 10.1C on server windows 2008. i get error when i try to start progress explorer tool.
anyone , can help?

regard,
G


progress explorer tool (server 2008)

I use 10.1C on server windows 2008. i get error when i try to start progress explorer tool.
anyone , can help?

regard,
G


PUBTest unit test fails with current API

The attached patch makes the following changes:

Updated to work with current API
Also separated into smaller test cases


Refactor example using the new API?

Are there any examples of a refactor using the new pure Java interface? It looks like all the test cases that do refactoring are commented out, and the Javadoc at http://www.oehive.org/node/1514 is too mixed between the old and new APIs for me to be clear on how to do it.


tfnames missing from SVN repository?

The entire src/org/prorefactor/refactor/tfnames/ folder seems to be missing from the current trunk in Subversion, yet it is included in the most recent binaries at http://www.joanju.com/proparse/ I was interested in adding support for setting useDbQualifier to true to TFNamesRefactor, as we need to add DB prefixes on quite a chunk of code.

Is some sort of major re-organization in progress or something?


Corrupted Progress Database

Dear All,

Please anybody tell me how to fix my corrupted Progress database.
I've tried to do :
- proutil "mydb" -C truncate bi -F
the error is 'stack buffer overflow'

Thank's


I have OpenEdge 10.1b and want to to use prolint where do I get Proparse.dll?

I have OpenEdge 10.1b and want to to use prolint where do I get Proparse.dll?
I downloaded the Release 73 but I can not find the files of Proparse that goi with it


using proparse within an eclipse plugin

hi @all

i have a question about using proparse in an eclipse plugin. i wanna use proparse to create a codeformatter. because of that i need an AST. The AST provided by the openedge architct isnt satisfing, because i cant read the preprocessor statements. that's why i switched to proparse.

now the problem:
proparse checks the file references for included files. is there a simple way to tell proparse not to check such paths, it would be ok that i only get yep this is an include statement?
here my code:


File f = new File(currentUnit.getFileName());

.net proparse is hung when meets 12 nested IF...THEN...ELSE functions

.net proparse is hung with the code below:

DISP (IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE IF FALSE THEN ""
ELSE "").


#
Syndicate content