[Gvsig_english] Error building gvSig Mini

Alberto Romeu aromeu at prodevelop.es
Mon Jan 2 20:25:02 CET 2012


Hi,

I've manually configured the classpath for every project as the gvSIG 
maven repository is offline at the moment. So checking out those 
projects, clean, build and refresh them from Eclipse should be enough 
(I've just tested right now).

Maybe you have a problem with some references to Android libraries. You 
should go to Project -> Properties -> Android, and at the bottom there 
are the Android libraries references. You should point to your local 
path. After that clean and build the projects.

Please, tell me if that solved your problem.

Regards,

Alberto.

El 31/12/11 15:28, Savvas Sopiadis escribió:
> Hi Alberto!
> After a (rather) long vacation i managed to sit down and do some homework.
> First of all thanks very much for replying that quickly!
> So i noticed you (or someone else) changed something on the page "How 
> to build in Eclipse".
> As i stated in a previous post this is new stuff for me. My dev 
> environment is Windows, Eclipse Indigo.
> I decided to do all that stuff from the beginning. So i followed the 
> text in the red box and did the following
>
> Manually downloaded:
> 1. 
> https://svn.prodevelop.es/public/gvsigmini/gvsig_mini_libraries/trunk/encryption/es.prodevelop.android.common.encrypt 
>
> 2. 
> https://svn.prodevelop.es/public/gvsigmini/design/trunk/com_markupartist_android_widget_actionbar
> 3. 
> https://svn.prodevelop.es/public/gvsigmini/gvsig_mini_libraries/trunk/gvsig_mini_base
> 4. 
> https://svn.prodevelop.es/public/gvsigmini/gvsig_mini_libraries/trunk/gvsig_mini
> 5. 
> https://svn.prodevelop.es/public/gvsigmini/gvsig_mini_gpe/trunk/es.prodevelop.gvsig.mini.gpe
> (by the way are you sure there aren't any typos in this script? i 'm 
> no Linux/Eclipse expert but it seems to me that there are some...)
>
> 6. Project com_markupartist_android_widget_actionbar
>  had no errors but warnings (but it seemed to generate it without any 
> problems)
>
> 7. Project es.prodevelop.android.common.encrypt also had no errors but 
> warnings (but it seemed to generate also without any problems)
>
> 8. Got the following errors (many actually):
> The container 'Library Projects' references non existing library 
> 'C:\Users\Developer\workspace-gvSIG2\es.prodevelop.gvsig.mini.gpe\bin\es.prodevelop.gvsig.mini.gpe.jar'    
> es.prodevelop.gvsig.mini        Build path    Build Path Problem
>
> I 'm not sure what exactly this means!?
>
> Is everything fine what i have done? How to resolve this error?
> Thanks in advance
>
> Greetings from frozen Thessaloniki and a happy new year!!
>
> Regards
>
> Savvas
>
> ------------------------------------------------------------------------
> *From:* Alberto Romeu Carrasco [via OSGeo.org] <[hidden email] 
> </user/SendEmail.jtp?type=node&node=7140516&i=0>>
> *To:* Savvas Sopiadis <[hidden email] 
> </user/SendEmail.jtp?type=node&node=7140516&i=1>>
> *Sent:* Wednesday, December 21, 2011 11:58 AM
> *Subject:* Re: Error building gvSig Mini
>
> Hi Savvas,
>
> sorry I missed to deploy
> "es.prodevelop.android.library-1.1.1-SNAPSHOT". You can try it now...
> Regarding the red marks in Eclipse, what do they say?
>
> Regards.
>
> -- 
>
> Alberto Romeu
> ---
>
> Prodevelop SL, Valencia (España)
> Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
> http://www.prodevelop.es
> ---
>
>
> El 20/12/11 15:27, Savvas Sopiadis escribió:
>
> > Hi everybody!
> > This is new territory for me (coming from the .NET world). I 'm 
> assigned a
> > project which does similar things like the MINI application.
> > My problem is: i 'm struggling with the build of this. My 
> environment is
> > Windows Vista, Eclipse Indigo.
> >
> > I 'm  following
> > 
> https://confluence.prodevelop.es/display/GVMN/How+to+build+the+gvSIG+Mini+workspace+in+Eclipse
> > this  article and always getting errors.
> >
> > Here is what i did:
> >
> > 1st attempt: did the download exactly how the part in the red box 
> says. Then
> > went into the 1st directory (e.g.   
> es.prodevelop.android.gvsig.mini.lib).
> > Did the following:
> >
> > mvn dependency:copy-dependencies
> >
> > and got as result the following:
> >
> > [INFO] Scanning for projects...
> > [ERROR] The build could not read 1 project ->  [Help 1]
> > [ERROR]
> > [ERROR]   The project
> > es.prodevelop:es.prodevelop.android.gvsig.mini.lib:2.0.0-SNAPSHOT
> > 
> (C:\Users\Developer\workspace-gvSIG2\es.prodevelop.android.gvsig.mini.lib\pom.xml)
> > has 1 error
> > [ERROR]     Non-resolvable parent POM: Failure to find
> > es.prodevelop:es.prodevelop.android.library:pom:1.1.1-SNAPSHOT in
> > 
> http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository
> > was cached in the local repository, resolution will not be 
> reattempted until
> > the update interval of gvsig-public-http-repository has elapsed or 
> updates
> > are forced and 'parent.relativePath' points at wrong local POM @ 
> line 5,
> > column 10 ->  [Help 2]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with 
> the -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible 
> solutions, please
> > read the following articles:
> > [ERROR] [Help 1]
> > 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> > [ERROR] [Help 2]
> > 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> >
> >
> > 2nd attempt: did exactly what the remaining part of this article 
> says and
> > surprisingly i get no errors at the maven compile. But in the eclipse
> > workspace i still have red marks ....
> >
> > What am i missing?
> >
> > Thanks in advance!
> >
> >
> > --
> > View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/Error-building-gvSig-Mini-tp7111930p7111930.html
> > Sent from the gvSIG users mailing list archive at Nabble.com.
> > _______________________________________________
> > Gvsig_internacional mailing list
> > [hidden email]
> >
> > To see the archives, edit your preferences or unsubscribe from this 
> mailing list, please access this url:
> >
> > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> _______________________________________________
> Gvsig_internacional mailing list
> [hidden email]
>
> To see the archives, edit your preferences or unsubscribe from this 
> mailing list, please access this url:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://osgeo-org.1803224.n2.nabble.com/Error-building-gvSig-Mini-tp7111930p7114655.html 
>
> To unsubscribe from Error building gvSig Mini, click here.
> NAML 
> <http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: Re: Error building gvSig Mini 
> <http://osgeo-org.1803224.n2.nabble.com/Error-building-gvSig-Mini-tp7111930p7140516.html>
> Sent from the gvSIG users mailing list archive 
> <http://osgeo-org.1803224.n2.nabble.com/gvSIG-users-f2009903.html> at 
> Nabble.com.
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
>
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20120102/221b850a/attachment.htm 


More information about the Gvsig_internacional mailing list