You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Earl Cahill <ca...@yahoo.com> on 2005/08/29 04:08:13 UTC

a couple ant problems

Looks like I should have sent this to the dev list
instead of the user list.

Earl

Pretty excited about playing with lucene/nutch, but am
having a couple problems.  I checked out the nutch
source fresh today.

First problem

When I run ant in nutch/branches/mapred (and I just
tried in nutch/trunk with the same result), I get 

/home/nutch/nutch/branches/mapred/build.xml:46:
invalid Date syntax in "01/25/1971 2:00 pm"

if I comment out the <touch datetime="01/25/1971 2:00
pm"> block, or get rid of the datetime part, the build
gets further, but spews many "modified in the future"
messages (looks like 277), and I get to my

Second problem

/home/nutch/nutch/branches/mapred/build.xml:75: Error
starting modern compiler

I looked around a bit for both of these errors, with
no avail on the first, and little on the second.

My setup

I am running on an athlon box, the latest ubuntu, with
ant and other java tools coming from the universe
repository.

kaffe -version
Engine: Interpreter   Version: 1.1.x-cvs   Java
Version: 1.1

java -version
java version "1.4.2"
gcj-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian
4.0-0pre6ubuntu7)

javac -version
Eclipse Java Compiler 0.536, pre-3.1.0 milestone-5,
Copyright IBM Corp 2000, 2005. All rights reserved.

ant -version
Apache Ant version 1.6.2 compiled on March 31 2005

echo $JAVA_HOME
/usr/lib/kaffe

Currently, I don't have CLASSPATH set, and wonder if
that is at the heart of my problems.  Also not sure
what to set NUTCH_JAVA_HOME to, but have tried a few
things including /usr/lib/jvm/java-gcj,
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0 and
/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre

I am rather new to java, so sorry if I am asking dumb
questions.

Thanks in advance for the help!

Earl

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: a couple ant problems

Posted by Zaheed Haque <za...@gmail.com>.
try here, searchable archive:

http://marc.theaimsgroup.com/?l=nutch-general&r=1&b=200508&w=4

and

http://marc.theaimsgroup.com/?l=nutch-developers&r=1&w=4



On 8/30/05, Earl Cahill <ca...@yahoo.com> wrote:
> Well, I tried 1.4.2 (and also the ibm stuff) to no
> avail, but when I tried
> 
> http://java.sun.com/j2se/1.5.0/download.html
> 
> the amd64 build, it seemed to work.  At least now ant
> tells me
> 
> BUILD SUCCESSFUL
> 
> Course now I would like to get ant test to work.
> Guess I shouldn't have deleted those junit emails :)
> 
> Thanks for pointing me in the right direction Mikael.
> 
> Earl
> 
> --- Mikael Krantz <ll...@gmail.com> wrote:
> 
> > On 8/29/05, Earl Cahill <ca...@yahoo.com> wrote:
> > > kaffe -version
> > > Engine: Interpreter   Version: 1.1.x-cvs   Java
> > > Version: 1.1
> > >
> > > java -version
> > > java version "1.4.2"
> > > gcj-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian
> > > 4.0-0pre6ubuntu7)
> > >
> > > javac -version
> > > Eclipse Java Compiler 0.536, pre-3.1.0
> > milestone-5,
> > > Copyright IBM Corp 2000, 2005. All rights
> > reserved.
> > >
> > > ant -version
> > > Apache Ant version 1.6.2 compiled on March 31 2005
> > >
> > > echo $JAVA_HOME
> > > /usr/lib/kaffe
> >
> > I've had similar problems in the past. Sadly,
> > switching to suns own
> > java helped.
> >
> > http://java.sun.com/j2se/1.4.2/download.html
> >
> > You probably want the J2SE SDK.
> >
> > /M
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Re: a couple ant problems

Posted by Earl Cahill <ca...@yahoo.com>.
Well, I tried 1.4.2 (and also the ibm stuff) to no
avail, but when I tried

http://java.sun.com/j2se/1.5.0/download.html

the amd64 build, it seemed to work.  At least now ant
tells me

BUILD SUCCESSFUL

Course now I would like to get ant test to work. 
Guess I shouldn't have deleted those junit emails :)

Thanks for pointing me in the right direction Mikael.

Earl

--- Mikael Krantz <ll...@gmail.com> wrote:

> On 8/29/05, Earl Cahill <ca...@yahoo.com> wrote:
> > kaffe -version
> > Engine: Interpreter   Version: 1.1.x-cvs   Java
> > Version: 1.1
> > 
> > java -version
> > java version "1.4.2"
> > gcj-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian
> > 4.0-0pre6ubuntu7)
> > 
> > javac -version
> > Eclipse Java Compiler 0.536, pre-3.1.0
> milestone-5,
> > Copyright IBM Corp 2000, 2005. All rights
> reserved.
> > 
> > ant -version
> > Apache Ant version 1.6.2 compiled on March 31 2005
> > 
> > echo $JAVA_HOME
> > /usr/lib/kaffe
> 
> I've had similar problems in the past. Sadly,
> switching to suns own
> java helped.
> 
> http://java.sun.com/j2se/1.4.2/download.html
> 
> You probably want the J2SE SDK.
> 
> /M
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: a couple ant problems

Posted by Mikael Krantz <ll...@gmail.com>.
On 8/29/05, Earl Cahill <ca...@yahoo.com> wrote:
> kaffe -version
> Engine: Interpreter   Version: 1.1.x-cvs   Java
> Version: 1.1
> 
> java -version
> java version "1.4.2"
> gcj-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian
> 4.0-0pre6ubuntu7)
> 
> javac -version
> Eclipse Java Compiler 0.536, pre-3.1.0 milestone-5,
> Copyright IBM Corp 2000, 2005. All rights reserved.
> 
> ant -version
> Apache Ant version 1.6.2 compiled on March 31 2005
> 
> echo $JAVA_HOME
> /usr/lib/kaffe

I've had similar problems in the past. Sadly, switching to suns own
java helped.

http://java.sun.com/j2se/1.4.2/download.html

You probably want the J2SE SDK.

/M