If the Infranet application has been customized, the corresponding Java
classes must be generated. A tool is provided by Infranet to generate
such classes. The connector must know these classes at runtime, so they
must be declared in the CLASSPATH.
- Create a directory, for example:
c:\CustomAttributes.
- Create an #include file with the custom fields and their
values.
- Launch the custom_fields.pl script on this file
indicating com.portal.pcm.fields as the
package name.
- Compile the java files to create the class files:
javac -classpath c:\program files\infranet\java\pcmext.jar *.java
- Create a directory hierarchy under your current directory
com\portal\pcm\fields.
- Copy the .class generated by the compiler into this
directory.
- Add the current directory (for example:
c:\CustomAttributes) to the CLASSPATH of the
connector.
- If needed, modify the file \bin\start_Portal.bat
file.
