while forge is running, type:<br><br>$ set VERBOSE true<br><br>you can use <TAB> to see a list of all "$ set" options.<br><br><div class="gmail_quote">On Wed, Apr 20, 2011 at 3:48 PM, 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>
<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'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>
> Awesome! That;s great news!<br>
><br>
> Let's continue this on Forge-dev so that everyone can help out be<br>
> 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<br>
> point that you can control this type of behavior.<br>
><br>
> Thanks,<br>
> ~Lincoln<br>
><br>
> On Wed, Apr 20, 2011 at 11:59 AM, brian <<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>> wrote:<br>
><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<br>
> where<br>
> generated for<br>
> 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'<br>
><br>
> ...there should be a method/flag to tell it to ignore the SYS<br>
> tableset,<br>
> huh?<br>
><br>
><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<br>
> APIs and get<br>
> > it to run. It doesn't however, succeed, because it's missing<br>
> the<br>
> > HSQLDB driver, and also has hard-coded JDBC connection<br>
> properties.<br>
> ><br>
> > On Mon, Apr 11, 2011 at 10:43 AM, brian <<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>><br>
> wrote:<br>
> ><br>
> > ok i'm in business. knew it would be something<br>
> 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>
> ><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,<br>
> III<br>
> > wrote:<br>
> > > > With Git, do your changes in the repo directory.<br>
> 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<br>
> Baxter, III<br>
> > > > <<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>> wrote:<br>
> > > > Your local folder is actually an entire<br>
> clone of<br>
> > the Git repo,<br>
> > > > with every revision from start to<br>
> finish. So when<br>
> > you<br>
> > > > push/pull you are actually synchronizing<br>
> > repositories, This<br>
> > > > means that if your local repo thinks<br>
> it's ahead of<br>
> > the remote<br>
> > > > repo, nothing will happen.<br>
> > > ><br>
> > > > Running this command will probably fix<br>
> 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<br>
> make your<br>
> > repo think<br>
> > > > that it's "behind".)<br>
> > > ><br>
> > > > I know it's funky, but after I became<br>
> familiar,<br>
> > the speed and<br>
> > > > control are very addictive compared to<br>
> 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<br>
> 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<br>
> mvn/svn work is<br>
> > that i have<br>
> > > > a repo (in this<br>
> > > > case ~/plugin-hibernate-tools)<br>
> and a<br>
> > working dir (in<br>
> > > > this<br>
> > > ><br>
> ><br>
> case /apps/src/brianxlong-plugin-hibernate-tools-2f38225) and<br>
> > i make my<br>
> > > > changes and do my builds in my<br>
> working<br>
> > dir.<br>
> > > ><br>
> > > > am i just doing it wrong?<br>
> what's the<br>
> > workflow with<br>
> > > > git?<br>
> > > ><br>
> > > ><br>
> > > > here's the output i'm seeing<br>
> > > > ...<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>
> -><br>
> > FETCH_HEAD<br>
> > > > Already up-to-date.<br>
> > > ><br>
> > > ><br>
> > > > ...<br>
> > > ><br>
> > > ><br>
> brianx@elvis:~/plugin-hibernate-tools$ git<br>
> > status<br>
> > > > # On branch master<br>
> > > > # Your branch is ahead of<br>
> 'origin/master'<br>
> > by 1 commit.<br>
> > > > #<br>
> > > > nothing to commit (working<br>
> directory<br>
> > clean)<br>
> > > ><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<br>
> -0400, Lincoln<br>
> > Baxter, III<br>
> > > > wrote:<br>
> > > > > Hmmm.<br>
> > > > ><br>
> > > > > That should have worked. What<br>
> was the<br>
> > output of that<br>
> > > > command?<br>
> > > > > Similarly, what happens when<br>
> you type<br>
> > 'git status'<br>
> > > > or 'git remote -v'<br>
> > > > ><br>
> > > > > You might have local changes<br>
> 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,<br>
> "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<br>
> -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<br>
> worked<br>
> > (saying my<br>
> > > > source isn't<br>
> > > > > updated)...<br>
> > > > > > did i miss a step to get the<br>
> source<br>
> > from repo to<br>
> > > > the source tree? i<br>
> > > > > had<br>
> > > > > > to execute the git pull from<br>
> 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>
><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>