Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-341

command execution fails if paths with space

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.4-incubating
    • Component/s: Maven Plugins
    • Labels:
      None
    • Environment:

      linux
      mono

      Description

      I know linux environment is not yet supported.
      Only for keep trace.

      Error: Could not find a part of the path "/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/"/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/SharpForge".
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] NPANDAY-1501-002: Unable to execute resgen: Vendor = MONO, frameworkVersion = null

      Embedded error: NPANDAY-070-000: Execution Path = unknown, Command = [/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/SharpForge ListPage Template1.resx, /home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/target/assembly-resources/resource/it.bz.prov.Apps.SharpForgeNPandayTestApp..SharpForge ListPage Template1.resources]
      NPANDAY-040-001: Could not execute: Command = resgen "/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/SharpForge ListPage Template1.resx" "/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/target/assembly-resources/resource/it.bz.prov.Apps.SharpForgeNPandayTestApp..SharpForge ListPage Template1.resources", Result = 1
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.lifecycle.LifecycleExecutionException: NPANDAY-1501-002: Unable to execute resgen: Vendor = MONO, frameworkVersion = null
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.MojoExecutionException: NPANDAY-1501-002: Unable to execute resgen: Vendor = MONO, frameworkVersion = null
      at npanday.plugin.resgen.ExistingResxGenerator.execute(ExistingResxGenerator.java:594)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      ... 17 more
      Caused by: npanday.executable.ExecutionException: NPANDAY-070-000: Execution Path = unknown, Command = [/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/SharpForge ListPage Template1.resx, /home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/target/assembly-resources/resource/it.bz.prov.Apps.SharpForgeNPandayTestApp..SharpForge ListPage Template1.resources]
      at npanday.executable.impl.DefaultNetExecutable.execute(DefaultNetExecutable.java:102)
      at npanday.plugin.resgen.ExistingResxGenerator.generate(ExistingResxGenerator.java:510)
      at npanday.plugin.resgen.ExistingResxGenerator.doSatelliteResources(ExistingResxGenerator.java:528)
      at npanday.plugin.resgen.ExistingResxGenerator.execute(ExistingResxGenerator.java:560)
      ... 19 more
      Caused by: npanday.executable.ExecutionException: NPANDAY-040-001: Could not execute: Command = resgen "/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/SharpForge ListPage Template1.resx" "/home/luca/Work/egov/trash/dotnet/SharpForgeNPandayTestApp/SharpForgeNPandayTestApp/target/assembly-resources/resource/it.bz.prov.Apps.SharpForgeNPandayTestApp..SharpForge ListPage Template1.resources", Result = 1
      at npanday.executable.CommandExecutor$Factory$1.executeCommand(CommandExecutor.java:371)
      at npanday.executable.impl.DefaultNetExecutable.execute(DefaultNetExecutable.java:98)
      ... 22 more

        Attachments

        1. 341.patch
          2 kB
          Adelita Padilla
        2. NPANDAY-341.zip
          151 kB
          Luca Di Stefano
        3. ASF.LICENSE.NOT.GRANTED--dotnet-executable_whitespaces-2.patch
          2 kB
          Luca Di Stefano
        4. ASF.LICENSE.NOT.GRANTED--dotnet-executable_whitespaces-1.patch
          0.9 kB
          Luca Di Stefano

          Issue Links

            Activity

              People

              • Assignee:
                apadilla Adelita Padilla
                Reporter:
                lucadistefano Luca Di Stefano
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: