maxbannach / Jdrasil

A Modular Library for Computing Tree Decompositions
Other
16 stars 9 forks source link

After ./gradlew assemble, there is no Jdrasil.jar in build/libs #3

Open Kerry12342 opened 1 month ago

Kerry12342 commented 1 month ago

I am using mac and after ./gradlew assemble, there is no Jdrasil.jar in build/libs

seberndt commented 1 month ago

Hi, the Jdrasil.jar is put into build/jars, not in build/libs. Does that help?

Kerry12342 commented 1 month ago

Thank you so much! It seems like my problem also came from directly copying "java −jar build/jars/Jdrasil.jar" from README instead of "java -jar build/jars/Jdrasil.jar". The "−" from README is an end-dash (−) while the correct one should be a regular dash (-).

Kerry12342 commented 1 month ago

I am not sure why but "java -jar build/jars/Jdrasil.jar" is taking forever without printing out anything.

maxbannach commented 1 month ago

By default, jdrasil expects to read a graph from stdin. So you need to invoke it with java -jar build/jars/Jdrasil.jar < <mygraph.gr>.

You can build a manual with ./gradlew manual that explains the basic usage. (LuaLaTeX is required for this.)