Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45988 invoked from network); 8 Jun 2006 15:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 15:30:22 -0000 Received: (qmail 73260 invoked by uid 500); 8 Jun 2006 15:30:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 73061 invoked by uid 500); 8 Jun 2006 15:30:10 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 73022 invoked by uid 99); 8 Jun 2006 15:30:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 08:30:10 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ejciramella@upromise.com designates 65.244.78.68 as permitted sender) Received: from [65.244.78.68] (HELO knight.corp.upromise.com) (65.244.78.68) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 08:30:09 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: calling maven2 files from ant Date: Thu, 8 Jun 2006 11:30:47 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: calling maven2 files from ant Thread-Index: AcaI6HNNIwoaGrYnS5uU0Hy8KWQSzQAPqwbgAHpHGNA= From: "EJ Ciramella" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm trying with the task, but I keep getting this: Execute:Java13CommandLauncher: Executing 'C:\Program = Files\Java\jdk1.5.0_05\jre\bin\java.exe' with arguments: '-classpath' 'E:\buildtools\maven-2.0.3\core\boot\classworlds-1.1.jar;E:\buildtools\ma= ven-2.0.3\bin\m2.conf' 'org.codehaus.classworlds.Launcher' '-Dclassworlds.conf=3DE:/buildtools/maven-2.0.3/bin/m2.conf' '-Dmaven.home=3DE:/buildtools/maven-2.0.3' 'compile' The ' characters around the executable and arguments are not part of the command. [java] java.lang.Exception: classworlds configuration not specified = nor found in the classpath [java] at = org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:423) [java] at = org.codehaus.classworlds.Launcher.main(Launcher.java:375) BUILD SUCCESSFUL Total time: 0 seconds Here is my task: These are the same params that exist in the mvn.bat file. What am I = missing? -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]=20 Sent: Tuesday, June 06, 2006 1:08 AM To: user@ant.apache.org Subject: AW: calling maven2 files from ant / ? Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: EJ Ciramella [mailto:ejciramella@upromise.com]=20 >Gesendet: Montag, 5. Juni 2006 23:39 >An: Ant Users List >Betreff: calling maven2 files from ant > >Without some really hacky scripty goodness, is there a clever=20 >way to call maven2 with an ant script? >=20 >I'm working on getting a maven 2 based project up and running=20 >under cruisecontrol and I've taken advantage of lots of little=20 >ant benefits. >Some things simply don't work using maven 2 directly, but=20 >having ant call into maven would make things much easier. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org