AnsweredAssumed Answered

Changes to source code not used in build.

Question asked by jeremy on Sep 7, 2010
Latest reply on Sep 8, 2010 by mikeh
Hi,

When I change the Alfresco source code, and then rebuild alfresco, the old alfresco code is used in the build, rather than the changes I made.

I tried to change the code in the file simple-title.get.html.ftl from

<div class="page-title theme-bg-color-1 theme-border-1">
   <h1 class="theme-color-3"><span>${msg(args.title)}</span> <#if args.subtitle?? && msg(args.subtitle) != args.subtitle>${msg(args.subtitle)}</#if></h1>
</div>

to

<div class="page-title theme-bg-color-1 theme-border-1">
   <h1 class="theme-color-3"><span>Jeremy</span> <#if args.subtitle?? && msg(args.subtitle) != args.subtitle>${msg(args.subtitle)}</#if></h1>
</div>

However, after the build is completed, the former code is getting used. I know that the initial code gets used because after the build I opened the simple-title.get.html.ftl from Tomcat (i.e. in apache-tomcat-6.0.29/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/title) and it has the old code.

I think the problem might have something to do with svn.

Thanks.

Outcomes