[forge-dev] executing plugin

Lincoln Baxter, III lincolnbaxter at gmail.com
Mon Apr 11 15:15:20 EDT 2011


Create a project that uses JPA... like in the reference docs examples for
creating a basic EE webapp.

You wouldn't want to install JPA into the hibernate-tools-plugin itself,
that wouldn't make sense :)

On Mon, Apr 11, 2011 at 3:13 PM, brian <brianx at vt.edu> wrote:

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


-- 
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20110411/117ee7f8/attachment.html 


More information about the forge-dev mailing list