|
Noam: Yes, we're using Gradle's dependency management, at least I believe we are :). We have the necessary 'repositories' and 'dependencies' entries in our build.gradle scripts to automatically handle things during compilation/building. When the artifacts are published to the Artifactory repository, included are the .pom and ivy.xml files that contain the dependencies. I'm inferring from your reply that we should just have a gradle script that will download the artifact and it's dependencies from the Artifactory repository so that we can deploy the files in a production environment. I've gone over the documentation (and googled, etc.) and everything I've found talks about the build process and getting artifacts into the repository, but nothing about extracting the artifacts and dependent objects from the repository for the purposes of application deployment. When you're building things, you specify the exact dependencies in the build script, which makes sense. When you publish to the repository, Gradle includes the pom/ivy.xml which has the details about those dependencies. I thought then when you wanted to deploy the artifacts into a running system, the pom/ivy.xml in the repository would allow you to get everything you needed. We would build a script (of some sort) that would query the repository (rather than having everything hard-coded in a script) , extract the artifacts and the dependent artifacts, and put then them where we needed them. I see how we could create a build.gradle script that referenced the artifact we created in the Artifactory repository, but I'm not sure how we would use that for deploying the application. Gradle downloads everything into it's own special cache, and I haven't found anything that would allow you to determine, programatically, where that is, so it can be copied to the directory where it is needed. Am I just not understanding how things are supposed to work? Thanks, Maury On 20/05/2012 12:00 AM, Noam Y. Tenne wrote:
--
____________________________________________
Maury HammelB.Sc.
Advanced
Senior Technical Associate
cfactor Works Inc.
250 - 2nd Ave. S.
Saskatoon, SK S7K 1K9
t: 877.655.5798 Ext. 107
p: 306.652.5798 Ext. 107
This e-mail and any accompanying documents
are subject to copyright and may contain information that is
privileged or confidential. Any use, disclosure, retention,
copying or action taken in reliance on the contents of this
email and any accompanying documents by anyone other than an
intended recipient is strictly prohibited. If you are not an
intended recipient, please delete the e-mail and any
attachments and notify us immediately.
|
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users





