You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2005/12/01 19:26:31 UTC
[jira] Resolved: (NUTCH-130) Be explicit about target JVM when building (1.4.x?)
[ http://issues.apache.org/jira/browse/NUTCH-130?page=all ]
Doug Cutting resolved NUTCH-130:
--------------------------------
Fix Version: 0.8-dev
Resolution: Fixed
Assign To: Doug Cutting
I just committed this. I moved the version to the default.properties file, and found a few other places where javac is called.
> Be explicit about target JVM when building (1.4.x?)
> ---------------------------------------------------
>
> Key: NUTCH-130
> URL: http://issues.apache.org/jira/browse/NUTCH-130
> Project: Nutch
> Type: Improvement
> Reporter: stack@archive.org
> Assignee: Doug Cutting
> Priority: Minor
> Fix For: 0.8-dev
>
> Below is patch for nutch build.xml. It stipulates the target JVM is 1.4.x. Without explicit target, a nutch built with 1.5.x java defaults to a 1.5.x java target and won't run in a 1.4.x JVM. Can be annoying (From the ant javac doc, regards the target attribute: "We highly recommend to always specify this attribute.").
> [debord 282] nutch > svn diff -u build.xml
> Subcommand 'diff' doesn't accept option '-u [--show-updates]'
> Type 'svn help diff' for usage.
> [debord 283] nutch > svn diff build.xml
> Index: build.xml
> ===================================================================
> --- build.xml (revision 349779)
> +++ build.xml (working copy)
> @@ -72,6 +72,8 @@
> destdir="${build.classes}"
> debug="${debug}"
> optimize="${optimize}"
> + target="1.4"
> + source="1.4"
> deprecation="${deprecation}">
> <classpath refid="classpath"/>
> </javac>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira