cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Java pipeline example

SOLVED
Highlighted
Level 8

Java pipeline example

Détails de la requête : 13969240 <noscript>

Hello,
I try to use the Java Pipeline example (HTMLFileComposer.class in the directory C:\Program Files\PTC\Arbortext Editor\samples\pipeline).
I use this ACL code to launch the java method "composeToHtmlFromDoc"
function composeHTML() {
local doc=current_doc();
local stylesheet="C:/temp/ie/s1000d_2_3.xsl";
local outputFile="C:/temp/test.htm";
local ret = java_static("HTMLFileComposer","composeToHtmlFromDoc",doc,stylesheet,outputFile);
}

When I execute the ACL function "composeHTML".
Arbortext Editor return the following error:
[A30135] cannot load class HTMLFileComposer because a dependent class was not found.
Why this error?
Nothing is displayed in Java console.

Regards
David
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Java pipeline example

Hi,

The PTC support gave me the solution. I must indicate the complete path of the class in the ACL function:

java_static("com.arbortext.epic.compose.examples.HTMLFileComposer","composeToHtmlFromDoc",doc,stylesheet,outputFile);

Regards,

David

1 REPLY

Re: Java pipeline example

Hi,

The PTC support gave me the solution. I must indicate the complete path of the class in the ACL function:

java_static("com.arbortext.epic.compose.examples.HTMLFileComposer","composeToHtmlFromDoc",doc,stylesheet,outputFile);

Regards,

David