You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cesar Izurieta (JIRA)" <ji...@codehaus.org> on 2006/12/29 20:34:09 UTC
[jira] Created: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Ability to add jboss dataosources (*ds.xml) files as a jarModule
----------------------------------------------------------------
Key: MEAR-52
URL: http://jira.codehaus.org/browse/MEAR-52
Project: Maven 2.x Ear Plugin
Issue Type: Wish
Reporter: Cesar Izurieta
It would be nice to be able to add a jarModule as:
<modules>
<jarModule>
<uri>mysql-ds.xml</uri>
<includeInApplicationXml>true</includeInApplicationXml>
</jarModule>
</modules>
So the resulting application.xml looks like:
<application>
...
<module>
<java>mysql-ds.xml</java>
</module>
</application>
This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105659 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
come on :)
Who said it should be a Java entry. *read*!
{quote}
According to Adrian Brock, the supported solution is as follows:
So for future compatibility, the correct mechanism for non-spec
deployments is to add a META-INF/jboss-app.xml
<jboss-app>
<module>
<service>mydatasource-ds.xml</service>
</module>
</jboss-app>
{quote}
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_final.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MEAR-52.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.3.2
Applied, thanks even though the patch was impossible to apply (full path) and it had an error in it :)
Anyway, I appreciate your help.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Fix For: 2.3.2
>
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_final.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Gagne updated MEAR-52:
------------------------------
Attachment: maven-ear-plugin_datasource-patch.txt
Fixed format/License
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=comments#action_83661 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
I see.
My problem is that the ear plugin will then generate a non compliant deploymen desriptor (well it will match the DTD or the Xschema but no the semantic)
Do you know if there is an official page on the JBoss Wiki about this feature?
Thanks.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assigned To: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Gagne updated MEAR-52:
------------------------------
Attachment: maven-ear-plugin_datasource-patch_2.txt
Here's a patch for an implementation of this feature along the lines that you previously specified. Let me know if this is more acceptable or if there are other changes I should make.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Gagne updated MEAR-52:
------------------------------
Attachment: maven-ear-plugin_datasource-patch_final.txt
According to the schema the <module> element cannot have a <java> sub-element in jboss-app.xml... I changed it to generate the data source location with the <service> element and everything works and the data source is found by jboss. I attached the latest version of my code (maven-ear-plugin_datasource-patch_final.txt) with formatting changes to other code removed.
>From http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd:
"<!ELEMENT module (service | har)>"
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_final.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=comments#action_83626 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
does not make much sense to me.
JarModule is for a library (a jar file) which needs to be a dependency of the project. your datasource definition is certainly not a dependency of the project per se; where is it located?
Normally, you should bundle your service and datasource in a sar file, which is supported by the ear plugin.
What's the added value here? Adding JBoss specific stuff is ok provided they are clearly separated.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assigned To: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Tom Cort (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105545 ]
Tom Cort commented on MEAR-52:
------------------------------
A developer I work with is working on a patch for the ear plugin to implement this feature. It should be done sometime this week. I had tried adding the data source to META-INF/jboss-app.xml as suggested above, but the data source was deployed after the modules in application.xml. I need the data source to be deployed first because some of the modules use the data source.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100378 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
According to Adrian Brock, the supported solution is as follows:
{quote}
So for future compatibility, the correct mechanism for non-spec
deployments is to add a META-INF/jboss-app.xml
<jboss-app>
<module>
<service>mydatasource-ds.xml</service>
</module>
</jboss-app>
{quote}
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105546 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
okay. I'll be glad to review and apply the patch.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105660 ]
Matthew Gagne commented on MEAR-52:
-----------------------------------
Yeah, my apologies, I had skimmed that section from Adrian over earlier, but didn't put 2 and 2 together till after my debugging/post. As far as the latest patch, do you think it's up to snuff or is there anything else I should look into fixing? It works on our end for JBoss 4.2.1.
-Matt
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_final.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105628 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
I'm sorry Matthew, I will have to reject this. Please *read* the comments in this issue. The only way to do this is to update the jboss-app.xml.
I won't create a new module for that and I won't put this information in the application.xml since it's JBoss specific. See also the answer we got from Adrian.
The only thing we need is a new option to the JBoss config and an update of the JbossAppXmlWriter.
Regards,
Stéphane
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Cesar Izurieta (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=comments#action_83654 ]
Cesar Izurieta commented on MEAR-52:
------------------------------------
In this case, the datasource file for jboss is located on the root of the ear. I have it placed on the src/main/application directory. It can be located anywhere on the ear provided that you specify the correct path in the application.xml file.
Maybe then since it is jboss specific then it can be added to the jboss configuration section:
<configuration>
...
<jboss>
...
<datasource>mysql-ds.xml</datasource>
</jboss>
</configuation>
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assigned To: Stephane Nicoll
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105661 ]
Stephane Nicoll commented on MEAR-52:
-------------------------------------
Yep it's good I'll apply it.
Thanks.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_final.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Gagne updated MEAR-52:
------------------------------
Attachment: maven-ear-plugin_datasource-patch.txt
Here is the patch I have created that Tom Cort mentioned. Let us know what you think, or if there are any changes that should be made!
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MEAR-52) Ability to add jboss dataosources
(*ds.xml) files as a jarModule
Posted by "Matthew Gagne (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew Gagne updated MEAR-52:
------------------------------
Attachment: maven-ear-plugin_datasource-patch_2.txt
Apologies, this new file is the proper patch.
> Ability to add jboss dataosources (*ds.xml) files as a jarModule
> ----------------------------------------------------------------
>
> Key: MEAR-52
> URL: http://jira.codehaus.org/browse/MEAR-52
> Project: Maven 2.x Ear Plugin
> Issue Type: Wish
> Reporter: Cesar Izurieta
> Assignee: Stephane Nicoll
> Attachments: maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch.txt, maven-ear-plugin_datasource-patch_2.txt, maven-ear-plugin_datasource-patch_2.txt
>
>
> It would be nice to be able to add a jarModule as:
> <modules>
> <jarModule>
> <uri>mysql-ds.xml</uri>
> <includeInApplicationXml>true</includeInApplicationXml>
> </jarModule>
> </modules>
> So the resulting application.xml looks like:
> <application>
> ...
> <module>
> <java>mysql-ds.xml</java>
> </module>
> </application>
> This would help to deploy jboss datasources with the ear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira