Hi Folks,
For the brooklyn usergrid project[1]. I'd like to create a distribution (.tar.gz) that include some files that are user-editable, and on brooklyn's classpath.
I've created a folder src/main/resources/resources and added this to the assembly.xml with the outputDirectory as 'resources', and the files are now extracted to a resources directory when you unzip the tarball
The issue is that I'd also like the files available for testing, both for testng tests and also just running the app from the IDE. I've added the resources/resources directory to the build section of the pom, but that means that the files are also included in the .jar. Is there a good pattern for ensuring that the editable files (i.e. the ones in the resources folder after unzipping) are at the start of the classpath?
Hope this makes sense!
Cheers
--
Martin Harris
Lead Software Engineer
Cloudsoft Corporation Ltd