Got it, I've found a way how to make JIdea ant/ivy plugins to work with pig source code. It's not a problem. Eclipse import is easier than mine. I'll try it next time. Right now I just can't build project using command line. Which java you use? I'm using oracle-jdk-8
2015-06-01 23:11 GMT+03:00 Mohit Sabharwal <mo...@cloudera.com>: > Hi Seraga, > > I struggled a bit as well when trying to get Intellij to resolve > dependencies for Pig. The trick that worked for me was to: > 1) Run "ant -Dhadoopversion=23 eclipse-files" first > 2) Import Pig as an Eclipse project (in the "Import project from external > model" option) > > After importing, you can setup an "Ant build" Run Configuration with the > required build options ( add -Dhadoopversion=23 to "VM parameters", etc.) > > Hope this helps, > Mohit > > > On Mon, Jun 1, 2015 at 9:54 AM, Michael Howard <mhow...@podiumdata.com> > wrote: > > > > [javac] error: cannot access InterfaceAudience > > > [javac] class file for > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found > > > [javac] 1 error > > > > > what it could be? > > > > I am a newbie who has also struggled to get my environments configured to > > build pig. > > > > However, I have not seen this issue. > > > > the current trunk > > URL: http://svn.apache.org/repos/asf/pig/trunk > > Revision: 1682946 > > builds for me with: > > $ ant clean -Dhadoopversion=23 jar > > > > > > Michael > > > > > > On Mon, Jun 1, 2015 at 11:10 AM, Serega Sheypak < > serega.shey...@gmail.com> > > wrote: > > > > > Hi, please help... > > > > > > 2015-05-18 1:12 GMT+03:00 Serega Sheypak <serega.shey...@gmail.com>: > > > > > > > Ok, so I can share how to configure ivyIDEA for comfortable work with > > pig > > > > project in Idea > > > > > > > > ant -Dhadoopversion=23 -Djavac.args="-Xlint -Xmaxwarns 1000" clean > jar > > > > > > > > [javac] error: cannot access InterfaceAudience > > > > [javac] class file for > > > > org.apache.hadoop.hbase.classification.InterfaceAudience not found > > > > [javac] 1 error > > > > > > > > what it could be? > > > > > > > > > > > > > > > > 2015-05-17 15:01 GMT+03:00 Serega Sheypak <serega.shey...@gmail.com > >: > > > > > > > >> Does anyone use Intelli JIdea + ivyIDEA pluginfor coding pig stuff? > > > >> Don't understand the way: > > > >> 1. poject should be imported to JIdea > > > >> 2. howTo pass properties like hadoopversion and hbaseversion? > > > >> > > > >> > > > >> 2015-05-15 22:23 GMT+03:00 Michael Howard <mhow...@podiumdata.com>: > > > >> > > > >>> Rohini wrote: > > > >>> > Updated the compilation and unit tests section in > > > >>> > https://cwiki.apache.org/confluence/display/PIG/HowToContribute. > > > >>> > Hope that answers all the questions. > > > >>> > Let me know if something is still not clear. > > > >>> > > > >>> Thanks for your helpful clarifications for newbies. > > > >>> > > > >>> > > > >>> Michael > > > >>> > > > >> > > > >> > > > > > > > > > >