Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 5109 invoked from network); 17 Jan 2006 17:38:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 17:38:25 -0000 Received: (qmail 67171 invoked by uid 500); 17 Jan 2006 17:38:09 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 66936 invoked by uid 500); 17 Jan 2006 17:38:07 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 20026 invoked by uid 99); 17 Jan 2006 09:22:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hmejlgaard@gmail.com designates 64.233.184.199 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=esTrlJSgsN49Qg3+zLUMYf0iGM0lhpNXoPbZps/mIm5sWnRstraRHBNd5DVEbIvUnqQdn6K93bDP6yf6WLZFOlGCj+AaxBMTgJBS+AvfTyJiTaiFMzVY443TgRHJ2fBP/ybu+c77g9GDMOvcYCNWemuWzFgTf5VdT6Tua8nDpwc= Message-ID: <345734680601170121h4fc51db8ma478e63a566b5dbe@mail.gmail.com> Date: Tue, 17 Jan 2006 10:21:45 +0100 From: Henrik Mejlgaard To: users@maven.apache.org Subject: [m2] Ant driven plugins and classpath refid's MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, >From the documentation in http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html, I have successfully created the Hello World Ant based plugin. My problem is now to implement a more advanced ant-based mojo. Specifically, I have troubles finding out how to get a ant classpath refid to be used in a taskdef in the *.build.xml. My taskdef looks as follows: ...... How do I inject the plugin.dependency.classpath from the *.mojos.xml? Regards, Henrik --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org