Skip to Content
author's profile photo Former Member
Former Member

How to reuse the jakarta regexp

Hi,

is it possible to reuse the jakarta regexp?

The library comes with EP60 and can be found at

"cluster\server\additional-lib\com\sapportals\dqp\lib\jakarta-regexp-1.2.jar"

I can include the library in Eclipse and compile everything fine, but get runtime errors in the portal. Being an EP development newbie I tried to declare the library in the SharingReference property of the portalapp.xml, but this did not work either.

Thanks in advance

Wilfried

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 25, 2004 at 07:25 AM

    Hi Wilfried,

    Yes, it is possible to reuse any external common library from several applications. You have to do two steps:

    1. Add a record into cluster\server\managers\library.txt in a format:

    library library_name jar1;jar2;...jarN

    jarX is a jar location either relative from cluster\server\additional-lib or absolute

    2. Add a line to cluster\server\managers\reference.txt in a format:

    reference application library_name

    where library_name is the same as registered in library.txt

    in your case there is a registered library that includes jakarta-regexp-1.2.jar already. find in library.txt line

    library com.sapportals.dqp.lib

    if it mentions libraries your application doesn't need or finds in other places you should create a new library record otherwise just use it.

    Additional information you may find in engine's docs:

    Administration Manual->Configuration Tasks->Configuration of additional libraries.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.