You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running gradle stage/dist, I can see that 2 jar files created under build/libs folder, one for jar/scala classes, and one for assets, the public folder. These files are generally web assets, like js/html files. I can see that module jar/asssets files are copied but for main project, only project.jar file present in the build/stage/main/lib, folder, not project-assets.jar. This causes app start but without ant static Web files. When manually copying assets.jar, app works as expected.
The text was updated successfully, but these errors were encountered:
I had the same problem. The way I solved it was to set the version before applying the play plugin.
The reason could be as following:
The asset jar to be copied was specified at the moment of the plugin application. The jar name is project-assets.jar
After plugin application is done, a version number is specified, the actual jar created by the task create createPlayAssetsJar then has different name: project-assets-version.jar
This causes the CopySpec to fail because it tried to copy a non-existent file.
Plugin version 0.6
After running
gradle stage/dist
, I can see that 2 jar files created underbuild/libs
folder, one for jar/scala classes, and one for assets, thepublic
folder. These files are generally web assets, like js/html files. I can see that module jar/asssets files are copied but for main project, onlyproject.jar
file present in thebuild/stage/main/lib
, folder, notproject-assets.jar
. This causes app start but without ant static Web files. When manually copying assets.jar, app works as expected.The text was updated successfully, but these errors were encountered: