on 07-24-2009 3:54 PM
Hi,
last week I get a project file, where I have to made some changes. Therfore I have imported the project and added the external jar com.sap.security.api. After that I checked the .classpath file - and the entries is in this file.
But if I choose Development Configuration - Build - the entry is every time deleted and I get an error that the libary wasn't found.
I tried it with an external jar - but the same error occurs.
Hope for help
Stefan
Hi Stefan
When you build DC the DC build-plugins do not use Eclipse's .classpath file. Instead of this file .dcdef is used. It contains set of references from the DC to other DCs. The dependencies between DC finally make .classpath. That's why .classpath is overwritten each time you build DC.
Create a special DC type External Library and put your external JAR into it. Then establish a reference from your DC to the Ext. Lib DC with help of COMPILATION Public Part.
By the way, in the case with com.sap.security.api you do not need the external reference at all.
Solution N2 for you:
1) Add a build-time reference from you DC to com.sap.security.api.sda DC. The DC should already be in Local Development development configuration or in any other.
2) Add a run-time reference to com.sap.security.api.sda DC: Go to Webdynpro Project References (or in directly in ProjectProperties.wdproperties file) and add Library reference to com.sap.security.api.sda.
That's all.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!!
I have the similar case.
You need not have to create any External Library DC as its comes in the default SAP-JEE SC for a Web Dynpro DC.
All you need to do is navigate in your Web Dynpro DC to DC Metadata>DC Defination>Used DCs.
Right click on and click on Add Used DC.Try adding "com.sap.security.api.sda" from the SAP-JEE software component.
then built the DC.It should work
Let me know if you need further help on it.
Cheers!
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U have to import these statements,
import com.sap.security.api.IUser;
import com.sap.security.api.UMException;
import com.sap.security.api.umap.IUserMappingData;
import com.sap.security.api.umap.NoLogonDataAvailableException;
Refer this thread,
https://wiki.sdn.sap.com/wiki/display/EP/PointersforTroubleshootingPortalRuntime+Errors
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you try like this,.....
Instead of adding external jar, create a variable and assign all required jars to that.
Regards,
Lakshmi Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to create a external DC project and then create a public parts of type compilation and of type assembly.
Then add these as the used dc in the webdynpro component.
Follow the following blog :
/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
Thanks
Ritushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan
Reffer to this links, maybe this help you:
[/people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii|/people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii]
[/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components|/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components]
[/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro|/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro]
Regards
Marcos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.