[hibernate-dev] Failure upon importing ORM sources into IDE

Sanne Grinovero sanne at hibernate.org
Mon Oct 28 03:35:46 EDT 2013


I suspect you're not using Java7, you need it even for importing the
project as the plugins are needed to define the project structure.
AFAIR Emmanuel mentioned that IntelliJ on Mac uses Java6 and he had to
do some surgery to force it to run with Java7.

It would be nice if these gradle plugins could be re-released with
Java6 compatibility?

Or just use an operating system which doesn't know better than you ;-)

Sanne

On 25 October 2013 23:38, Gunnar Morling <gunnar at hibernate.org> wrote:
> 2013/10/25 Hardy Ferentschik <hardy at hibernate.org>
>
>>
>> On 25 okt 2013, at 22:54, Gunnar Morling <gunnar at hibernate.org> wrote:
>>
>> > When importing the ORM Gradle project into IntelliJ or Eclipse, I'm
>> getting
>> > the following error:
>>
>> Importing how? Did you create the IDE project files via 'gradle eclipse'
>> resp. 'gradle idea' or are you any sorts of plugins.
>>
>> Not sure about Eclipse, but the import into Idea works via the Gradle
>> generated project files.
>>
>
> I'm using the IDE plug-ins, e.g. in IntelliJ "Import Project..." ->
> selecting the build.gradle file. I'm not generating the IDE project files
> using Gradle beforehand.
>
>
>>
>> > ===
>> > FAILURE: Build failed with an exception.
>> >
>> > * Where:
>> >
>> > Build file '[...]/hibernate-orm/hibernate-core/hibernate-core.gradle'
>> line:
>> > 2
>> >
>> > * What went wrong:
>> >
>> > A problem occurred evaluating project ':hibernate-core'.
>>
>> So are you trying to build from the IDE or why would you get a build error
>> in the IDE?
>>
>
> When doing the import the way described above, both IDEs perform (part of)
> the build to establish a project model which then allows to chose which
> module to import etc. During this build I'm getting the error.
>
>
>>
>> >> Could not create plugin of type 'MatrixTestingPlugin'.
>>
>> Might be a class path thing. The matrix testing plugin is one of our own.
>>
>
> Hmm, that's odd. I've avoided the issue now by uncommenting the plug-in
> during import and got it imported that way. Not sure why the Matrix testing
> plug-in isn't found.
>
> Thanks for your help,
>
> --Gunnar
>
>
>
>>
>> --hardy
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list