- 
        1. Re: Multiple sun-resources.xmlvineet.reynolds Oct 16, 2011 4:50 PM (in response to kfis)1 of 1 people found this helpfulIs there a way of adding multiple sun-resources? Right now there isn't. The embedded-GF plugin uses Glassfish's CommandRunner to process the sunResourcesXml file. This is equivalent to running "asadmin add-resources sunResourcesXmlfile"; it does so only once. For now, you'll have to place all your resources in one sun-resources.xml/glassfish-resources.xml file and provide it's location in arquillian.xml. 
- 
        2. Re: Multiple sun-resources.xmlkfis Oct 16, 2011 5:06 PM (in response to vineet.reynolds)Ah thank you, after your response, i had a quick look to the source of org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer .... if(configuration.getSunResourcesXml() != null) { try { executeCommand(COMMAND_ADD_RESOURCES, this.configuration.getSunResourcesXml()); } catch (Throwable e) { throw new RuntimeException("Could not deploy sun-reosurces file: " + configuration.getSunResourcesXml(), e); } } ..... It seems possible to make this feature available. Do you think that in a future Version of Arquillian this can be added? So for now, I will write me an maven-merge plugin to get my resources merged before assemble to ship it to my modules. Thank you 
- 
        3. Re: Multiple sun-resources.xmlaslak Oct 17, 2011 3:23 AM (in response to kfis)Konrad: Sure, i see no reason why not. Why don't you file a jira and make a pull request ? 
- 
        4. Re: Multiple sun-resources.xmlkfis Oct 17, 2011 6:38 AM (in response to aslak)Oh sure, I will do that. Dont hate, participate Gonna do that on weekend 
- 
        5. Re: Multiple sun-resources.xmlaslak Oct 17, 2011 6:50 AM (in response to kfis)That's the spirit! 
 
     
    