Wang Wen is having some build problems with the code I uploaded to Jira. I'm wondering if anyone else is facing the same problems?
kelvin On Thu, 25 Aug 2005 18:03:30 -0700, Wang Wen wrote: > Hi Kelvin: > > It works a bit, but gives me syntax error; > > " > Buildfile: build.xml > > compile: > [javac] Compiling 50 source files to > E:\programs\cygwin\home\fji\versionControl\nutch_V07_OC_test\nutch\OC3 > 1\classes [javac] > E:\programs\cygwin\home\fji\versionControl\nutch_V07_OC_test\nutch\OC3 > 1\src\java\org\supermind\crawl\CrawlSeedSource.java:21: > <identifier> expected > [javac] Iterator<SeedURL> getSeedURLs() throws IOException; > > ........... > > " > > Any idea that I can do more work on that? > > thanks, > > Wang, > > >> From: Kelvin Tan <[EMAIL PROTECTED]> >> To: Wang Wen <[EMAIL PROTECTED]> >> Subject: Re: Implementation of (NUTCH-84) Fetcher for constrained >> crawls Date: Thu, 25 Aug 2005 20:49:27 -0400 >> >> Hey Wang, I'm not really sure why javac is tripping up. How about >> trying removing the target="1.5" attribute? >> >> So it should look like >> >> <javac destdir="${build.dir}" debug="true" >> deprecation="false" optimize="false" failonerror="true"> <src >> path="${src.dir}"/> <classpath refid="classpath"/> </javac> >> >> k >> >> On Thu, 25 Aug 2005 17:35:59 -0700, Wang Wen wrote: >> >>> Hi Kelvin: >>> >>> I see what you mean, and I commented out the line for unzip jar >>> case. See attached file. >>> >>> But still get error; >>> >>> I run ant nutch-deploy under nutch root/OC31/, is it correct? >>> Must some stupid error, sorry that is first time I run patch >>> in nutch; >>> >>> thanks, >>> >>> Wang, >>> >>> =================================================== $ ant >>> nutch-deploy Buildfile: build.xml >>> >>> compile: >>> [javac] Compiling 50 source files to >>> E:\programs\cygwin\home\fji\versionCont >>> rol\nutch_V07_OC_test\nutch\OC31\classes >>> [javac] javac: invalid target release: 1.5 >>> [javac] Usage: javac <options> <source files> >>> [javac] where possible options include: >>> [javac] -g Generate all debugging info >>> [javac] -g:none Generate no debugging info >>> [javac] -g:{lines,vars,source} Generate only some >>> debugging info [javac] -nowarn Generate no >>> warnings [javac] -verbose Output messages >>> about what the compiler is doing >>> [javac] -deprecation Output source locations >>> where deprecated APIs are used >>> [javac] -classpath <path> Specify where to find user >>> class files >>> [javac] -sourcepath <path> Specify where to find input >>> source files >>> >>> [javac] -bootclasspath <path> Override location of >>> bootstrap class fil es >>> [javac] -extdirs <dirs> Override location of >>> installed extension s >>> [javac] -d <directory> Specify where to place >>> generated class f iles >>> [javac] -encoding <encoding> Specify character encoding >>> used by sourc e files >>> [javac] -source <release> Provide source >>> compatibility with specif ied release >>> [javac] -target <release> Generate class files for >>> specific VM ver sion >>> [javac] -help Print a synopsis of >>> standard options >>> >>> >>> BUILD FAILED >>> E:\programs\cygwin\home\fji\versionControl\nutch_V07_OC_test\nutch\OC3 >>> 1\build.xm l:24: Compile failed; see the compiler error >>> output for details. >>> >>> Total time: 1 second >>> >>>[EMAIL PROTECTED] ~/versionControl/nutch_V07_OC_test/nutch/OC31 $ >>> java -version java version "1.5.0_04" >>> Java(TM) 2 Runtime Environment, Standard Edition (build >>> 1.5.0_04- b05) Java HotSpot(TM) Client VM (build 1.5.0_04-b05, >>> mixed mode, sharing) >>> >>>[EMAIL PROTECTED] ~/versionControl/nutch_V07_OC_test/nutch/OC31 >>> >>> _________________________________________________________________ Exp >>> ress yourself instantly with MSN Messenger! Download today - >>> it's FREE! http://messenger.msn.click- >>> url.com/go/onm00200471ave/direct/01/ >> > > _________________________________________________________________ > Dont just search. Find. Check out the new MSN Search! > http://search.msn.click-url.com/go/onm00200636ave/direct/01/