Re: unix script in WO
Re: unix script in WO
- Subject: Re: unix script in WO
- From: Dov Rosenberg <email@hidden>
- Date: Sat, 08 Nov 2003 08:22:36 -0500
I would fully qualify the classpath in the script. Remember even though the
script is being executed by WO it doesn't have access to the bundle classes
used to find things. It would probably be a good idea to fully qualify the
path to the script. Remember to make the script executable during the build
process as well.
Dov Rosenberg
On 11/8/03 12:21 AM, "Kranthi Sagar Borra" <email@hidden>
wrote:
> Hi All,
>
> This is very urgent and I shall be thankful if somebody can help me out.I want
> to execute a unix script and the script is something like this
>
> #!/bin/bash
> java helloworld
>
> where helloworld is a class in my project.I added this script to Resources in
> project builder.So when I run the project the build is getting formed and this
> script is placed in the MyProject.woa/Contents/Resources folder.And the
> helloworld.class is formed under
> MyProject.woa/Contents/Resources/Java/MyProject.jar.so will be script be able
> to execute the following line "java helloworld" ,because this class file is
> not at the same location as the script.So can somebody tell me how to resolve
> this.Thanks in advance.
>
> Regards,
> Kranthi Sagar
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.