[JBoss JIRA] Created: (JBIDE-943) Unable to exclude directory in 2.0Beta3 project archives
by Jiyang Hu (JIRA)
Unable to exclude directory in 2.0Beta3 project archives
--------------------------------------------------------
Key: JBIDE-943
URL: http://jira.jboss.com/jira/browse/JBIDE-943
Project: JBoss Tools
Issue Type: Bug
Components: Archives
Affects Versions: 2.0.0.Beta3
Environment: WinXP SP2+JDK1.5.11
Reporter: Jiyang Hu
Priority: Critical
Fix For: 2.0.0.Beta4
I have hbm files in different folders(com/abc, com/def). When I set up web war file I need put it under a hbm folder without directories. Problem is when I ran following xml snippet (generated by project archives), all folders will be copied to my hbm folder.
<folder name="hbm">
<fileset dir="/fqportal/src" includes="**/*.hbm.xml" inWorkspace="true">
<properties></properties>
</fileset>
<properties></properties>
</folder>
I even tried adding exclude="**/com/**" and exclude="**/com" as below but still not work.
<folder name="hbm">
<fileset dir="/fqportal/src" includes="**/*.hbm.xml" excludes="**/com" inWorkspace="true">
<properties></properties>
</fileset>
<properties></properties>
</folder>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (JBIDE-1733) Problem with wtp validators when testing
by Snjezana Peco (JIRA)
Problem with wtp validators when testing
----------------------------------------
Key: JBIDE-1733
URL: http://jira.jboss.com/jira/browse/JBIDE-1733
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: QA
Affects Versions: 2.0.0.GA
Reporter: Snjezana Peco
Priority: Minor
I'm not sure if this is a bug in the wtp validators or some validator is implemented incorrectly.
The result is throwing the following exception :
java.lang.NullPointerException
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.endProcessing(ValidatorStrategy.java:140)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.endProcessing(DocumentRegionProcessor.java:71)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:647)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
or NPE in the DirtyRegionProcessor.computePartitioning(int drOffset, int drLength) method.
I propose suspending all validators unless if the validators are tested.
This can be achieved by the following code (VpeTest.java) :
protected void performTestForVpeComponent(IFile componentPage)
throws PartInitException, Throwable {
performTestForVpeComponent(componentPage, true);
}
protected void performTestForVpeComponent(IFile componentPage, boolean disableValidation)
throws PartInitException, Throwable {
TestUtil.waitForJobs();
if (disableValidation) {
IProject project = componentPage.getProject();
if (project != null) {
ProjectConfiguration projectConfiguration = ConfigurationManager
.getManager().getProjectConfiguration(project);
projectConfiguration.setDoesProjectOverride(true);
projectConfiguration.setDisableAllValidation(true);
}
}
It is necessary to add org.eclipse.wst.validation to the required plugins of the org.jboss.tools.jsf.vpe.ui.test plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months