Karen -

Im not an Ant user, but here is my experience with jar files. In our
environment we wanted multiple jar files(one per application with core
classes in a different jar file). Before we began using ear files this
produced enormous headaches. If you include all the classes you need in each
jar file you end up with many duplicates and if you update just one jar,
your classes are out of sync and troubleshooting is a huge ordeal. Is your
statement about not using ear files because you cannot use them for some
reason, or just that you currently are not? So far, it is the best solution
we have found. Yes you have to redeploy the whole thing each time, BUT with
jar files that have multiple copies of classes you really have to redeploy
all of them as well or you will end up with crazy problems that cannot be
easily traced. We have been working with with jar and ear file constantly
for several years now and I am still waiting for a better way. If you truly
cannot use ear files, then I personally would try to find a way to NOT put
multiple copies of classes in the jar files, but rather set the list of jar
files available in the Application servers classpath. This will eliminate
many headaches but you will have to keep the classpath up to date if/when
jars are added/changed/removed.

Send me a message if I can help further. We use BEA Weblogic 6.1sp2 for our
app server.

Also, we do have some folks using Ant with Weblogic and I will check with
them to see if they are doing what you want or know how nd if so I will send
another message out.

Chris

----- Original Message -----
From: "Karen Schaper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 10, 2003 11:20 AM
Subject: ant 1.5.1


> Hi,
>
> I was wondering if anyone on this user list could help with this.  I
haven't
> got a response for the ant community.
>
> Ant 1.5.1 is using bcel in order to evaluate what class files should be
> included when performing an ejb-jar.  I am having trouble getting class
> files that are located in other jar files to be included in the new jar
> file.  Can anyone shed any light?  We are not using ear files so I can't
> just package it in an ear.
>
> Thanks for any help,
>
> Karen
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to