From f7beac92b3f8abe2f31d5701e070201d60f24c3b Mon Sep 17 00:00:00 2001 From: Deepak Bhole Date: Mon, 21 Dec 2009 21:26:45 +0000 Subject: [PATCH] - Fix RHBZ# 490936. If CLASSPATH is not set, add . to default classpath. --- ecj.sh.in | 2 +- ecj.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ecj.sh.in b/ecj.sh.in index 1b2752d..3ca7c0d 100644 --- a/ecj.sh.in +++ b/ecj.sh.in @@ -1,4 +1,4 @@ #!/bin/sh -CLASSPATH=@JAVADIR@/ecj.jar${CLASSPATH:+:}$CLASSPATH \ +CLASSPATH=@JAVADIR@/ecj.jar:${CLASSPATH=.} \ java org.eclipse.jdt.internal.compiler.batch.Main "$@" diff --git a/ecj.spec b/ecj.spec index 28c6580..92c113b 100644 --- a/ecj.spec +++ b/ecj.spec @@ -8,7 +8,7 @@ Epoch: 1 Summary: Eclipse Compiler for Java Name: ecj Version: 3.4.2 -Release: 6%{?dist} +Release: 7%{?dist} URL: http://www.eclipse.org License: EPL Group: Development/Languages @@ -134,6 +134,9 @@ fi %{_libdir}/gcj/%{name} %changelog +* Mon Dec 21 2009 Deepak Bhole - 1:3.4.2-7 +- Fix RHBZ# 490936. If CLASSPATH is not set, add . to default classpath. + * Wed Sep 9 2009 Alexander Kurtakov 1:3.4.2-6 - Add maven pom and depmaps.