Foros de discusión

Unable to deploy module in Liferay 7.

Thirumal Reddy, modificado hace 7 años.

Unable to deploy module in Liferay 7.

Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Hi All,
I am using LR7 GA2, in Ubuntu,
i have succesfully migrated from 6.2 GA2 to 7 GA2.
and now i want develop modules for that first i need to create a workspace,
i followed this_link to create workspace
fisrst i ran cmd blade init workspace,
then it created a folder structure like the following,
  • configs
  • gradle
  • modules
  • themes
  • build.gradle
  • gradle.properties
  • gradlew
  • gradlew.bat
  • settings.gradle

after that i ran blade create -t mvcportlet -p com.liferay.docs.guestbook -c GuestbookPortlet my-guestbook-project
module created successfully..
now i ran gradle deploy from module root folder,
then it throwing excep's
FAILURE: Build failed with an exception.

* Where:
Settings file '/opt/example/workspace/settings.gradle' line: 13

* What went wrong:
A problem occurred evaluating settings 'workspace'.
> Cannot apply plugin with id 'com.liferay.workspace' to 'settings 'workspace'' (class: org.gradle.initialization.DefaultSettings_Decorated) as it is not a Project

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

but in windows it is working fine.
and i checked settings.gradle file there dependency version is 1.0.37
but in ububtu it is 1.0.40 so i changed this and again i run gradle deploy cmd.
no result same prob..
please help me,
where i'm wrong.

thanks,
Thirumal.
thumbnail
Juan Gonzalez, modificado hace 7 años.

Move to more appropiate category

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Move to more appropiate category
Thirumal Reddy, modificado hace 7 años.

RE: Unable to deploy module in Liferay 7.

Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.

Archivos adjuntos:

thumbnail
Juan Gonzalez, modificado hace 7 años.

RE: Unable to deploy module in Liferay 7.

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
Thirumal Reddy:
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.


Exactly, I didn't reply, just did what I wrote in my comment: moved this thread to a better category.
Thirumal Reddy, modificado hace 7 años.

RE: Unable to deploy module in Liferay 7.

Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
OK,
Any Sol'n.?

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

RE: Unable to deploy module in Liferay 7.

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Did you create the guestbook project in the main directory or did you create it in the modules folder?







Come meet me at the LSNA!
Thirumal Reddy, modificado hace 7 años.

RE: Unable to deploy module in Liferay 7.

Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Hi David,
directly i created GuestbookPortlet under modules folder.

thanks,
Thirumal.
Thirumal Reddy, modificado hace 7 años.

RE: Unable to deploy module in Liferay 7.

Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Hi All,
any help..?

thanks,
Thirumal.