Yes, I did.

I'm using a custom value for that node you mentioned:

<localRepository>C:\repository</localRepository>

Regards, Ricardo.

-----Original Message-----
From: Brett Porter [mailto:[email protected]] On Behalf Of Brett Porter
Sent: Sunday, November 21, 2010 9:43 PM
To: [email protected]
Subject: Re: Troubles to compile my first project with npanday

It looks like something is wrong with the localRepository being used - it's 
using c:\pab, etc. Did you alter your Maven settings.xml?

On 20/11/2010, at 11:17 AM, Bordon, Ricardo J wrote:

> I've executed the 'mvn compile -e' command and I've got this error stack 
> trace, maybe it helps to find out what it's the trouble:
> 
> [ERROR] Failed to execute goal 
> npanday.plugin:NPanday.Plugin.Settings.JavaBinding:1.2.1:generate-settings 
> (default-generate-settings) on project NPandayTestQS:NPANDAY-xxx-000: 
> NPANDAY-063-000: Execution Path = 
> C:\pab\gac_msil\NPanday.Plugin.Runner\1.2.1__npanday.plugin, Command = 
> [parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin7488794816705394101.xml,
>  
> assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll,
>  mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo, 
> startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe]:
>  NPANDAY-040-001: Could not execute: Command = cmd.exe /X /C 
> ""NPanday.Plugin.Runner.exe 
> parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin7488794816705394101.xml
>  
> assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll
>  ojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo 
> startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe"",
>  Result = 1 -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal 
> npanday.plugin:NPanday.Plugin.Settings.JavaBinding:1.2.1:generate-settings 
> (default-generate-settings) on project NPandayTestQS: NPANDAY-xxx-000
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>        at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>        at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>        at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>        at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: NPANDAY-xxx-000
>        at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:169)
>        at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>        at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>        ... 19 more
> Caused by: npanday.executable.ExecutionException: NPANDAY-063-000: Execution 
> Path = C:\pab\gac_msil\NPanday.Plugin.Runner\1.2.1__npanday.plugin, Command = 
> [parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin7488794816705394101.xml,assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll,
>  
> mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo,startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe]
>        at 
> npanday.executable.impl.DefaultRepositoryNetExecutable.execute(DefaultRepositoryNetExecutable.java:97)
>        at npanday.plugin.AbstractMojo.execute(AbstractMojo.java:159)
>        ... 21 more
> Caused by: npanday.executable.ExecutionException: NPANDAY-040-001: Could not 
> execute: Command = cmd.exe /X /C ""NPanday.Plugin.Runner.exe 
> parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin7488794816705394101.xml
>  
> assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll
>  mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo 
> startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe"",
>  Result = 1
>        at 
> npanday.executable.CommandExecutor$Factory$1.executeCommand(CommandExecutor.java:371)
>        at 
> npanday.executable.impl.DefaultRepositoryNetExecutable.execute(DefaultRepositoryNetExecutable.java:93)
>        ... 22 more
> [ERROR]
> 
> Regards, Ricardo.
> 
> -----Original Message-----
> From: Bordon, Ricardo J [mailto:[email protected]] 
> Sent: Friday, November 19, 2010 8:45 AM
> To: [email protected]
> Subject: RE: Troubles to compile my first project with npanday
> 
> Hi,
> 
> Thank you for your reply...
> 
> 
> I've installed npanday using the msi located at codeplex 
> (http://npanday.codeplex.com/releases/view/47408#DownloadId=149106), and my 
> environment look like this:
> 
> OS: Windows Server 2008 R2 Enterprise (64-bit OS)
> Maven: 3.0
> Java: 1.6.0_19
> .Net Framework: 3.5 SP1
> Visual Studio: 2008
> PATH: 
> C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
>  Files\System Center Operations Manager 2007\;C:\Program 
> Files\TortoiseSVN\bin;c:\Program Files (x86)\Microsoft SQL 
> Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL 
> Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft 
> SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL 
> Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL 
> Server\100\DTS\Binn\;C:\NAnt\nant-0.85\bin;C:\Program 
> Files\PSTools;C:\Program Files (x86)\SlikSvn\bin\;C:\Program Files 
> (x86)\openssl-0.9.8h-1-bin\bin;C:\Program 
> Files\Java\jdk1.6.0_19\bin;C:\Program 
> Files\Bamboo\apache-maven-3.0\bin;c:\Program Files (x86)\Microsoft Visual 
> Studio 9.0\Common7\IDE;c:\Program Files (x86)\Microsoft Visual Studio 
> 9.0\VC\BIN;c:\Program Files (x86)\Microsoft Visual Studio 
> 9.0\Common7\Tools;c:\Windows\Microsoft.NET\Framework\v3.5;c:\Windows\Microsoft.NET\Framework\v2.0.50727;c:\Program
>  Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program 
> Files\Microsoft SDKs\Windows\v6.0A\bin
> 
> Regards, Ricardo.
> 
> -----Original Message-----
> From: Josimpson Ocaba [mailto:[email protected]] 
> Sent: Thursday, November 18, 2010 8:56 PM
> To: [email protected]
> Subject: Re: Troubles to compile my first project with npanday
> 
> 
> ----- "Ricardo J Bordon" <[email protected]> wrote:
> 
>> Hi guys,
>> 
>> I've just installed and configured my first VS project using npanday,
>> but when I want to compile it  I get this error message:
>> 
>> [ERROR] Failed to execute goal
>> npanday.plugin:NPanday.Plugin.Settings.JavaBinding:1.2.1:generate-settings
>> (default-generate-settings) on project NPandayTestQS: NPANDAY-xxx-000:
>> NPANDAY-063-000: Execution Path =
>> C:\pab\gac_msil\NPanday.Plugin.Runner\1.2.1__npanday.plugin, Command =
>> [parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin5808245484818577197.xml,
>> assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll,
>> mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo,
>> startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe]:
>> NPANDAY-040-001: Could not execute: Command = cmd.exe /X /C
>> ""NPanday.Plugin.Runner.exe
>> parameterFile=C:\Users\{USER_PROFILE}\AppData\Local\Temp\3\Plugin5808245484818577197.xml
>> assemblyFile=C:\pab\gac_msil\NPanday.Plugin.Settings\1.2.1__npanday.plugin\NPanday.Plugin.Settings.dll
>> mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo
>> startProcessAssembly=C:\pab\gac_msil\NPanday.Plugin.Loader\1.2.1__npanday.plugin\NPanday.Plugin.Loader.exe"",
>> Result = 1 -> [Help 1]
>> 
>> Perhaps I've missed a configuration step or something like this, can
>> you help me?
>> 
>> Thanks in advance, Ricardo.
> 
> 
> Hi Ricardo,
> 
> Can you give us the method you used on installing npanday. Also the 
> environment that you are using (OS,Maven,Java,.NET framework,Visual Studio)
> and the environment variable path.
> 
> That will really help us in helping you.
> 
> Thanks,

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/




Reply via email to