mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -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 {
|
||||
RemoteBuildService buildService;
|
||||
try {
|
||||
Registry registry = LocateRegistry.getRegistry(daemon.getPort());
|
||||
Registry registry = LocateRegistry.getRegistry("localhost", daemon.getPort());
|
||||
buildService = (RemoteBuildService) registry.lookup(RemoteBuildService.ID);
|
||||
} catch (RemoteException | NotBoundException e) {
|
||||
throw new MojoExecutionException("Error connecting TeaVM process", e);
|
||||
|
|
Loading…
Reference in New Issue
Block a user