Error while building

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error while building

Sarthak Gupta
Hi,
I am getting this error while building application-ckeditor. What to do?

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CKEditor Integration Parent POM .................... SUCCESS [02:07
min]
[INFO] CKEditor Integration Base .......................... FAILURE [15:46
min]
[INFO] CKEditor Integration Plugins ....................... SKIPPED
[INFO] CKEditor Integration Test Modules .................. SKIPPED
[INFO] CKEditor Integration Test Page Objects ............. SKIPPED
[INFO] CKEditor Integration WebJar ........................ SKIPPED
[INFO] CKEditor Integration UI ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19:54 min
[INFO] Finished at: 2017-03-30T15:39:01+05:30
[INFO] Final Memory: 20M/121M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
application-ckeditor-base: Command execution failed. Cannot run program
"C:\Users\SARTHAK
GUPTA\.m2\XWiki\application-ckeditor-master\base\target\ckeditor-dev-4.6.2\dev\builder\build.sh"
(in directory "C:\Users\SARTHAK
GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
error=193, %1 is not a valid Win32 application -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :application-ckeditor-base
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while building

vmassol
Administrator
This build requires linux.

Maybe it would work with cygwin, I don’t know. It’s not very nice to be OS-agnostic I agree but I think we’re stuck by CKEditor which requires a special custom build tool that probably only works on unix.

Thanks
-Vincent

> On 30 Mar 2017, at 12:47, Sarthak Gupta <[hidden email]> wrote:
>
> Hi,
> I am getting this error while building application-ckeditor. What to do?
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] CKEditor Integration Parent POM .................... SUCCESS [02:07
> min]
> [INFO] CKEditor Integration Base .......................... FAILURE [15:46
> min]
> [INFO] CKEditor Integration Plugins ....................... SKIPPED
> [INFO] CKEditor Integration Test Modules .................. SKIPPED
> [INFO] CKEditor Integration Test Page Objects ............. SKIPPED
> [INFO] CKEditor Integration WebJar ........................ SKIPPED
> [INFO] CKEditor Integration UI ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19:54 min
> [INFO] Finished at: 2017-03-30T15:39:01+05:30
> [INFO] Final Memory: 20M/121M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
> application-ckeditor-base: Command execution failed. Cannot run program
> "C:\Users\SARTHAK
> GUPTA\.m2\XWiki\application-ckeditor-master\base\target\ckeditor-dev-4.6.2\dev\builder\build.sh"
> (in directory "C:\Users\SARTHAK
> GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
> error=193, %1 is not a valid Win32 application -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :application-ckeditor-base

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while building

Sarthak Gupta
Hi Vincent,
Still Getting the same error on ubuntu :/



CKBuilder - Builds a release version of ckeditor-dev.

Downloading CKBuilder...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
100 7423k  100 7423k    0     0   306k      0  0:00:24  0:00:24 --:--:--
 485k

Starting CKBuilder...
/home/sarthak/application-ckeditor-master/base/target/ckeditor-dev-4.6.2/dev/builder/build.sh:
line 61: git: command not found
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] CKEditor Integration Parent POM .................... SUCCESS [
 0.842 s]
[INFO] CKEditor Integration Base .......................... FAILURE [
29.140 s]
[INFO] CKEditor Integration Plugins ....................... SKIPPED
[INFO] CKEditor Integration Test Modules .................. SKIPPED
[INFO] CKEditor Integration Test Page Objects ............. SKIPPED
[INFO] CKEditor Integration WebJar ........................ SKIPPED
[INFO] CKEditor Integration UI ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30.790 s
[INFO] Finished at: 2017-03-31T22:56:08+05:30
[INFO] Final Memory: 26M/158M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
application-ckeditor-base: Command execution failed. Process exited with an
error: 127 (Exit value: 127) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


On Fri, Mar 31, 2017 at 11:19 PM, Sarthak Gupta <[hidden email]>
wrote:

> Hi Vincent,
> Still getting the same error on ubuntu :/
> Attached image:
>
>
> On Thu, Mar 30, 2017 at 4:59 PM, Vincent Massol <[hidden email]>
> wrote:
>
>> This build requires linux.
>>
>> Maybe it would work with cygwin, I don’t know. It’s not very nice to be
>> OS-agnostic I agree but I think we’re stuck by CKEditor which requires a
>> special custom build tool that probably only works on unix.
>>
>> Thanks
>> -Vincent
>>
>> > On 30 Mar 2017, at 12:47, Sarthak Gupta <[hidden email]>
>> wrote:
>> >
>> > Hi,
>> > I am getting this error while building application-ckeditor. What to do?
>> >
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] CKEditor Integration Parent POM .................... SUCCESS
>> [02:07
>> > min]
>> > [INFO] CKEditor Integration Base .......................... FAILURE
>> [15:46
>> > min]
>> > [INFO] CKEditor Integration Plugins ....................... SKIPPED
>> > [INFO] CKEditor Integration Test Modules .................. SKIPPED
>> > [INFO] CKEditor Integration Test Page Objects ............. SKIPPED
>> > [INFO] CKEditor Integration WebJar ........................ SKIPPED
>> > [INFO] CKEditor Integration UI ............................ SKIPPED
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [INFO] Total time: 19:54 min
>> > [INFO] Finished at: 2017-03-30T15:39:01+05:30
>> > [INFO] Final Memory: 20M/121M
>> > [INFO]
>> > ------------------------------------------------------------
>> ------------
>> > [ERROR] Failed to execute goal
>> > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on
>> project
>> > application-ckeditor-base: Command execution failed. Cannot run program
>> > "C:\Users\SARTHAK
>> > GUPTA\.m2\XWiki\application-ckeditor-master\base\target\cked
>> itor-dev-4.6.2\dev\builder\build.sh"
>> > (in directory "C:\Users\SARTHAK
>> > GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
>> > error=193, %1 is not a valid Win32 application -> [Help 1]
>> > [ERROR]
>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e
>> > switch.
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> > please read the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR]   mvn <goals> -rf :application-ckeditor-base
>>
>>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while building

vmassol
Administrator
Hi Sarthak,

> On 31 Mar 2017, at 19:59, Sarthak Gupta <[hidden email]> wrote:
>
> Hi Vincent,
> Still Getting the same error on ubuntu :/

No, it’s not the same error at all (check below and you’ll see it’s different)...

> CKBuilder - Builds a release version of ckeditor-dev.
>
> Downloading CKBuilder...
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
>                                 Dload  Upload   Total   Spent    Left
> Speed
> 100 7423k  100 7423k    0     0   306k      0  0:00:24  0:00:24 --:--:--
> 485k
>
> Starting CKBuilder...
> /home/sarthak/application-ckeditor-master/base/target/ckeditor-dev-4.6.2/dev/builder/build.sh:
> line 61: git: command not found

Pretty simple: there’s no git installed!

Thanks
-Vincent

> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] CKEditor Integration Parent POM .................... SUCCESS [
> 0.842 s]
> [INFO] CKEditor Integration Base .......................... FAILURE [
> 29.140 s]
> [INFO] CKEditor Integration Plugins ....................... SKIPPED
> [INFO] CKEditor Integration Test Modules .................. SKIPPED
> [INFO] CKEditor Integration Test Page Objects ............. SKIPPED
> [INFO] CKEditor Integration WebJar ........................ SKIPPED
> [INFO] CKEditor Integration UI ............................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 30.790 s
> [INFO] Finished at: 2017-03-31T22:56:08+05:30
> [INFO] Final Memory: 26M/158M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on project
> application-ckeditor-base: Command execution failed. Process exited with an
> error: 127 (Exit value: 127) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
>
> On Fri, Mar 31, 2017 at 11:19 PM, Sarthak Gupta <[hidden email]>
> wrote:
>
>> Hi Vincent,
>> Still getting the same error on ubuntu :/
>> Attached image:
>>
>>
>> On Thu, Mar 30, 2017 at 4:59 PM, Vincent Massol <[hidden email]>
>> wrote:
>>
>>> This build requires linux.
>>>
>>> Maybe it would work with cygwin, I don’t know. It’s not very nice to be
>>> OS-agnostic I agree but I think we’re stuck by CKEditor which requires a
>>> special custom build tool that probably only works on unix.
>>>
>>> Thanks
>>> -Vincent
>>>
>>>> On 30 Mar 2017, at 12:47, Sarthak Gupta <[hidden email]>
>>> wrote:
>>>>
>>>> Hi,
>>>> I am getting this error while building application-ckeditor. What to do?
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------
>>> ------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] CKEditor Integration Parent POM .................... SUCCESS
>>> [02:07
>>>> min]
>>>> [INFO] CKEditor Integration Base .......................... FAILURE
>>> [15:46
>>>> min]
>>>> [INFO] CKEditor Integration Plugins ....................... SKIPPED
>>>> [INFO] CKEditor Integration Test Modules .................. SKIPPED
>>>> [INFO] CKEditor Integration Test Page Objects ............. SKIPPED
>>>> [INFO] CKEditor Integration WebJar ........................ SKIPPED
>>>> [INFO] CKEditor Integration UI ............................ SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------
>>> ------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------
>>> ------------
>>>> [INFO] Total time: 19:54 min
>>>> [INFO] Finished at: 2017-03-30T15:39:01+05:30
>>>> [INFO] Final Memory: 20M/121M
>>>> [INFO]
>>>> ------------------------------------------------------------
>>> ------------
>>>> [ERROR] Failed to execute goal
>>>> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (build-ckeditor) on
>>> project
>>>> application-ckeditor-base: Command execution failed. Cannot run program
>>>> "C:\Users\SARTHAK
>>>> GUPTA\.m2\XWiki\application-ckeditor-master\base\target\cked
>>> itor-dev-4.6.2\dev\builder\build.sh"
>>>> (in directory "C:\Users\SARTHAK
>>>> GUPTA\.m2\XWiki\application-ckeditor-master\base"): CreateProcess
>>>> error=193, %1 is not a valid Win32 application -> [Help 1]
>>>> [ERROR]
>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>> the -e
>>>> switch.
>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> [ERROR]
>>>> [ERROR] For more information about the errors and possible solutions,
>>>> please read the following articles:
>>>> [ERROR] [Help 1]
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>> [ERROR]
>>>> [ERROR] After correcting the problems, you can resume the build with the
>>>> command
>>>> [ERROR]   mvn <goals> -rf :application-ckeditor-base
>>>
>>>
>>

Loading...