How to enable BigProjectLogger?

Has anyone been able to enable this in ant with teamcity builds? (-Dlogger
I tried it in ANT_ARGS in bash_profile but that was ignored by teamcity.
I tried it in the Additional Ant command line parameters but that was also ignored.

I put it in the JVM command line parameters (with a -D like -Dlogger
It detected that and tried to use it but complained that it wasn't found.

[16:03:48]: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/listener/BigProjectLogger
[16:03:48]: Caused by: java.lang.ClassNotFoundException:
[16:03:48]: at$
[16:03:48]: at Method)
[16:03:48]: at
[16:03:48]: at java.lang.ClassLoader.loadClass(
[16:03:48]: at sun.misc.Launcher$AppClassLoader.loadClass(
[16:03:48]: at java.lang.ClassLoader.loadClass(
[16:03:48]: Could not find the main class: Program will exit.
[16:03:48]: Publishing internal artifacts
[16:03:48]: [Publishing internal artifacts] Sending file
[16:03:48]: Build finished

But I checked the ant jar file we are using (we set our own ant home path) and it is there.
[oms-buildadm@dvusa10064] lib $ jar -tvf ant.jar |grep BigProjectLogger

  3510 Fri Apr 30 18:01:30 PDT 2010 org/apache/tools/ant/listener/BigProjectLogger.class
   910 Fri Apr 30 18:01:30 PDT 2010 org/apache/tools/ant/listener/SimpleBigProjectLogger.class

When I run ant from the commandline on my agent, it works because of the ANT_ARGS setting. But from the TC builds, it doesn't.

Please sign in to leave a comment.