[F] Fix maven instruction

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-05-16 01:53:34 -04:00
parent 40a2722a01
commit 7813bb75de
3 changed files with 4 additions and 6 deletions
@@ -33,12 +33,11 @@ public class EnhancedASTDiff
String parameters = String.format("\nInput path %s", inputPath);
log.info(parameters);
CallShell cs = new CallShell();
// Run Redis
String cmd = String.format("redis-server %s/redis.conf --dir %s --dbfilename redis.rdb --port %s --daemonize yes", srcPath, dbDir, redisPort);
CallShell.runShell(cmd, redisPort);
JedisPool innerPool = new JedisPool(PoolBuilder.getPoolConfig(), "127.0.0.1", Integer.valueOf(redisPort), 20000000);
JedisPool innerPool = new JedisPool(PoolBuilder.getPoolConfig(), "127.0.0.1", Integer.parseInt(redisPort), 20000000);
boolean isJava = projectType.equals("java");
File folder = new File(inputPath);