<div dir="ltr">Hey There,<div><br></div><div>Sorry for the late reply - the holiday season is always difficult.</div><div><br></div><div>First, I have to recommend that you try upgrading to Forge 2, since it will make doing this infinitely easier. Forge 1 did not really handle extensions very well beyond the simple plugin mechanism. Forge 2 is much simpler and easier to extend, and Forge 1 is no longer under development or maintenance.</div><div><br></div><div>You should take a look at the new AngularJS scaffold for Forge 2. The code is still a bit cluttered, sorry, but the concept of extending Forge 2 is far simpler:</div><div><br></div><div><a href="http://forge.jboss.org/addon/org.jboss.forge.addon:angularjs">http://forge.jboss.org/addon/org.jboss.forge.addon:angularjs</a><br></div><div><br></div><div>Just implement the ScaffoldProvider interface, then install your addon into Forge 2:</div><div><br></div><div><a href="https://github.com/forge/angularjs-addon/blob/master/src/main/java/org/jboss/forge/addon/angularjs/AngularScaffoldProvider.java">https://github.com/forge/angularjs-addon/blob/master/src/main/java/org/jboss/forge/addon/angularjs/AngularScaffoldProvider.java</a><br></div><div><br></div><div>Once your addon is installed (see installation instructions on the angularjs addon page - just replace with your addon&#39;s coordinates) your scaffold should be listed in the choices for available scaffolding when running the &quot;Scaffold - Generate&quot; / &#39;scaffold-generate&#39; command.</div><div><br></div><div>I hope this is helpful, and sorry again for the late reply.</div><div><br></div><div>~Lincoln</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 8:51 AM,  <span dir="ltr">&lt;<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to cerate a new scaffoldx provider like this one: forge/angularjs-scaffoldx-plugin · GitHub (<a href="https://github.com/forge/angularjs-scaffoldx-plugin" target="_blank">https://github.com/forge/angularjs-scaffoldx-plugin</a>)<br>
<br>
I created a new project and basically copied the code from the one above just to test some things. Now, how do I make it that it shows on the $ list-scaffoldx-providers list so I can use it in a project? I have tried the $ forge source-plugin {PATH} command to add the plugin and it shows on the $ forge list-plugins command, but not on the $ list-scaffoldx-providers list. How do I install it as a eclipse project into forge?<br>
<br>
I am using Forge 1.4.4<br>
<br>
What I want to make is a plugin like the one mentioned above, to create JSF pages from an entity. And I don&#39;t want to make it available to everyone on the <a href="http://forge.jboss.org/1.x/plugins.html" target="_blank">http://forge.jboss.org/1.x/plugins.html</a> page, since  I am only studying forge and want to test it locally.<br>
<br>
Thanks<br>
<br>
Posted by forums<br>
Original post: <a href="https://developer.jboss.org/message/914121#914121" target="_blank">https://developer.jboss.org/message/914121#914121</a><br>
<br>
_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;</div>
</div>