Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

deployment using ANT

843833Mar 10 2004 — edited Oct 5 2004
I'm doing development on OSX using Eclipse. I'd like to have a build.xml build script that knows how to deploy EARs to a SUNWappserver (Sun Java System Application Server) instance running on RedHat linux.

So far I can't get the 'sun-appserv-deploy' target to work. I have added the <taskdef> statements required to my build.xml, but I get the following error when running the build:
___________________________________________________________________________
[sun-appserv-deploy] BUILD FAILED: file:C:/eclipse/workspace/oss/build.xml:154: A Sun ONE Application Server 8 admin CLI class could not be found (com.sun.enterprise.cli.framework.InputsAndOutputs). Use the sunonehome attribute, set the sunone.home property, or add the appropriate JARs to the classpath.
___________________________________________________________________________

OSX is not a supported platform for the Sun Java System Application Server -- so I don't have the SDK installed on my OSX machine. However, I have copied the JARs from the app server lib directory to my OSX machine. I don't want to run the app server there, I just want to use that machine for development.

I think I'm running into a problem with native libraries -- specifically with 'libcliutil.so'. I believe InputsAndOutpus is failing to load because it is dependent on this library, which is not installed on my OSX machine (of course, since it's a linux SO).

My question is: has anybody gotten scripted deployment to work from an OSX box? I can use the web gui, but I am after automation here. Any idea on why Sun is writing platform dependent code? What happened to pure-Java as The Way To Go?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2004
Added on Mar 10 2004
9 comments
294 views