<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello.<br>
<br>
You don't have any implementation of the ICRSFactory in run time while
you are executing your test. Just add to your pom next dependence:<br>
<br>
<dependency><br>
<groupId>org.gvsig</groupId><br>
<artifactId>org.gvsig.projection</artifactId><br>
<version>2.0-SNAPSHOT</version><br>
<classifier>cresques-impl</classifier><br>
<scope>test</scope><br>
</dependency><br>
<br>
And try again.<br>
<br>
Regards,<br>
Jorge.<br>
<br>
<br>
On 08/02/2010 05:35 PM, luca bianconi wrote:
<blockquote
cite="mid:AANLkTi=SbUsxc7Kzxs19+XTrJCTJPr6a+sqy7nVSca7n@mail.gmail.com"
type="cite">Hi both,<br>
<br>
I've tried to enjoy of both your suggestions but I still can't compile
it. :-(<br>
<br>
I've tried to adapt the pom of the project suggested by Joaquin [1] but
I've got a new error.<br>
I get it from
/home/luca/workspace2/org.gvsig.myprov/org.gvsig.myprov.lib/org.gvsig.myprov.lib.impl/target/surefire-reports
as suggested by Jorge : <br>
<br>
<div style="margin-left: 40px;"><i>testMyProvServiceMessage(org.gvsig.myprov.impl.DefaultMyProvServiceTest)
Time elapsed: 0.024 sec <<< ERROR!<br>
An instance of ICRSFactory has not been registered in the CRSFactory<br>
at
org.gvsig.tools.exception.BaseRuntimeException.<init>(BaseRuntimeException.java:73)<br>
at
org.cresques.CRSFactoryNotRegisteredException.<init>(CRSFactoryNotRegisteredException.java:46)<br>
at
org.cresques.ProjectionLibrary.doPostInitialize(ProjectionLibrary.java:45)<br>
at
org.gvsig.tools.library.AbstractLibrary.postInitialize(AbstractLibrary.java:143)<br>
at
org.gvsig.tools.library.AbstractLibrariesInitializer.initializeLibraries(AbstractLibrariesInitializer.java:132)<br>
at
org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:94)<br>
at
org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:84)<br>
at
org.gvsig.tools.library.AbstractLibrariesInitializer.fullInitialize(AbstractLibrariesInitializer.java:100)<br>
at
org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase.setUp(AbstractLibraryAutoInitTestCase.java:55)<br>
at junit.framework.TestCase.runBare(TestCase.java:125)<br>
<br>
<br>
</i><br>
</div>
Does it make any sense to you ? I felt quite discouraged. <br>
If anyone has enough patience to help me I could put it on <a
moz-do-not-send="true"
href="https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/TestCode/ExtensionsTests">https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/TestCode/ExtensionsTests</a>
. Probably it's a trivial thing for you but it's driving me crazy and
making me loosing lots of time.<br>
<br>
Thanks both for your precious help,<br>
Luca<br>
<br>
[1] <a moz-do-not-send="true"
href="https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup">https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup</a><br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a>
<a class="moz-txt-link-freetext" href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:jpiera@prodevelop.es">jpiera@prodevelop.es</a>
<a class="moz-txt-link-freetext" href="http://www.prodevelop.es">http://www.prodevelop.es</a>
<a class="moz-txt-link-freetext" href="http://www.gvsig.org">http://www.gvsig.org</a>
</pre>
</body>
</html>