<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changes to source code not used in build. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218085#M171215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to change the code in the file simple-title.get.html.ftl from&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;div class="page-title theme-bg-color-1 theme-border-1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;h1 class="theme-color-3"&amp;gt;&amp;lt;span&amp;gt;${msg(args.title)}&amp;lt;/span&amp;gt; &amp;lt;#if args.subtitle?? &amp;amp;&amp;amp; msg(args.subtitle) != args.subtitle&amp;gt;${msg(args.subtitle)}&amp;lt;/#if&amp;gt;&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;div class="page-title theme-bg-color-1 theme-border-1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;h1 class="theme-color-3"&amp;gt;&amp;lt;span&amp;gt;Jeremy&amp;lt;/span&amp;gt; &amp;lt;#if args.subtitle?? &amp;amp;&amp;amp; msg(args.subtitle) != args.subtitle&amp;gt;${msg(args.subtitle)}&amp;lt;/#if&amp;gt;&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem might have something to do with svn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 05:40:18 GMT</pubDate>
    <dc:creator>jeremy</dc:creator>
    <dc:date>2010-09-07T05:40:18Z</dc:date>
    <item>
      <title>Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218085#M171215</link>
      <description>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&amp;lt;div class="page-title theme-bg-color-1 theme-border-1"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;h1 class="theme-c</description>
      <pubDate>Tue, 07 Sep 2010 05:40:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218085#M171215</guid>
      <dc:creator>jeremy</dc:creator>
      <dc:date>2010-09-07T05:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218086#M171216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please detail exactly what steps you take from editing, through build and deployment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 06:21:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218086#M171216</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-07T06:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218087#M171217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To edit the file simple-title.get.html.ftl I open it from the file system (C:\Alfresco\projects\slingshot\config\alfresco\site-webscripts\org\alfresco\components\title). It opens in a program called Notepad++.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I make the required changes, and save the file. To save the file I press the control key and s. I know it saves because when i close this file, and then reopen the file, it has my changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, in Netbeans, I have the file c:\Alfresco\build.xml open. In the navigator panel in NetBeans, I right click on the 'build-tomcat' option, and select 'Run Target'. NetBeans then does a successful build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason share.war (produced from the build)&amp;nbsp; gets copied to a folder in c:\Alfresco so I manually copy it from here to the webapps folder in the Tomcat installation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The file alfresco.war is where is should be (i.e. in the webapps folder of the Tomcat installation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then start Tomcat and wait for around 1-2 minutes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I navigate to localhost:8080/share using Mozilla, and login. I navigate to the repository to see if the text "Repository Browser" has changed in accordance with my changes to simple-title.get.html.ftl. The text is unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then check the simple-title.get.html.ftl in the tomcat installation (apache-tomcat-6.0.29\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\title) and it does not have the changes I made.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 06:51:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218087#M171217</guid>
      <dc:creator>jeremy</dc:creator>
      <dc:date>2010-09-07T06:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218088#M171218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure the share.war is getting redeployed by Tomcat? Try manually deleting the webapps/share folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 07:11:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218088#M171218</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-07T07:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218089#M171219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that when I do a re-build, the Share folder in Tomcat's webapps directory does not get deleted, but the Alfresco folder does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how I can fix this, i.e. make a change so that the Share folder in the Tomcat installation does get deleted during a build ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 08:18:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218089#M171219</guid>
      <dc:creator>jeremy</dc:creator>
      <dc:date>2010-09-07T08:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218090#M171220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure the APP_TOMCAT_HOME environment variable is set to the same value as TOMCAT_HOME.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 11:51:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218090#M171220</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-07T11:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218091#M171221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, that worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I make a change to the source code, such as the change I described above (i.e. changing the file simple-title.get.html.ftl), I then rebuild Alfresco to see if my change to the code works as I expect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rebuilding Alfresco normally takes anywhere between 5 and 20 minutes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a quicker way of building Alfresco, so that I can test my code changes more quickly ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 05:13:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218091#M171221</guid>
      <dc:creator>jeremy</dc:creator>
      <dc:date>2010-09-08T05:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changes to source code not used in build.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218092#M171222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're only changing share, so just rebuild the slingshot project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ant incremental-slingshot-tomcat&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 08:32:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changes-to-source-code-not-used-in-build/m-p/218092#M171222</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-09-08T08:32:14Z</dc:date>
    </item>
  </channel>
</rss>

