|
|
|
Shinod K. Mohandas
|
Some javascript/style in this post has been disabled (why?)
Hi All, I was not using My OS: Windows XP Thanks and regards Shinod [INFO]
------------------------------------------------------------------------ [INFO] Building [INFO] task-segment: [install] [INFO]
------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.1.0 [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 [INFO] OS Info: Arch: x86 Family: windows Name: windows xp
Version: 5.1 [INFO] [localizer:generate {execution: default}] [INFO] [antlr:generate {execution: default}] [INFO] grammar:
D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g [INFO] The grammar is already generated [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [antrun-extended:run {execution: default}] [INFO] Executing tasks [echo] The build id is:
1.330-SNAPSHOT (private-10/23/2009 11:30-shinod.mohandas) [resolveArtifact] Copying C:\Documents and
Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win sw\1.8\winsw-1.8-bin.exe to
D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu dson.exe [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2401 resources [INFO] [stapler:apt-compile] [INFO] Compiling 562 source files to
D:\Hudson_Repository\Hudson1\main\core\target\classes [INFO]
------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO]
------------------------------------------------------------------------ [INFO] Compilation failure Failure executing javac, but could not parse the
error: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. [INFO]
------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure Failure executing javac, but could not parse the
error: 'C:\Program' is not recognized as an internal or external
command, operable program or batch file. at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor .java:699) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec ycleExecutor.java:540) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. java:519) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL ifecycleExecutor.java:371) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE xecutor.java:332) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :181) at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at
org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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.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.CompilationFailureException: Compilation failure Failure executing javac, but could not parse the
error: 'C:\Program' is not recognized as an internal or external
command, operable program or batch file. at
org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) at
org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) at
org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor .java:678) ... 16 more [INFO]
------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 [INFO] Final Memory: 45M/508M [INFO] ------------------------------------------------------------------------ |
||||||||||||||||
|
Richard Bywater
|
Hi
I'm guessing that your Hudson source is sitting somewhere under C:\Program Files\ Probably best to move it out of there as paths with spaces in can cause issue (e.g. move to C:\Hudson) Hope that helps. Richard. On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas <[hidden email]> wrote: > Hi All, > > I was not using Hudson for a while. Today I had updated the source and tried > to build. I am getting the below exception. When I do a text search for > 'C:\Program' , I don’t find it anywhere in the core module . Can anybody > help me to solve this? > > My OS: Windows XP > > > > Thanks and regards > > Shinod > > > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building Hudson core > > [INFO] task-segment: [install] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] [enforcer:enforce {execution: default}] > > [INFO] [enforcer:display-info {execution: default}] > > [INFO] Maven Version: 2.1.0 > > [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1 > > [INFO] [localizer:generate {execution: default}] > > [INFO] [antlr:generate {execution: default}] > > [INFO] grammar: > D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > > [INFO] The grammar is already generated > > [INFO] [remote-resources:process {execution: default}] > > [INFO] inceptionYear not specified, defaulting to 2009 > > [INFO] [antrun-extended:run {execution: default}] > > [INFO] Executing tasks > > [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 > 11:30-shinod.mohandas) > > [resolveArtifact] Copying C:\Documents and > Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > > sw\1.8\winsw-1.8-bin.exe to > D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu > > dson.exe > > [INFO] Executed tasks > > [INFO] [resources:resources] > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 2401 resources > > [INFO] [stapler:apt-compile] > > [INFO] Compiling 562 source files to > D:\Hudson_Repository\Hudson1\main\core\target\classes > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.BuildFailureException: Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > > .java:699) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > > ycleExecutor.java:540) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > > java:519) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > > ifecycleExecutor.java:371) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > > xecutor.java:332) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > > :181) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > > 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.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.CompilationFailureException: Compilation > failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) > > at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > > at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > > .java:678) > > ... 16 more > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 10 seconds > > [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > > [INFO] Final Memory: 45M/508M > > [INFO] > ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Shinod K. Mohandas
|
No.. That's not a issue... my Hudson source is in D: I am able to build cli,remoting... etc. only problem with core.. I took the latest from svn.. still facing the same problem.
Thanks and regards Shinod -----Original Message----- From: Sent: Friday, October 23, 2009 2:47 PM To: [hidden email] Subject: Re: Exception when building the core Hi I'm guessing that your Hudson source is sitting somewhere under C:\Program Files\ Probably best to move it out of there as paths with spaces in can cause issue (e.g. move to C:\Hudson) Hope that helps. Richard. On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas <[hidden email]> wrote: > Hi All, > > I was not using Hudson for a while. Today I had updated the source and tried > to build. I am getting the below exception. When I do a text search for > 'C:\Program' , I don't find it anywhere in the core module . Can anybody > help me to solve this? > > My OS: Windows XP > > > > Thanks and regards > > Shinod > > > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building Hudson core > > [INFO] task-segment: [install] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] [enforcer:enforce {execution: default}] > > [INFO] [enforcer:display-info {execution: default}] > > [INFO] Maven Version: 2.1.0 > > [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1 > > [INFO] [localizer:generate {execution: default}] > > [INFO] [antlr:generate {execution: default}] > > [INFO] grammar: > D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > > [INFO] The grammar is already generated > > [INFO] [remote-resources:process {execution: default}] > > [INFO] inceptionYear not specified, defaulting to 2009 > > [INFO] [antrun-extended:run {execution: default}] > > [INFO] Executing tasks > > [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 > 11:30-shinod.mohandas) > > [resolveArtifact] Copying C:\Documents and > Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > > sw\1.8\winsw-1.8-bin.exe to > D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu > > dson.exe > > [INFO] Executed tasks > > [INFO] [resources:resources] > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 2401 resources > > [INFO] [stapler:apt-compile] > > [INFO] Compiling 562 source files to > D:\Hudson_Repository\Hudson1\main\core\target\classes > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.BuildFailureException: Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > > .java:699) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > > ycleExecutor.java:540) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > > java:519) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > > ifecycleExecutor.java:371) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > > xecutor.java:332) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > > :181) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > > 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.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.CompilationFailureException: Compilation > failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) > > at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > > at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > > .java:678) > > ... 16 more > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 10 seconds > > [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > > [INFO] Final Memory: 45M/508M > > [INFO] > ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Richard Bywater
|
Ahh sorry just took another look - it appears you javac is in Program Files?
I suggest changing your JAVA_HOME and/or PATH to be C:\Progra~1 (or whatever short name you have for Program Files) Richard. On Fri, Oct 23, 2009 at 11:17 PM, Shinod K. Mohandas <[hidden email]> wrote: > No.. That's not a issue... my Hudson source is in D: I am able to build cli,remoting... etc. only problem with core.. I took the latest from svn.. still facing the same problem. > > Thanks and regards > Shinod > > -----Original Message----- > From: > Sent: Friday, October 23, 2009 2:47 PM > To: [hidden email] > Subject: Re: Exception when building the core > > Hi > > I'm guessing that your Hudson source is sitting somewhere under > C:\Program Files\ > > Probably best to move it out of there as paths with spaces in can > cause issue (e.g. move to C:\Hudson) > > Hope that helps. > > Richard. > > On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas > <[hidden email]> wrote: >> Hi All, >> >> I was not using Hudson for a while. Today I had updated the source and tried >> to build. I am getting the below exception. When I do a text search for >> 'C:\Program' , I don't find it anywhere in the core module . Can anybody >> help me to solve this? >> >> My OS: Windows XP >> >> >> >> Thanks and regards >> >> Shinod >> >> >> >> >> >> >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Building Hudson core >> >> [INFO] task-segment: [install] >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] [enforcer:enforce {execution: default}] >> >> [INFO] [enforcer:display-info {execution: default}] >> >> [INFO] Maven Version: 2.1.0 >> >> [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 >> >> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1 >> >> [INFO] [localizer:generate {execution: default}] >> >> [INFO] [antlr:generate {execution: default}] >> >> [INFO] grammar: >> D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g >> >> [INFO] The grammar is already generated >> >> [INFO] [remote-resources:process {execution: default}] >> >> [INFO] inceptionYear not specified, defaulting to 2009 >> >> [INFO] [antrun-extended:run {execution: default}] >> >> [INFO] Executing tasks >> >> [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 >> 11:30-shinod.mohandas) >> >> [resolveArtifact] Copying C:\Documents and >> Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win >> >> sw\1.8\winsw-1.8-bin.exe to >> D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu >> >> dson.exe >> >> [INFO] Executed tasks >> >> [INFO] [resources:resources] >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >> [INFO] Copying 2401 resources >> >> [INFO] [stapler:apt-compile] >> >> [INFO] Compiling 562 source files to >> D:\Hudson_Repository\Hudson1\main\core\target\classes >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD FAILURE >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Compilation failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external command, >> >> operable program or batch file. >> >> >> >> >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Trace >> >> org.apache.maven.BuildFailureException: Compilation failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external command, >> >> operable program or batch file. >> >> >> >> >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:699) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec >> >> ycleExecutor.java:540) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. >> >> java:519) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL >> >> ifecycleExecutor.java:371) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE >> >> xecutor.java:332) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java >> >> :181) >> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) >> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) >> >> 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.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.CompilationFailureException: Compilation >> failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external command, >> >> operable program or batch file. >> >> >> >> >> >> at >> org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) >> >> at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) >> >> at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) >> >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:678) >> >> ... 16 more >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: 10 seconds >> >> [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 >> >> [INFO] Final Memory: 45M/508M >> >> [INFO] >> ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Shinod K. Mohandas
|
Some javascript/style in this post has been disabled (why?)
Hi Richard, I tried, still facing the same issue. I am
able to build everything except the core. And I have no changes from the remote
repository. Is it a bug in maven... is it dependent on environment variable??? Thanks and regards Shinod -----Original Message----- Ahh sorry just took another look - it appears you javac is in Program
Files? I suggest changing your JAVA_HOME and/or PATH to be C:\Progra~1 (or whatever short name you have for Program Files) Richard. On Fri, Oct 23, 2009 at 11:17 PM, < > No.. That's not a issue... my Hudson source is in D: I am able to
build cli,remoting... etc. only problem with core.. I took the latest from
svn.. still facing the same problem. > > Thanks and regards > Shinod > > -----Original Message----- > From: > Sent: Friday, October 23, 2009 2:47 PM > To: > Subject: Re: Exception when building the core > > Hi > > I'm guessing that your > C:\Program Files\ > > Probably best to move it out of there as paths with spaces in can > cause issue (e.g. move to C:\Hudson) > > Hope that helps. > > Richard. > > On Fri, Oct 23, 2009 at 7:39 PM, > < >> Hi All, >> >> I was not using >> to build. I am getting the below exception. When I do a text
search for >> 'C:\Program' , I don't find it anywhere in the core
module . Can anybody >> help me to solve this? >> >> My OS: Windows XP >> >> >> >> Thanks and regards >> >> Shinod >> >> >> >> >> >> >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Building Hudson core >> >> [INFO] task-segment: [install] >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] [enforcer:enforce {execution: default}] >> >> [INFO] [enforcer:display-info {execution: default}] >> >> [INFO] Maven Version: 2.1.0 >> >> [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 >> >> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp
Version: 5.1 >> >> [INFO] [localizer:generate {execution: default}] >> >> [INFO] [antlr:generate {execution: default}] >> >> [INFO] grammar: >>
D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g >> >> [INFO] The grammar is already generated >> >> [INFO] [remote-resources:process {execution: default}] >> >> [INFO] inceptionYear not specified, defaulting to 2009 >> >> [INFO] [antrun-extended:run {execution: default}] >> >> [INFO] Executing tasks >> >> [echo] The build id is:
1.330-SNAPSHOT (private-10/23/2009 >> 11:30-shinod.mohandas) >> >> [resolveArtifact] Copying C:\Documents and >> Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win >> >> sw\1.8\winsw-1.8-bin.exe to >>
D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu >> >> dson.exe >> >> [INFO] Executed tasks >> >> [INFO] [resources:resources] >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> >> [INFO] Copying 2401 resources >> >> [INFO] [stapler:apt-compile] >> >> [INFO] Compiling 562 source files to >> D:\Hudson_Repository\Hudson1\main\core\target\classes >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [ERROR] BUILD FAILURE >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Compilation failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external
command, >> >> operable program or batch file. >> >> >> >> >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Trace >> >> org.apache.maven.BuildFailureException: Compilation failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external
command, >> >> operable program or batch file. >> >> >> >> >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:699) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec >> >> ycleExecutor.java:540) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. >> >> java:519) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL >> >> ifecycleExecutor.java:371) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE >> >> xecutor.java:332) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java >> >> :181) >> >> at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) >> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) >> >> at
org.apache.maven.cli.MavenCli.main(MavenCli.java:356) >> >> 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.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.CompilationFailureException: Compilation >> failure >> >> Failure executing javac, but could not parse the error: >> >> 'C:\Program' is not recognized as an internal or external
command, >> >> operable program or batch file. >> >> >> >> >> >> at >>
org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) >> >> at
org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) >> >> at
org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) >> >> at >>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) >> >> at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:678) >> >> ... 16 more >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Total time: 10 seconds >> >> [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 >> >> [INFO] Final Memory: 45M/508M >> >> [INFO] >>
------------------------------------------------------------------------ > >
--------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
justinedelson
|
In reply to this post
by Shinod K. Mohandas
Is JAVA_HOME set to c:\Program Files\<something> ? If so, move/copy the JDK to a directory without whitespace or set JAVA_HOME to the 8.3 version of the file name (dir /x should show this).
-----Original Message----- From: Shinod K. Mohandas [mailto:[hidden email]] Sent: Friday, October 23, 2009 6:17 AM To: Richard Bywater Cc: [hidden email] Subject: RE: Exception when building the core No.. That's not a issue... my Hudson source is in D: I am able to build cli,remoting... etc. only problem with core.. I took the latest from svn.. still facing the same problem. Thanks and regards Shinod -----Original Message----- From: Sent: Friday, October 23, 2009 2:47 PM To: [hidden email] Subject: Re: Exception when building the core Hi I'm guessing that your Hudson source is sitting somewhere under C:\Program Files\ Probably best to move it out of there as paths with spaces in can cause issue (e.g. move to C:\Hudson) Hope that helps. Richard. On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas <[hidden email]> wrote: > Hi All, > > I was not using Hudson for a while. Today I had updated the source and > tried to build. I am getting the below exception. When I do a text > search for 'C:\Program' , I don't find it anywhere in the core module > . Can anybody help me to solve this? > > My OS: Windows XP > > > > Thanks and regards > > Shinod > > > > > > > > [INFO] > ---------------------------------------------------------------------- > -- > > [INFO] Building Hudson core > > [INFO] task-segment: [install] > > [INFO] > ---------------------------------------------------------------------- > -- > > [INFO] [enforcer:enforce {execution: default}] > > [INFO] [enforcer:display-info {execution: default}] > > [INFO] Maven Version: 2.1.0 > > [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > > [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: > 5.1 > > [INFO] [localizer:generate {execution: default}] > > [INFO] [antlr:generate {execution: default}] > > [INFO] grammar: > D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > > [INFO] The grammar is already generated > > [INFO] [remote-resources:process {execution: default}] > > [INFO] inceptionYear not specified, defaulting to 2009 > > [INFO] [antrun-extended:run {execution: default}] > > [INFO] Executing tasks > > [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 > 11:30-shinod.mohandas) > > [resolveArtifact] Copying C:\Documents and > Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > > sw\1.8\winsw-1.8-bin.exe to > D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\ > hu > > dson.exe > > [INFO] Executed tasks > > [INFO] [resources:resources] > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 2401 resources > > [INFO] [stapler:apt-compile] > > [INFO] Compiling 562 source files to > D:\Hudson_Repository\Hudson1\main\core\target\classes > > [INFO] > ---------------------------------------------------------------------- > -- > > [ERROR] BUILD FAILURE > > [INFO] > ---------------------------------------------------------------------- > -- > > [INFO] Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > [INFO] > ---------------------------------------------------------------------- > -- > > [INFO] Trace > > org.apache.maven.BuildFailureException: Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau > ltLifecycleExecutor > > .java:699) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif > ecycle(DefaultLifec > > ycleExecutor.java:540) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > > java:519) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand > leFailures(DefaultL > > ifecycleExecutor.java:371) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment > s(DefaultLifecycleE > > xecutor.java:332) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif > ecycleExecutor.java > > :181) > > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > > at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > 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.CompilationFailureException: > Compilation failure > > Failure executing javac, but could not parse the error: > > 'C:\Program' is not recognized as an internal or external command, > > operable program or batch file. > > > > > > at > org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo. > java:508) > > at > org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > > at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin > Manager.java:483) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau > ltLifecycleExecutor > > .java:678) > > ... 16 more > > [INFO] > ---------------------------------------------------------------------- > -- > > [INFO] Total time: 10 seconds > > [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > > [INFO] Final Memory: 45M/508M > > [INFO] > ---------------------------------------------------------------------- > -- --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
justinedelson
|
In reply to this post
by Shinod K. Mohandas
Some javascript/style in this post has been disabled (why?)
Whoops. Sorry. I missed Richard's email. Perhaps running Maven
with -X will show you where the c:\Program Files bit is coming from. It's
definitely coming from somewhere.
Justin From: Shinod K. Mohandas [mailto:[hidden email]] Sent: Friday, October 23, 2009 6:56 AM To: Richard Bywater Cc: [hidden email] Subject: RE: Exception when building the core Hi Richard, I tried, still facing the same
issue. I am able to build everything except the core. And I have no changes from
the remote repository. Is it a bug in maven... is it dependent on environment
variable??? Thanks and
regards Shinod -----Original Message----- Ahh sorry just took another look - it appears you javac
is in Program Files? I suggest changing your JAVA_HOME and/or PATH to be
C:\Progra~1 (or whatever short name you have for Program
Files) Richard. On Fri, Oct 23, 2009 at 11:17 PM, < > No.. That's not a issue... my Hudson source is in
D: I am able to build cli,remoting... etc. only problem with core.. I took the
latest from svn.. still facing the same problem. > > Thanks and regards > Shinod > > -----Original
Message----- > From: > Sent: Friday, October 23, 2009 2:47
PM > To: > Subject: Re: Exception when building the
core > > Hi > > I'm guessing that your > C:\Program Files\ > > Probably best to move it out of there as paths with
spaces in can > cause issue (e.g. move to
C:\Hudson) > > Hope that helps. > > Richard. > > On Fri, Oct 23, 2009 at 7:39 PM, > < >> Hi All, >> >> I was not using >> to build. I am getting the below exception.
When I do a text search for >> 'C:\Program' , I don't find it anywhere
in the core module . Can anybody >> help me to solve
this? >> >> My OS: Windows XP >> >> >> >> Thanks and regards >> >> Shinod >> >> >> >> >> >> >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Building Hudson
core >> >> [INFO] task-segment:
[install] >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] [enforcer:enforce {execution:
default}] >> >> [INFO] [enforcer:display-info {execution:
default}] >> >> [INFO] Maven Version:
2.1.0 >> >> [INFO] JDK Version: 1.6.0_13 normalized as:
1.6.0-13 >> >> [INFO] OS Info: Arch: x86 Family: windows Name:
windows xp Version: 5.1 >> >> [INFO] [localizer:generate {execution:
default}] >> >> [INFO] [antlr:generate {execution:
default}] >> >> [INFO] grammar: >>
D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g >> >> [INFO] The grammar is already
generated >> >> [INFO] [remote-resources:process {execution:
default}] >> >> [INFO] inceptionYear not specified, defaulting
to 2009 >> >> [INFO] [antrun-extended:run {execution:
default}] >> >> [INFO] Executing
tasks >> >> [echo] The build id
is: 1.330-SNAPSHOT (private-10/23/2009 >>
11:30-shinod.mohandas) >> >> [resolveArtifact] Copying C:\Documents
and >>
Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win >> >> sw\1.8\winsw-1.8-bin.exe
to >>
D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu >> >> dson.exe >> >> [INFO] Executed
tasks >> >> [INFO]
[resources:resources] >> >> [INFO] Using 'UTF-8' encoding to copy filtered
resources. >> >> [INFO] Copying 2401
resources >> >> [INFO]
[stapler:apt-compile] >> >> [INFO] Compiling 562 source files
to >>
D:\Hudson_Repository\Hudson1\main\core\target\classes >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [ERROR] BUILD
FAILURE >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Compilation
failure >> >> Failure executing javac, but could not
parse the error: >> >> 'C:\Program' is not recognized as an internal
or external command, >> >> operable program or batch
file. >> >> >> >> >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Trace >> >> org.apache.maven.BuildFailureException:
Compilation failure >> >> Failure executing javac, but could not
parse the error: >> >> 'C:\Program' is not recognized as an internal
or external command, >> >> operable program or batch
file. >> >> >> >> >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:699) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec >> >>
ycleExecutor.java:540) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. >> >> java:519) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL >> >>
ifecycleExecutor.java:371) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE >> >> xecutor.java:332) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java >> >> :181) >> >> at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) >> >> at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) >> >> at
org.apache.maven.cli.MavenCli.main(MavenCli.java:356) >> >> 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.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.CompilationFailureException:
Compilation >> failure >> >> Failure executing javac, but could not
parse the error: >> >> 'C:\Program' is not recognized as an internal
or external command, >> >> operable program or batch
file. >> >> >> >> >> >>
at >>
org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) >> >> at
org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) >> >> at
org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) >> >>
at >>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) >> >>
at >>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor >> >> .java:678) >> >> ...
16 more >> >> [INFO] >>
------------------------------------------------------------------------ >> >> [INFO] Total time: 10
seconds >> >> [INFO] Finished at: Fri Oct 23 11:30:33 IST
2009 >> >> [INFO] Final Memory:
45M/508M >> >> [INFO] >>
------------------------------------------------------------------------ > >
--------------------------------------------------------------------- > To unsubscribe, e-mail:
[hidden email] > For additional commands, e-mail:
[hidden email] > > >
--------------------------------------------------------------------- > To unsubscribe, e-mail:
[hidden email] > For additional commands, e-mail:
[hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail:
[hidden email] For additional commands, e-mail:
[hidden email] |
||||||||||||||||
|
Kohsuke Kawaguchi
|
In reply to this post
by Shinod K. Mohandas
Shinod K. Mohandas wrote:
> Hi Richard, > > I tried, still facing the same issue. I am able to build everything > except the core. And I have no changes from the remote repository. Is it > a bug in maven... is it dependent on environment variable??? I'm looking at the code but I don't see how this code has a quote handling bug that causes this. Just to make sure, your JDK is somewhere in "c:\Program Files", right? > > > > Thanks and regards > > Shinod > > > > -----Original Message----- > From: Richard Bywater [mailto:[hidden email]] > Sent: Friday, October 23, 2009 3:53 PM > To: [hidden email] > Subject: Re: Exception when building the core > > > > Ahh sorry just took another look - it appears you javac is in Program Files? > > > > I suggest changing your JAVA_HOME and/or PATH to be C:\Progra~1 (or > > whatever short name you have for Program Files) > > > > Richard. > > > > On Fri, Oct 23, 2009 at 11:17 PM, Shinod K. Mohandas > > <[hidden email]> wrote: > >> No.. That's not a issue... my Hudson source is in D: I am able to build cli,remoting... etc. only problem with core.. I took the latest from svn.. still facing the same problem. > >> > >> Thanks and regards > >> Shinod > >> > >> -----Original Message----- > >> From: > >> Sent: Friday, October 23, 2009 2:47 PM > >> To: [hidden email] > >> Subject: Re: Exception when building the core > >> > >> Hi > >> > >> I'm guessing that your Hudson source is sitting somewhere under > >> C:\Program Files\ > >> > >> Probably best to move it out of there as paths with spaces in can > >> cause issue (e.g. move to C:\Hudson) > >> > >> Hope that helps. > >> > >> Richard. > >> > >> On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas > >> <[hidden email]> wrote: > >>> Hi All, > >>> > >>> I was not using Hudson for a while. Today I had updated the source and tried > >>> to build. I am getting the below exception. When I do a text search for > >>> 'C:\Program' , I don't find it anywhere in the core module . Can anybody > >>> help me to solve this? > >>> > >>> My OS: Windows XP > >>> > >>> > >>> > >>> Thanks and regards > >>> > >>> Shinod > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [INFO] Building Hudson core > >>> > >>> [INFO] task-segment: [install] > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [INFO] [enforcer:enforce {execution: default}] > >>> > >>> [INFO] [enforcer:display-info {execution: default}] > >>> > >>> [INFO] Maven Version: 2.1.0 > >>> > >>> [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > >>> > >>> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1 > >>> > >>> [INFO] [localizer:generate {execution: default}] > >>> > >>> [INFO] [antlr:generate {execution: default}] > >>> > >>> [INFO] grammar: > >>> D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > >>> > >>> [INFO] The grammar is already generated > >>> > >>> [INFO] [remote-resources:process {execution: default}] > >>> > >>> [INFO] inceptionYear not specified, defaulting to 2009 > >>> > >>> [INFO] [antrun-extended:run {execution: default}] > >>> > >>> [INFO] Executing tasks > >>> > >>> [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 > >>> 11:30-shinod.mohandas) > >>> > >>> [resolveArtifact] Copying C:\Documents and > >>> Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > >>> > >>> sw\1.8\winsw-1.8-bin.exe to > >>> D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu > >>> > >>> dson.exe > >>> > >>> [INFO] Executed tasks > >>> > >>> [INFO] [resources:resources] > >>> > >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >>> > >>> [INFO] Copying 2401 resources > >>> > >>> [INFO] [stapler:apt-compile] > >>> > >>> [INFO] Compiling 562 source files to > >>> D:\Hudson_Repository\Hudson1\main\core\target\classes > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [ERROR] BUILD FAILURE > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [INFO] Compilation failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [INFO] Trace > >>> > >>> org.apache.maven.BuildFailureException: Compilation failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >>> > >>> .java:699) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > >>> > >>> ycleExecutor.java:540) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > >>> > >>> java:519) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > >>> > >>> ifecycleExecutor.java:371) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > >>> > >>> xecutor.java:332) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > >>> > >>> :181) > >>> > >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > >>> > >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > >>> > >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > >>> > >>> 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.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.CompilationFailureException: Compilation > >>> failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> at > >>> org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) > >>> > >>> at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > >>> > >>> at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > >>> > >>> at > >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) > >>> > >>> at > >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >>> > >>> .java:678) > >>> > >>> ... 16 more > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >>> > >>> [INFO] Total time: 10 seconds > >>> > >>> [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > >>> > >>> [INFO] Final Memory: 45M/508M > >>> > >>> [INFO] > >>> ------------------------------------------------------------------------ > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > -- Kohsuke Kawaguchi Sun Microsystems http://weblogs.java.net/blog/kohsuke/ |
||||||||||||||||
|
Shinod K. Mohandas
|
Some javascript/style in this post has been disabled (why?)
Yes.. my jdk installed in C:\Program
Files\Java\jdk1.6.0_13 I am able to build cli, remoting..etc.. Only
core is failing. What could be the reason????? And I was able to build the core previously.
And I was not using Thanks and regards Shinod -----Original Message----- > Hi Richard, > > I tried, still facing the same issue. I am able to build
everything > except the core. And I have no changes from the remote repository.
Is it > a bug in maven... is it dependent on environment variable??? I'm looking at the code but I don't see how this code has a quote handling bug that causes this. Just to make sure, your JDK is somewhere in "c:\Program
Files", right? > > > > Thanks and regards > > Shinod > > > > -----Original Message----- > From: > Sent: Friday, October 23, 2009 3:53 PM > To: > Subject: Re: Exception when building the core > > > > Ahh sorry just took another look - it appears you javac is in
Program Files? > > > > I suggest changing your JAVA_HOME and/or PATH to be C:\Progra~1
(or > > whatever short name you have for Program Files) > > > > Richard. > > > > On Fri, Oct 23, 2009 at 11:17 PM, > > < > >> No.. That's not a issue... my Hudson source is in D: I am able
to build cli,remoting... etc. only problem with core.. I took the latest from
svn.. still facing the same problem. > >> > >> Thanks and regards > >> Shinod > >> > >> -----Original Message----- > >> From: > >> Sent: Friday, October 23, 2009 2:47 PM > >> To: > >> Subject: Re: Exception when building the core > >> > >> Hi > >> > >> I'm guessing that your > >> C:\Program Files\ > >> > >> Probably best to move it out of there as paths with spaces in
can > >> cause issue (e.g. move to C:\Hudson) > >> > >> Hope that helps. > >> > >> Richard. > >> > >> On Fri, Oct 23, 2009 at 7:39 PM, > >> < > >>> Hi All, > >>> > >>> I was not using > >>> to build. I am getting the below exception. When I do a
text search for > >>> 'C:\Program' , I don't find it anywhere in the core
module . Can anybody > >>> help me to solve this? > >>> > >>> My OS: Windows XP > >>> > >>> > >>> > >>> Thanks and regards > >>> > >>> Shinod > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [INFO] Building Hudson core > >>> > >>> [INFO] task-segment: [install] > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [INFO] [enforcer:enforce {execution: default}] > >>> > >>> [INFO] [enforcer:display-info {execution: default}] > >>> > >>> [INFO] Maven Version: 2.1.0 > >>> > >>> [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > >>> > >>> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp
Version: 5.1 > >>> > >>> [INFO] [localizer:generate {execution: default}] > >>> > >>> [INFO] [antlr:generate {execution: default}] > >>> > >>> [INFO] grammar: > >>>
D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > >>> > >>> [INFO] The grammar is already generated > >>> > >>> [INFO] [remote-resources:process {execution: default}] > >>> > >>> [INFO] inceptionYear not specified, defaulting to 2009 > >>> > >>> [INFO] [antrun-extended:run {execution: default}] > >>> > >>> [INFO] Executing tasks > >>> > >>> [echo] The build id is: 1.330-SNAPSHOT
(private-10/23/2009 > >>> 11:30-shinod.mohandas) > >>> > >>> [resolveArtifact] Copying C:\Documents and > >>> Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > >>> > >>> sw\1.8\winsw-1.8-bin.exe to > >>>
D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu > >>> > >>> dson.exe > >>> > >>> [INFO] Executed tasks > >>> > >>> [INFO] [resources:resources] > >>> > >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >>> > >>> [INFO] Copying 2401 resources > >>> > >>> [INFO] [stapler:apt-compile] > >>> > >>> [INFO] Compiling 562 source files to > >>> D:\Hudson_Repository\Hudson1\main\core\target\classes > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [ERROR] BUILD FAILURE > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [INFO] Compilation failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external
command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [INFO] Trace > >>> > >>> org.apache.maven.BuildFailureException: Compilation
failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external
command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >>> > >>> .java:699) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > >>> > >>> ycleExecutor.java:540) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > >>> > >>> java:519) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > >>> > >>> ifecycleExecutor.java:371) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > >>> > >>> xecutor.java:332) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > >>> > >>> :181) > >>> > >>> at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > >>> > >>> at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > >>> > >>> at
org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > >>> > >>> 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.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.CompilationFailureException: Compilation > >>> failure > >>> > >>> Failure executing javac, but could not parse the error: > >>> > >>> 'C:\Program' is not recognized as an internal or external
command, > >>> > >>> operable program or batch file. > >>> > >>> > >>> > >>> > >>> > >>> at > >>>
org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) > >>> > >>> at
org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > >>> > >>> at
org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > >>> > >>> at > >>>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) > >>> > >>> at > >>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >>> > >>> .java:678) > >>> > >>> ... 16 more > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >>> > >>> [INFO] Total time: 10 seconds > >>> > >>> [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > >>> > >>> [INFO] Final Memory: 45M/508M > >>> > >>> [INFO] > >>>
------------------------------------------------------------------------ > >> > >>
--------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > >>
--------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > > > >
--------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > -- Kohsuke Kawaguchi Sun Microsystems
http://weblogs.java.net/blog/kohsuke/ |
||||||||||||||||
|
szczepiq
|
I have the same problem. Here's the log:
[INFO] [stapler:apt-compile] [INFO] Compiling 5 source files to C:\projects\open-source\hudson\main\core\targ et\classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure Failure executing javac, but could not parse the error: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. My jdk lives in : C:\Program Files\Java\jdk1.6.0_06 It seems it's related to [stapler:apt-compile] Cheers, Szczepan Faber On Mon, Oct 26, 2009 at 12:20 PM, Shinod K. Mohandas <[hidden email]> wrote: > Yes.. my jdk installed in C:\Program Files\Java\jdk1.6.0_13 > > I am able to build cli, remoting..etc.. Only core is failing. What could be > the reason????? > > And I was able to build the core previously. And I was not using Hudson for > sometime. Then I updated my source and tried to build, I am getting this > error. > > > > Thanks and regards > > Shinod > > > > > > -----Original Message----- > From: Kohsuke Kawaguchi [mailto:[hidden email]] > Sent: Saturday, October 24, 2009 7:28 AM > To: [hidden email] > Cc: Richard Bywater > Subject: Re: Exception when building the core > > > > Shinod K. Mohandas wrote: > >> Hi Richard, > >> > >> I tried, still facing the same issue. I am able to build everything > >> except the core. And I have no changes from the remote repository. Is it > >> a bug in maven... is it dependent on environment variable??? > > > > I'm looking at the code but I don't see how this code has a quote > > handling bug that causes this. > > > > Just to make sure, your JDK is somewhere in "c:\Program Files", right? > > > >> > >> > >> > >> Thanks and regards > >> > >> Shinod > >> > >> > >> > >> -----Original Message----- > >> From: Richard Bywater [mailto:[hidden email]] > >> Sent: Friday, October 23, 2009 3:53 PM > >> To: [hidden email] > >> Subject: Re: Exception when building the core > >> > >> > >> > >> Ahh sorry just took another look - it appears you javac is in Program >> Files? > >> > >> > >> > >> I suggest changing your JAVA_HOME and/or PATH to be C:\Progra~1 (or > >> > >> whatever short name you have for Program Files) > >> > >> > >> > >> Richard. > >> > >> > >> > >> On Fri, Oct 23, 2009 at 11:17 PM, Shinod K. Mohandas > >> > >> <[hidden email]> wrote: > >> > >>> No.. That's not a issue... my Hudson source is in D: I am able to build >>> cli,remoting... etc. only problem with core.. I took the latest from svn.. >>> still facing the same problem. > >> > >>> > >> > >>> Thanks and regards > >> > >>> Shinod > >> > >>> > >> > >>> -----Original Message----- > >> > >>> From: > >> > >>> Sent: Friday, October 23, 2009 2:47 PM > >> > >>> To: [hidden email] > >> > >>> Subject: Re: Exception when building the core > >> > >>> > >> > >>> Hi > >> > >>> > >> > >>> I'm guessing that your Hudson source is sitting somewhere under > >> > >>> C:\Program Files\ > >> > >>> > >> > >>> Probably best to move it out of there as paths with spaces in can > >> > >>> cause issue (e.g. move to C:\Hudson) > >> > >>> > >> > >>> Hope that helps. > >> > >>> > >> > >>> Richard. > >> > >>> > >> > >>> On Fri, Oct 23, 2009 at 7:39 PM, Shinod K. Mohandas > >> > >>> <[hidden email]> wrote: > >> > >>>> Hi All, > >> > >>>> > >> > >>>> I was not using Hudson for a while. Today I had updated the source and >>>> tried > >> > >>>> to build. I am getting the below exception. When I do a text search for > >> > >>>> 'C:\Program' , I don't find it anywhere in the core module . Can >>>> anybody > >> > >>>> help me to solve this? > >> > >>>> > >> > >>>> My OS: Windows XP > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> Thanks and regards > >> > >>>> > >> > >>>> Shinod > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [INFO] Building Hudson core > >> > >>>> > >> > >>>> [INFO] task-segment: [install] > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [INFO] [enforcer:enforce {execution: default}] > >> > >>>> > >> > >>>> [INFO] [enforcer:display-info {execution: default}] > >> > >>>> > >> > >>>> [INFO] Maven Version: 2.1.0 > >> > >>>> > >> > >>>> [INFO] JDK Version: 1.6.0_13 normalized as: 1.6.0-13 > >> > >>>> > >> > >>>> [INFO] OS Info: Arch: x86 Family: windows Name: windows xp Version: 5.1 > >> > >>>> > >> > >>>> [INFO] [localizer:generate {execution: default}] > >> > >>>> > >> > >>>> [INFO] [antlr:generate {execution: default}] > >> > >>>> > >> > >>>> [INFO] grammar: > >> > >>>> D:\Hudson_Repository\Hudson1\main\core\src\main\grammar\crontab.g > >> > >>>> > >> > >>>> [INFO] The grammar is already generated > >> > >>>> > >> > >>>> [INFO] [remote-resources:process {execution: default}] > >> > >>>> > >> > >>>> [INFO] inceptionYear not specified, defaulting to 2009 > >> > >>>> > >> > >>>> [INFO] [antrun-extended:run {execution: default}] > >> > >>>> > >> > >>>> [INFO] Executing tasks > >> > >>>> > >> > >>>> [echo] The build id is: 1.330-SNAPSHOT (private-10/23/2009 > >> > >>>> 11:30-shinod.mohandas) > >> > >>>> > >> > >>>> [resolveArtifact] Copying C:\Documents and > >> > >>>> Settings\shinod.mohandas\.m2\repository\com\sun\winsw\win > >> > >>>> > >> > >>>> sw\1.8\winsw-1.8-bin.exe to > >> > >>>> D:\Hudson_Repository\Hudson1\main\core\target\classes\windows-service\hu > >> > >>>> > >> > >>>> dson.exe > >> > >>>> > >> > >>>> [INFO] Executed tasks > >> > >>>> > >> > >>>> [INFO] [resources:resources] > >> > >>>> > >> > >>>> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >> > >>>> > >> > >>>> [INFO] Copying 2401 resources > >> > >>>> > >> > >>>> [INFO] [stapler:apt-compile] > >> > >>>> > >> > >>>> [INFO] Compiling 562 source files to > >> > >>>> D:\Hudson_Repository\Hudson1\main\core\target\classes > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [ERROR] BUILD FAILURE > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [INFO] Compilation failure > >> > >>>> > >> > >>>> Failure executing javac, but could not parse the error: > >> > >>>> > >> > >>>> 'C:\Program' is not recognized as an internal or external command, > >> > >>>> > >> > >>>> operable program or batch file. > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [INFO] Trace > >> > >>>> > >> > >>>> org.apache.maven.BuildFailureException: Compilation failure > >> > >>>> > >> > >>>> Failure executing javac, but could not parse the error: > >> > >>>> > >> > >>>> 'C:\Program' is not recognized as an internal or external command, > >> > >>>> > >> > >>>> operable program or batch file. > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >> > >>>> > >> > >>>> .java:699) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > >> > >>>> > >> > >>>> ycleExecutor.java:540) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > >> > >>>> > >> > >>>> java:519) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > >> > >>>> > >> > >>>> ifecycleExecutor.java:371) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > >> > >>>> > >> > >>>> xecutor.java:332) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > >> > >>>> > >> > >>>> :181) > >> > >>>> > >> > >>>> at >>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > >> > >>>> > >> > >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > >> > >>>> > >> > >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > >> > >>>> > >> > >>>> 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.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.CompilationFailureException: >>>> Compilation > >> > >>>> failure > >> > >>>> > >> > >>>> Failure executing javac, but could not parse the error: > >> > >>>> > >> > >>>> 'C:\Program' is not recognized as an internal or external command, > >> > >>>> > >> > >>>> operable program or batch file. > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508) > >> > >>>> > >> > >>>> at >>>> org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) > >> > >>>> > >> > >>>> at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) > >> > >>>> > >> > >>>> at > >> > >>>> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > >> > >>>> > >> > >>>> .java:678) > >> > >>>> > >> > >>>> ... 16 more > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>>> > >> > >>>> [INFO] Total time: 10 seconds > >> > >>>> > >> > >>>> [INFO] Finished at: Fri Oct 23 11:30:33 IST 2009 > >> > >>>> > >> > >>>> [INFO] Final Memory: 45M/508M > >> > >>>> > >> > >>>> [INFO] > >> > >>>> ------------------------------------------------------------------------ > >> > >>> > >> > >>> --------------------------------------------------------------------- > >> > >>> To unsubscribe, e-mail: [hidden email] > >> > >>> For additional commands, e-mail: [hidden email] > >> > >>> > >> > >>> > >> > >>> --------------------------------------------------------------------- > >> > >>> To unsubscribe, e-mail: [hidden email] > >> > >>> For additional commands, e-mail: [hidden email] > >> > >>> > >> > >>> > >> > >> > >> > >> --------------------------------------------------------------------- > >> > >> To unsubscribe, e-mail: [hidden email] > >> > >> For additional commands, e-mail: [hidden email] > >> > >> > >> > > > > > > -- > > Kohsuke Kawaguchi > > Sun Microsystems http://weblogs.java.net/blog/kohsuke/ --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |