Hi Cesar, <br><br>I just discovered that removing the folder extensions in build/product/ is enough to compile the sources succesful. <br><br>Cheers. <br><br><div class="gmail_quote">2011/10/3 Jordi Torres <span dir="ltr"><<a href="mailto:jtorresfabra@gmail.com">jtorresfabra@gmail.com</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;">Hi Cesar, <br><br>I am getting this error again. I ran maven with -e option. This is the error in the build log: <br>
<br>[INFO] Generating the package info for the plugin: org.gvsig.coreplugin with the following information:<br>
[INFO] Plugin name: Skin management framework<br>[INFO] Plugin description: This is the extension that provide the basic skin to<br> gvsig<br>[INFO] Plugin version: 2.0-SNAPSHOT<br>[INFO] Plugin build number: 2035<br>
[INFO] Plugin state: devel<br>[INFO] Plugin official: true<br>[INFO] Plugin operatingSystem: all<br>[INFO] Plugin architecture: all<br>[INFO] Plugin javaVM: j1_5<br>[INFO] Plugin gvSIGVersion: 2.0.0<br>
[INFO] gvSIG Plugin's folder: /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>[INFO] Package info folder: /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin<br>
[INFO] Dependencies: null<br>log4j:WARN No appenders could be found for logger (org.gvsig.tools.util.impl.DefaultServiceLoader).<br>log4j:WARN Please initialize the log4j system properly.<br>[INFO] ------------------------------------------------------------------------<div class="im">
<br>
[ERROR] BUILD ERROR<br>[INFO] ------------------------------------------------------------------------<br></div>[INFO] Error getting a MakePluginPackageService for the plugin folder: /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<div class="im">
<br>
<br>Embedded error: Exception creating the installer service to create installers<br></div>[INFO] ------------------------------------------------------------------------<br>[INFO] Trace<br>org.apache.maven.lifecycle.LifecycleExecutionException: Error getting a MakePluginPackageService for the plugin folder: /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)<br>
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)<br>
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)<br>
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)<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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br>
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br>Caused by: org.apache.maven.plugin.MojoExecutionException: Error getting a MakePluginPackageService for the plugin folder: /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>
at org.gvsig.installer.maven.GeneratePackageInfoMojo.execute(GeneratePackageInfoMojo.java:264)<br> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)<br> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)<br>
... 17 more<br>Caused by: org.gvsig.installer.lib.api.creation.MakePluginPackageServiceException: Exception creating the installer service to create installers<br> at org.gvsig.installer.lib.impl.DefaultInstallerManager.getMakePluginPackageService(DefaultInstallerManager.java:108)<br>
at org.gvsig.installer.maven.GeneratePackageInfoMojo.execute(GeneratePackageInfoMojo.java:237)<br> ... 19 more<br>Caused by: java.lang.reflect.InvocationTargetException<br> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br>
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)<br> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)<br> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br>
at org.gvsig.tools.extensionpoint.impl.DefaultExtensionPointManager.createObject(DefaultExtensionPointManager.java:214)<br> at org.gvsig.tools.extensionpoint.impl.DefaultExtensionPointManager.create(DefaultExtensionPointManager.java:59)<br>
at org.gvsig.tools.extensionpoint.impl.DefaultExtensionPoint$Extension.create(DefaultExtensionPoint.java:99)<br> at org.gvsig.tools.extensionpoint.impl.DefaultExtensionPoint.create(DefaultExtensionPoint.java:267)<br>
at org.gvsig.installer.lib.impl.DefaultInstallerManager.getMakePluginPackageService(DefaultInstallerManager.java:105)<br> ... 20 more<br>Caused by: java.lang.NullPointerException<br> at org.gvsig.installer.lib.impl.DefaultVersion.parse(DefaultVersion.java:32)<br>
at org.gvsig.installer.lib.impl.DefaultPackageInfo.setVersion(DefaultPackageInfo.java:133)<br> at org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:115)<br> at org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:82)<br>
at org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:64)<br> at org.gvsig.installer.lib.impl.DefaultInstallerProviderServices.readPackageInfo(DefaultInstallerProviderServices.java:114)<br>
at org.gvsig.installer.lib.impl.creation.DefaultMakePluginPackageService.initialize(DefaultMakePluginPackageService.java:116)<br> at org.gvsig.installer.lib.impl.creation.DefaultMakePluginPackageService.<init>(DefaultMakePluginPackageService.java:91)<br>
... 29 more<br>[INFO] ------------------------------------------------------------------------<br>[INFO] Total time: 30 seconds<br>[INFO] Finished at: Mon Oct 03 10:04:23 CEST 2011<br>[INFO] Final Memory: 107M/398M<br>
[INFO] ------------------------------------------------------------------------<br><br>Thanks in advance!<br><br><br> <br><br><br><div class="gmail_quote">El 26 de septiembre de 2011 14:44, Cèsar Ordiñana <span dir="ltr"><<a href="mailto:cordinyana@gvsig.com" target="_blank">cordinyana@gvsig.com</a>></span> escribió:<div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><u></u>
<div bgcolor="#ffffff" text="#000000">
El 26/09/11 10:20, Jordi Torres escribió:
<div><blockquote type="cite">Hi Cesar, <br>
<br>
Thanks for your quick answer. <br>
<br>
When I say "update the sources" I refer to svn up in gvSIG 2.0
sources. I am running maven in the console, and it is when
compiling gvSIG 2.0, not my project. Jesus and me are experiencing
the same problem <br>
when we update the gvSIG 2.0 sources. When we clean the project we
can compile it all, but is a little time-consuming task. <br>
<br>
Correct me if I am wrong, Is not error stack trace (-e option)
activated by default? Anyway next time I get the error I will
paste the build log. <br>
</blockquote>
<br></div>
Hi Jordi,<br>
<br>
No, the -e option is not activated by default in maven. I don't know
why, because it is a very useful information, maybe it is too much
verbose in some cases. I enabled it by default in the launchers
provided to integrate maven in eclipse for the gvSIG projects, I
think it is worth it.<div><div></div><div><br>
<br>
Regards,<br>
<pre cols="72">--
Cèsar Ordiñana Navarro
gvSIG software architect
DiSiD Technologies (<a href="http://www.disid.com" target="_blank">http://www.disid.com</a>)</pre>
<br>
<br>
<blockquote type="cite">
<br>
Thank you again. <br>
<br>
<br>
<br>
<div class="gmail_quote">El 26 de septiembre de 2011 10:10, Cèsar
Ordiñana <span><<a href="mailto:cordinyana@gvsig.com" target="_blank">cordinyana@gvsig.com</a>></span>
escribió:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
El 26/09/11 09:54, Jordi Torres escribió:<br>
<div>> Hi all,<br>
><br>
> I am getting a strange build error every time I update
the sources,<br>
> the error is:<br>
><br>
> [ERROR] BUILD ERROR<br>
> [INFO]<br>
>
------------------------------------------------------------------------<br>
> [INFO] Error getting a MakePluginPackageService for the
plugin<br>
> folder: {**}../build/product/gvSIG/extensiones<br>
><br>
> Embedded error: Exception creating the installer
service to create<br>
> installers<br>
><br>
> Any clue?<br>
<br>
</div>
Hi Jordi,<br>
<br>
Could you explain a bit more what you mean with "update the
sources"?<br>
Maybe you are using the eclipse maven plugin, or running maven
in the<br>
process?<br>
<br>
It seems an error related with our installer maven plugin.
Could you run<br>
maven in your project with stack traces enabled and attach the
result?<br>
(mvn -e install)<br>
<br>
Regards,<br>
<br>
--<br>
Cèsar Ordiñana Navarro<br>
gvSIG software architect<br>
DiSiD Technologies (<a href="http://www.disid.com" target="_blank">http://www.disid.com</a>)<br>
<div><br>
<br>
><br>
> Thanks.<br>
><br>
> --<br>
> Jordi Torres Fabra<br>
><br>
> gvSIG 3D blog<br>
> <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> Instituto de Automática e Informática Industrial<br>
> <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
><br>
</div>
_______________________________________________<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>
</blockquote>
</div>
<br>
<br>
<br>
-- <br>
Jordi Torres Fabra<br>
<br>
gvSIG 3D blog<br>
<a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
Instituto de Automática e Informática Industrial <br>
<a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
<pre><fieldset></fieldset>
</pre>
</blockquote>
<br>
</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></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Jordi Torres Fabra<br><br>gvSIG 3D blog<br><a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
Instituto de Automática e Informática Industrial <br>
<a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jordi Torres Fabra<br><br>gvSIG 3D blog<br><a href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>Instituto de Automática e Informática Industrial <br>
<a href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>