"PeterJ" wrote : Looks like you are going to learn how packages and classpaths relate (this is often a hurdle one has to overcome when learning Java). | | Your class is named Client and is in the com.ip6networks.calling_card_registration.test package. This means that the JVM will scan the classpath looking for a file named: | com/ip6networks/calling_card_registration/test/Client.class | | This means that the classpath should be set to: | /usr/liferay-portal-5.2.3/dev/portlets/calling_card_reg/docroot/WEB-INF/src/ | in your case. Then the JVM will look for the file: | /usr/liferay-portal-5.2.3/dev/portlets/calling_card_reg/docroot/WEB-INF/src/com/ip6networks/calling_card_registration/test/Client.class | | In addition, when you tell JUnit about the class, you need to use the full class name, which includes the package name: | com.ip6networks.calling_card_registration.test.Client | | That should give you enough information to fix the build.xml. Hi,
If you take a look at my buld.xml file I have published previously, it has a classpath declared there, but it pointed to a different path. In my Junit section, do I need to set a different "classpath" id to point to the "test" directory? Thanks Sam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244126#4244126 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244126 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user