while forge is running, type:<br><br>$ set VERBOSE true<br><br>you can use &lt;TAB&gt; to see a list of all &quot;$ set&quot; options.<br><br><div class="gmail_quote">On Wed, Apr 20, 2011 at 3:48 PM, brian <span dir="ltr">&lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
<br>
max just sent msg saying out till tues.<br>
<br>
where would i look for a stacktrace?  the shell is giving me a oneliner<br>
error:<br>
<br>
***ERROR*** [generate-entities] freemarker/template/TemplateException<br>
<br>
generated on the pj.start() call.  attempted to catch exception but it&#39;s<br>
getting eaten.  is there a log file somewhere for a stack trace?<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On Wed, 2011-04-20 at 12:28 -0400, Lincoln Baxter, III wrote:<br>
&gt; Awesome! That;s great news!<br>
&gt;<br>
&gt; Let&#39;s continue this on Forge-dev so that everyone can help out be<br>
&gt; available for future reference by other devs.<br>
&gt;<br>
&gt; Max, do you know what&#39;s up with this error? I know you told me at one<br>
&gt; point that you can control this type of behavior.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; ~Lincoln<br>
&gt;<br>
&gt; On Wed, Apr 20, 2011 at 11:59 AM, brian &lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;         jmdc.readFromJDBC() is failing with this:<br>
&gt;<br>
&gt;         ***ERROR*** [generate-entities] Duplicate class name<br>
&gt;         &#39;edu.vt.middleware.domain.AllFileGroups&#39; generated for<br>
&gt;         &#39;org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)&#39;. Same name<br>
&gt;         where<br>
&gt;         generated for<br>
&gt;         &#39;org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)&#39;<br>
&gt;<br>
&gt;         ...there should be a method/flag to tell it to ignore the SYS<br>
&gt;         tableset,<br>
&gt;         huh?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         On Mon, 2011-04-11 at 10:50 -0400, Lincoln Baxter, III wrote:<br>
&gt;         &gt; I took the liberty of updating the plugin to use the new<br>
&gt;         APIs and get<br>
&gt;         &gt; it to run. It doesn&#39;t however, succeed, because it&#39;s missing<br>
&gt;         the<br>
&gt;         &gt; HSQLDB driver, and also has hard-coded JDBC connection<br>
&gt;         properties.<br>
&gt;         &gt;<br>
&gt;         &gt; On Mon, Apr 11, 2011 at 10:43 AM, brian &lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt;<br>
&gt;         wrote:<br>
&gt;         &gt;<br>
&gt;         &gt;         ok i&#39;m in business.  knew it would be something<br>
&gt;         procedural.<br>
&gt;         &gt;<br>
&gt;         &gt;         got the source, rebuilt the plugin, it runs.<br>
&gt;         &gt;<br>
&gt;         &gt;         now:  there is already a GenerateEntities.java in<br>
&gt;         &gt;         org.hibernate.forge.plugin.GenerateEntities.java.<br>
&gt;         &gt;<br>
&gt;         &gt;         the source you sent is in<br>
&gt;         &gt;<br>
&gt;         org.jboss.seam.forge.persistence.plugins.GenerateEntities.java<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         ...they look eerily similar.  what gives?<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         On Mon, 2011-04-11 at 10:33 -0400, brian wrote:<br>
&gt;         &gt;         &gt; aha.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; On Mon, 2011-04-11 at 10:18 -0400, Lincoln Baxter,<br>
&gt;         III<br>
&gt;         &gt;         wrote:<br>
&gt;         &gt;         &gt; &gt; With Git, do your changes in the repo directory.<br>
&gt;         Otherwise<br>
&gt;         &gt;         it will not<br>
&gt;         &gt;         &gt; &gt; be able to track them.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; ~Lincoln<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; On Mon, Apr 11, 2011 at 10:17 AM, Lincoln<br>
&gt;         Baxter, III<br>
&gt;         &gt;         &gt; &gt; &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br>
&gt;         &gt;         &gt; &gt;         Your local folder is actually an entire<br>
&gt;         clone of<br>
&gt;         &gt;         the Git repo,<br>
&gt;         &gt;         &gt; &gt;         with every revision from start to<br>
&gt;         finish. So when<br>
&gt;         &gt;         you<br>
&gt;         &gt;         &gt; &gt;         push/pull you are actually synchronizing<br>
&gt;         &gt;         repositories, This<br>
&gt;         &gt;         &gt; &gt;         means that if your local repo thinks<br>
&gt;         it&#39;s ahead of<br>
&gt;         &gt;         the remote<br>
&gt;         &gt;         &gt; &gt;         repo, nothing will happen.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         Running this command will probably fix<br>
&gt;         your<br>
&gt;         &gt;         issues:<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 `git reset HEAD^1 --hard`<br>
&gt;         &gt;         &gt; &gt;                 `git reset HEAD^1 --hard`<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 `git pull<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         git://<a href="http://github.com/forge/plugin-hibernate-tools.git" target="_blank">github.com/forge/plugin-hibernate-tools.git</a><br>
&gt;         &gt;         &gt; &gt;                 master<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         Try those three. (The duplicate is to<br>
&gt;         make your<br>
&gt;         &gt;         repo think<br>
&gt;         &gt;         &gt; &gt;         that it&#39;s &quot;behind&quot;.)<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         I know it&#39;s funky, but after I became<br>
&gt;         familiar,<br>
&gt;         &gt;         the speed and<br>
&gt;         &gt;         &gt; &gt;         control are very addictive compared to<br>
&gt;         SVN. (You<br>
&gt;         &gt;         also don&#39;t<br>
&gt;         &gt;         &gt; &gt;         have to worry about damaging any .svn/<br>
&gt;         &gt;         directories. Just the<br>
&gt;         &gt;         &gt; &gt;         top-level .git/ directory, which is a<br>
&gt;         whole lot<br>
&gt;         &gt;         less to keep<br>
&gt;         &gt;         &gt; &gt;         track of.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         ~Lincoln<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         On Mon, Apr 11, 2011 at 10:13 AM, brian<br>
&gt;         &gt;         &lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt; wrote:<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 blew away local changes.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 the way i&#39;m used to seeing<br>
&gt;         mvn/svn work is<br>
&gt;         &gt;         that i have<br>
&gt;         &gt;         &gt; &gt;                 a repo (in this<br>
&gt;         &gt;         &gt; &gt;                 case ~/plugin-hibernate-tools)<br>
&gt;         and a<br>
&gt;         &gt;         working dir (in<br>
&gt;         &gt;         &gt; &gt;                 this<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;<br>
&gt;         case /apps/src/brianxlong-plugin-hibernate-tools-2f38225) and<br>
&gt;         &gt;         i make my<br>
&gt;         &gt;         &gt; &gt;                 changes and do my builds in my<br>
&gt;         working<br>
&gt;         &gt;         dir.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 am i just doing it wrong?<br>
&gt;          what&#39;s the<br>
&gt;         &gt;         workflow with<br>
&gt;         &gt;         &gt; &gt;                 git?<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 here&#39;s the output i&#39;m seeing<br>
&gt;         &gt;         &gt; &gt;                 ...<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         brianx@elvis:~/plugin-hibernate-tools$ git<br>
&gt;         &gt;         pull<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         git://<a href="http://github.com/forge/plugin-hibernate-tools.git" target="_blank">github.com/forge/plugin-hibernate-tools.git</a><br>
&gt;         &gt;         &gt; &gt;                 master<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt;From<br>
&gt;         &gt;         git://<a href="http://github.com/forge/plugin-hibernate-tools" target="_blank">github.com/forge/plugin-hibernate-tools</a><br>
&gt;         &gt;         &gt; &gt;                  * branch            master<br>
&gt;         -&gt;<br>
&gt;         &gt;         FETCH_HEAD<br>
&gt;         &gt;         &gt; &gt;                 Already up-to-date.<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 ...<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         brianx@elvis:~/plugin-hibernate-tools$ git<br>
&gt;         &gt;         status<br>
&gt;         &gt;         &gt; &gt;                 # On branch master<br>
&gt;         &gt;         &gt; &gt;                 # Your branch is ahead of<br>
&gt;         &#39;origin/master&#39;<br>
&gt;         &gt;         by 1 commit.<br>
&gt;         &gt;         &gt; &gt;                 #<br>
&gt;         &gt;         &gt; &gt;                 nothing to commit (working<br>
&gt;         directory<br>
&gt;         &gt;         clean)<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         brianx@elvis:~/plugin-hibernate-tools$ git<br>
&gt;         &gt;         remote -v<br>
&gt;         &gt;         &gt; &gt;                 origin<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;          <a href="https://github.com/forge/plugin-hibernate-tools" target="_blank">https://github.com/forge/plugin-hibernate-tools</a><br>
&gt;         &gt;         &gt; &gt;                 (fetch)<br>
&gt;         &gt;         &gt; &gt;                 origin<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;          <a href="https://github.com/forge/plugin-hibernate-tools" target="_blank">https://github.com/forge/plugin-hibernate-tools</a><br>
&gt;         &gt;         &gt; &gt;                 (push)<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 On Mon, 2011-04-11 at 09:37<br>
&gt;         -0400, Lincoln<br>
&gt;         &gt;         Baxter, III<br>
&gt;         &gt;         &gt; &gt;                 wrote:<br>
&gt;         &gt;         &gt; &gt;                 &gt; Hmmm.<br>
&gt;         &gt;         &gt; &gt;                 &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; That should have worked. What<br>
&gt;         was the<br>
&gt;         &gt;         output of that<br>
&gt;         &gt;         &gt; &gt;                 command?<br>
&gt;         &gt;         &gt; &gt;                 &gt; Similarly, what happens when<br>
&gt;         you type<br>
&gt;         &gt;         &#39;git status&#39;<br>
&gt;         &gt;         &gt; &gt;                 or &#39;git remote -v&#39;<br>
&gt;         &gt;         &gt; &gt;                 &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; You might have local changes<br>
&gt;         that are<br>
&gt;         &gt;         preventing the<br>
&gt;         &gt;         &gt; &gt;                 merge.<br>
&gt;         &gt;         &gt; &gt;                 &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; Lincoln Baxter&#39;s Droid<br>
&gt;         &gt;         &gt; &gt;                 &gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt;         &gt;         &gt; &gt;                 &gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt;         &gt;         &gt; &gt;                 &gt; Keep it simple.<br>
&gt;         &gt;         &gt; &gt;                 &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; On Apr 11, 2011 9:33 AM,<br>
&gt;         &quot;brian&quot;<br>
&gt;         &gt;         &lt;<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>&gt;<br>
&gt;         &gt;         &gt; &gt;                 wrote:<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; so since i did this<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; On Fri, 2011-04-08 at 13:37<br>
&gt;         -0400,<br>
&gt;         &gt;         Lincoln Baxter,<br>
&gt;         &gt;         &gt; &gt;                 III wrote:<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt;&gt; git pull<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         git://<a href="http://github.com/forge/plugin-hibernate-tools.git" target="_blank">github.com/forge/plugin-hibernate-tools.git</a><br>
&gt;         &gt;         &gt; &gt;                 master<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; and yet your last suggestion<br>
&gt;         worked<br>
&gt;         &gt;         (saying my<br>
&gt;         &gt;         &gt; &gt;                 source isn&#39;t<br>
&gt;         &gt;         &gt; &gt;                 &gt; updated)...<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; did i miss a step to get the<br>
&gt;         source<br>
&gt;         &gt;         from repo to<br>
&gt;         &gt;         &gt; &gt;                 the source tree? i<br>
&gt;         &gt;         &gt; &gt;                 &gt; had<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; to execute the git pull from<br>
&gt;         the<br>
&gt;         &gt;         actual repo,<br>
&gt;         &gt;         &gt; &gt;                 which isn&#39;t the way<br>
&gt;         &gt;         &gt; &gt;                 &gt; i&#39;m<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt; used to seeing maven work.<br>
&gt;         &gt;         &gt; &gt;                 &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;                 &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         --<br>
&gt;         &gt;         &gt; &gt;         Lincoln Baxter, III<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt;         &gt;         &gt; &gt;         <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;         &quot;Keep it Simple&quot;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt;<br>
&gt;         &gt;         &gt; &gt; --<br>
&gt;         &gt;         &gt; &gt; Lincoln Baxter, III<br>
&gt;         &gt;         &gt; &gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt;         &gt;         &gt; &gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt;         &gt;         &gt; &gt; &quot;Keep it Simple&quot;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt; --<br>
&gt;         &gt; Lincoln Baxter, III<br>
&gt;         &gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt;         &gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt;         &gt; &quot;Keep it Simple&quot;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Lincoln Baxter, III<br>
&gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt; &quot;Keep it Simple&quot;<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>