Karunakar Chatla wrote:
Hi,

Some of our components(projects) are on FreeBSD machines.
We wanted to build these projects remotely from a windows box.
Also have to perform file operations on that machine.
Does ANT have support for accomplishing the same thing?
I was looking at SSHEXEC task of ANT but I didn't get success with that.
Is there any other way or this is the only way out?
It depends on what you're trying to do. Can you ssh to the freebsd machine from the windows box and execute the build command and have it work? If so what have you tried to do using sshexec in ant that isn't working. It is a matter of capturing output and the return codes?

BTW, is the build on the server being done with another build system (it sounds like it from the questions below).

If you can run the build over ssh, but have trouble doing file management and you don't have a huge number of files, you may consider sharing the filesystem via samba and doing the "file operations" from the windows box.
I have one more question -
Can ANT run on FreeBSD machine also?
Do we have any version of ANT which runs on FreeBSD machines?
Sure. The ports system has 1.6.5 as the latest version of ant. But if you aren't using the ports system to install stuff, you don't need anything special to run ant. It's all just java code. So on the assumption that you've got an appropriate version of java installed and running you really just need to download the version of ant you want to run, expand it on the freebsd box, and then either reference the ant script from it's bin dir, or add it's bin dir to your path.
Eagerly waiting for your response.

Thanks,
Karunakar Chatla


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to