mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-31 12:24:10 -08:00
Maven: fix connection to compiler daemon in out-of-process mode
This commit is contained in:
parent
1b3f31b060
commit
0d73478164
|
@ -262,7 +262,7 @@ public class TeaVMCompileMojo extends AbstractMojo {
|
||||||
try {
|
try {
|
||||||
RemoteBuildService buildService;
|
RemoteBuildService buildService;
|
||||||
try {
|
try {
|
||||||
Registry registry = LocateRegistry.getRegistry(daemon.getPort());
|
Registry registry = LocateRegistry.getRegistry("localhost", daemon.getPort());
|
||||||
buildService = (RemoteBuildService) registry.lookup(RemoteBuildService.ID);
|
buildService = (RemoteBuildService) registry.lookup(RemoteBuildService.ID);
|
||||||
} catch (RemoteException | NotBoundException e) {
|
} catch (RemoteException | NotBoundException e) {
|
||||||
throw new MojoExecutionException("Error connecting TeaVM process", e);
|
throw new MojoExecutionException("Error connecting TeaVM process", e);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user