Create a project that uses JPA... like in the reference docs examples for creating a basic EE webapp.<br><br>You wouldn't want to install JPA into the hibernate-tools-plugin itself, that wouldn't make sense :)<br><br>
<div class="gmail_quote">On Mon, Apr 11, 2011 at 3:13 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>
list-facets doesn't show PersistenceFacet. how to make it available?<br>
<div><div></div><div class="h5"><br>
On Mon, 2011-04-11 at 15:05 -0400, Lincoln Baxter, III wrote:<br>
> Notice that the plugin has a few requirements:<br>
><br>
><br>
> @RequiresProject<br>
> @RequiresFacet(PersistenceFacet.class)<br>
><br>
> All of these must be satisfied before the plugin will be available. In<br>
> english, this means that you need a project, and that project must<br>
> have the PersistenceFacet installed already; then and only then will<br>
> the plugin be available to execute.<br>
><br>
> ~Lincoln<br>
><br>
> On Mon, Apr 11, 2011 at 2:59 PM, brian <<a href="mailto:brianx@vt.edu">brianx@vt.edu</a>> wrote:<br>
><br>
><br>
> builds fine, as before<br>
><br>
> [INFO]<br>
> Replacing /home/brianx/plugin-hibernate-tools/target/hibernate-tools-plugin-1.0.0-SNAPSHOT.jar with /home/brianx/plugin-hibernate-tools/target/hibernate-tools-plugin-1.0.0-SNAPSHOT-shaded.jar<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [INFO] BUILD SUCCESS<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> [INFO] Total time: 6.175s<br>
> [INFO] Finished at: Mon Apr 11 13:35:52 EDT 2011<br>
> [INFO] Final Memory: 50M/299M<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
> ***SUCCESS*** Build successful.<br>
> An existing version of this plugin was found. Replace it?<br>
> [Y/n]<br>
> ***INFO*** Installing plugin artifact.<br>
> Wrote /home/brianx/.forge/plugins/org.jboss.hibernate.forge<br>
> $hibernate-tools-plugin$3$1.0.0-SNAPSHOT.jar<br>
> ***SUCCESS*** Installed from [plugin-hibernate-tools]<br>
> successfully.<br>
> [hibernate-tools-plugin] plugin $ generate-entities<br>
> ***ERROR*** No such command: generate-entities<br>
><br>
><br>
> but docs say that 'alias' in forge should execute. doesn't.<br>
> missing a<br>
> step?<br>
><br>
> b<br>
><br>
><br>
> On Mon, 2011-04-11 at 14:51 -0400, Lincoln Baxter III (JIRA)<br>
> wrote:<br>
> ><br>
> [ <a href="https://issues.jboss.org/browse/SEAMFORGE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594850#comment-12594850" target="_blank">https://issues.jboss.org/browse/SEAMFORGE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594850#comment-12594850</a> ]<br>
> ><br>
> > Lincoln Baxter III commented on SEAMFORGE-135:<br>
> > ----------------------------------------------<br>
> ><br>
> > Did you overwrite an existing Forge installation, or start<br>
> with a fresh folder installation? What happens if you try<br>
> removing forge and un-zipping a fresh copy?<br>
> ><br>
> > > Forge fails to start<br>
> > > --------------------<br>
> > ><br>
> > > Key: SEAMFORGE-135<br>
> > > URL:<br>
> <a href="https://issues.jboss.org/browse/SEAMFORGE-135" target="_blank">https://issues.jboss.org/browse/SEAMFORGE-135</a><br>
> > > Project: Seam Forge<br>
> > > Issue Type: Bug<br>
> > > Components: Forge Build<br>
> > > Affects Versions: 1.0.0.Alpha3<br>
> > > Reporter: Yarco Hayduk<br>
> > ><br>
> > > C:\Windows\system32>forge<br>
> > > Error: Could not find or load main class %<br>
> MY_FORGE_HOME_PATH%\forge-1.0.0.Alpha3\lib\aether-api.jar<br>
> > > I double checked the PATH variables.<br>
> ><br>
> > --<br>
> > This message is automatically generated by JIRA.<br>
> > For more information on JIRA, see:<br>
> <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
> > _______________________________________________<br>
> > forge-dev mailing list<br>
> > <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> forge-dev mailing list<br>
> <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><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>