<!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>
&lt;dependency&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;groupId&gt;org.gvsig&lt;/groupId&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;artifactId&gt;org.gvsig.projection&lt;/artifactId&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;version&gt;2.0-SNAPSHOT&lt;/version&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;classifier&gt;cresques-impl&lt;/classifier&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;scope&gt;test&lt;/scope&gt;<br>
&lt;/dependency&gt;<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&nbsp;
/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)&nbsp;
Time elapsed: 0.024 sec&nbsp; &lt;&lt;&lt; ERROR!<br>
An instance of ICRSFactory has not been registered in the CRSFactory<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.exception.BaseRuntimeException.&lt;init&gt;(BaseRuntimeException.java:73)<br>
&nbsp;&nbsp;&nbsp; at
org.cresques.CRSFactoryNotRegisteredException.&lt;init&gt;(CRSFactoryNotRegisteredException.java:46)<br>
&nbsp;&nbsp;&nbsp; at
org.cresques.ProjectionLibrary.doPostInitialize(ProjectionLibrary.java:45)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.library.AbstractLibrary.postInitialize(AbstractLibrary.java:143)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.library.AbstractLibrariesInitializer.initializeLibraries(AbstractLibrariesInitializer.java:132)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:94)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.library.AbstractLibrariesInitializer.postInitialize(AbstractLibrariesInitializer.java:84)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.library.AbstractLibrariesInitializer.fullInitialize(AbstractLibrariesInitializer.java:100)<br>
&nbsp;&nbsp;&nbsp; at
org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase.setUp(AbstractLibraryAutoInitTestCase.java:55)<br>
&nbsp;&nbsp;&nbsp; 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&amp;view=markup">https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&amp;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&aacute;
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>