<!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">
    Thanks Jordi!!<br>
    <br>
    From the build log information it seems the "version" property of
    the package.info file is not being parsed and is read as null. <br>
    <br>
    I haven't been able to reproduce the error, but it seems there is an
    uncovered case here. Maybe the package.info for the
    org.gvsig.coreplugin plugin was previously generated with errors and
    the parser wasn't able to load it, reading a null for the version
    property.<br>
    <br>
    Anyway, just in case I have added a null check, so at least it
    doesn't fail next time.<br>
    <br>
    Regards,<br>
    <pre class="moz-signature" cols="72">-- 
C&egrave;sar Ordi&ntilde;ana Navarro
gvSIG software architect
DiSiD Technologies (<a class="moz-txt-link-freetext" href="http://www.disid.com">http://www.disid.com</a>)</pre>
    <br>
    <br>
    El 03/10/11 10:27, Jordi Torres escribi&oacute;:
    <blockquote
cite="mid:CAM4StfAJqk5D4HYr0+Dkv7b6bX-TQwdUgJZVRxfEsD3djZLe9Q@mail.gmail.com"
      type="cite">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>&lt;<a
            moz-do-not-send="true" href="mailto:jtorresfabra@gmail.com">jtorresfabra@gmail.com</a>&gt;</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] &nbsp;&nbsp;&nbsp; Plugin name: Skin management framework<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin description: This is the extension that
          provide the basic skin to<br>
          &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; gvsig<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin version: 2.0-SNAPSHOT<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin build number: 2035<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin state: devel<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin official: true<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin operatingSystem: all<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin architecture: all<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin javaVM: j1_5<br>
          [INFO] &nbsp;&nbsp;&nbsp; Plugin gvSIGVersion: 2.0.0<br>
          [INFO] &nbsp;&nbsp;&nbsp; gvSIG Plugin's folder:
/home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>
          [INFO] &nbsp;&nbsp;&nbsp; Package info folder:
          /home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin<br>
          [INFO] &nbsp;&nbsp;&nbsp; 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&nbsp;
          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&nbsp; plugin folder:
/home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)<br>
          &nbsp;&nbsp;&nbsp; at
          org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br>
          &nbsp;&nbsp;&nbsp; at
          org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br>
          &nbsp;&nbsp;&nbsp; at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br>
          &nbsp;&nbsp;&nbsp; at
          org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)<br>
          &nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
          Method)<br>
          &nbsp;&nbsp;&nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
          &nbsp;&nbsp;&nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
          &nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:597)<br>
          &nbsp;&nbsp;&nbsp; at
          org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br>
          &nbsp;&nbsp;&nbsp; at
          org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br>
          &nbsp;&nbsp;&nbsp; at
          org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)<br>
          &nbsp;&nbsp;&nbsp; at
          org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br>
          Caused by: org.apache.maven.plugin.MojoExecutionException:
          Error getting a MakePluginPackageService for the&nbsp; plugin
          folder:
/home/jtorres/Projects/GIS/gvSIG/gvSIG-2.0/gvsig-sources/libCorePlugin/../build/product/gvSIG/extensiones<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.maven.GeneratePackageInfoMojo.execute(GeneratePackageInfoMojo.java:264)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)<br>
          &nbsp;&nbsp;&nbsp; at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)<br>
          &nbsp;&nbsp;&nbsp; ... 17 more<br>
          Caused by:
          org.gvsig.installer.lib.api.creation.MakePluginPackageServiceException:
          Exception creating the installer service to create installers<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.DefaultInstallerManager.getMakePluginPackageService(DefaultInstallerManager.java:108)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.maven.GeneratePackageInfoMojo.execute(GeneratePackageInfoMojo.java:237)<br>
          &nbsp;&nbsp;&nbsp; ... 19 more<br>
          Caused by: java.lang.reflect.InvocationTargetException<br>
          &nbsp;&nbsp;&nbsp; at
          sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
          Method)<br>
          &nbsp;&nbsp;&nbsp; at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)<br>
          &nbsp;&nbsp;&nbsp; at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)<br>
          &nbsp;&nbsp;&nbsp; at
          java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.tools.extensionpoint.impl.DefaultExtensionPointManager.createObject(DefaultExtensionPointManager.java:214)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.tools.extensionpoint.impl.DefaultExtensionPointManager.create(DefaultExtensionPointManager.java:59)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.tools.extensionpoint.impl.DefaultExtensionPoint$Extension.create(DefaultExtensionPoint.java:99)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.tools.extensionpoint.impl.DefaultExtensionPoint.create(DefaultExtensionPoint.java:267)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.DefaultInstallerManager.getMakePluginPackageService(DefaultInstallerManager.java:105)<br>
          &nbsp;&nbsp;&nbsp; ... 20 more<br>
          Caused by: java.lang.NullPointerException<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.DefaultVersion.parse(DefaultVersion.java:32)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.DefaultPackageInfo.setVersion(DefaultPackageInfo.java:133)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:115)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:82)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.info.InstallerInfoFileReader.read(InstallerInfoFileReader.java:64)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.DefaultInstallerProviderServices.readPackageInfo(DefaultInstallerProviderServices.java:114)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.creation.DefaultMakePluginPackageService.initialize(DefaultMakePluginPackageService.java:116)<br>
          &nbsp;&nbsp;&nbsp; at
org.gvsig.installer.lib.impl.creation.DefaultMakePluginPackageService.&lt;init&gt;(DefaultMakePluginPackageService.java:91)<br>
          &nbsp;&nbsp;&nbsp; ... 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>
          &nbsp; <br>
          <br>
          <br>
          <div class="gmail_quote">El 26 de septiembre de 2011 14:44,
            C&egrave;sar Ordi&ntilde;ana <span>&lt;<a moz-do-not-send="true"
                href="mailto:cordinyana@gvsig.com">cordinyana@gvsig.com</a>&gt;</span>
            escribi&oacute;:
            <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;">
                  <div> El 26/09/11 10:20, Jordi Torres escribi&oacute;:
                    <div>
                      <blockquote>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.&nbsp; <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><br>
                        <br>
                        Regards,<br>
                        <pre>-- 
C&egrave;sar Ordi&ntilde;ana Navarro
gvSIG software architect
DiSiD Technologies (<a moz-do-not-send="true" href="http://www.disid.com">http://www.disid.com</a>)</pre>
                        <br>
                        <br>
                        <blockquote> <br>
                          Thank you again. <br>
                          <br>
                          <br>
                          <br>
                          <div class="gmail_quote">El 26 de septiembre
                            de 2011 10:10, C&egrave;sar Ordi&ntilde;ana <span>&lt;<a
                                moz-do-not-send="true"
                                href="mailto:cordinyana@gvsig.com">cordinyana@gvsig.com</a>&gt;</span>
                            escribi&oacute;:<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&oacute;:<br>
                              <div>&gt; Hi all,<br>
                                &gt;<br>
                                &gt; I am getting a strange build error
                                every time I update the sources,<br>
                                &gt; the error is:<br>
                                &gt;<br>
                                &gt; [ERROR] BUILD ERROR<br>
                                &gt; [INFO]<br>
                                &gt;
                                ------------------------------------------------------------------------<br>
                                &gt; [INFO] Error getting a
                                MakePluginPackageService for the &nbsp;plugin<br>
                                &gt; folder:
                                {**}../build/product/gvSIG/extensiones<br>
                                &gt;<br>
                                &gt; Embedded error: Exception creating
                                the installer service to create<br>
                                &gt; installers<br>
                                &gt;<br>
                                &gt; 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&egrave;sar Ordi&ntilde;ana Navarro<br>
                              gvSIG software architect<br>
                              DiSiD Technologies (<a
                                moz-do-not-send="true"
                                href="http://www.disid.com">http://www.disid.com</a>)<br>
                              <div><br>
                                <br>
                                &gt;<br>
                                &gt; Thanks.<br>
                                &gt;<br>
                                &gt; --<br>
                                &gt; Jordi Torres Fabra<br>
                                &gt;<br>
                                &gt; gvSIG 3D blog<br>
                                &gt; <a moz-do-not-send="true"
                                  href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>
                                &gt; Instituto de Autom&aacute;tica e
                                Inform&aacute;tica Industrial<br>
                                &gt; <a moz-do-not-send="true"
                                  href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>
                                &gt;<br>
                              </div>
_______________________________________________<br>
                              Gvsig_internacional mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
                              <a moz-do-not-send="true"
href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">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 moz-do-not-send="true"
                            href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>
                          Instituto de Autom&aacute;tica e Inform&aacute;tica
                          Industrial <br>
                          <a moz-do-not-send="true"
                            href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>
                          <pre><fieldset></fieldset>
</pre>
                        </blockquote>
                        <br>
                      </div>
                    </div>
                  </div>
                  <br>
                  _______________________________________________<br>
                  Gvsig_internacional mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
                  <a moz-do-not-send="true"
href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
          <div>
            <div class="h5"><br>
              <br>
              <br>
              -- <br>
              Jordi Torres Fabra<br>
              <br>
              gvSIG 3D blog<br>
              <a moz-do-not-send="true"
                href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>
              Instituto de Autom&aacute;tica e Inform&aacute;tica Industrial <br>
              <a moz-do-not-send="true" href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <br>
      -- <br>
      Jordi Torres Fabra<br>
      <br>
      gvSIG 3D blog<br>
      <a moz-do-not-send="true" href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>
      Instituto de Autom&aacute;tica e Inform&aacute;tica Industrial <br>
      <a moz-do-not-send="true" href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>