The following is my batch file in unix:
Which complier all you source file and packed into jar file.
you can use it like this:
BB MyPackage MyJarFile
Chalres Guo
BB.sh
JAVA_HOME=${JAVA_HOME:-"/opt/java"}
WL_HOME=${WL_HOME:-"/app/project/weblogic"}
BIN=/app/project/weblogic/myserver/serverclasses
EJB=/app/project/ejbs
mkdir -p build build/META-INF
cp -f *.xml build/META-INF
echo now to build class
javac -d build *.java
echo now to build jar
java weblogic.ejbc build/$2.jar $EJB/$2.jar
> -----Original Message-----
> From: saisuraj chengalvala [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, December 09, 2000 2:32 PM
> To: [EMAIL PROTECTED]
> Subject: basic question
>
>
> I am just trying to run an ejb example on Weblogic.Is there any
> provision to compile all the xxx.java files through weblogic.Pl let me
> know.Or shall we need to compile the individual files through java
> compiler only
> ----------------------------------------
> http://mail.indiainfo.com
> First you had 10MB of free mail space.
> Now you can send mails in your own language !!!
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".