Well, in my case, the build itself is done on a Windows machine. So what I do is create a dist/solaris directory with the Solaris package sources in it and manually scp the whole directory up to the Solaris box where I run a pkgmk script on it.
There are ways to do this more automatically. Among them are:
1. Run the build on a Solaris box (requires jdk+ant) and execute the pkgmk command via Ant's exec task.
2. Have Ant do the scp itself (requires extra Ant plugin), then login and run pkgmk.
3. setup a cygwin environment and have it scp, then do ssh run pkgmk from a cygwin shell script.
Personally, I'm thinking about #4. Setup a web cgi task on the Solaris box where I can upload a tar or zip copy of the package source and have the cgi tun the pkgmk. Just not thinking very hard about it yet.
An IDE is no substitute for an Intelligent Developer.
Joined: Dec 31, 2002
Thank You. I am using my ant in solaris environment. If any one has any sample code to build solaris package, that would be very helpful. thnaks siva