[EMAIL PROTECTED] wrote:

I am currently running through a strange issue:

While I can perfectly build the qtags plugin on my windows machine, it just keeps on failing on my freebsd box.

I've appended the test-result log at the end of this mail.
I am running the cvs version, well at least the latest I could get from sourceforge'cvs (which is somehow 1 or 2 days behind the regular one apparently). Both of my local repositories are in synch (just did a cvs update -dP on both and run maven jar:install on both again, just before writing this mail)
The FoobarTagImpl.java file is actually there on my bsd box too, so... I don't really know what to do :)

First thing to check: Do you see a copy of FooBarTagImpl.java under xdoclet-plugins/plugin-qtags/target/test-classes/org/xdoclet/plugin/qtags/impl/test ?

(If you _do_ have these files, I think there might be an issue with your
BSD JDK, otherwise it's probably Maven or CVS - read on)

The sources should be copied here, so that the
getResourceRelativeToThisPackage method can find them.
(This is because the said method does a Class.getResource(), which will
*not* look in the original CVS source directory)

Maven should copy the java sources because it's told so in the root
level project.xml:
(snip)
         <includes>
           <include>**/*.java</include>
           <include>**/*.xml</include>
         </includes>
(/snip)

What JDK version and Maven versions are you using?

My hunch is that you're either using a too old Maven (try the latest rc1
release), or possibly (as you say) a screwed up CVS copy.

Check out these trails and let me know how it goes.

HTH,
Aslak



Any clue?

greg



# cat target/test-reports/TEST-org.xdoclet.plugin.qtags.impl.QTagImplPluginTestCase.txt

Testsuite: org.xdoclet.plugin.qtags.impl.QTagImplPluginTestCase
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 7.211 sec

Testcase: testGenerateContent took 6.757 sec
FAILED
Resource not found at path: /org/xdoclet/plugin/qtags/impl/test/FoobarTagImpl.java
junit.framework.AssertionFailedError: Resource not found at path: /org/xdoclet/plugin/qtags/impl/test/FoobarTagImpl.java
at org.generama.tests.AbstractPluginTestCase.getResourceRelativeToThisPackage(AbstractPluginTestCase.java:64)


at org.xdoclet.plugin.qtags.impl.QTagImplPluginTestCase.getExpected(QTagImplPluginTestCase.java:32)

at org.generama.tests.AbstractPluginTestCase.testGenerateContent(AbstractPluginTestCase.java:28)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


Testcase: testGenerateContent





------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel




--
http://blogs.codehaus.org/people/rinkrank/





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to