[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9497) Add support for SAR projects

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Aug 11 02:18:26 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620214#comment-12620214 ] 

Rob Stryker commented on JBIDE-9497:
------------------------------------

as.wtp already has the base classes required for most of this stuff. Then each component simply needs to extend those classes for their own use. 

Remember, ESB has a lot of other shit in it, like their own custom runtimes nad classpath containers, that need to be added during creation of the project, so trying to smush this all together 100% doesn't really work. 

Since the base clsases live in as.wtp.core/ui, the extensions nad overrides should live where they belong. We already have an as.mbeans plugin which is for making mbeans, and, it would make sense that mbeans live in a sar project, so I think this should live in the as.mbeans plugin. 

> Add support for SAR projects
> ----------------------------
>
>                 Key: JBIDE-9497
>                 URL: https://issues.jboss.org/browse/JBIDE-9497
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>    Affects Versions: 3.3.0.M2
>            Reporter: Fred Bricon
>            Assignee: Rob Stryker
>              Labels: configuration, deployment, sar, wizard
>             Fix For: 3.3.0.M3
>
>
> While working on JBIDE-9127, it appeared to me you can not deploy standalone SAR projects (a jar with a .sar extension, capable of embedding other jars) in JBT.
> This is because the JBoss AS server adapters need a new Module type to be able to perform the actual deployment. 
> But in order to add such module, we need some sort of marker to identify SAR projects, most probably a new Facet.
> Sooooo, ideally we'd need to :
> - create a new SAR Facet. Installing the SAR Facet would create, if needed, an empty jboss-service.xml file in <some configurable source folder>/META-INF/
> - add the ability to include/exclude files from being deployed (using filesets)
> - Add a new Server Module / Factory, capable of dealing with SAR projects. SAR could be deployed either as compressed archive or in an exploded form
> - Add a new Wizard, to be able to create SAR archives
> From my understanding, this is pretty similar to what's been done for ESB projects. 
> Question : where would such plugins/features be kept? ESB has its own module. Adding a new SAR module or putting it under AS wouldn't feel right IMHO.
> I would suggest to rename the ESB module as JBossPackaging (similar to http://mojo.codehaus.org/jboss-packaging-maven-plugin) and put the SAR stuff next to the ESB stuff.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list