on 01-28-2010 8:49 PM
Changed the existing java program externally and created the class using JAVAC. Class created with no errors. Added the class file in to a new zip file. While imprting the same in to Imported Archives for XLST mapping (PI 7.0), the path doesn't show up under Archive program segment.
The first line of the java program has the path name as follows
package com.luxottica.xi.utils;
This should show up in the path but doesn't. Any one can help what I should look for to correct this issue.
Thanks
Sam
Edited by: Narasimhan Sambamurthy on Jan 28, 2010 9:49 PM
Hi,
Create the folders and sub-folders in this below order and place the mapping file..
>com
>> luxottica
>>>xi
>>>>utils
>>>>>mapping file.
With the mapping file being placed in such folder order, zip the com folder and import it... you should be able to see the folder now in PI.
~SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Whats the purpose of java class , you are using java mapping or XSLT mapping
If java mapping create the .jar file and ZIP it and import it in the imported archive .
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok you are creating a java class then how is it that you are importing it in XSLT mapping?
select java mapping in interface mapping... then it will show up
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 import a ".classpath" file as well . Make a jar of these files i.e " your.class .classpath"
The content will be something like e.g.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="E:/Jars/Mapping/aii_map_api.jar"/>
<classpathentry kind="lib" path="E:/Jars/Mapping/aii_mt_rt.jar"/>
<classpathentry kind="lib" path="E:/Jars/Mapping/aii_util_xml.jar"/>
<classpathentry kind="lib" path="E:/Jars/Mapping/aii_utilxi_misc.jar"/>
<classpathentry kind="lib" path="E:/Jars/Mapping/sapxmltoolkit.jar"/>
<classpathentry kind="output" path=""/>
</classpath>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "path" created by the package declaration in your class file has nothing to do with the archive path ! It refers to the "path" you'll see when selecting the corresponding JAVA classes in your intf mappings declaration, ie
com\mycompany\packages\myclass
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.