Hi Lahiru, Seems like this has something to do with line endings in Windows and Unix. Could you please try using dos2unix on patch file and convert windows line endings to unix compatible ones and see.
In the mean time I will try to find a way to strip off windows specific line endings using a tool. Thanks AmilaJ On Thu, Aug 9, 2012 at 9:46 AM, Lahiru Gunathilake <[email protected]> wrote: > Hi Amila, > > I took a fresh checkout of trunk and tried to apply your patch but it > failed like this. > > Hunk #1 FAILED at 138. > 1 out of 1 hunk FAILED -- saving rejects to file > modules/distribution/src/main/assembly/bin-assembly.xml.rej > (Stripping trailing CRs from patch.) > patching file modules/distribution/src/main/resources/bin/airavata-server.bat > (Stripping trailing CRs from patch.) > patching file > modules/distribution/src/main/resources/bin/jackrabbit-server.bat > (Stripping trailing CRs from patch.) > patching file modules/distribution/src/main/resources/bin/setenv.bat > (Stripping trailing CRs from patch.) > patching file modules/distribution/src/main/resources/bin/xbaya-gui.bat > (Stripping trailing CRs from patch.) > patching file > modules/ws-messenger/distribution/src/main/resources/bin/axis2server.bat > Hunk #1 FAILED at 29. > Hunk #2 FAILED at 100. > 2 out of 2 hunks FAILED -- saving rejects to file > modules/ws-messenger/distribution/src/main/resources/bin/axis2server.bat.rej > > > Can you please double check the patch with a trunk checkout. > > Lahiru > > On Thu, Aug 9, 2012 at 2:42 AM, Amila Jayasekara > <[email protected]> wrote: >> A patch is attached including scripts to issue [1]. >> >> Thanks >> Amila >> >> [1] https://issues.apache.org/jira/browse/AIRAVATA-533 >> >> On Tue, Aug 7, 2012 at 12:52 AM, Suresh Marru <[email protected]> wrote: >>> On Aug 6, 2012, at 9:23 AM, Amila Jayasekara <[email protected]> >>> wrote: >>> >>>> Hi All, >>>> >>>> It seems like if we want to run Airavata in Windows we need to use CygWin. >>>> Just wondering why we cannot run Airavata in windows without Cygwin ? >>>> Is it because we architecturally dont support Windows OS or is it >>>> because we are yet to create scripts for Windows ? >>> >>> Hi Amila, >>> >>> There are three parts to your question of running on Windows: >>> Airavata GUI Client (XBaya) >>> Airavata Services >>> Applications Airavata executes >>> >>> XBaya is supported on windows as of now, you will have to use JNLP to >>> launch it. If you are starting the GUI from command line, as you rightly >>> pointed it only cygwin works and native batch scripts have to be added. >>> >>> The Services either run in embedded mode or tomcat again same thing with >>> cygwin, native scripts will be great. >>> >>> The third aspect of windows compatibility is a very tricky one and will >>> need to look at how applications can be forked and tracked on windows >>> machine. I would't try this for now. >>> >>> BTW, patches welcome :) >>> >>> Suresh >>> >>> >>>> Thanks >>>> AmilaJ >>> > > > > -- > System Analyst Programmer > PTI Lab > Indiana University
