Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-incubating
    • Fix Version/s: 1.4-incubating
    • Component/s: Repository
    • Labels:
      None
    • Codeplex ID:
      10841

      Description

      As discussed on http://npanday.codeplex.com/WorkItem/View.aspx?WorkItemId=10557

      brettporter wrote Oct 16 at 7:47 AM
      "I think adding configuration parameters to relocate uac and pab is overkill considering that the time would be better invested in removing their use."

      This would allow NPanday to function using only the normal Maven local repository.

        Issue Links

          Activity

          Hide
          Lars Corneliussen added a comment -

          The almost silent catch was introduced here. Not good.

          Show
          Lars Corneliussen added a comment - The almost silent catch was introduced here. Not good.
          Lars Corneliussen made changes -
          Link This issue breaks NPANDAY-385 [ NPANDAY-385 ]
          Lars Corneliussen made changes -
          Link This issue is related to NPANDAY-398 [ NPANDAY-398 ]
          Hide
          Lars Corneliussen added a comment -

          I think this hangs together.

          Show
          Lars Corneliussen added a comment - I think this hangs together.
          Lars Corneliussen made changes -
          Link This issue is related to NPANDAY-422 [ NPANDAY-422 ]
          Brett Porter made changes -
          Affects Version/s 1.3.1-incubating [ 12316271 ]
          Affects Version/s 1.3-incubating [ 12315579 ]
          Fix Version/s 1.3.1-incubating [ 12316271 ]
          Fix Version/s 1.3-incubating [ 12315579 ]
          Brett Porter made changes -
          Affects Version/s 1.3-incubating [ 12315579 ]
          Affects Version/s 2.0 [ 12315416 ]
          Joe Ocaba made changes -
          Fix Version/s 1.3-incubating [ 12315579 ]
          Fix Version/s 2.0 [ 12315416 ]
          Luca Di Stefano made changes -
          Link This issue is related to NPANDAY-339 [ NPANDAY-339 ]
          Joe Ocaba made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Joe Ocaba added a comment -

          Merged UAC and PAB removal branch to trunk.

          trunk now uses the maven convention repository. However there could be an issue with building Npanday from a fresh repo, because it is no longer being built by an older released version. I think we can avoid this once we can do a release containing this fix.

          Show
          Joe Ocaba added a comment - Merged UAC and PAB removal branch to trunk. trunk now uses the maven convention repository. However there could be an issue with building Npanday from a fresh repo, because it is no longer being built by an older released version. I think we can avoid this once we can do a release containing this fix.
          Hide
          Joe Ocaba added a comment -

          Found the issue with the file size zero. There was a problem int he PathUtil.java

          I'm now experiencing this error,

          [INFO] Unhandled Exception: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "NPanday.Plugin.MojoGenerator.resources" was correctly embedded or linked into assembly "NPanday.Plugin.MojoGenerator"
          at compile time, or that all the satellite assemblies required are loadable and fully signed.
          [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
          [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
          [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
          [INFO] at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
          [INFO] at System.Resources.ResourceManager.GetObject(String name)
          [INFO] at NPanday.Plugin.MojoGenerator.Generator.BuildPluginProject(AppDomain applicationDomain, FileInfo pluginArtifact, FileInfo outputDirectory, String groupId, String artifactId, String version)
          [INFO] at NPanday.Plugin.MojoGenerator.Generator.Main(String[] args)
          NPanday: End Process = 10/15/2010 3:04:24 PM; exit code = -532459699
          [INFO] ------------------------------------------------------------------------

          still under the plugins/netplugins module

          I'll double check the other resource building modules

          Show
          Joe Ocaba added a comment - Found the issue with the file size zero. There was a problem int he PathUtil.java I'm now experiencing this error, [INFO] Unhandled Exception: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "NPanday.Plugin.MojoGenerator.resources" was correctly embedded or linked into assembly "NPanday.Plugin.MojoGenerator" at compile time, or that all the satellite assemblies required are loadable and fully signed. [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [INFO] at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) [INFO] at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream) [INFO] at System.Resources.ResourceManager.GetObject(String name) [INFO] at NPanday.Plugin.MojoGenerator.Generator.BuildPluginProject(AppDomain applicationDomain, FileInfo pluginArtifact, FileInfo outputDirectory, String groupId, String artifactId, String version) [INFO] at NPanday.Plugin.MojoGenerator.Generator.Main(String[] args) NPanday: End Process = 10/15/2010 3:04:24 PM; exit code = -532459699 [INFO] ------------------------------------------------------------------------ still under the plugins/netplugins module I'll double check the other resource building modules
          Hide
          Joe Ocaba added a comment -

          There is a problem with building the npanday system from scratch. If I would build from the specific branches like the dotnet/assemblies/ the output in the target directory is correct as well as the one in the .m2/repository/ however when It comes up to the plugins/netplugins it seems that it is copying 0 size files from the needed dependencies i.e. NPanday.Logging.dll has a file size of zero.

          With this error message:

          Embedded error: NPANDAY-063-000: Execution Path = C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin, Command = [targetAssemblyFile=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin\target\NPanday.Plugin.Ad
          din.dll, outputDirectory=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin, groupId=npanday.plugin, artifactId=NPanday.Plugin.Addin, artifactVersion=1.2.2-incubating-SNAPSHOT, startProcessAssembly=C:\Projects\apache-npanday-incubator\branches\n
          panday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.MojoGenerator.exe, pluginArtifactPath=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.dll]
          NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C NPanday.Plugin.Runner.exe targetAssemblyFile=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin\target\NPanday.Plugin.Addin.dll outputDirectory=C:\Projects\apache-npanday-incubator\bran
          ches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin groupId=npanday.plugin artifactId=NPanday.Plugin.Addin artifactVersion=1.2.2-incubating-SNAPSHOT startProcessAssembly=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.MojoGenerator
          .exe pluginArtifactPath=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.dll, Result = 1

          any ideas on which part may be missing?

          thanks,

          Show
          Joe Ocaba added a comment - There is a problem with building the npanday system from scratch. If I would build from the specific branches like the dotnet/assemblies/ the output in the target directory is correct as well as the one in the .m2/repository/ however when It comes up to the plugins/netplugins it seems that it is copying 0 size files from the needed dependencies i.e. NPanday.Logging.dll has a file size of zero. With this error message: Embedded error: NPANDAY-063 -000: Execution Path = C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin, Command = [targetAssemblyFile=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin\target\NPanday.Plugin.Ad din.dll, outputDirectory=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin, groupId=npanday.plugin, artifactId=NPanday.Plugin.Addin, artifactVersion=1.2.2-incubating-SNAPSHOT, startProcessAssembly=C:\Projects\apache-npanday-incubator\branches\n panday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.MojoGenerator.exe, pluginArtifactPath=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.dll] NPANDAY-040 -001: Could not execute: Command = CMD.EXE /X /C NPanday.Plugin.Runner.exe targetAssemblyFile=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin\target\NPanday.Plugin.Addin.dll outputDirectory=C:\Projects\apache-npanday-incubator\bran ches\npanday-uac-removed\plugins\netplugins\NPanday.Plugin.Addin groupId=npanday.plugin artifactId=NPanday.Plugin.Addin artifactVersion=1.2.2-incubating-SNAPSHOT startProcessAssembly=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.MojoGenerator .exe pluginArtifactPath=C:\Projects\apache-npanday-incubator\branches\npanday-uac-removed\plugins\netplugins\bin\NPanday.Plugin.dll, Result = 1 any ideas on which part may be missing? thanks,
          Hide
          Joe Ocaba added a comment -

          Intial fix for the removal of the uac and pab directories.

          the output is already in the maven covention default repository.

          however there is a problem with the npanday.plugin.runner.exe

          since its unable to use the target directory as the holder of dependencies.

          Show
          Joe Ocaba added a comment - Intial fix for the removal of the uac and pab directories. the output is already in the maven covention default repository. however there is a problem with the npanday.plugin.runner.exe since its unable to use the target directory as the holder of dependencies.
          Joe Ocaba made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Joe Ocaba made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Assignee Joe Ocaba [ jocaba ]
          Fix Version/s 2.0 [ 12315416 ]
          Fix Version/s Backlog [ 12315408 ]
          Affects Version/s 2.0 [ 12315416 ]
          Priority Minor [ 4 ] Major [ 3 ]
          Component/s Repository [ 12313784 ]
          Wendy Smoak created issue -

            People

            • Assignee:
              Joe Ocaba
              Reporter:
              Wendy Smoak
            • Votes:
              5 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development