Liferay DXP 2026.Q4    |    Release Webinar: 18 November 2026    |    Replay coming soon! 

Blogs

Debuging Ant classpath issues

Ray Augé
Ray Augé
Uma leitura de menos de um minuto

When working with Liferay, sometimes you might encounter classpath issues during ant builds.

I have a little trick which may help.

It's a small bit of xml that you can add to a target which dumps a classpath by refid:

 

 <property name="debug.classpath" refid="service.classpath"/>
            
 <for list="${debug.classpath}" delimiter=":" param="cur">
     <sequential>
         <echo>@{cur}</echo>
     </sequential>
 </for>

 

That's it! Short and sweet.

Comentários da Página

Related Assets...

Nenhum Resultado Encontrado

More Blog Entries...

Himanshu Chauhan
Novembro 20, 2026
Tony Lim
Novembro 19, 2026