<div dir="ltr">Hi Arun!<div><br></div><div>Wildfly archetypes are created based on Quickstarts (just as Rafael mentioned here [1]). </div><div>In case of <i><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">wildfly-</span></i><span style="font-size:12.8000001907349px;font-family:arial,sans-serif"><i>javaee7-webapp-blank-archetype</i> it is <i>kitchensink</i> [1]. Quickstarts are designed in such a way, that they can be deployed all together (this is why they need separate datasources). </span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">So, test-ds.xml is a design consequence of how Quickstarts are embedded into archetypes. In my opinion we won't be able to get rid of it. Alternatively we could refactor all quickstarts to use default database - which might be pretty time consuming.</span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">Best regards</span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">Sebastian</span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">[1] </span><font face="arial, sans-serif"><a href="https://issues.jboss.org/browse/WFLY-4030?focusedCommentId=13016156">https://issues.jboss.org/browse/WFLY-4030?focusedCommentId=13016156</a></font></div><div><span style="font-size:12.8000001907349px;font-family:arial,sans-serif">[2] </span><font face="arial, sans-serif"><a href="https://github.com/wildfly/quickstart/tree/master/kitchensink">https://github.com/wildfly/quickstart/tree/master/kitchensink</a></font></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-30 13:04 GMT+01:00 Arun Gupta <span dir="ltr"><<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For Java EE 7, a default data source is available if none is specified<br>
in persistence.xml. In WildFly, this is mapped to ExampleDS already.<br>
<br>
Does test-ds.xml create a new data source, or map to an existing one ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Thu, Oct 30, 2014 at 1:28 AM, Sebastian Łaskawiec<br>
<<a href="mailto:slaskawi@redhat.com">slaskawi@redhat.com</a>> wrote:<br>
> Hey<br>
><br>
> I would like to volunteer for WFLY-4030 and a Quickstarts change: WFLY-4031.<br>
><br>
> However I'm not sure about removing test-ds.xml. Maybe the point is to<br>
> show how to add DataSources bundled with the application?<br>
> On the other hand if this is not the point - I think we should change it<br>
> to ExampleDS.<br>
><br>
> What's your opinion on that?<br>
><br>
> Best regards<br>
> Sebastian<br>
><br>
> On 10/29/2014 07:54 PM, Arun Gupta wrote:<br>
>> - What is the purpose of test-ds.xml ? It contains:<br>
>> This is anyway the default Java EE 7 data source in WildFly.<br>
><br>
> _______________________________________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
<br>
<br>
<br>
</div></div><span class="im HOEnZb">--<br>
<a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
<a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Sebastian Łaskawiec</div>
</div>