users@glassfish.java.net

Re: appclient fails with ClassNotFoundException

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Apr 2010 17:35:09 PDT

Yes this was the source of the problem, it is all working now.

I was using Ant's jar task to build all of my jars, wars and ears with the index attribute set to true.

The part I was missing was the nested indexjars element, which I have now added to be:

<indexjars>
  <fileset dir="${ivy.lib.runtime}" includes="*.?ar" />
</indexjars>

(where ivy.lib.runtime points to the directory location containing the jars/wars/rars).

Thankyou Tim, appreciate it.
[Message sent by forum member 'cosmic']

http://forums.java.net/jive/thread.jspa?messageID=398126