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