You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2010/03/26 18:13:59 UTC

DO NOT REPLY [Bug 48999] New: [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

           Summary: [BUILD] src\modules\kupu\build.xml:21:
                    java.io.IOException: CreateProcess: patch -p0 -i
                    src\modules\kupu\patches\bug45488.patch error=2
           Product: Lenya
           Version: 2.0.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build System
        AssignedTo: dev@lenya.apache.org
        ReportedBy: charles@seberino.com.br


I have this problem when running ant-build of lenya 2.0.3 based on BRANCH svn
repository.

I'm usign defaults value of properties files, except in the apointments of
environment.

My environment:
Windows XP OS
JDK 1.5.0_22
Tomcat 5.5.28
JAVA_HOME=g:/java/jdk/1.5
PATH=g:/java/jdk/1.5/bin;%WINDOWS_ENV%

-----------------------------------------------------------------
ERROR RECEIVED RUNNING LENYA 2.0.3 BUILD.BAT
-----------------------------------------------------------------

custombuild-module-org.apache.lenya.modules.kupu:
Invoking custom build process for module 'org.apache.lenya.modules.kupu'

BUILD FAILED
G:\src\BRANCH_2_0_X\src\targets\webapp-build.xml:174: The following error
occurred while executing this line:
G:\src\BRANCH_2_0_X\src\targets\modules-build.xml:74: The following error
occurred while executing this line:
G:\src\BRANCH_2_0_X\build\lenya\temp\modules-build.xml:1105: The following
error occurred while executing this line:
G:\src\BRANCH_2_0_X\src\modules\kupu\build.xml:21: java.io.IOException:
CreateProcess: patch -p0 -i G:\src\BRANCH_2_0_X\
src\modules\kupu\patches\bug45488.patch error=2

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 48999] [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

Charles Seberino <ch...@seberino.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 48999] [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

--- Comment #1 from Richard Frovarp <rf...@apache.org> 2010-03-26 17:20:16 UTC ---
You need a version of the patch command in your path. I have successfully used
the one from here in the past: http://sourceforge.net/projects/unxutils/


We certainly need to update our documentation to address this problem.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 48999] [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

Charles Seberino <ch...@seberino.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |REMIND

--- Comment #4 from Charles Seberino <ch...@seberino.com.br> 2010-03-26 18:16:53 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > You need a version of the patch command in your path. I have successfully used
> > > the one from here in the past: http://sourceforge.net/projects/unxutils/
> > > We certainly need to update our documentation to address this problem.
> > 
> > Richard,
> > 
> > Thanks by answer, but I d'ont understand how it resolve the issue?
> > 
> > Sorry if I cant understand your answer.
> > 
> > Thanks alot.
> That part of the build runs the patch command. Since you're on Windows, you
> don't have a patch command by default, so it causes an error. If you put a
> patch command in your path, this part will work.

Richard,

Your answer solved the problem, thanks again for your assistance.

Best Regards

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 48999] [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

Charles Seberino <ch...@seberino.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Charles Seberino <ch...@seberino.com.br> 2010-03-26 17:54:46 UTC ---
(In reply to comment #1)
> You need a version of the patch command in your path. I have successfully used
> the one from here in the past: http://sourceforge.net/projects/unxutils/
> We certainly need to update our documentation to address this problem.

Richard,

Thanks by answer, but I d'ont understand how it resolve the issue?

Sorry if I cant understand your answer.

Thanks alot.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 48999] [BUILD] src\modules\kupu\build.xml:21: java.io.IOException: CreateProcess: patch -p0 -i src\modules\kupu\patches\bug45488.patch error=2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48999

--- Comment #3 from Richard Frovarp <rf...@apache.org> 2010-03-26 18:00:06 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > You need a version of the patch command in your path. I have successfully used
> > the one from here in the past: http://sourceforge.net/projects/unxutils/
> > We certainly need to update our documentation to address this problem.
> 
> Richard,
> 
> Thanks by answer, but I d'ont understand how it resolve the issue?
> 
> Sorry if I cant understand your answer.
> 
> Thanks alot.

That part of the build runs the patch command. Since you're on Windows, you
don't have a patch command by default, so it causes an error. If you put a
patch command in your path, this part will work.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org