You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/01/26 17:02:00 UTC
[jira] Commented: (CXF-2004) unit test errors in systest
[ https://issues.apache.org/jira/browse/CXF-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667279#action_12667279 ]
Daniel Kulp commented on CXF-2004:
----------------------------------
Not sure on the NoClassDefFound issue. That's not good. Haven't seen it before.
The eclipse:eclipse issue is a restriction of the eclipse plugin. By default, it only runs to the "generate-sources" phase. Thus, it doesn't know about generated test sources. Two options:
1) run "mvn generate-test-sources eclipse:eclipse" to force it to run into the test generation phase and thus the test dir gets created and added to eclipse.
2) run "mvn -Psetup.eclipse" instead. For CXF, we have a setup.eclipse profile that does the above.
> unit test errors in systest
> ---------------------------
>
> Key: CXF-2004
> URL: https://issues.apache.org/jira/browse/CXF-2004
> Project: CXF
> Issue Type: Test
> Components: Build system
> Affects Versions: 2.1.3
> Environment: Windows Vista, JDK 1.6.0 update 10
> Reporter: Christian Schneider
> Fix For: 2.2
>
>
> I get many No Classdef Found errors when doing a mvn install in systest. After I do mvn eclipse:eclipse I get compile errors in eclipse. It seems the directory target/generated/src/test/java is not on the classpath.
> Adding the line
> <source>${basedir}/target/generated/src/test/java</source>
> to the sources of the add sources goal in the pom.xml helped for me but I guess that is not the correct solution. Probably there is some bug in the cxf-codegen plugin. As far as I understand it the codegen plugin should add the above path to the classpath anyway.
> Any ideas?
> After I added the above line I have only one test failure left.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.