Prolint


Installation on OE11.0, AppBuilder

Hi Prolint community :)

I know there are already a lot of posts about the proparse installation, that I have read, but it seems I'm still missing something.
I get the error:
Could not find class or interface org.prorefactor.core.JPNode. (12886)

I do not use Eclipse, but AppBuilder, and OE11.0 32 bits. Is it a problem?

Of course I have:

  • created an "assemblies" directory
  • added the startup parameter -assemblies C.\mydir\assemblies
  • created an assemblies.xml file inside, containing:
    <?xml version="1.0" encoding="UTF-8"?>
    <references>

Parsing test

James and I are continuing to have NullPointerException problems. I wrote a program which just goes through the files in a directory tree and does a Proparse parse of them, with the hope that this would show us the files with parsing errors. *But*, we are getting no errors from that. But, in the first ABL2DB task where we use Proparse, we are getting the NullPointerExceptions. The only thing that occurs to me as an explanation is that Proparse successfully builds the parse tree, but there is something wrong with it so that when we start to navigate the tree it steps in a hole.


Integrate Prolint on Open Edge 11.5

Hi all,
Can somebody help me with the steps for using Prolint in OpenEdge 11.5 ?

Thank you !


Prolint puts analyzed program in read-only mode

Hello!

I'm having an issue regarding Prolint 74.
Every time I run it to lint a program, that program becomes read-only for the AppBuilder. If I try to modify and save the program file to lint it again I get this message from AB:

---------------------------
Warning
---------------------------
C:\Users\...\program.p
Cannot save to this file.

File is read-only or the path specified
is invalid. Use a different filename.
---------------------------
OK
---------------------------


System.IO.FileNotFoundException: Could not load file or assembly 'IKVM.OpenJDK.Core, Version=0.46.0.1, Culture=neutral, PublicKe

It would seem the named file cannot be found, but it seems to be setup just like another system that is working. Thoughts?

Windows XP, local drive


java.lang.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version

This error can arise if you are trying to run the Proparse dll files across a network without adequate access for the dll. For example, if you run Prolint from c:\prolint, but your dll files are located on a mapped drive e:\assemblies, you may get this error. Putting the dll files (assemblies from Proparse) on your local PC should avoid this error - unless you have limited access even on your PC.


"Could not find class or interface org.prorefactor.core.JPNode. (12886)"

** c:\p4gl\tools\prolint\proparse-shim\api\proparse.i Could not understand line 42. (196)

What gives?


adecomm.pl

received this question by e-mail and thought it should be answered in public:

When I do the extract adecomm.pl on my 10.2B windows install, adecomm.pl is in the gui directory, not src and nothing is showing as being extracted. There are, however, 5 .i files in the adecomm subdirectory before I started.


Settings per profile

How would I create settings per Profile/Ruleset.
We have Rulesets per release. (When checking in code for release 4.1, Ruleset "4.1" is used etc.)
Now I have created a rule which checks some unwanted code, but it should only do so for codes "a,b,c" from 4.1 onwards and "a,b,c,d,e,f" from 4.2 onwards.
In the prolint.properties.p I can add settings, but they are for all profiles.
I would like some settings in the profile-directory.
Any suggestions on how to implement this?

Niek


Unexpected token proc-status

Receiving error "... unexpected token proc-status ... rule proparse" when linting a file containing a temp-table with a field named "PROC-STATUS".

The keyword forget-list for the session is set up with PROC-STATUS.

The file compiles successfully with a straight compile from the editor.

How do I get past this? Unfortunately removing PROC-STATUS from the definition is not an option.


Syndicate content