5 Replies Latest reply on Nov 12, 2008 4:47 AM by Max Rydahl Andersen

    CCE from building all packages from project

    Ciro Cavani Novice

      I have one project with an EAR content that depends of some other projects (usually packaged as ejbs inside and outside ear or outside pars or jars inside ear lib). Building package by package is very slow for real use. Then I set viewing project as root and run build in project.

      Anyway, this works nicely with JB2 and doesn't for JB3 (alpha, beta and last nightly). I found one workaround: update timestamp of .packages files. Building each package works too.

      The error I got (same error for a large project and a very tiny for test):

      java.lang.ClassCastException: org.jboss.ide.eclipse.archives.ui.providers.ArchivesContentProviderDelegate$WrappedProject cannot be cast to org.jboss.ide.eclipse.archives.core.model.IArchiveNode
       at org.jboss.ide.eclipse.archives.ui.actions.BuildAction$1.run(BuildAction.java:77)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Sorry if this is a known issue.