5 Replies Latest reply on Feb 13, 2006 1:40 PM by curt.johnson

    fetch_org.hibernate.eclipse.feature.xml not generating prope

      I've updated my CVS to the latest and greatest and run the configuration. My build fails trying to get hibernate from CVS. It appears that fetch_org.hibernate.eclipse.feature.xml is not generating properly. This build file ends with a unended target declaration:

      </target>
       <target name="fetch.plugins" if="featureAndPlugins">
      


      Just trying to get a nightly built. Stumped at this point, as I'm not sure whose responsible for generating this file. The error during the build (which I assume is happening after the generation) is:

      [java] fetchElement:
      
       [java] BUILD FAILED
       [java] D:\wdir\jboss-ide\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:22: The following error occurred while executing this line:
       [java] D:\wdir\jboss-ide\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\build.xml:50: The following error occurred while executing this line:
       [java] D:\wdir\jboss-ide\org.jboss.ide.eclipse.releng\builders\hibernate-tools\customTargets.xml:13: The following error occurred while executing this line:
       [java] D:\wdir\jboss-ide\eclipse\plugins\org.eclipse.pde.build_3.1.0\scripts\genericTargets.xml:34: org.eclipse.core.runtime.CoreException: Feature org.hibernate.eclipse.feature may have not been fetched correctly, check your map files.
      


      Thanks in advance,
      Curt

        • 1. Re: fetch_org.hibernate.eclipse.feature.xml not generating p

          Hey Curt...

          You should probably know that making a nightly build of hibernate tools can be problematic from time to time due to the unreliability of sourceforge. This is usually the error you will receive from the build system if it times out trying to get a response from sourceforge CVS.

          The good news is that Hibernate Tools is moving to JBoss CVS very soon, and this will increase the reliability of JBossIDE build significantly.

          • 2. Re: fetch_org.hibernate.eclipse.feature.xml not generating p

            I looked at that, I believe this is happening before it actually tries to fetch the code from SF. I've gone over the map files that it's using and tested with my own CVS client.

            I did notice that Hibernate is having issues, with integration into the build, but I figure I might as well try and fix it if I can, except this error has me a bit stumped.

            If anyone can give me an idea about how this file gets generated or what might cause it to quit prematurely, I'll look into it this weekend.

            BTW, is there an ETA on when Hibernate Tools will be in the JBoss CVS?

            Thanks,
            Curt

            • 3. Re: fetch_org.hibernate.eclipse.feature.xml not generating p
              maxandersen

              im currently working on the plan on how to do it...(want to split some of the plugins up ;) hopefully that plan will let me know when too...

              • 4. Re: fetch_org.hibernate.eclipse.feature.xml not generating p

                The "fetch_xxx" scripts are generated by eclipse's magical ant tasks (we call them magical because they require a special eclipse-based antrunner to execute, otherwise they don't work).

                usually if the fetch script is being generated improperly, it's a sign that there is a problem fetching all or part of the feature.xml from cvs. there are cases though when i.e. there's a map file error (though this is rarely the case as our map files have been pretty solid for a good 4-5 months now).

                Are you building hibernate tools by itself or building the entire product? If you are building it by itself I would make sure to clear out the build directory after every build.. (there are some kludges if you try to use partially checked out source w/ eclipse builds)

                As far as the ETA on HTools move to CVS... Max would be able to comment on an exact time frame, but I can say with some confidence "Real Soon Now(TM)" =)

                • 5. Re: fetch_org.hibernate.eclipse.feature.xml not generating p

                  I'm building the entire product. I've followed the docs available via the Wiki. I'm not trying to do anything crazy like update the version of eclipse or try a new version of the tools.

                  I'll zero in on that feature.xml when I get a chance.
                  Thanks,
                  Curt