Foren

Unable to deploy module in Liferay 7.

Thirumal Reddy, geändert vor 7 Jahren.

Unable to deploy module in Liferay 7.

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
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, geändert vor 7 Jahren.

Move to more appropiate category

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Move to more appropiate category
Thirumal Reddy, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi Jaun,
I'm not seeing your replay.
but it showing in myPosts.


Thanks,
Thirumal.
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
OK,
Any Sol'n.?

Thanks,
Thirumal.
thumbnail
David H Nebinger, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi David,
directly i created GuestbookPortlet under modules folder.

thanks,
Thirumal.
Thirumal Reddy, geändert vor 7 Jahren.

RE: Unable to deploy module in Liferay 7.

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi All,
any help..?

thanks,
Thirumal.