Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 90222 invoked from network); 23 Oct 2009 10:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Oct 2009 10:15:20 -0000 Received: (qmail 54923 invoked by uid 500); 23 Oct 2009 10:15:20 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 54865 invoked by uid 500); 23 Oct 2009 10:15:20 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 54855 invoked by uid 99); 23 Oct 2009 10:15:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 10:15:19 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tjeerd.verhagen@gmail.com designates 209.85.220.206 as permitted sender) Received: from [209.85.220.206] (HELO mail-fx0-f206.google.com) (209.85.220.206) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 10:15:17 +0000 Received: by fxm2 with SMTP id 2so10148254fxm.28 for ; Fri, 23 Oct 2009 03:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=OQAnwJvDVPGQh6aOZuG2ZYlc6UR8ke+ftjmCYz5aj1I=; b=m5KR0mCcarfZTr9mwyDInedqDA1fBa9L8sOa78nXDNFdpTR7kNb3dKoMmFFQi0T1Pa J2atYMyy+3cHVO1GdMg7UbiAoQus/v5hksGWSX4TAdNanFiWmB1qfYRyKfBPHXzuLjj4 4DpbXaIGOl0WIGwIIH6ypgzRfBF1jgYSLDt9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=OHcEN2DdeRKtnWiCnCL0PO+zwuyhjVjrl8jIet/Ww1FgLn1KZwmIilu6HPgZyC1OUF 2/lHkjWWnbq/5XzGDWRcjW565KdaLg+18RjbmYXlQyqK8LR7ZHDIfcBJFLixP3gKZvjj 0mqINounC1l2G9ZBIsmmM3GsbcwYwx82c3tac= MIME-Version: 1.0 Received: by 10.239.141.131 with SMTP id c3mr188526hba.44.1256292895916; Fri, 23 Oct 2009 03:14:55 -0700 (PDT) In-Reply-To: <26023610.post@talk.nabble.com> References: <25973730.post@talk.nabble.com> <0C3BFD91631EC3478E77E9C2C88304DA26FCC1EE@exchange.blau.de.local> <4d7c4c4b0910221036r7a445ebdmd528edad44bcb5f2@mail.gmail.com> <26015245.post@talk.nabble.com> <4d7c4c4b0910221421y7c9828d1x238e1c51355d184f@mail.gmail.com> <4d7c4c4b0910230028n72a29e61r52e490d1d76581f3@mail.gmail.com> <26023610.post@talk.nabble.com> Date: Fri, 23 Oct 2009 12:14:55 +0200 Message-ID: <4d7c4c4b0910230314x5e7b90e1w30c703733b5e1cbf@mail.gmail.com> Subject: Re: Programmatic use of Ivy From: Tjeerd Verhagen To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=001485f6d8c2cb84e70476977b0e --001485f6d8c2cb84e70476977b0e Content-Type: text/plain; charset=ISO-8859-1 You're welcome, What are you trying to achieve? What was the original idea, which (maybe / probably) could be solved by using Ivy in stand alone mode? Maybe you should create your own version of the Main (by copying it) and modify it in the way you want to use it (remove the System.exit(calls) etc. It probably does not have use any package private classes. So it should be possible (even creating your own package name then). Maybe this idea helps you finding an alternative way, for solving your original problem. Success! On Fri, Oct 23, 2009 at 11:50 AM, Jaikiran wrote: > > Tjeerd, > > Thanks for the efforts :) I looked at the JIRA that you pointed me to. > Looking at the commit history, they seem to have applied your patch for the > classpath option, to their "Main" class which according to the javadocs is > the entry point for Ivy standalone. > But unfortunately, they have System.exit calls in that Main class which > makes it impractical to use it within another application :) > > I'll continue looking at some of their code and see if i can get some more > APIs working without bringing Ant and other things into picture. I'll post > the updates here and the wiki. > > Thanks again! > -- > View this message in context: > http://www.nabble.com/Programmatic-use-of-Ivy-tp25973730p26023610.html > Sent from the ivy-user mailing list archive at Nabble.com. > > --001485f6d8c2cb84e70476977b0e--