Foros de discusión

Module projects disappearing after creating another module

Julian Pfeil, modificado hace 7 años.

Module projects disappearing after creating another module

Junior Member Mensajes: 72 Fecha de incorporación: 1/03/16 Mensajes recientes
Liferay IDE 3.0.1

I finished my service builder module project called "product-registration" (containing product-registration-api and -service). Then, in project explorer i did a right click on product-registration and select New -> Liferay Module Project. I did create a mvcportlet called product-registration. After clicking finish the new portlet did not appear within the product-registration folder, but below it (see the pictures).

Also, both (product-registration-api & product-registration-service) disappeared from the product-registration folder, as you can see in the pictures.
But in the Gradle Tasks tab they still appear...

So how do i make the module projects re-appear again?

Archivos adjuntos:

thumbnail
David H Nebinger, modificado hace 7 años.

RE: Module projects disappearing after creating another module

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
So the product-registration folder is, technically, already a module so I'm wondering if you're getting a name conflict by trying to create another module with a same name?

If you try creating the sub module using a unique name, does the same problem occur?
Julian Pfeil, modificado hace 7 años.

RE: Module projects disappearing after creating another module

Junior Member Mensajes: 72 Fecha de incorporación: 1/03/16 Mensajes recientes
Thank you for the fast answer.

It seems to be a naming conflict. If i reset everything and create a new module project with a name not beginning with product-registration- the problem disappears. Also when i create any module project with the name starting with product-registration-, it disappears again.

Can this be taken for a bug?...

And how do i create a submodule? Because every new module does appear right below the modules-folder and not "below" the product-registration "top"-module.

Kind Regards,
Julian
Julian Pfeil, modificado hace 7 años.

RE: Module projects disappearing after creating another module (Respuesta)

Junior Member Mensajes: 72 Fecha de incorporación: 1/03/16 Mensajes recientes
Just found out, that i - indeed- can create the product-registration-web module. But then i have to move it into the product-registration module via the filesystem, because you can't drag&drop in the liferay project explorer.

After moving it into the main module, everything appears correctly in Liferay IDE (after F5 & CTRL+F5)...