[ivy-debian-helper] 02/03: Add Ivy to the classpath before invoking Ant

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 25 14:51:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository ivy-debian-helper.

commit 88c88b857f6bd0730a3cf60ad473a995f7a27d58
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Jan 25 15:50:08 2016 +0100

    Add Ivy to the classpath before invoking Ant
---
 src/main/perl/ivy.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/perl/ivy.pm b/src/main/perl/ivy.pm
index 186dc19..7a06687 100644
--- a/src/main/perl/ivy.pm
+++ b/src/main/perl/ivy.pm
@@ -22,7 +22,9 @@ sub new {
 	my $class=shift;
 	my $this=$class->SUPER::new(@_);
 	
-	@{$this->{ant_cmd}} = ("ant",
+	$ENV{CLASSPATH} = "/usr/share/java/ivy.jar";
+	@{$this->{ant_cmd}} = (
+		"ant",
 		"-Divy.settings.file=/usr/share/ivy-debian-helper/ivysettings.xml",
 		"-Divy.default.ivy.user.dir=$this->{cwd}/.ivy2",
 		);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ivy-debian-helper.git



More information about the pkg-java-commits mailing list