users@glassfish.java.net

using ant inside glassfish app

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 May 2010 03:13:46 PDT

Hi all,
 
i just have a strange problem.
i use ant inside ( just write java code to create ant targets ...) my
application for creating tar archives and copy files.

i first started this application on tomcat, and all worked fine, but
now i whish to migrite it to glassfish v3.

copy files works also well in glassfish
but when i which to create a tar, i allways get the error:

ClassNotFoundException org.apache.tools.tar.TarOutputStream
which comes from felix.

i dont know why this happens, and why this happens only for tar ant
tasks and not for all.

i tried to put the ant jar in lib/ext folder but it doesnt have any
affect.

have someone a hint for me what i made wrong ?
thanks

kr Matthias
[Message sent by forum member 'gabriel_shear']

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