yasuflatland-lf / damascus

⚔️ CRUD boilerplate generator for Liferay DXP
https://yasuflatland-lf.github.io/damascus-doc/
GNU Lesser General Public License v3.0
51 stars 35 forks source link

Trying to create build relationship sample app i.e. todo and getting build failed. #74

Closed himanshubhandari5 closed 5 years ago

himanshubhandari5 commented 5 years ago

Hi, Thanks for this plugin, it is simply awesome. I am exploring it and trying to implement it in a sample project, and facing issue from last 3 days. I am able to generate services for service plugin but while building it I am getting following error logs:

C:\LR7\work\lrwrk\modules\todo\employee-service>blade gw build Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for details

Task :modules:todo:employee-service:jar FAILED warning: No sub JAR or directory lib/guava.jar warning: No sub JAR or directory lib/error_prone_annotations.jar warning: No sub JAR or directory lib/commons-digester.jar warning: No sub JAR or directory lib/commons-validator.jar warning: No sub JAR or directory lib/commons-io.jar warning: No sub JAR or directory lib/commons-lang3.jar error : Input file does not exist: guava-[0-9].jar error : Input file does not exist: error_prone_annotations-[0-9].jar error : Input file does not exist: commons-digester-[0-9].jar error : Input file does not exist: commons-validator-[0-9].jar error : Input file does not exist: commons-io-[0-9].jar error : Input file does not exist: commons-lang[0-9].jar

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 21s 5 actionable tasks: 1 executed, 4 up-to-date

Please let me know what is wrong with what I am doing. I am using the same base.json from https://yasuflatland-lf.github.io/damascus-doc/docs/samples/sample1.html on windows 10

Thank you!

yasuflatland-lf commented 5 years ago

Hi @hdbhandari , Thank you for using Damascus and contact this time. Let me clarify your environment here before going into the investigation.

Please let me know if you still get errors.

himanshubhandari5 commented 5 years ago

Hi @yasuflatland-lf , thank you for replying back. I should have provided these details in first shot, sorry! Well here they are:

Please let me know if should provide any more information.

yasuflatland-lf commented 5 years ago

@hdbhandari This occurs on Mac as well. It's the cause of the generated code. Will fix this.

yasuflatland-lf commented 5 years ago

@hdbhandari Please try Ver 1.0.23

himanshubhandari5 commented 5 years ago

Thank you! Error is gone now.

yasuflatland-lf commented 5 years ago

@hdbhandari Thank you for your update! Enjoy coding!