> So the problem appears to be that xdoclet requires all ant properties > to > be serializable, is this correct? And a fork of the VM simply removes > the > 'bad' maven properties...
No. I'm testing the latest code from xdoclet's cvs. It no longer serializes anything. Everything is in memory. No new process started. So this is simply not the problem. Btw, I don't think it's feasible to try to fix xdoclet1.1.2+maven bugs, because xdoclet 1.2 will be out very very soon. > [snip] > > You may ask why don't you use <ant/> from the maven.xml file? Well, > > because it doesn't work: > > > > java:compile: > > ejbdoclet: > > > > [ERROR] BUILD FAILED > > [ERROR] File...... D:\Projects\Petsoar\maven.xml > > [ERROR] Element... ant > > [ERROR] Line...... 13 > > [ERROR] Column.... 81 > > [ERROR] java.lang.NullPointerException > > Total time: 25 seconds > > This needs fixing.... Note that it happens if I set inheritRefs="true". Of course it doesn't find the refernce if inheritRefs is missing. IIRC properties are correctly inherited, but a classpath ref not. > > But I can run run-xdoclet.xml from command line easily. Folks, > Maven > > seems to have some classloader problems, or maybe some trouble with > path > > refs. > Can you post something small to the maven-user list that shows <ant/> > > failing from maven.xml in general, or is it only when used in > conjunction > with xdoclet? I'd love to have maven supporting xdoclet ASAP, Yup, I will send you a simple test tonight. Thanks for your interest in fixing this problem :-) > from > what I can tell there are the following issues: > > a) xdoclet seems to create ant tasks under the covers, and hence from > > Maven's perspective, it needs to be in the root classloader as a > dependency This is the problem. I think the only problem. See my previous email which had an attachment. Do you have an explaination for what I was encountering there? > b) Maven puts non-serializable objects as 'Ant' properties. XDoclet > serializes them and fails. This theory is out, because 1.2 from cvs doesn't do any serialization. > c) Maven's <ant/> tag fails with an NPE Problem is inheritRefs IIRC. Something like maven.dependency.claspath in an external build.xml fails. Ara. __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
