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.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244115#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...