<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div>To what degree would this impact the web management interface?</div><div><br></div><div>Regards, Heiko</div><br><div><div>On Dec 30, 2011, at 6:33 AM, Jason T. Greene wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I have committed a slightly different solution that is triggered by <br>creating an optional product.conf in the bin directory. This file <br>specifies the "slot" to load for the product definition module <br>(org.jboss.as.product). This module includes a MANIFEST.MF which defines <br>a product name, a product version, and also the slot to use for the <br>console. These values are used to compute startup log messages and are <br>also present as root attributes in the management model. The use of the <br>indirection file avoids forcing IDEs or other launchers to know the <br>product to pass as a parameter, and it also allows for multiple <br>different product definitions modules.<br><br>If there is no product.conf, standard community behavior is exhibited.<br><br>I compiled a mock EAP 6.0 example using the EAP L&F build of the console:<br><br>Just extract the following in jboss.home:<br><a href="http://dl.dropbox.com/u/712508/prod-example.zip">http://dl.dropbox.com/u/712508/prod-example.zip</a><br><br>On 12/13/11 10:06 AM, Jason T. Greene wrote:<br><blockquote type="cite">I think we are intermixing maven modules and jboss modules here. I think<br></blockquote><blockquote type="cite">it's very desirable that we have a *different* jboss module per product<br></blockquote><blockquote type="cite">so that there is no delta required between the AS7 core platform build<br></blockquote><blockquote type="cite">and the product. However we still need that common name, so a jboss<br></blockquote><blockquote type="cite">module alias works well.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The code inside of AS somewhere does<br></blockquote><blockquote type="cite">moduleLoader.findModule("org.jboss.as.product") or whatever, and we just<br></blockquote><blockquote type="cite">have one tiny module.xml that aggregates the community product module.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">None of this though needs a maven module, it can all just be built from<br></blockquote><blockquote type="cite">build. The product process simply has to replace that one "alias"<br></blockquote><blockquote type="cite">module.xml.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 12/13/11 9:59 AM, Brian Stansberry wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">I have a feeling this isn't really answering your question, but here goes...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I vaguely envisioned this as being based on a ServiceLoader. So we would<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">define an interface. In an artifact that will pretty much never change.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">So products can depend on version 1.0 of that interface pretty much<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">forever. Different products would have a module that implements that<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">interface and exposes its impl via ServiceLoader. The build would deal<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">with deal with getting the correct module in place.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Since the interface can pretty much never change, it should be real<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">generic. Probably just provides a properties map.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Map<String, String> getProductConfigurationSettings()<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On 12/12/11 5:19 PM, Paul Gier wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I started working on a way to modularize the product name and version in<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">the startup/shutdown logs of AS7 [1][2]. There is a new module called<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"product" which contains the product name and version. However this<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">approach doesn't seem good to me because the "host-controller",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"process-controller", and "server" modules all now have dependencies on<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">this new module.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Ideally, I want to set this up so that there is sort of a placeholder<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">product name/version used during the build or these modules, but then<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">this can be overridden by the product module later in the build. Anyone<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">have suggestions about how to do this?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks!<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">[1]https://github.com/pgier/jboss-as/commits/AS7-1807<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">[2]https://issues.jboss.org/browse/AS7-1807<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">jboss-as7-dev mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">jboss-as7-dev@lists.jboss.org<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br><br>-- <br>Jason T. Greene<br>JBoss AS Lead / EAP Platform Architect<br>JBoss, a division of Red Hat<br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div><br></div><div>Heiko Braun</div><div>Senior Software Engineer</div><div>JBoss by Red Hat</div><div><a href="http://about.me/hbraun">http://about.me/hbraun</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></body></html>