on 01-24-2006 1:31 PM
Hi forum:
I want to make a Sharing Reference between two Web Dynpro DC, to share only classes of one project to another.
I make the next steps:
1) i created one DC1 project
2) i put a classes that i want to share into the folder src/packages.3) i created a new public part and included all the classes that i included in src/packages
4) there are 2 jars that i need them for compile, so i linked them in properties > Libraries and also i putting them into the lib folfer
5) i made the build of DC1 and i can´t do it, the problem is that i´m losting the references of my jar´s in properties > Libraries, and don´t appears more, and i need to put them again, but the problem continue.
what can i do ?
Can i do a par with my classes and put the property SharingAccess=true and access it from a WebDynpro ?
Thnks
Josué
Message was edited by: Josue Cruz
Hi Josue,
For using library jars in DCs, we need to create a seperate library project and use the library reference in the webdynpro project. <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro blog</a> from Valery says how to implement the same.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Josue,
U can access the classes between two components by sharing them using webdynpro.
<b>For sharing the classes between DC's right click the projcet>properties>webdynpro references>sharing reference>Add</b>
u can add the class files here inthis location and try accessing it.
This should help u,
Regards,
Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Josue,
Find out the jars which u want for the project and save it locally in ur system.
Then go to java perspective.
select ur project>go to lib>paste all the jars that u want for the project to run inside the lib.
Switch to WD perspective.properties>java build path>add jars (not external jars).
go to orders and exports tab check all the jars that u have added now.
Hope this helps u,
Regards,
Nagarajan
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.