Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play!framework; Compile on server only instead on client

Is it possible to compile my Play!framework application only serverside?

Since I connect a samba share to my client from the server hosting Play!, the paths differ between client and server (modules, play, libs). So eclipsify gives me the server paths on my client, instead of using the client paths. Due to this the client gives me a build error.

Solution would be;

  • Change the eclipsify paths per client configuration.
  • Only compile my app on the server (preferred since there'll be no differences in env settings).

Can anyone tell me how one of these options would be possible?

like image 546
Robert de W Avatar asked Feb 15 '26 00:02

Robert de W


1 Answers

Take a look at the play-maven plugin? Using maven for dependency management means all developers will have the same pom/config file, on running a maven build jars/libs will be downloaded from the repository server (you can use your own repo server too).

like image 74
sumit Avatar answered Feb 17 '26 15:02

sumit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!