The ivy debug log did not come attached to me via the list (though your IBM logo did), so I’m talking a guess at what might help you :)
From reference: https://ant.apache.org/manual/running.html <https://ant.apache.org/manual/running.html> The default directories scanned are ANT_HOME/lib and a user specific directory, ${user.home}/.ant/lib If your ANT_HOME environment is set to /usr/share, then what you have should work. If your ${user.home} is set to /usr/share, then your directory should be /usr/share/.ant/lib, not just /usr/share/ant/lib (include the leading period). Cheers, Zac > On Feb 17, 2016, at 12:26, Dama C Reffett <dcref...@us.ibm.com> wrote: > > I'm working on a proof of concept using the packager resolver in a chain. > Once it starts "style" (I had to turn off validation because of class not > found for org.apache.tools.ant.taskdefs.optional.XMLValidateTask) a > java.lang.ClassNotFoundException is thrown. attached is the debug output. > I've added several ant libraries to /usr/share/ant/lib in hopes it would > resolve the issue, with no luck. Here are the libs I'm using: > > ls -la /usr/share/ant/lib > total 5304 > drwxr-xr-x. 2 root root 4096 Feb 17 13:08 . > drwxr-xr-x. 4 root root 4096 Feb 17 11:39 .. > -rw-r--r--. 1 root root 11612 Apr 29 2014 ant-antlr.jar > -rw-r--r--. 1 root root 15104 Apr 29 2014 ant-apache-bcel.jar > -rw-r--r--. 1 root root 9792 Apr 29 2014 ant-apache-bsf.jar > -rw-r--r--. 1 root root 8637 Apr 29 2014 ant-apache-log4j.jar > -rw-r--r--. 1 root root 9756 Apr 29 2014 ant-apache-oro.jar > -rw-r--r--. 1 root root 9616 Apr 29 2014 ant-apache-regexp.jar > -rw-r--r--. 1 root root 9687 Apr 29 2014 ant-apache-resolver.jar > -rw-r--r--. 1 root root 8147 Apr 29 2014 ant-apache-xalan2.jar > lrwxrwxrwx. 1 root root 28 Feb 15 08:03 ant-bootstrap.jar -> > ../../java/ant-bootstrap.jar > -rw-r--r--. 1 root root 9765 Apr 29 2014 ant-commons-logging.jar > -rw-r--r--. 1 root root 91353 Apr 29 2014 ant-commons-net.jar > -rw-r--r--. 1 root root 28274 Apr 29 2014 ant-jai.jar > lrwxrwxrwx. 1 root root 18 Feb 15 08:03 ant.jar -> ../../java/ant.jar > -rw-r--r--. 1 root root 13844 Apr 29 2014 ant-javamail.jar > -rw-r--r--. 1 root root 13866 Apr 29 2014 ant-jdepend.jar > -rw-r--r--. 1 root root 12323 Apr 29 2014 ant-jmf.jar > -rw-r--r--. 1 root root 46998 Apr 29 2014 ant-jsch.jar > -rw-r--r--. 1 root root 13110 Apr 29 2014 ant-junit4.jar > -rw-r--r--. 1 root root 117783 Apr 29 2014 ant-junit.jar > lrwxrwxrwx. 1 root root 27 Feb 15 08:03 ant-launcher.jar -> > ../../java/ant-launcher.jar > -rw-r--r--. 1 root root 16317 Apr 29 2014 ant-netrexx.jar > -rw-r--r--. 1 root root 431580 Feb 17 11:38 ant-nodeps-1.7.1.jar > -rw-r--r--. 1 root root 13289 Apr 29 2014 ant-swing.jar > -rw-r--r--. 1 root root 21320 Apr 29 2014 ant-testutil.jar > -rw-r--r--. 1 root root 68841 Feb 17 12:25 ant-trax-1.6.5.jar > -rw-r--r--. 1 root root 1222059 Feb 16 16:28 ivy-2.3.0.jar > -rw-r--r--. 1 root root 1282424 Feb 17 13:08 ivy-2.4.0.jar > > I tried adding the "optional" package to the ant lib then repackage it. no > luck. I tried with ivy 2.3.0 and ivy 2.4.0. I read the xslt is started in a > separate jvm, so I'm not sure how to get these libs on the classpath. Or > perhaps I'm missing something else. Any guidance would be appreciated. > > > (See attached file: ivy.debug.log) > > > > > > Regards, > > DAMA C. REFFETT > Cloud Services Lead Software Engineer > Cloud Managed Services (CMS) > Mobile: 1-719-963-4056 > E-mail: dcref...@us.ibm.com <mailto:dcref...@us.ibm.com> > <07554109.gif> > > Sierra Vista, Arizona > United States > > (See attached file: Reffett_Dama.vcf)