[
https://issues.apache.org/jira/browse/HIVE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654821#action_12654821
]
Ashish Thusoo commented on HIVE-144:
------------------------------------
hmm...
the reason that these files are copied there is to support pre processing as
that is needed due to differences in the hadoop APIs. Consequently, the files
in ql/src/java are preprocessed and then copied to build/gen-java where
everything is built.
Agreed though, that if this breaks eclipse then we need to figure out a way to
make pre-processing work with eclipse. What are the standard practices to deal
with pre processing in eclipse?
> Ql java source copied to build/gen-java
> ---------------------------------------
>
> Key: HIVE-144
> URL: https://issues.apache.org/jira/browse/HIVE-144
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Build Infrastructure
> Affects Versions: 0.19.0
> Reporter: Johan Oskarsson
> Priority: Trivial
> Fix For: 0.19.0
>
>
> Since HIVE-98, the build process copies the contents of the ql/src/java
> directory to build/gen-java where the code generated from Hive.g is located.
> This makes it a bit more difficult to work on the project in Eclipse, since
> one has to add the build/gen-java folder to the project and not ql/src/java.
> This means we'll edit the ql java files in the wrong location. Adding both of
> these directories will of course result in duplicate entries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.