You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2010/01/28 08:57:35 UTC

[jira] Commented: (HIVE-1104) Suppress Checkstyle warnings for generated files

    [ https://issues.apache.org/jira/browse/HIVE-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805826#action_12805826 ] 

Zheng Shao commented on HIVE-1104:
----------------------------------

Can you make it work with "-Doffline=true"?
It will be great if the definition of pathid can be moved out of the "ivy-retrieve-checkstyle" because it only gets executed when offline is not defined.

{code}
  <target name="ivy-retrieve-checkstyle" depends="ivy-resolve-checkstyle"
    description="Retrieve Ivy-managed artifacts for the checkstyle configurations"
    unless="offline">
    <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
      pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}"
      log="${ivyresolvelog}"/>
    <ivy:cachepath pathid="checkstyle-classpath" conf="checkstyle"/>
  </target>
{code}

{code}
[zshao@dev /data/users/zshao/hadoop_hive_trunk] ant -Doffline=true checkstyle
Buildfile: build.xml

ivy-init-dirs:

ivy-download:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-resolve-checkstyle:
[ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = /data/users/zshao/hadoop_hive_trunk/ivy/ivysettings.xml

ivy-retrieve-checkstyle:

check-for-checkstyle:

BUILD FAILED
/data/users/zshao/hadoop_hive_trunk/build.xml:518: Reference checkstyle-classpath not found.
{code}


> Suppress Checkstyle warnings for generated files
> ------------------------------------------------
>
>                 Key: HIVE-1104
>                 URL: https://issues.apache.org/jira/browse/HIVE-1104
>             Project: Hadoop Hive
>          Issue Type: Task
>          Components: Build Infrastructure
>    Affects Versions: 0.6.0
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1104.2.patch, HIVE-1104.3.patch, HIVE-1104.4.patch, HIVE-1104.6.git.patch, HIVE-1104.patch
>
>
> Suppress Checkstyle warnings for generated files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.