changing sample webapp to use pipes

20 views
Skip to first unread message

tom0ryan

unread,
Dec 23, 2009, 10:35:08 AM12/23/09
to JODConverter
I've modified WebappContext.java to include the following two lines

configuration.setConnectionProtocol(OfficeConnectionProtocol.PIPE);
configuration.setPipeNames("office1", "office2", "office3",
"office4");


when I try to package it, I get

WebappContext.java:[55,38] cannot find symbol
symbol : variable OfficeConnectionProtocol
location: class org.artofsolving.jodconverter.sample.web.WebappContext

looking around, I found the need to include the ure/lib directory of
openoffice to provide the library needed for pipes..

so I modified pom.xml and added a

<argLine>-Djava.library.path=/path/to/openoffice/ure/lib</argLine>

line to the maven-compiler-plugin config..

still no go.

suggestions anyone???

tom0ryan

unread,
Dec 23, 2009, 11:57:29 AM12/23/09
to JODConverter
I ended up making the changes directly in jodconverter-core and it
works perfectly!

thanks for a great product!

Reply all
Reply to author
Forward
0 new messages