<div dir="ltr"><div><div style="font-family:arial,sans-serif;font-size:13px">Hi</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've created a custom version of the com.alkacon.bootstrap.formatters module by exporting this with <a href="http://sourceforge.net/projects/opencmsantbuild/" style="font-family:arial;font-size:small">http://sourceforge.net/projects/opencmsantbuild/</a>, changing the name where ever it's used in directory and file names and within files and the importing it again.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">But eventhough the changes is visible in workplace and the offline preview and the module seems to be published the changes aren't visible online.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The above ant script generate a manifest.xml and packs the modules and the calls cmsshell with following script:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><span style="white-space:pre-wrap"> </span>login ${opencms.username} ${opencms.password}</div>
<div><span style="white-space:pre-wrap"> </span>setCurrentProject ${opencms.info.project}</div><div><span style="white-space:pre-wrap"> </span>deleteModule "${<a href="http://module.module.name/" target="_blank">module.module.name</a>}"</div>
<div><span style="white-space:pre-wrap"> </span>importModuleFromDefault "${name.zip}"</div><div><span style="white-space:pre-wrap"> </span>exit</div></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">This gives an output with lots of:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/ ... o.k.</div><div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/elements/ ... o.k.</div><div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/formatters/ ... o.k.</div>
<div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/functions/ ... o.k.</div><div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/i18n/ ... o.k.</div><div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/resources/ ... o.k.</div>
<div> [java] Importing /system/modules/dk.touristonline.bootstrap.formatters/resources/css/ ... o.k.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
and</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div> [java] ( 1 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/.config"... o.k.</div>
<div> [java] ( 2 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/login.jsp"... o.k.</div><div> [java] ( 3 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone-action.jsp"... o.k.</div>
<div> [java] ( 4 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone.jsp"... o.k.</div><div> [java] ( 5 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/nav-breadcrumb.jsp"... o.k.</div>
<div> [java] ( 6 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/nav-main.jsp"... o.k.</div><div> [java] ( 7 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/elements/opencms-info.jsp"... o.k.</div>
<div> [java] ( 8 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/formatters/blog-detail.jsp"... o.k.</div><div> [java] ( 9 / 55 ) Parsing links for "/system/modules/dk.touristonline.bootstrap.formatters/formatters/blog-detail.xml"... o.k.</div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">og </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/login.jsp ... o.k.</div><div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone-action.jsp ... o.k.</div>
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone.jsp ... o.k.</div><div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/nav-breadcrumb.jsp ... o.k.</div>
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/nav-main.jsp ... o.k.</div><div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/elements/opencms-info.jsp ... o.k.</div>
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/formatters/blog-detail.jsp ... o.k.</div><div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/formatters/blog.jsp ... o.k.</div>
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/formatters/carousel.jsp ... o.k.</div><div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/formatters/flexible.jsp ... o.k.</div>
<div> [java] Updating file /system/modules/dk.touristonline.bootstrap.formatters/formatters/imagegalleryshow.jsp ... o.k.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
and</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div> [java] ( 1 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/ ... o.k.</div>
<div> [java] ( 2 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/elements/ ... o.k.</div><div> [java] ( 3 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/formatters/ ... o.k.</div>
<div> [java] ( 4 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/functions/ ... o.k.</div><div> [java] ( 5 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/i18n/ ... o.k.</div>
<div> [java] ( 6 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/resources/ ... o.k.</div><div> [java] ( 7 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/resources/css/ ... o.k.</div>
<div> [java] ( 8 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/resources/css/headers/ ... o.k.</div><div> [java] ( 9 / 51 ) Publishing folder /system/modules/dk.touristonline.bootstrap.formatters/resources/css/pages/ ... o.k.</div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">and</div><div style="font-family:arial,sans-serif;font-size:13px"><div> [java] ( 1 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/.config ... o.k.</div>
<div> [java] ( 2 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/login.jsp ... o.k.</div><div> [java] ( 3 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone-action.jsp ... o.k.</div>
<div> [java] ( 4 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/module-clone.jsp ... o.k.</div><div> [java] ( 5 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/nav-breadcrumb.jsp ... o.k.</div>
<div> [java] ( 6 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/nav-main.jsp ... o.k.</div><div> [java] ( 7 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/elements/opencms-info.jsp ... o.k.</div>
<div> [java] ( 8 / 462 ) Publishing file /system/modules/dk.touristonline.bootstrap.formatters/formatters/blog-detail.jsp ... o.k.</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
If I open the file with Edit sourcecode, save and publish directly the changes become visible online.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
I've tried with setCurrentProjekt as both Online and Offline. No difference.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've noticed that Date last modified doesn't change in Workplace when I import the module. How come? Does this have a connection to my base problem?</div>
</div><br clear="all"><div>Med venlig hilsen / Kind regards,<br><br>Christian Bjørnbak<br><br>Chefudvikler / Lead Developer<br>TouristOnline A/S<br>Islands Brygge 43<br>2300 København S<br>Denmark<br>TLF: +45 32888230<br>
Dir. TLF: +45 32888235<br></div>
</div>