[ https://jira.codehaus.org/browse/MPMD-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=360897#comment-360897
]
Stuart Turton commented on MPMD-154:
------------------------------------
I know - I think that this was the start of the code changes that ended up in PMD.
This JIRA item should be closed as fixed/implemented
> Support PLSQL language
> ----------------------
>
> Key: MPMD-154
> URL: https://jira.codehaus.org/browse/MPMD-154
> Project: Maven PMD Plugin
> Issue Type: Wish
> Components: CPD, PMD
> Reporter: Stuart Turton
> Priority: Minor
> Labels: close-pending
> Attachments: PldocAST.jj, PldocAST.jjt, plsql-cpd.tgz
>
>
> DB2, Oracle, EnterpriseDB and TimesTen databases support PLSQL.
> Attached is the PLSQL (plus some SQL*Plus) Tokenizer extracted from the PLDoc project.
> "
> StuMacBook:pmd-plsql$ ./cpd_example.sh PLDoc(CPD) version: ${project.version}
> LanguageFactory info - attempting to load language "plsql"
> Searching for "net.sourceforge.pmd.cpd.PlsqlLanguage" using net.sourceforge.pmd.cpd.LanguageFactory
> .............. "net.sourceforge.pmd.cpd.PlsqlLanguage" using ClassLoader=sun.misc.Launcher$AppClassLoader@558fe7c3
> .............. "net.sourceforge.pmd.cpd.PlsqlLanguage" using sun.misc.Launcher.AppClassLoader
> LanguageFactory warn - failed to load language "Plsql"
> LanguageFactory info - attempting to load language "PLSQL"
> Searching for "net.sourceforge.pmd.cpd.PLSQLLanguage" using net.sourceforge.pmd.cpd.LanguageFactory
> .............. "net.sourceforge.pmd.cpd.PLSQLLanguage" using ClassLoader=sun.misc.Launcher$AppClassLoader@558fe7c3
> .............. "net.sourceforge.pmd.cpd.PLSQLLanguage" using sun.misc.Launcher.AppClassLoader
> Object(s) like ANONYMOUS.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> PLSQLTokenizer: ignoreComments==true
> PLSQLTokenizer: ignoreIdentifiers==true
> PLSQLTokenizer: ignoreLiterals==true
> Object(s) like APEX_PUBLIC_USER.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like APPQOSSYS.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like BI.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like CACHEADM.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like DIP.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like HR_TRIG.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like MDDATA.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like MGMT_VIEW.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like ORDDATA.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like OWBSYS.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> Object(s) like OWBSYS_AUDIT.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like system.SH%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like SI_INFORMTN_SCHEMA.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like SPATIAL_CSW_ADMIN_USR.%%%% do not exist or system does not have enough
permissions (SELECT_CATALOG_ROLE role).
> Object(s) like SPATIAL_WFS_ADMIN_USR.%%%% do not exist or system does not have enough
permissions (SELECT_CATALOG_ROLE role).
> Object(s) like TIMESTEN.%%%% do not exist or system does not have enough permissions
(SELECT_CATALOG_ROLE role).
> Object(s) like XS.%%%% do not exist or system does not have enough permissions (SELECT_CATALOG_ROLE
role).
> StuMacBook:pmd-plsql sturton$
> "
>
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)
|