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: [EMAIL PROTECTED]
Priority: Minor
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers