cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get custom EP5.0 iView file to compile in EP6 SP2

Former Member
0 Kudos

Hi,

I have a development (par file) that i created in EP5.

I have imported this into eclipse on an EP6 SP2 system. It no longer seems to be able to find the par files imported. In the below example it canot find the PageProcessorComponent and errors.

CODE*********

import com.sapportals.htmlb.page.DynPage;

import com.sapportals.portal.htmlb.page.PageProcessorComponent;

public class itsController extends PageProcessorComponent

{

public DynPage getPage()

{

return new itsDispatcher();

}

} // Main class

END OF CODE********

On another page I have it cannot find the JSPDynPage component amongst many others.

Where are these now located?

Are there many specific issues I should be aware of migrating from EP5 to EP6 SP2.

Many Thanks,

Paul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

First download the library zip files from the PDK.

Did you add the jar files in eclipse? If not from 'Project==>Properties==>Java Build Path==>Add External Jar's' include the jar files that are associated with the par file.

Regards,

Former Member
0 Kudos

I added the jar file for com.sap.portal.htmlb (using the path you specified) directly from it's location on the EP6 implementation.

If I use this approach do I still need need to download the zip files??

However I am unable to find the jar file for the page processor component. Do you know where it is located.

Thanks,

Paul

Former Member
0 Kudos

If you have the access to the server then no need to download the zip file.

PageProcessorComponent is present inside the htmlbbridge.jar.

Install jarfinder to search for a class inside a jar file, this is very useful. There is a thread in this forum which details the steps to install the jarfinder, just search for it.

Award points if this is useful

Former Member
0 Kudos

Reading the documentation for this it only supports eclipse 3. We are running eclipse 2.1, do you know of any other software that do this?

Former Member
0 Kudos

It is a pity that jar finder is not available for eclipse 2. Sorry I don't know any other software to do the search.

detlev_beutner
Active Contributor
0 Kudos

Hi Paul, hi Rem,

JAR Class Finder in fact <i>has</i> been for 2.1.x, but IBM...

So for sure there are versions working for 2.1, you just have to ask a friend. BUT! Check the licence...

An alternative is WinRAR (and other tools like this, but WinRAR is very fast, has a good compression algorithm, offers "in-JAR-editing"...). It's not integrated wihin Eclipse, but for this also a somehow more generic tool.

Hope it helps

Detlev

Answers (0)