using ant inside glassfish app

Discussion in 'Java' started by Matthias Koch, May 26, 2010.

  1. 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
     
    Matthias Koch, May 26, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Bedford
    Replies:
    6
    Views:
    2,251
  2. john martin
    Replies:
    2
    Views:
    2,224
    john martin
    Apr 7, 2005
  3. Qu0ll
    Replies:
    7
    Views:
    819
    Qu0ll
    Dec 8, 2007
  4. Arved Sandstrom
    Replies:
    0
    Views:
    1,251
    Arved Sandstrom
    Dec 29, 2008
  5. Arun
    Replies:
    0
    Views:
    97
Loading...

Share This Page