[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
+1 -1
View File
@@ -77,7 +77,7 @@ In order to launch FixMiner, execute [fixminer.sh](python/fixminer.sh)
* Install the project with maven from root. (usage [pom.xml](pom.xml))
```powershell
mvn clean install
mvn clean package
```
* Active the conda environment from shell
```powershell
+1 -2
View File
@@ -12,7 +12,6 @@
<groupId>edu.lu.uni.serval</groupId>
<artifactId>RichEdit</artifactId>
<version>1.0.0</version>
<!-- <scope>compile</scope>-->
</dependency>
<dependency>
<groupId>org.yaml</groupId>
@@ -130,4 +129,4 @@
</plugins>
</build>
</project>
</project>
@@ -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);