facebook

Unable to run XDoclet

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #262912 Reply

    Russ
    Member

    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

    #262918

    Russ
    Member

    When I try to re-created the XDoclet structure again from scratch, I get the same error.

    #262934

    Scott Anderson
    Participant

    Russ,

    Since everything worked before you checked the project into the repository can you reverify that you checked in all the project’s “dot” files: .project, .classpath, .xdoclet, etc from your original working project? To see all the “dot” files you need to turn off filtering of them in the Package Explorer view on it’s dropdown menu (small, downward pointing arrow) and select ‘Filters’.

    #262950

    Russ
    Member

    Scott:

    Yet, you were right. The best approach is to check everything into the repository and wack the *.class files inside the repository. This will get the metadata files required for MyEclipse. Thanks so much!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Unable to run XDoclet

You must be logged in to post in the forum log in