on 04-10-2007 12:15 PM
How to add the java file to Webdynpro DC?
I'm appreciated for answers.
Regards
Malar
Hi Malar,
1. Add Java Classes to JAR.
2. And JARS to External Library DC.
3. Create Public Parts Compile & Assembly to External Library DC.
4. Now add This External Library DC as Used DCs in your WEbDynpro DC.
This is the way to add your custom java classes.
Thanks,
Raags
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raags,
Worklocation WD application and Worklocations backend java project file is here.WD Application is working fine. I want to include the application through NWDI that time i got DC Build error.
WorkLocationBackend java has two class files (Worklocation.class, WorklocationBackend.class) it is under com/wl/WorkLocation.java, Worklocation.class, WorkLocationBackend.java, WorklocationBackend.class
I added two class files to one com.wl.jar. I created External Library DC added jar file in library Public Parts. WD DC Used DC I added the External Library DC.
I am still get the Build error. How to create Public parts Compile and Assembly in External Library DC .
Could you Explain Briefly..
Thanks
Malar.
Malar,
So, you havent created the Public Parts. Pls go thru the below blogs for detail instructions
/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
As you havent created PPs you are getting errors. follow the above to get rid of those errors.
Thanks,
Raags
Hi Raags,
Build time it doesn't show any error. but activation time it display the error message below...
Analyse activities... started at 2007-04-11 10:52:07.120 GMT
Development line state verification started at 2007-04-11 10:52:07.576 GMT
Verification of the development line [ws/PD1TRK1/ae.com_PASSPORT_SC1/dev/active/] SUCCEEDED
Development line state verification finished at 2007-04-11 10:52:07.602 GMT and took 26 ms
Cache verification, level 2 (Comparison of attributes) started at 2007-04-11 10:52:07.602 GMT
Verification of the following object:
[DC: ae.com/home/workloca, group: 0] SUCCEEDED
Cache verification finished at 2007-04-11 10:52:07.636 GMT and took 34 ms
Analyse dependencies to predecessor activities... finished at 2007-04-11 10:52:07.637 GMT and took 315 ms
CREATE: Development Component "ae.com/home/workloca"
1 component to be build in compartment "ae.com_PASSPORT_SC1_1"
Analyse activities... finished at 2007-04-11 10:52:07.803 GMT and took 683 ms
Calculate all combinations of components and variants to be built...
"ae.com/home/workloca" variant "default"
"ae.com/home/workloca" variant "default" cannot be built. Activation will fail.
INVALID dependency is declared to public part: ExternaLibAssembly.
[DC 723 variant "default"][SC 497 "ae.com_PASSPORT_SC1_1"] using [PP ExternaLibAssembly of DC 724 at Build-Time Dependency]
Prepare build environment in the file system... started at 2007-04-11 10:52:07.861 GMT
Prepare build environment in the file system... finished at 2007-04-11 10:52:07.862 GMT and took 1 ms
===== Pre-Processing ===== finished at 2007-04-11 10:52:07.876 GMT and took 1 s 95 ms
Change request state from PROCESSING to FAILED
ERROR! The following problem(s) occurred during request processing:
ERROR! The following error occurred during request processing:Activation failed due to component "ae.com/home/workloca" variant "default". The component is BROKEN.
REQUEST PROCESSING finished at 2007-04-11 10:52:07.877 GMT and took 1 s 113 ms
Thanks
Malar.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.