Hi Craig, I needed to do the same thing, although I had a requirement to run on a closed network without internet access. So, having PaxRunner download Equinox wouldn't work. I was able to accomplish what I needed with a Maven assembly. It would certainly be a handy feature in PaxRunner, but here's effectively what I did:
1. Created another maven project that declared dependencies on all my project bundles, the specific version of Equinox bundles, and pax-runner. 2. Wrote a Maven assembly in this new project that creates a zip that follows this directory structure: bundles/ // a local maven repository including all my project bundles, transitive deps, and equinox resources/ // a launch.txt file that feeds into PaxRunner to start my bundles - uses mvn: URLs install/ // the pax-runner jar startup script in the root of the zip The Maven assembly was a bit tricky but the necessary sections are: <fileSets> - enables copying of files from the project or file system to anywhere in the zip ("resources" dir) <dependencySets> - enables placement of dependencies anywhere in the zip ("install" dir) <repositories> - enables the creation of a maven repository directory structure in the zip ("bundles" dir) 3. Wrote a startup script to launch PaxRunner with the following options: --platform=e --version=3.3.2 --vmOptions=-Xms64m -Xmx512m --repositories=file:bundles resources/launch.txt Adam ----- Original Message ---- From: Craig Walls <[EMAIL PROTECTED]> To: General OPS4J <general@lists.ops4j.org> Sent: Tuesday, November 4, 2008 12:26:58 PM Subject: PAXCONSTRUCT-91: Creating a ready-to-run bundle distribution I'm nearing the point in my project where I need to create a distribution of my project so that I can give a ZIP file (or some such file) to an end user, have them unzip it, and then run it...without requiring them to have Pax Construct installed. I pictured this as being a ZIP file containing all of the bundles I need, plus Pax Runner and a script to kick it off. Has anyone had a chance to look at PAXCONSTRUCT-91? If not, no big deal...I'll be happy to dig in there and see what I can do. I just didn't want to duplicate any efforts. Also, if anybody has any suggestions or tips on how to pull this off, I'd be happy to hear them. I have a few ideas, but I certainly don't mind hearing yours. _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general