If you have ant installed, there is a ant script in that same
directory that can be run on Windows or anything else.  The build.xml
file in that same directory does the same thing as the deploy.sh file.

-Trevor

2008/9/8 Nattanicha R. <[EMAIL PROTECTED]>:
> Yes, that's correct, I tried to run the shell script on Windows by using
> cygwin because there is no .bat file in template. So, the best way should be
> I must migrate .sh to .bat, right? I already had JDK in my machine, if I
> don't need to migrate to .bat, do I need to set path for cygwin?
>
> 2008/9/8 Jacques Le Roux <[EMAIL PROTECTED]>
>
>> From: "Trevor Whitlock" <[EMAIL PROTECTED]>
>>
>>> It looks like you are trying to run the shell script on Windows, is
>>> this correct?
>>>
>>> It cant find the jar command.  Do you have a JDK installed with the
>>> bin directory on the path?
>>>
>>> -Trevor
>>>
>>
>> If it's right (seems from log), moreover to run on Windows you will have to
>> migrate the .sh to .bat (I suppose there are none)
>>
>> Jacques
>>
>>
>>
>>  On Sun, Sep 7, 2008 at 10:54 PM, Nattanicha R. <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> I tried to config ofbiz to run inside JBoss 4.2.2. I did follow this
>>>> link
>>>> http://docs.ofbiz.org/display/OFBTECH/JBoss+4.2.2. But there are many
>>>> errors
>>>> about "command not found". How can I fix this?
>>>>
>>>> This is log file
>>>> ---------------------------------------------
>>>> $./deploy.sh
>>>> removed META-INF
>>>> removed libs
>>>> removed wars
>>>> ./deploy.sh: line 43: patch: command not found
>>>> created entityengine-jboss.xml
>>>> moved D:/natty_work/ofbiz691890/framework/base/config/log4j.xml
>>>> moved D:/natty_work/ofbiz691890/framework/base/config/jndi.properties
>>>> installed ofbiz libraries
>>>> ./deploy.sh: line 169: jar: command not found
>>>> ./deploy.sh: line 170: jar: command not found
>>>> ./deploy.sh: line 171: jar: command not found
>>>> ./deploy.sh: line 172: jar: command not found
>>>> ...
>>>> ..
>>>> .
>>>> packaged and installed ofbiz configuration directories
>>>> linked webapp directories
>>>> installed application.xml
>>>> updated bsh.jar
>>>> fixed D:/natty_work/ofbiz691890/framework/base/config/log4j.xml
>>>> fixed D:/natty_work/ofbiz691890/framework/base/config/jndi.properties
>>>> --------------------------------------------------
>>>>
>>>> Nattanicha Rittammanart (Programmer)
>>>> Haadthip Public Company Limited
>>>> Haadyai, Songkhla
>>>> --------------------------------------------------------
>>>> Master of Science (Software Engineering)
>>>> Shool of Engineering and Technology
>>>> Asian Institute of Technology
>>>> P.O. Box 4, Klongluang, Pathumthani
>>>> ---------------------------------------------------------
>>>> [EMAIL PROTECTED]
>>>> [EMAIL PROTECTED]
>>>>
>>>>
>>>
>
>
> --
> -----------------^^"Nong Kae^^"-----------------
> ???????? ????????????
> Nattanicha Rittammanart (Programmer)
> Haadthip Public Company Limited
> Haadyai, Songkhla
> --------------------------------------------------------
> Master of Science (Software Engineering)
> Shool of Engineering and Technology
> Asian Institute of Technology
> P.O. Box 4, Klongluang, Pathumthani
> ---------------------------------------------------------
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>

Reply via email to