Okay, I have ported all my projects over to MyEclipse. I built each project shell by scratch. I added the XDoclet functionality tfor building the deployment descriptors in the Web and EJB projects. All was working fine. Next, I moved onto making the build process repeatable by checking my code/setup into the respository. I checked out the code and settings using Eclipse Plugin–subclipse 1.2. Now I am getting the below exception when I “run XDoclet”.
java.lang.NullPointerException
at org.jboss.ide.eclipse.xdoclet.run.util.ProjectUtil.populateClassPath(ProjectUtil.java:183)
at org.jboss.ide.eclipse.xdoclet.run.util.ProjectUtil.populateClassPath(ProjectUtil.java:101)
at org.jboss.ide.eclipse.xdoclet.run.util.ProjectUtil.getClassPathAsXml(ProjectUtil.java:69)
at org.jboss.ide.eclipse.xdoclet.run.util.ProjectUtil.transformBuildFile(ProjectUtil.java:417)
at org.jboss.ide.eclipse.xdoclet.run.ui.XDocletRunAction$2.run(XDocletRunAction.java:319)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
I am wondering if I have forgotten something in my setups. Here is what I have checked.
1. Windows -> Preferences->MyEclipse ->XDoclet ->Build. Select the Use dynamic build specification.
2. Ensured I did have my .xdoclet file within the project’s root level directory.
Any help would be greatly appreciated.
Russ