Did you try to compil from git repository clone or from sourcespackage available on the website ? Not sure that sources package
works with maven.I got no error making package on my local repository. Do you installthe deps scalags of gs-deps ?I will create a pom.xml for gs-boids.Regards
Le 7 juillet 2011 12:10, Jean-Matthieu ETANCELIN <jeanmatthieu.etancelin AT insa-rouen.fr> a écrit :
Hi,Maven works perfecly but there is a failure while compiling gs-ui. It seems that Scala is missing.I have installed gs-deps, gs-core gs-tool and gs-algo.The error is (during mvn package in gs-ui ) :org.apache.maven.surefire.booter.SurefireExecutionException: scala/ScalaObject; nested exception is java.lang.NoClassDefFoundError: scala/ScalaObjectjava.lang.NoClassDefFoundError: scala/ScalaObjectat java.lang.ClassLoader.defineClass1(Native Method)at java.lang.ClassLoader.defineClass(ClassLoader.java:634)at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)at java.net.URLClassLoader.access$000(URLClassLoader.java:73)at java.net.URLClassLoader$1.run(URLClassLoader.java:212)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(URLClassLoader.java:205)at java.lang.ClassLoader.loadClass(ClassLoader.java:321)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)at java.lang.ClassLoader.loadClass(ClassLoader.java:266)at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)at org.apache.maven.surefire.Surefire.run(Surefire.java:156)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:616)at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)Caused by: java.lang.ClassNotFoundException: scala.ScalaObjectat java.net.URLClassLoader$1.run(URLClassLoader.java:217)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(URLClassLoader.java:205)at java.lang.ClassLoader.loadClass(ClassLoader.java:321)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)at java.lang.ClassLoader.loadClass(ClassLoader.java:266)... 20 moreOtherwise, I would try gs-boids but there is no pom.xml file. I tried to compile myself with adding the gs-**.jar in the classpath but it doesnt work.ThanksRegards,
--
Jean-Matthieu ETANCELIN
Ingénieur Génie MathématiquePromotion 2011
INSA de Rouen-Master 2 MATISUniversité du Havre
2011/7/6 guilhelm savin <guilhelm.savin AT gmail.com>Hi,GraphStream is using Maven2. There is a pom.xml file that describesthe project and how to build it.To make a jar, just use the following command :mvn packagethis will create a jar gs-xxx-1.0.jar in the 'target' directory.To install the jar in your maven repository :mvn installDo not forget to start by installing gs-deps, composed of three.subprojects : mbox2, pherd and util.Using Maven is recent so please report problems you might encounterwith it.Regards.
Le 6 juillet 2011 12:29, Jean-Matthieu ETANCELIN <jeanmatthieu.etancelin AT insa-rouen.fr> a écrit :BonjourJe souhaiterais utiliser les sources du dépôt pour une application. Il n'y a pas de Makefile, ou Ant dans le répertoire, comment puis-je compiler la librairie pour en faire un .jar ?MerciCordialement,
--
Jean-Matthieu ETANCELIN
Ingénieur Génie MathématiquePromotion 2011-
INSA de RouenMaster 2 MATISUniversité du Havre
--
Guilhelm Savin
PhD Student of Computer ScienceLITIS, University of Le Havre
\/\/\/\/\/\/
--
Guilhelm Savin
PhD Student of Computer ScienceLITIS, University of Le Havre
\/\/\/\/\/\/
Archives gérées par MHonArc 2.6.16.