Author: scabanovich
Date: 2011-10-13 20:56:24 -0400 (Thu, 13 Oct 2011)
New Revision: 35649
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/GenericBeanValidationTest.java
Log:
JBIDE-9911
https://issues.jboss.org/browse/JBIDE-9911
Rebuild of all jars added when available cdi extensions changed.
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/GenericBeanValidationTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/GenericBeanValidationTest.java 2011-10-14
00:55:17 UTC (rev 35648)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/GenericBeanValidationTest.java 2011-10-14
00:56:24 UTC (rev 35649)
@@ -21,6 +21,9 @@
import org.jboss.tools.cdi.internal.core.validation.CDIValidationMessages;
import org.jboss.tools.cdi.seam.solder.core.validation.SeamSolderValidationMessages;
import org.jboss.tools.common.base.test.validation.TestUtil;
+import org.jboss.tools.common.model.filesystems.FileSystemsHelper;
+import org.jboss.tools.common.model.filesystems.impl.Libs;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.tests.AbstractResourceMarkerTest;
@@ -216,5 +219,10 @@
static void kickJava(IProject project) throws CoreException {
project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD,
"org.eclipse.jdt.core.javabuilder", null, new NullProgressMonitor());
+ Libs libs =
FileSystemsHelper.getLibs(EclipseResourceUtil.createObjectForResource(project));
+ if(libs != null) {
+ libs.requestForUpdate();
+ libs.update();
+ }
}
}
\ No newline at end of file