<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi guys.<br>
<br>
Today I was talking with George Gastaldi and we discussed about JDF
Forge plugin.
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.jboss.org/jdf/stack/plugin-jdf/">http://www.jboss.org/jdf/stack/plugin-jdf/</a><br>
<br>
Forge plugin was planned ( <a
href="https://issues.jboss.org/browse/FORGEPLUGINS-37">https://issues.jboss.org/browse/FORGEPLUGINS-37</a>
) prior the JBoss Stacks project ( <a
href="http://www.jboss.org/jdf/stack/stacks/">http://www.jboss.org/jdf/stack/stacks/</a>
) so I think that we could update the JDF Forge plugin to use the
Runtimes and Archetypes information too.<br>
<br>
Today jdf plugin shows all available boms through command completer:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="margin: 15px 0px; padding: 6px 10px; border: 1px solid rgb(204, 204, 204); font-size: 13px; font-family: Consolas, 'Liberation Mono', Courier, monospace; background-color: rgb(248, 248, 248); line-height: 19px; overflow: auto; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><code style="margin: 0px; padding: 0px; border: none; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-position: initial initial; !
background
-repeat: initial initial; ">jdf use-stack --stack <TAB></code></pre>
<big><br>
I think we should update jdf plugin to use the Runtime to display
only the available BOMs/BomVersions from each Runtime:<br>
</big>
<pre style="margin: 15px 0px; padding: 6px 10px; border: 1px solid rgb(204, 204, 204); font-size: 13px; font-family: Consolas, 'Liberation Mono', Courier, monospace; background-color: rgb(248, 248, 248); line-height: 19px; overflow: auto; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><code style="margin: 0px; padding: 0px; border: none; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-position: initial initial; !
background
-repeat: initial initial; ">jdf use-stack --runtime jboss-eap-60 --bom <TAB> (change --stack to --bom)</code></pre>
<br>
Even the Archetype information can be used also to delegate the
creation of a project using the correct archetype to that Runtime. <u>Here
I'm not sure if it this kind of overwrite is desirable. </u><br>
<pre style="margin: 15px 0px; padding: 6px 10px; border: 1px solid rgb(204, 204, 204); font-size: 13px; font-family: Consolas, 'Liberation Mono', Courier, monospace; background-color: rgb(248, 248, 248); line-height: 19px; overflow: auto; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><code style="margin: 0px; padding: 0px; border: none; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; white-space: pre; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-position: initial initial; !
background
-repeat: initial initial; ">jdf new-project --runtime jboss-eap-6- --archetype <TAB></code></pre>
<br>
What you forge/jdf guys think ? <br>
<br>
</body>
</html>