p><<a href="https://events.liferay.com/oEYX0y?utm_source=dev.liferay& rel="noopener noreferrer" target="_blank">Liferay DXP 2026.Q4Replay coming soon! 

Blogs

Debuging Ant classpath issues

Ray Augé
Ray Augé
أقل من قراءة دقيقة

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.

تعليقات الصفحة

Related Assets...

لا توجد نتائج

More Blog Entries...

Himanshu Chauhan
نوفمبر ٢٠, ٢٠٢٦
Tony Lim
نوفمبر ١٩, ٢٠٢٦