[ 
https://issues.apache.org/jira/browse/LUCENE-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821643#comment-13821643
 ] 

Robert Muir commented on LUCENE-5340:
-------------------------------------

The bug must be in nightly-smoke (or the way i'm using it somehow).

Because packaging tasks still respect JAVA_HOME correctly from what i can see

rmuir@beast:~/workspace/lucene_solr_4_6/lucene$ JAVA_HOME=$JAVA6_HOME ant 
prepare-release-no-sign

produces a correct jar:
{noformat}
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Created-By: 1.6.0_37-b06 (Sun Microsystems Inc.)
Extension-Name: org.apache.lucene
Specification-Title: Lucene Search Engine: queryparser
Specification-Version: 4.6-SNAPSHOT
Specification-Vendor: The Apache Software Foundation
Implementation-Title: org.apache.lucene
Implementation-Version: 4.6-SNAPSHOT 1541648 - rmuir - 2013-11-13 13:2
 3:32
Implementation-Vendor: The Apache Software Foundation
X-Compile-Source-JDK: 1.6
X-Compile-Target-JDK: 1.6
{noformat}



> build not respecting JAVA_HOME
> ------------------------------
>
>                 Key: LUCENE-5340
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5340
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: 4.6
>
>
> I set JAVA_HOME to 1.6.0_37, yet the queryparser.jar that is constructed 
> looks like this:
> {noformat}
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.8.2
> Created-By: 1.7.0_25-b15 (Oracle Corporation)
> Extension-Name: org.apache.lucene
> Specification-Title: Lucene Search Engine: queryparser
> Specification-Version: 4.6.0
> Specification-Vendor: The Apache Software Foundation
> Implementation-Title: org.apache.lucene
> Implementation-Version: 4.6.0 1541637 - rmuir - 2013-11-13 12:57:01
> Implementation-Vendor: The Apache Software Foundation
> X-Compile-Source-JDK: 1.6
> X-Compile-Target-JDK: 1.6
> {noformat}
> It could just be packaging, or maybe just nightly smoke, or maybe just the 
> build in general: I havent narrowed it down yet.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to