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