<?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 org.alfresco.repo.dictionary.TestModel in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/org-alfresco-repo-dictionary-testmodel/m-p/120681#M85051</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;I'm trying to run this command to test a customized model (per the instructions in the Dictionary Guide) without having to restart the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.dictionary.TestModel myModel.xml&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;I just get a command not found error.&amp;nbsp; Do I need to run this command from a specific directory?&amp;nbsp; Am I doing something wrong?&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, 26 Sep 2007 19:54:47 GMT</pubDate>
    <dc:creator>mskarica</dc:creator>
    <dc:date>2007-09-26T19:54:47Z</dc:date>
    <item>
      <title>org.alfresco.repo.dictionary.TestModel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-alfresco-repo-dictionary-testmodel/m-p/120681#M85051</link>
      <description>Hi, I'm trying to run this command to test a customized model (per the instructions in the Dictionary Guide) without having to restart the server.I'm doing the following&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.repo.dictionary.TestModel myModel.xml‍I just get a command not found error.&amp;nbsp; Do I need to run this command from a spe</description>
      <pubDate>Wed, 26 Sep 2007 19:54:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-alfresco-repo-dictionary-testmodel/m-p/120681#M85051</guid>
      <dc:creator>mskarica</dc:creator>
      <dc:date>2007-09-26T19:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: org.alfresco.repo.dictionary.TestModel</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/org-alfresco-repo-dictionary-testmodel/m-p/120682#M85052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to run this as a Java Application (ie. using 'java' from the command line) with your classpath configured with all of the required dependencies. The best way to do this is to use Eclipse to run the TestModel assuming you have an SDK / dev environment setup. This will ensure that you're using the latest dependencies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SDK" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SDK&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a quick workaround, you could navigate to your 'tomcat/webapps/alfresco/WEB-INF/lib' directory and run the command-line as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;java -cp .:../classes:alfresco-repository.jar:alfresco-core.jar:log4j-1.2.8.jar:commons-logging-1.0.4.jar:ehcache-1.3.0-patched.jar:jibx-run.jar:xpp3-1.1.3_8.jar:spring-2.0.2.jar org.alfresco.repo.dictionary.TestModel &amp;lt;classpath location of your model&amp;gt;&lt;BR /&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;… although the exact dependencies will depend on your version of Alfresco . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using HEAD (post 2.x) then another alternative is use the Dynamic Models feature to develop and test your model, since this does not require a server restart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=8675" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/viewtopic.php?t=8675&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 10:51:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/org-alfresco-repo-dictionary-testmodel/m-p/120682#M85052</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2007-09-28T10:51:44Z</dc:date>
    </item>
  </channel>
</rss>

