on 10-30-2009 3:48 AM
Hi,
I need to update the existing Java Mapping. I downloaded the existing mapping from imported archive and modified it in NWDS but it is giving lots of errors regarding missing libraries(JARs).
I just need to do a small change in code.
Can anyone suggest how to compile it and creat a JAR and which i can upload back as an imported archive?
Thanks in Advance.
Regards,
Bharat
Hi,
Make sure that you have the below jars or else you can find them in your XI server.
aii_adapter_xi_svc.jar,aii_af_cci.jar,aii_af_cpa.jar,aii_af_mp.jar,aii_af_ms_api.jar,aii_af_ms_spi.jar,aii_af_svc.jar,aii_af_trace.jar,aii_map_api.jar,aii_mt_rt.jar,aii_util_xml.jar,aii_utilxi_misc.jar
Then import these jars to Project Explorer section --> Properties --> Java Build Path --> Libraries --> Add External Jars in NWDS.
Compile the code.
For making a jar file run this command from the command prompt.Input file are the source code file and the .class file.
jar cf jar-file input-file(s)
Regards,
Ramkiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I downloaded the existing mapping from imported archive and modified it in NWDS but it is giving lots of errors regarding
missing libraries(JARs).
If you look at the very first lines of the code you will find some statements like import somename;
Now when you have made the change there may be a requirement to add more jar files....to do this make sure that you have these files in your local desktop --> Open the mapping in NWDI --> Right-click on the mapping name in Project Explorer section --> Properties --> Java Build Path --> Libraries --> Add External Jars --> Select the jar files from your desktop and import....again compile and see if you have any error messages.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.