[ 
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

        

Reply via email to