You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Ahmet Arslan (JIRA)" <ji...@apache.org> on 2014/05/03 01:15:16 UTC

[jira] [Updated] (CONNECTORS-935) ant build files mention 1.6 as source and target

     [ https://issues.apache.org/jira/browse/CONNECTORS-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ahmet Arslan updated CONNECTORS-935:
------------------------------------

    Attachment: CONNECTORS-935.patch

This patch replaces several 1.6 with 1.7 and it looks like warning gone away. I am not familiar with ant so I am not sure this is the correct way. I wonder there is a more generic way of setting java version. Someone knows ant can trow light on? 

I found this snippet in lucene/solr
{code:xml}
  <property name="javac.source" value="1.7"/>
  <property name="javac.target" value="1.7"/>
  <property name="javac.source.backwards" value="1.7"/>
  <property name="javac.target.backwards" value="1.7"/>
{code}

> ant build files mention 1.6 as source and target
> ------------------------------------------------
>
>                 Key: CONNECTORS-935
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-935
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Build
>    Affects Versions: ManifoldCF 1.6
>         Environment: java version "1.7.0_55"
> Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
> Mac OS X Version 10.7.5
>            Reporter: Ahmet Arslan
>            Priority: Minor
>             Fix For: ManifoldCF 1.7
>
>         Attachments: CONNECTORS-935.patch
>
>
> I was getting following annoying warning {noformat}warning: [options] bootstrap class path not set in conjunction with -source 1.6 {noformat} Further investigation revealed that some ant build.xml files mentions.
> {code:xml}
> <javac  target="1.6" source="1.6" />
> {code}
> We are on java7. Lets get rid of this warning message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)