Hi all,
I'm trying to generate an HTML page from a LiveSite page using the command line (the page generation is a TS workflow step).
Here is the command I'm running to generate the HTML page:
"C:/Program Files/Interwoven/LiveSite/livesite/livesite_java.bat" com.interwoven.livesite.tools.PageGenerator cromagn admin "C:/PROGRA~1/INTERW~1/TeamSite/local/bin/ADV_Automazione/gen_html.properties" "//localhost/default/main/ADV PROVA/WORKAREA/adSales/adSales/sites/adsales/diconoDiNoi/elencoMensile.page"
And here is my Gen HTML properties file:
file.suffix=.html
destination.directory=Y:/default/main/ADV PROVA/WORKAREA/adSales/html
post.processor=com.interwoven.livesite.model.page.PostRenderingProcessor
When I run the command I get the following error:
Processing vPaths:
//localhost/default/main/ADV PROVA/WORKAREA/adSales/adSales/sites/adsales/diconoDiNoi/elencoMensile.page
Initializing Context.
Organizing pages by workarea and site.
Workarea: //localhost/default/main/ADV PROVA/WORKAREA/adSales
Site: null
Finding pages.
Exception in thread "main" java.lang.NullPointerException
at com.interwoven.livesite.business.BusinessPageGenerator.getPageGenerations(BusinessPageGenerator.java:139)
at com.interwoven.livesite.business.BusinessPageGenerator.getPageGenerations(BusinessPageGenerator.java:113)
at com.interwoven.livesite.tools.PageGenerator.generate(PageGenerator.java:181)
at com.interwoven.livesite.tools.PageGenerator.main(PageGenerator.java:302)
I don't know where I must specify the Site name (or site path...). I can't understand what is missing.
Is there anybody that can help me with this?
Thank you very much for your help.
Best regards,
Andrea