Hi Guys,
I'm looking to Implement the integrated Development environment using progress Openedge Architect (Common environment to develop test and deploy).
Im puzzle on how to do this. Anybody have Idea to how to achieve this.
Hi,
I'm using Progress 10.1c in Linux(ubuntu 10.04) which runs on a Windows machine via VM. The databases are running in Linux as local databases i.e. without specifying any port numbers. How can I access the DB's running on Linux from Windows.
Is i possible at all?
Regards,
Akshay
I just posted a new build to www.joanju.com/proparse/ with support for reserved keywords as names for class members. Get it while it's hot!
I have completed the work necessary to get Prolint running with Proparse.Net. You will find downloads and instructions at http://www.joanju.com/proparse/.
This means that, on Windows, you will be able to run Prolint against 10.2 ABL syntax.
It also means that any new development done on Prolint can take advantage of direct access to Proparse's classes and objects, just like you can with other .Net assemblies.
The following sample program parses itself:
using org.prorefactor.refactor.* from assembly. using org.prorefactor.treeparser.* from assembly. using org.prorefactor.core.* from assembly. def var filename as char init "test.p". def var indent as int no-undo. def var outed as char view-as editor large scrollbar-vertical size 78 by 22. display outed with frame f1 no-box no-labels. def var prsession as class org.prorefactor.refactor.RefactorSession. prsession = org.prorefactor.refactor.RefactorSession:getInstance(). def var javafile as class java.io.File.
I posted proparse build 1075 to http://www.joanju.com/proparse/ . This build adds support for ABL 10.2B syntax, and also fixes some bugs in supporting earlier class-based syntax. I've also released a new version of AutoDox2, which includes these updates.
DBTYPE was added as preprocessor function in OpenEdge 10.1A or so.
&IF DBTYPE( "dictdb" ) = "PROGRESS" &THEN
MESSAGE DBTYPE( "dictdb":u ) VIEW-AS ALERT-BOX INFORMATION.
&ENDIF
This page will provide a few starter hints for using the Proparse libraries.
Follow along in the source code, or else in the 'javadoc' here:
www.joanju.com/analyst/javadoc/
(Ignore the packages 'com.joanju.cg' and 'com.joanju.cgs'. Those are not part of Proparse.)
We use an instance of this class:
RefactorSession prsession = RefactorSession.getInstance();
Here is a C# example which uses proparse.net.dll to print Proparse's syntax tree to the console:
using org.prorefactor.refactor;
using org.prorefactor.treeparser;
using System;
using System.Collections.Generic;
using System.Text;
using org.prorefactor.core;
namespace proparse.net {
class Program {
int indent = 0;
static void Main(string[] args) {
if (args.Length < 2) {
Console.WriteLine("Usage: TreePrint projectName fileName");
return;
}
new Program().run(args[0], args[1]);
}
void run(String projectName, String fileName) {
Parent page for retired (no longer used) Proparse pages.
line:
define variable dtDatumVanaf as datetime no-undo initial now.
does not parse, unexpected token now.
When trim is used in the expression in a preprocessor directive parsing crashes with an unknown exception.
Sample code:
1.p:
{c:\temp\1.i " "}
1.i:
&if trim("{1}") = ""
&then
find first _user no-lock no-error.
&endif
The problem is in passing an "empty" unnamed preprocessor. In the example when you delete the empty preprocessor in 1.p it parses just fine. I know the trim in 1.i is not necessary, if I remove that it parses just fine. If I change "trim" to "string" in 1.i it parses just fine.
Is there a way to get an "absolute" linenumber as opposed to the "relative" linenumber from parserGetNodeLine?
In stead of "line 3 in include something.i" I would like to have line 103 since the include was coded on line 100 of the .p
Is this posible?
I know it is kinda far fetched, but... I was testing the Prolint nameconv rule.
So I had a procedure name like 1ip_pp-1-&-%#$@ and it gave me an unexpected token error.
Turns out proparse can't parse this when it has a number and @ in it and there is no space between the name and the colon.
See attached file.
I posted proparse.jar build 1049 to http://www.joanju.com/proparse/ . This build adds early (alpha) support for 10.1C and 10.2A syntax.