Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> help with Avro compilation...


+
nir_zamir 2013-04-22, 09:16
Copy link to this message
-
Re: help with Avro compilation...
Nir,

I think there may be a bug in Avro's Maven configuration so that 'mvn
install' doesn't work on a clean checkout.  Please instead try 'mvn
test install -DskipTests'.  If that works then please file a bug
report.

Thanks,

Doug

On Mon, Apr 22, 2013 at 2:16 AM, nir_zamir <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I had to re-create my local Maven repository, and since then I'm not able to
> compile Avro (I need to do it to test a patch).
>
> Just to make sure I'm doing the right thing:
> 1. Get the 'trunk' from SVN
> 2. mvn install (at trunk/avro/avro-mapred)
>
> It always fails on stuff related to 'Idl', for example:
>
> Error injecting constructor, java.lang.Error: Unresolved compilation
> problems:
> The import org.apache.avro.compiler.idl.Idl cannot be resolved
> The import org.apache.avro.compiler.idl.ParseException cannot be resolved
>
> I noticed that there's indeed no Idl.java. but there is:
> compiler/src/main/javacc/org/apache/avro/compiler/idl/idl.jj
> (it looks like someone explicitly renamed the file).
> Anyway, this class seems to be needed in various projects.
>
> Does anyone have an idea what is happening and how it can be resolved?
>
> Thanks a lot,
> Nir
>
>
>
> --
> View this message in context: http://apache-avro.679487.n3.nabble.com/help-with-Avro-compilation-tp4026946.html
> Sent from the Avro - Users mailing list archive at Nabble.com.
+
nir_zamir 2013-04-23, 06:38
+
Doug Cutting 2013-04-23, 16:45
+
nir_zamir 2013-04-28, 09:02