users@glassfish.java.net

sun-resource.xml deployment and/or packaging

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Nov 2008 18:49:24 PST

I am using NetBeans 6.1

I have an EAR project and would like to administer JMS Connector Resources via the sun-resource.xml file.

Using Netbeans wizard...New File -> Other -> Glassfish -> JMS Resource...
I was able to create <project>/setup/sun-resource.xml which appears as "Server Resource" in the "Project" tab.

My problem is that the build process is not including this in the ear file OR in the jar file that it pertains to...

I am not sure where this xml file should reside in the ear/jar file...I was kindof hoping that Netbeans would do it for me and that would be that and I would then know where it should go...Does it belong with the other configuration xml? like ejb-jar.xml and sun-ejb-jar.xml?

Can anyone help?
[Message sent by forum member 'suedonne123' (suedonne123)]

http://forums.java.net/jive/thread.jspa?messageID=315162