Closed vmassol closed 5 years ago
I'll now try to build evosuite too which I've found at https://github.com/EvoSuite/evosuite.
There's no 1.0.7 tag! See https://github.com/EvoSuite/evosuite/releases
And evosuite master has 1.0.7-SNAPSHOT as the version so something is amiss...
EDIT: There's actually no evosuite-client-botsing
module!
Ok found the "Building Botsing" section on https://github.com/STAMP-project/botsing... Trying.... (painful)
Ok I was able to build Botsing and finding the botsing-model-generation-1.0.5-SNAPSHOT-jar-with-dependencies.jar
JAR:
vmassol ~/dev/botsing (master) $ find . -name "*.jar"
./botsing-commons/target/botsing-commons-1.0.5-SNAPSHOT.jar
./botsing-model-generation/target/botsing-model-generation-1.0.5-SNAPSHOT-jar-with-dependencies.jar
./botsing-model-generation/target/botsing-model-generation-1.0.5-SNAPSHOT.jar
./botsing-parsers/target/botsing-parsers-1.0.5-SNAPSHOT.jar
./botsing-reproduction/evosuite-client-botsing-1.0.6.jar
./botsing-reproduction/evosuite-client-botsing-1.0.7.jar
./botsing-reproduction/target/botsing-reproduction-1.0.5-SNAPSHOT-tests.jar
./botsing-reproduction/target/original-botsing-reproduction-1.0.5-SNAPSHOT.jar
./botsing-reproduction/target/botsing-reproduction-1.0.5-SNAPSHOT.jar
./botsing-preprocessing/target/botsing-preprocessing-1.0.5-SNAPSHOT-jar-with-dependencies.jar
./botsing-preprocessing/target/botsing-preprocessing-1.0.5-SNAPSHOT.jar
./botsing-maven/target/botsing-maven-1.0.5-SNAPSHOT.jar
./botsing-examples/target/classes/sample_dep/projectA-1.0-SNAPSHOT.jar
./botsing-examples/target/classes/sample_dep/projectA-1.0-SNAPSHOT-tests.jar
./botsing-examples/target/botsing-examples-1.0.5-SNAPSHOT.jar
./botsing-examples/src/main/resources/sample_dep/projectA-1.0-SNAPSHOT.jar
./botsing-examples/src/main/resources/sample_dep/projectA-1.0-SNAPSHOT-tests.jar
Now trying to build evosuite to get the other one.
Ok was also able to build evosuite to get ./master/target/evosuite-master-1.0.7-SNAPSHOT.jar
.
Globally took me 30mn to get these 2 JARs. Would be great to improve the doc to speed this up :) (and to make these jars available somewhere if they're not already).
Suggestion to create the classpath (on Mac):
CLASSPATH=$(find "." -name '*.jar' | xargs echo | tr ' ' ':')
Hi @vmassol, the jars are available in this (current) repository https://github.com/STAMP-project/evosuite-model-seeding-tutorial/tree/master/bin.
If you want to build EvoSuite from the sources, you can use the fork https://github.com/STAMP-project/evosuite. We will do a pull request to include our changes in the EvoSuite main repository but we have to clean up the git history first.
Hi @vmassol, the jars are available in this (current) repository https://github.com/STAMP-project/evosuite-model-seeding-tutorial/tree/master/bin.
Cool. I didn't find that info in the tutorial, did I miss it?
The first step is to clone the tutorial repository but did not said that the binaries are there. I will detail where to find the binaries in the explanation.
The first step is to clone the tutorial repository
Ok but my problem is that I don't want to do that ;) I'm sure the tutorial works since you tested it! What I wanted to do was run it on my example (i.e. XWiki).
I had the same issue for finding the binary. Thanks @vmassol and @xdevroey for having already clarified this issue.
@MaelAudren
I managed to make a fat jar and test jar of ProActive Commons-api by adding these two tasks int to the build.gradle
which exists in proactive ▸ scheduling ▸ common ▸ common-api
:
task fatJar(type: Jar){
manifest {
attributes("Implementation-Title": "ProActive",
"Implementation-Version": version,
"Specification-Version": version,
"Implementation-Vendor": "Activeeon - OASIS - INRIA Sophia Antipolis",
"Implementation-URL": "http://proactive.inria.fr"
)
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}
@pderakhshanfar I was talking about https://github.com/STAMP-project/evosuite-model-seeding-tutorial/blob/master/bin/evosuite-master-1.0.7-SNAPSHOT.jar. I had no issue to get ProActive binaries.
The doc says to run:
and
but it doesnt say where to get these JARs.
I've tried to build botsing in the hope of getting the first one (botsing-model-generation-1.0.4-SNAPSHOT-jar-with-dependencies.jar) but I get:
This seems to indicate that evosuite 1.0.7 is not present in Maven Central. Indeed when I search I only see version 1.0.6. https://search.maven.org/search?q=evosuite and
https://search.maven.org/search?q=evosuite-client-botsing
is not there at all.I'll now try to build evosuite too which I've found at https://github.com/EvoSuite/evosuite.