Thanks Jorge,<br><br>it finally worked!<br><br>Joquin of course was right but I didn't include them within my pom thinking they were just useful to org.gvsig.projection-cresques-impl, as described in comments.<br><br>So very probably I'm still missing something in different gvsig's parts dependencies inclusion.<br>
<br><div style="margin-left: 40px;"><i>By the other hand, you must to add to the svn:ignore some files/folders:<br><br>
- .classpath <br>
- .project <br>
- .settings <br>
- target<br>
- bin<br></i></div>
<br>Yes, sorry.<br><br>Thanks for your help,<br>all the best,<br>Luca<br><br><br><div class="gmail_quote">2010/8/5 Jorge Piera Llodrá <span dir="ltr"><<a href="mailto:jpiera@prodevelop.es">jpiera@prodevelop.es</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi Luca.<br>
<br>
You need more runtime dependencies. Add also these dependences and it
will work:<br>
<br>
<br>
<dependency><br>
<groupId>org.geotools</groupId><br>
<artifactId>gt2-legacy</artifactId><br>
<scope>runtime</scope><br>
</dependency><br>
<dependency><br>
<groupId>org.opengis</groupId><br>
<artifactId>geoapi</artifactId><br>
<scope>runtime</scope><br>
</dependency><br>
<dependency><br>
<groupId>org.geotools</groupId><br>
<artifactId>gt2-main</artifactId><br>
<scope>runtime</scope><br>
</dependency><br>
<dependency><br>
<groupId>javax.media</groupId><br>
<artifactId>jai_core</artifactId><br>
<scope>runtime</scope><br>
</dependency><br>
<dependency><br>
<groupId>javax.media</groupId><br>
<artifactId>jai_codec</artifactId><br>
<scope>runtime</scope><br>
</dependency> <br>
<br>
By the other hand, you must to add to the svn:ignore some files/folders:<br>
<br>
- .classpath <br>
- .project <br>
- .settings <br>
- target<br>
- bin<br>
<br>
Regards,<br><font color="#888888">
Jorge</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
On 08/04/2010 03:37 PM, luca bianconi wrote:
<blockquote type="cite">Hi Jorge,<br>
<br>
committed it.<br>
Please let me know where I'm wrong.<br>
<br>
thanks for your percious help,<br>
Luca<br>
<br>
<br>
<div class="gmail_quote">2010/8/4 Jorge Piera Llodrá <span><<a href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
Hi Luca.<br>
<br>
I've downloaded your code, I've added the dependences and it works for
me. <br>
<br>
In the repository I can not see the new dependences and I suppose that
you have not done a commit (without dependences I've got the same
error than you). Could you please make a commit?<br>
<br>
Regards,<br>
<font color="#888888">Jorge.</font>
<div>
<div><br>
<br>
<br>
On 08/04/2010 02:36 PM, luca bianconi wrote:
<blockquote>Hi Jorge,<br>
<br>
I'm very very sorry of being such annoying and boring, I've tried for
the whole morning trying not to bother you all again but really I feel
very discouraged as far as I'm not understanding what is causing this
problem. <br>
I'm not a Maven guru at all but using it is usually not such a pain.<br>
<br>
I've added the dependency you've kindly suggested in your last email
but it looks like org.gvsig.metadata.simple.Simple.MetaDataLibrary
(I've pasted it after these rows) was found but I've got a BUILD
FAILURE anyway.<br>
<br>
I know I'm boring but if someone has time and will for helping me I've
put the "clean" code at <a href="https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/SqliteExt/org.gvsig.sqliteext/" target="_blank">https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/SqliteExt/org.gvsig.sqliteext/</a>
. If there would be any accessing rights problems I could even send the
code as zip (just about 1MB) attached to a private email.<br>
<br>
Found 25 libraries:<br>
org.gvsig.sqliteext.impl.SqliteExtDefaultImplLibrary (null)<br>
org.gvsig.sqliteext.SqliteExtLibrary (null)<br>
org.gvsig.tools.ToolsLibrary (api)<br>
org.gvsig.tools.persistence.xml.XMLPersistenceLibrary (api)<br>
org.cresques.ProjectionLibrary (api)<br>
org.cresques.impl.CresquesCtsLibrary (impl)<br>
org.gvsig.fmap.geom.GeometryLibrary (api)<br>
org.gvsig.fmap.geom.impl.DefaultGeometryLibrary (impl)<br>
org.gvsig.metadata.MetadataLibrary (api)<br>
<div style="margin-left: 40px;"> <span style="color: rgb(51, 204, 0);"> org.gvsig.metadata.simple.</span><span style="color: rgb(51, 204, 0);">SimpleMetadataLibrary (impl)</span><br>
</div>
org.gvsig.fmap.dal.DALLibrary (api)<br>
org.gvsig.fmap.dal.impl.DALDefaultImplLibrary (impl)<br>
org.gvsig.fmap.dal.store.memory.MemoryStoreLibrary (impl)<br>
org.gvsig.compat.CompatLibrary (api)<br>
org.gvsig.compat.se.SECompatLibrary (impl)<br>
org.gvsig.fmap.dal.DALFileLibrary (impl)<br>
org.gvsig.fmap.mapcontext.MapContextLibrary (api)<br>
org.gvsig.fmap.mapcontext.impl.MapContextImplLibrary (impl)<br>
org.gvsig.fmap.geom.operation.impl.DefaultGeometryOperationLibrary
(impl)<br>
org.gvsig.symbology.SymbologyLibrary (api)<br>
org.gvsig.tools.IverUtilesLibrary (null)<br>
org.gvsig.fmap.geom.operation.MapContextGeomOperationsLibrary (impl)<br>
org.gvsig.tools.evaluator.sqljep.SQLJEPLibrary (impl)<br>
org.gvsig.fmap.dal.store.dbf.DBFLibrary (impl)<br>
org.gvsig.fmap.dal.store.shp.SHPLibrary (impl)<br>
<br>
<br>
Best regards and thanks a lot,<br>
Luca<br>
<br>
<br>
<div class="gmail_quote">2010/8/4 Jorge Piera Llodrá <span><<a href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi.<br>
<br>
You are getting a NullPointerException in the line 131 of the
DalLibrary class:<br>
<br>
130: MetadataManager manager = MetadataLocator.getMetadataManager();<br>
131: if(
manager.getDefinition(DataStore.METADATA_DEFINITION_NAME)==null )....<br>
<br>
It means that the MetedataManager has been not registered. To register
a MetadatadaManager, add this dependency to your pom.xml file:<br>
<br>
<pre><dependency>
        <groupId>org.gvsig</groupId>
        <artifactId>org.gvsig.metadata</artifactId>
        <version>2.0-SNAPSHOT</version>
        <classifier>simple</classifier>
        <scope>test</scope>
</dependency>
</pre>
<br>
Execute the mvn eclipse:eclipse, refresh the eclipse and try to execute
the test other time. If you have done it, it means that the metadata
library is not initialized for any reason. When you execute the test,
you will see on the standar output the list of libraries that your
execution has found. e.g:<br>
<br>
Found 25 libraries: <br>
<div> org.gvsig.metadata.MetadataLibrary (api)<br>
</div>
org.gvsig.metadata.simple.SimpleMetadataLibrary (impl)<br>
org.cresques.ProjectionLibrary (api)<br>
org.cresques.impl.CresquesCtsLibrary (impl)<br>
.....<br>
<br>
Could you please check if
org.gvsig.metadata.simple.SimpleMetadataLibrary is found?<br>
<br>
Regards,<br>
<font color="#888888">Jorge.</font>
<div>
<div><br>
<br>
<br>
On 08/04/2010 09:42 AM, luca bianconi wrote:
<blockquote>Hi Jorge,<br>
<br>
I've tried again and I can't fix it. Maybe I'm wrong with something
else. :'(<br>
Thanks a lot anyway,<br>
Luca<br>
<br>
<div class="gmail_quote">2010/8/4 Jorge Piera Llodrá <span><<a href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hello Luca.<br>
<br>
You also have to add the dependency for the org.gvsig.metadata library.
But if you adds this dependency and you tries to compile, you will get
a new error because DAL needs more dependences in run time. Joaquin
send you a link with an example of a pom that shows the dependences of
DAL in run time of a concrete project. Just add some of them (you don't
need org.gvsig.fmap.dal.file) and try again.<br>
<br>
Regards,<br>
<font color="#888888">Jorge.<br>
</font>
<div>
<div><br>
<pre>[1]<a href="https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup" target="_blank">https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup</a>
</pre>
<pre> </pre>
<br>
<blockquote>Hi both, <br>
<br>
sorry again.<br>
I've added such dependency but apparently I can't make it working.<br>
<br>
In order to understand the origin of my problem I've gone through two
different steps. <br>
I describe them as far as probably for you it's a trivial problem and
if I describe the approach more precisely maybe you can understand
where I'm wrong:<br>
<div style="margin-left: 40px;"><br>
</div>
- I've created the simplest plugin with the plugin creation wizard from
the last bin of gvSig 2.0 .<br>
The structure is like that:<br>
* org.gvsig.sqliteext <br>
+ lib.api<br>
+ lib.impl<br>
* org.gvsig.sqliteext.app.extension<br>
- I've added a maven project called org.gvsig.sqliteext.sqlite.prov to
the first project (ie org.gvsig.sqliteext)<br>
Now I've a structure like this one: <br>
* org.gvsig.sqliteext <br>
+ lib.api<br>
+ lib.impl<br>
+ sqlite.prov (it containes within src/main just a class in its
package called as maven default App.java)<br>
* org.gvsig.sqliteext.app.extension<br>
<br>
- I've added just a class variable (DataManager manager;) to App.js,
referred to org.gvsig.fmap.dal, into sqlite.prov and I've added the
proper (?) dependency [1] into sqlite.prov pom.xml and everything
compiles apparently alright. <br>
<br>
BUT :<br>
<br>
- I've added the same variable into the SqliteExtDefaultImplLibrary.js
within the lib.impl project and I've got an error [2] because I have
not included the dependency for org.gvsig.fmap.dal.<br>
<br>
IF:<br>
<br>
- I've added the same dependency [1] working for the class described
above but I've got an error [3] during the test phase.<br>
<br>
So, what I guess it is, as Joaquin has suggested before, maybe I'm
missing something for the dependencies during the test phase.<br>
In that case could anyone help me in understanding that point ?<br>
I mean: what kind of dependency I should add for making my sample code
working ?<br>
<br>
I've seen many of them are described in documentation [4] but I still
can't understand how they work.<br>
<br>
Best regards and thanks in advance for your precious help,<br>
Luca<br>
<br>
<br>
[1] <dependency><br>
<groupId>org.gvsig</groupId><br>
<artifactId>org.gvsig.fmap.dal</artifactId><br>
<version>2.0-SNAPSHOT</version><br>
</dependency><br>
<br>
<br>
<br>
[2] [INFO]
------------------------------------------------------------------------<br>
<div style="margin-left: 40px;">[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Compilation failure<br>
<br>
/home/luca/workspace2/org.gvsig.sqliteext/org.gvsig.sqliteext.lib/org.gvsig.sqliteext.lib.impl/src/main/java/org/gvsig/sqliteext/impl/SqliteExtDefaultImplLibrary.java:[24,25]
package
org.gvsig.fmap.dal
does
not exist<br>
<br>
/home/luca/workspace2/org.gvsig.sqliteext/org.gvsig.sqliteext.lib/org.gvsig.sqliteext.lib.impl/src/main/java/org/gvsig/sqliteext/impl/SqliteExtDefaultImplLibrary.java:[37,1]
cannot
find
symbol<br>
symbol : class DataManager<br>
location: class org.gvsig.sqliteext.impl.SqliteExtDefaultImplLibrary<br>
<br>
</div>
<br>
[3] HERE ONE OF SURFIRE REPORTS:<br>
<br>
<div style="margin-left: 40px;">-------------------------------------------------------------------------------<br>
Test set: org.gvsig.sqliteext.impl.DefaultSqliteExtServiceTest<br>
-------------------------------------------------------------------------------<br>
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.116
sec <<< FAILURE!<br>
testSqliteExtServiceMessage(org.gvsig.sqliteext.impl.DefaultSqliteExtServiceTest)
Time
elapsed:
0.009
sec <<< ERROR!<br>
java.lang.NullPointerException<br>
at
org.gvsig.fmap.dal.DALLibrary.registerDataStoreMetadataDefinition(DALLibrary.java:131)<br>
at
org.gvsig.fmap.dal.DALLibrary.doPostInitialize(DALLibrary.java:81)<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>
at junit.framework.TestResult$1.protect(TestResult.java:106)<br>
at junit.framework.TestResult.runProtected(TestResult.java:124)<br>
at junit.framework.TestResult.run(TestResult.java:109)<br>
at junit.framework.TestCase.run(TestCase.java:118)<br>
at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>
at junit.framework.TestSuite.run(TestSuite.java:203)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)<br>
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)<br>
<br>
testSqliteExtServiceDate(org.gvsig.sqliteext.impl.DefaultSqliteExtServiceTest)
Time
elapsed:
0.019
sec <<< ERROR!<br>
java.lang.NullPointerException<br>
at
org.gvsig.fmap.dal.DALLibrary.registerDataStoreMetadataDefinition(DALLibrary.java:131)<br>
at
org.gvsig.fmap.dal.DALLibrary.doPostInitialize(DALLibrary.java:81)<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>
at junit.framework.TestResult$1.protect(TestResult.java:106)<br>
at junit.framework.TestResult.runProtected(TestResult.java:124)<br>
at junit.framework.TestResult.run(TestResult.java:109)<br>
at junit.framework.TestCase.run(TestCase.java:118)<br>
at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>
at junit.framework.TestSuite.run(TestSuite.java:203)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)<br>
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)<br>
<br>
testSqliteExtServiceManager(org.gvsig.sqliteext.impl.DefaultSqliteExtServiceTest)
Time
elapsed:
0.052
sec <<< ERROR!<br>
java.lang.NullPointerException<br>
at
org.gvsig.fmap.dal.DALLibrary.registerDataStoreMetadataDefinition(DALLibrary.java:131)<br>
at
org.gvsig.fmap.dal.DALLibrary.doPostInitialize(DALLibrary.java:81)<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>
at junit.framework.TestResult$1.protect(TestResult.java:106)<br>
at junit.framework.TestResult.runProtected(TestResult.java:124)<br>
at junit.framework.TestResult.run(TestResult.java:109)<br>
at junit.framework.TestCase.run(TestCase.java:118)<br>
at junit.framework.TestSuite.runTest(TestSuite.java:208)<br>
at junit.framework.TestSuite.run(TestSuite.java:203)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)<br>
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)<br>
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)<br>
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)<br>
<br>
<br>
<br>
<br>
</div>
[4] <a href="http://jornadas.gvsig.org/projects/gvsig-desktop/docs/devel/org.gvsig.fmap.dal/2.0.0/binarios/view?set_language=en" target="_blank">http://jornadas.gvsig.org/projects/gvsig-desktop/docs/devel/org.gvsig.fmap.dal/2.0.0/binarios/view?set_language=en</a><br>
<div style="margin-left: 40px;"><br>
<br>
<br>
</div>
<br>
<br>
<br>
<div class="gmail_quote">2010/8/3 Jorge Piera Llodrá <span><<a href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>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:
<div><br>
<br>
<dependency><br>
<groupId>org.gvsig</groupId><br>
</div>
<artifactId>org.gvsig.projection</artifactId>
<div><br>
<version>2.0-SNAPSHOT</version><br>
</div>
<classifier>cresques-impl</classifier><br>
<scope>test</scope><br>
</dependency><br>
<br>
And try again.<br>
<br>
Regards,<br>
Jorge.
<div>
<div><br>
<br>
<br>
On 08/02/2010 05:35 PM, luca bianconi wrote: </div>
</div>
<blockquote>
<div>
<div>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 href="https://svn.forge.osor.eu/svn/gvsig-sandbox/gvsig-sqlite/trunk/TestCode/ExtensionsTests" target="_blank">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 href="https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup" target="_blank">https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.landregistryviewer/trunk/org.gvsig.landregistryviewer/pom.xml?root=gvsig-fortuneco&view=markup</a><br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<div><a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</div></pre>
</blockquote>
<br>
<br>
<pre>--
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 href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a><div>
<a href="http://www.prodevelop.es" target="_blank">http://www.prodevelop.es</a>
<a href="http://www.gvsig.org" target="_blank">http://www.gvsig.org</a>
</div></pre>
</div>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</pre>
</blockquote>
<br>
<br>
<pre>--
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 href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>
<a href="http://www.prodevelop.es" target="_blank">http://www.prodevelop.es</a>
<a href="http://www.gvsig.org" target="_blank">http://www.gvsig.org</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</pre>
</blockquote>
<br>
<br>
<pre>--
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 href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>
<a href="http://www.prodevelop.es" target="_blank">http://www.prodevelop.es</a>
<a href="http://www.gvsig.org" target="_blank">http://www.gvsig.org</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</pre>
</blockquote>
<br>
<br>
<pre>--
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 href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>
<a href="http://www.prodevelop.es" target="_blank">http://www.prodevelop.es</a>
<a href="http://www.gvsig.org" target="_blank">http://www.gvsig.org</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Gvsig_internacional mailing list
<a href="mailto:Gvsig_internacional@listserv.gva.es" target="_blank">Gvsig_internacional@listserv.gva.es</a>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>
</pre>
</blockquote>
<br>
<br>
<pre 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 href="mailto:jpiera@prodevelop.es" target="_blank">jpiera@prodevelop.es</a>
<a href="http://www.prodevelop.es" target="_blank">http://www.prodevelop.es</a>
<a href="http://www.gvsig.org" target="_blank">http://www.gvsig.org</a>
</pre>
</div></div></div>
<br>_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br></blockquote></div><br>