Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP - I ran the command but didn't get any response or even an error #319

Open
juliamanfrindias opened this issue Jun 3, 2021 · 2 comments

Comments

@juliamanfrindias
Copy link

When I run the command for example lang_39:

java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ - bintestfolder /target/test-classes/ -location /home/astor/Documents/A3/astor/examples/lang_39/

It doesn't return any answer, it just runs for a while and then finishes without giving any answer.
This is what appeared on the console:

[astor@julia-note target]$ java -cp astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test / -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /home/astor/Documents/A3/astor/examples/lang_39/
[astor@julia-note target]$

What happened? How to proceed?

@ssk1216
Copy link

ssk1216 commented Jun 16, 2021

https://logging.apache.org/log4j/log4j-2.4/manual/configuration.html
Add the above xml file to the astor root folder (log4j2.xml)
When you run it ,
java -cp target/astor-1.1.0-jar-with-dependencies.jar -Dlog4j.configurationFile=/home/linuxadmin/Desktop/astor/log4j2.xml

Idea was from the user-lapplislazuli , and it worked for me

@ssk1216
Copy link

ssk1216 commented Jun 16, 2021

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants