07-29-2014 05:40 AM
?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="transformer.worker.dwg2pdf" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker">
<property name="mimetypeService">
<ref bean="mimetypeService" />
</property>
<property name="checkCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key=".*">
<list>
<value>E:\ECM\bin\IrfanView\i_view32.exe</value>
<value>E:\ECM\bin\IrfanView\jtp.gif</value>
<value>/convert=E:\ECM\bin\IrfanView\jtp.png</value>
</list>
</entry>
</map>
</property>
</bean>
</property>
<property name="transformCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key=".*">
<list>
<value>E:\ECM\bin\IrfanView\i_view32.exe</value>
<value>${source}</value>
<value>/convert=${target}</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>1,2</value>
</property>
</bean>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>image/x-dwg</value></property>
<property name="targetMimetype"><value>application/pdf</value></property>
</bean>
</list>
</property>
</bean>
<bean id="transformer.dwg2pdf" class="org.alfresco.repo.content.transform.ProxyContentTransformer" parent="baseContentTransformer">
<property name="worker">
<ref bean="transformer.worker.dwg2pdf" />
</property>
</bean>
<!– DWG to SWF –>
<bean id="transformer.complex.dwg2pdf.pdf2swf"
class="org.alfresco.repo.content.transform.ComplexContentTransformer"
parent="baseContentTransformer" >
<property name="transformers">
<list>
<ref bean="transformer.dwg2pdf" />
<ref bean="transformer.pdf2swf" />
</list>
</property>
<property name="intermediateMimetypes">
<list>
<value>application/pdf</value>
</list>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>image/x-dwg</value></property>
<property name="targetMimetype"><value>application/x-shockwave-flash</value></property>
</bean>
</list>
</property>
</bean>
</beans>
08-01-2014 10:56 PM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="transformer.worker.html2pdf" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker">
<property name="mimetypeService">
<ref bean="mimetypeService" />
</property>
<property name="checkCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandMap">
<map>
<entry key=".*">
<value>/usr/local/bin/wkhtmltopdf -help</value>
</entry>
</map>
</property>
<property name="errorCodes">
<value>2</value>
</property>
</bean>
</property>
<property name="transformCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key="Linux">
<list>
<value>sh</value>
<value>-c</value>
<value>/usr/local/bin/html2pdf '${source}' '${target}'</value>
</list>
</entry>
<entry key="Windows.*">
<list>
<value>cmd</value>
<value>/C</value>
<value>/usr/local/bin/html2pdf "${source}" "${target}"</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>2</value>
</property>
</bean>
</property>
</bean>
<bean id="transformer.html2pdf" class="org.alfresco.repo.content.transform.ProxyContentTransformer" parent="baseContentTransformer">
<property name="worker">
<ref bean="transformer.worker.html2pdf" />
</property>
</bean>
</beans>
# What follows are the custom transforms
# for outbound letters
# the imput format is actually HTML
# the output PDF
# Define a default priority for the transformer
content.transformer.html2pdf.priority=50
# List the transformations that are supported
content.transformer.html2pdf.extensions.obc.pdf.supported=true
content.transformer.html2pdf.extensions.obc.pdf.priority=50
08-05-2014 02:40 AM
08-05-2014 05:01 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– TRASFORMA DWG IN PDF –>
<bean id="transformer.worker.dwg2pdf" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker">
<property name="mimetypeService">
<ref bean="mimetypeService" />
</property>
<property name="checkCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key=".*">
<list>
<value>cmd</value>
<value>/C</value>
<value>E:\\ECM\\bin\\acme\\AcmeCADConverter.exe /r /ad /f 104 E:\\ECM\\bin\\acme\\dtp.dwg dtp.pdf</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>1,2</value>
</property>
</bean>
</property>
<property name="transformCommand">
<bean class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key="Linux">
<list>
<value>sh</value>
<value>-c</value>
<value>E:\\ECM\\bin\\acme\\AcmeCADConverter.exe /r /ad /f 104 '${source}' '${target}'</value>
</list>
</entry>
<entry key="Windows.*">
<list>
<value>cmd</value>
<value>/C</value>
<value>E:\\ECM\\bin\\acme\\AcmeCADConverter.exe /r /ad /f 104 "${source}" "${target}"</value>
</list>
</entry>
</map>
</property>
<property name="errorCodes">
<value>1,2</value>
</property>
</bean>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>image/vnd.dwg</value></property>
<property name="targetMimetype"><value>application/pdf</value></property>
</bean>
</list>
</property>
</bean>
<bean id="transformer.dwg2pdf" class="org.alfresco.repo.content.transform.ProxyContentTransformer" parent="baseContentTransformer">
<property name="worker">
<ref bean="transformer.worker.dwg2pdf" />
</property>
</bean>
</beans>
### External executable locations ###
ooo.exe=E:\\ECM\\libreoffice\\App\\libreoffice\\program\\soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=E:\\ECM\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}\\config
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
swf.exe=E:\\ECM\\swftools\\pdf2swf.exe
swf.languagedir=E:\\ECM\\swftools\\japanese
dwg.exe=E:\\ECM\\bin\\acme\\AcmeCADConverter.exe
img.gslib=E:\\ECM\\bin\\gs9.09\\lib
jodconverter.enabled=true
jodconverter.officeHome=E:\\ECM\\libreoffice\\App\\libreoffice
jodconverter.portNumbers=8100
# What follows are the custom transforms
# Imput dwg the output is PDF
# Define a default priority for the transformer
content.transformer.dwg2pdf.priority=50
# List the transformations that are supported
content.transformer.dwg2pdf.extensions.dwg.pdf.supported=true
content.transformer.dwg2pdf.extensions.dwg.pdf.priority=50
11:41:45,596 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-5] 6 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:41:45,596 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-5] 6 Finished in 0 ms Transformer NOT called
11:41:45,690 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-9] 7 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:41:45,690 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-9] 7 Finished in 0 ms Transformer NOT called
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 dwg pdf GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – pdf – ContentService.transform(…)
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 **a) [50] dwg2pdf<<Runtime>> 0 ms
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8.1 dwg pdf GRAMMIKO KIATO RIO_new2.dwg 288.4 KB dwg2pdf<<Runtime>>
11:42:06,938 DEBUG [org.alfresco.util.exec.RuntimeExec] [pool-17-thread-1] Execution result:
os: Windows Server 2012
command: cmd /C "E:\\ECM\\bin\\acme\\AcmeCADConverter.exe /r /ad /f 104 "E:\ECM\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_source_1366542181829387142.dwg" "E:\ECM\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_target_1118018117675185787.pdf""
succeeded: true
exit code: 0
out:
err:
11:42:06,953 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 Finished in 13.281 ms
11:42:15,485 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-8] 9 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:42:15,485 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-8] 9 Finished in 0 ms Transformer NOT called
08-06-2014 05:58 AM
08-07-2014 04:39 PM
08-08-2014 01:28 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– TRASFORMA DWG IN PDF –>
<bean id="transformer.worker.dwg2pdf" class="org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker">
<property name="mimetypeService">
<ref bean="mimetypeService" />
</property>
<property name="checkCommand">
<bean name="transformer.dwg2pdf.checkCommand" class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key=".*">
<list>
<value>cmd</value>
<value>/C</value>
<value>${dwg2pdf.root}/AcmeCADConverter.exe /r /ad /f 104 E:\ECM\bin\acme\dtp.dwg dtp.pdf</value>
</list>
</entry>
</map>
</property>
</bean>
</property>
<property name="transformCommand">
<bean name="transformer.dwg2pdf.Command" class="org.alfresco.util.exec.RuntimeExec">
<property name="commandsAndArguments">
<map>
<entry key="Linux.*">
<list>
<value>sh</value>
<value>-c</value>
<value>${dwg2pdf.root}/AcmeCADConverter /r /ad /f 104 ${source} ${target}</value>
</list>
</entry>
<entry key="Windows.*">
<list>
<value>cmd</value>
<value>/C</value>
<value>${dwg2pdf.root}/AcmeCADConverter.exe /r /ad /f 104 ${source} ${target}</value>
</list>
</entry>
</map>
</property>
<property name="waitForCompletion">
<value>true</value>
</property>
</bean>
</property>
<property name="explicitTransformations">
<list>
<bean class="org.alfresco.repo.content.transform.ExplictTransformationDetails" >
<property name="sourceMimetype"><value>image/vnd.dwg</value></property>
<property name="targetMimetype"><value>application/pdf</value></property>
</bean>
</list>
</property>
</bean>
<bean id="transformer.proxy.dwg2pdf" class="org.alfresco.repo.management.subsystems.SubsystemProxyFactory">
<property name="sourceApplicationContextFactory">
<ref bean="thirdparty"/>
</property>
<property name="sourceBeanName">
<value>transformer.worker.dwg2pdf</value>
</property>
<property name="interfaces">
<list>
<value>org.alfresco.repo.content.transform.ContentTransformerWorker</value>
</list>
</property>
</bean>
<bean id="transformer.dwg2pdf" class="org.alfresco.repo.content.transform.ProxyContentTransformer" parent="baseContentTransformer">
<property name="worker">
<ref bean="transformer.worker.dwg2pdf" />
</property>
</bean>
</beans>
### External executable locations ###
ooo.exe=E:\\ECM\\libreoffice\\App\\libreoffice\\program\\soffice.exe
ooo.enabled=true
ooo.port=8100
img.root=E:\\ECM\\imagemagick
img.coders=${img.root}\\modules\\coders
img.config=${img.root}\\config
img.gslib=${img.root}\\lib
img.exe=${img.root}\\convert.exe
swf.exe=E:\\ECM\\swftools\\pdf2swf.exe
swf.languagedir=E:\\ECM\\swftools\\japanese
dwg2pdf.root=E:\\ECM\\bin\\acme
img.gslib=E:\\ECM\\bin\\gs9.09\\lib
jodconverter.enabled=true
jodconverter.officeHome=E:\\ECM\\libreoffice\\App\\libreoffice
jodconverter.portNumbers=8100
# What follows are the custom transforms
# Imput dwg the output is PDF
# Define a default priority for the transformer
content.transformer.dwg2pdf.priority=50
# List the transformations that are supported
content.transformer.dwg2pdf.extensions.dwg.pdf.supported=true
content.transformer.dwg2pdf.extensions.dwg.pdf.priority=50
11:41:45,596 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-5] 6 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:41:45,596 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-5] 6 Finished in 0 ms Transformer NOT called
11:41:45,690 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-9] 7 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:41:45,690 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-9] 7 Finished in 0 ms Transformer NOT called
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 dwg pdf GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – pdf – ContentService.transform(…)
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 **a) [50] dwg2pdf<<Runtime>> 0 ms
11:41:53,672 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8.1 dwg pdf GRAMMIKO KIATO RIO_new2.dwg 288.4 KB dwg2pdf<<Runtime>>
11:42:06,938 DEBUG [org.alfresco.util.exec.RuntimeExec] [pool-17-thread-1] Execution result:
os: Windows Server 2012
command: cmd /C "E:\\ECM\\bin\\acme\\AcmeCADConverter.exe /r /ad /f 104 "E:\ECM\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_source_1366542181829387142.dwg" "E:\ECM\tomcat\temp\Alfresco\RuntimeExecutableContentTransformerWorker_target_1118018117675185787.pdf""
succeeded: true
exit code: 0
out:
err:
11:42:06,953 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-17-thread-1] 8 Finished in 13.281 ms
11:42:15,485 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-8] 9 dwg txt GRAMMIKO KIATO RIO_new2.dwg 288.4 KB – index – SolrIndexer NO transformers
11:42:15,485 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [http-bio-8443-exec-8] 9 Finished in 0 ms Transformer NOT called
08-16-2014 07:37 AM
08-16-2014 12:02 PM
RuntimeExecutableContentTransformerWorker_target_1118018117675185787.pdf
).
08-18-2014 06:28 AM
08-18-2014 09:28 AM
AcmeDWGConverter [/r] [/e] [/m] [/info] [/l filaname] [/ls] [/info] [/p integer] [/w integer] [/h integer] [/b integer] [/j integer] [/f integer] [filename] [filename] …
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.