JBoss Tools SVN: r38388 - trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-02-01 20:06:45 -0500 (Wed, 01 Feb 2012)
New Revision: 38388
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java
Log:
JBIDE-10739
https://issues.jboss.org/browse/JBIDE-10739
Web content of project may be its root location, avoid request project.getFolder("/"), it results in illegal argument exception.
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java 2012-02-02 00:59:50 UTC (rev 38387)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/AbstractHyperlink.java 2012-02-02 01:06:45 UTC (rev 38388)
@@ -253,7 +253,7 @@
IPath relativePath = Utils.getRelativePath(webRootPath,
basePath);
IPath filePath = relativePath.append(path);
- member = project.getFolder(sourcePath).getFile(filePath);
+ member = project.getFile(sourcePath.append(filePath));
if (member.exists()) {
return member;
}
@@ -263,7 +263,7 @@
webRootPath = projectPath.append(runtimePath);
relativePath = Utils.getRelativePath(webRootPath, basePath);
filePath = relativePath.append(path);
- member = project.getFolder(runtimePath).getFile(filePath);
+ member = project.getFile(runtimePath.append(filePath));
if (member.exists()) {
return member;
}
@@ -286,14 +286,14 @@
IPath sourcePath = resources[i].getSourcePath();
// Look in source environment
- member = project.getFolder(sourcePath).getFile(path);
+ member = project.getFile(sourcePath.append(path));
if(member.exists()) {
return member;
}
// Look in runtime environment
if (runtimePath.segmentCount() >= ICoreConstants.MINIMUM_FOLDER_SEGMENT_LENGTH - 1) {
- member = project.getFolder(runtimePath).getFile(path);
+ member = project.getFile(runtimePath.append(path));
if (member.exists()) {
return member;
}
13 years, 1 month
JBoss Tools SVN: r38387 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-02-01 19:59:50 -0500 (Wed, 01 Feb 2012)
New Revision: 38387
Removed:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
Log:
Rolled back wrong commit.
Deleted: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java 2012-02-02 00:55:41 UTC (rev 38386)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java 2012-02-02 00:59:50 UTC (rev 38387)
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.kb.internal;
-
-import org.eclipse.core.resources.IProject;
-import org.jboss.tools.common.validation.IProjectValidationContext;
-import org.jboss.tools.common.validation.IProjectValidationContextFactory;
-import org.jboss.tools.jst.web.kb.IKbProject;
-import org.jboss.tools.jst.web.kb.KbProjectFactory;
-
-public class ProjectValidationContextFactory implements IProjectValidationContextFactory {
-
- public IProjectValidationContext getContext(IProject project) {
- IKbProject kb = KbProjectFactory.getKbProject(project, true);
- return kb == null ? null : kb.getValidationContext();
- }
-
-}
13 years, 1 month
JBoss Tools SVN: r38386 - trunk/jst/plugins/org.jboss.tools.jst.web.kb.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-02-01 19:55:41 -0500 (Wed, 01 Feb 2012)
New Revision: 38386
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
Log:
Rolled back wrong commit.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2012-02-02 00:53:05 UTC (rev 38385)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2012-02-02 00:55:41 UTC (rev 38386)
@@ -334,9 +334,4 @@
</queryParticipant>
</extension>
- <extension point="org.jboss.tools.common.model.classes">
- <xclass id="org.jboss.tools.jst.web.kb.internal.ProjectValidationContextFactory"
- class="org.jboss.tools.jst.web.kb.internal.ProjectValidationContextFactory"/>
- </extension>
-
</plugin>
13 years, 1 month
JBoss Tools SVN: r38385 - in trunk: jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2012-02-01 19:53:05 -0500 (Wed, 01 Feb 2012)
New Revision: 38385
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/refactoring/MarkerResolutionUtils.java
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/RenameMethodParticipant.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java
Log:
Seam quick fixes insert incorrectly formated code https://issues.jboss.org/browse/JBIDE-10766
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/refactoring/MarkerResolutionUtils.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/refactoring/MarkerResolutionUtils.java 2012-02-02 00:52:32 UTC (rev 38384)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/refactoring/MarkerResolutionUtils.java 2012-02-02 00:53:05 UTC (rev 38385)
@@ -12,6 +12,7 @@
import java.util.ArrayList;
import java.util.HashSet;
+import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -36,6 +37,7 @@
import org.eclipse.jdt.core.dom.BodyDeclaration;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.internal.core.JavaElement;
+import org.eclipse.jdt.internal.corext.util.CodeFormatterUtil;
import org.eclipse.jpt.common.core.internal.utility.jdt.ASTTools;
import org.eclipse.ltk.core.refactoring.Change;
import org.eclipse.ltk.core.refactoring.CompositeChange;
@@ -254,6 +256,43 @@
}
return list;
}
+
+ public static void addMethod(List<String> lines, ICompilationUnit compilationUnit, IType type, MultiTextEdit rootEdit) throws JavaModelException{
+ IType workingCopyType = findWorkingCopy(compilationUnit, type);
+ if(workingCopyType == null){
+ return;
+ }
+ IBuffer buffer = compilationUnit.getBuffer();
+ String lineSeparator = compilationUnit.findRecommendedLineSeparator();
+
+ int position = workingCopyType.getSourceRange().getOffset()+workingCopyType.getSource().lastIndexOf("}");
+ if(position > 0){
+ String spaces = getLeadingSpacesToInsert(position, buffer);
+
+ int indentWidth = CodeFormatterUtil.getIndentWidth(compilationUnit.getJavaProject());
+ for(int i = 0; i < indentWidth; i++){
+ spaces += SPACE;
+ }
+
+ String text = "";
+ for(String line : lines){
+ text += spaces;
+ text += line;
+ text += lineSeparator;
+ }
+
+ if(rootEdit != null){
+ TextEdit edit = new InsertEdit(position, text);
+ rootEdit.addChild(edit);
+ }else{
+ buffer.replace(position, 0, text);
+
+ synchronized(compilationUnit) {
+ compilationUnit.reconcile(ICompilationUnit.NO_AST, true, null, null);
+ }
+ }
+ }
+ }
public static void addAnnotation(String qualifiedName, ICompilationUnit compilationUnit, IJavaElement element) throws JavaModelException{
addAnnotation(qualifiedName, compilationUnit, element, "");
@@ -364,18 +403,7 @@
str += compilationUnit.findRecommendedLineSeparator();
- int index = position;
- while(index >= 0){
- char c = buffer.getChar(index);
- if(c == C_CARRIAGE_RETURN || c == C_NEW_LINE)
- break;
- index--;
- }
- index++;
- if(index != position){
- String spaces = buffer.getText(index, position-index);
- str += spaces;
- }
+ str += getLeadingSpacesToInsert(position, buffer);
}else{
str += SPACE;
@@ -520,7 +548,7 @@
if(annotation != null){
IBuffer buffer = compilationUnit.getBuffer();
- int numberOfSpaces = getNumberOfSpaces(annotation.getSourceRange().getOffset() + annotation.getSourceRange().getLength(), buffer);
+ int numberOfSpaces = getNumberOfSpacesToDelete(annotation.getSourceRange().getOffset() + annotation.getSourceRange().getLength(), buffer);
// delete annotation
if(rootEdit != null){
@@ -535,7 +563,7 @@
}
}
- private static int getNumberOfSpaces(int startPosition, IBuffer buffer){
+ private static int getNumberOfSpacesToDelete(int startPosition, IBuffer buffer){
int position = startPosition;
int numberOfSpaces = 0;
if(position < buffer.getLength()-1){
@@ -549,6 +577,21 @@
return numberOfSpaces;
}
+ private static String getLeadingSpacesToInsert(int startPosition, IBuffer buffer){
+ int position = startPosition;
+ while(position >= 0){
+ char c = buffer.getChar(position);
+ if(c == C_CARRIAGE_RETURN || c == C_NEW_LINE)
+ break;
+ position--;
+ }
+ position++;
+ if(position != startPosition){
+ return buffer.getText(position, startPosition-position);
+ }
+ return "";
+ }
+
public static void deleteImportForAnnotation(String qualifiedName, IAnnotation annotation, ICompilationUnit compilationUnit, IBuffer buffer, MultiTextEdit rootEdit) throws JavaModelException{
IImportDeclaration importDeclaration = compilationUnit.getImport(qualifiedName);
IImportContainer importContainer = compilationUnit.getImportContainer();
@@ -563,7 +606,7 @@
if(checkImport(textBefore, qualifiedName) && checkImport(textAfter, qualifiedName)){
int numberOfSpaces = 0;
if(!isLastImport(importContainer, importDeclaration)){
- numberOfSpaces = getNumberOfSpaces(importDeclaration.getSourceRange().getOffset() + importDeclaration.getSourceRange().getLength(), buffer);
+ numberOfSpaces = getNumberOfSpacesToDelete(importDeclaration.getSourceRange().getOffset() + importDeclaration.getSourceRange().getLength(), buffer);
}
TextEdit edit = new DeleteEdit(importDeclaration.getSourceRange().getOffset(), importDeclaration.getSourceRange().getLength()+numberOfSpaces);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/RenameMethodParticipant.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/RenameMethodParticipant.java 2012-02-02 00:52:32 UTC (rev 38384)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/RenameMethodParticipant.java 2012-02-02 00:53:05 UTC (rev 38385)
@@ -16,7 +16,6 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.jdt.core.IJavaElement;
@@ -33,7 +32,6 @@
import org.eclipse.text.edits.MultiTextEdit;
import org.eclipse.text.edits.ReplaceEdit;
import org.eclipse.text.edits.TextEdit;
-import org.jboss.tools.common.model.project.ProjectHome;
import org.jboss.tools.common.util.BeanUtil;
import org.jboss.tools.jsf.ui.JsfUIMessages;
import org.jboss.tools.jst.web.kb.refactoring.ELProjectSetExtension;
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java 2012-02-02 00:52:32 UTC (rev 38384)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/marker/AbstractSeamMarkerResolution.java 2012-02-02 00:53:05 UTC (rev 38385)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.ui.marker;
+import java.util.ArrayList;
import java.util.Map;
import org.eclipse.core.resources.IFile;
@@ -17,9 +18,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jdt.core.IBuffer;
import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.IImportDeclaration;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
@@ -164,33 +163,38 @@
}
ICompilationUnit compilationUnit = original.getWorkingCopy(new NullProgressMonitor());
- final String lineDelim= compilationUnit.findRecommendedLineSeparator();
-
IType type = compilationUnit.findPrimaryType();
if(type != null){
- IImportDeclaration importDeclaration = compilationUnit.getImport(qualifiedName);
- if(importDeclaration == null || !importDeclaration.exists())
- compilationUnit.createImport(qualifiedName, null, new NullProgressMonitor());
String annotation = MarkerResolutionUtils.getShortName(qualifiedName);
String methodName = annotation.toLowerCase();
+ CompilationUnitChange change = new CompilationUnitChange("", compilationUnit);
+
+ MultiTextEdit edit = new MultiTextEdit();
+
+ change.setEdit(edit);
+
IMethod oldMethod = type.getMethod(methodName, new String[]{});
if(oldMethod == null || !oldMethod.exists()){
- StringBuffer buf= new StringBuffer();
- buf.append("@"+annotation); //$NON-NLS-1$
- buf.append(lineDelim);
- buf.append("public void "+methodName+"() {"); //$NON-NLS-1$ //$NON-NLS-2$
- buf.append(lineDelim);
- buf.append("}"); //$NON-NLS-1$
- type.createMethod(buf.toString(), null, false, new NullProgressMonitor());
+ MarkerResolutionUtils.addImport(qualifiedName, compilationUnit, edit);
+
+ ArrayList<String> lines = new ArrayList<String>();
+
+ lines.add("@"+annotation); //$NON-NLS-1$
+ lines.add("public void "+methodName+"() {"); //$NON-NLS-1$ //$NON-NLS-2$
+ lines.add("}"); //$NON-NLS-1$
+
+ MarkerResolutionUtils.addMethod(lines, compilationUnit, type, edit);
}else{
- IBuffer buffer = compilationUnit.getBuffer();
- buffer.replace(oldMethod.getSourceRange().getOffset(), 0, "@"+annotation+lineDelim);
+ MarkerResolutionUtils.addAnnotation(qualifiedName, compilationUnit, oldMethod, "", edit);
}
-
- compilationUnit.commitWorkingCopy(false, new NullProgressMonitor());
+
+ if(edit.hasChildren()){
+ change.perform(new NullProgressMonitor());
+ original.reconcile(ICompilationUnit.NO_AST, false, null, new NullProgressMonitor());
+ }
compilationUnit.discardWorkingCopy();
}
}catch(CoreException ex){
13 years, 1 month
JBoss Tools SVN: r38384 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: .settings and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2012-02-01 19:52:32 -0500 (Wed, 01 Feb 2012)
New Revision: 38384
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/
trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/org.eclipse.jdt.core.prefs
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
Log:
JBIDE-10739
https://issues.jboss.org/browse/JBIDE-10739
Web content of project may be its root location, avoid request project.getFolder("/"), it results in illegal argument exception.
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/org.eclipse.jdt.core.prefs 2012-02-02 00:52:32 UTC (rev 38384)
@@ -0,0 +1,8 @@
+#Fri Sep 30 12:13:50 PDT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2012-02-02 00:24:18 UTC (rev 38383)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/plugin.xml 2012-02-02 00:52:32 UTC (rev 38384)
@@ -333,4 +333,10 @@
nature="org.eclipse.jdt.core.javanature">
</queryParticipant>
</extension>
+
+ <extension point="org.jboss.tools.common.model.classes">
+ <xclass id="org.jboss.tools.jst.web.kb.internal.ProjectValidationContextFactory"
+ class="org.jboss.tools.jst.web.kb.internal.ProjectValidationContextFactory"/>
+ </extension>
+
</plugin>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java 2012-02-02 00:24:18 UTC (rev 38383)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageContextFactory.java 2012-02-02 00:52:32 UTC (rev 38384)
@@ -79,13 +79,7 @@
import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
import org.jboss.tools.common.el.core.ELReference;
import org.jboss.tools.common.el.core.GlobalELReferenceList;
-import org.jboss.tools.common.el.core.model.ELExpression;
-import org.jboss.tools.common.el.core.model.ELInstance;
-import org.jboss.tools.common.el.core.model.ELInvocationExpression;
-import org.jboss.tools.common.el.core.model.ELModel;
-import org.jboss.tools.common.el.core.parser.ELParser;
import org.jboss.tools.common.el.core.parser.ELParserUtil;
-import org.jboss.tools.common.el.core.parser.SyntaxError;
import org.jboss.tools.common.el.core.resolver.ELContext;
import org.jboss.tools.common.el.core.resolver.ELContextImpl;
import org.jboss.tools.common.el.core.resolver.ELResolverFactoryManager;
@@ -1005,7 +999,7 @@
IPath relativePath = Utils.getRelativePath(webRootPath,
basePath);
IPath filePath = relativePath.append(path);
- member = project.getFolder(sourcePath).getFile(filePath);
+ member = project.getFile(sourcePath.append(filePath));
if (member.exists()) {
return member;
}
@@ -1015,7 +1009,7 @@
webRootPath = projectPath.append(runtimePath);
relativePath = Utils.getRelativePath(webRootPath, basePath);
filePath = relativePath.append(path);
- member = project.getFolder(runtimePath).getFile(filePath);
+ member = project.getFile(runtimePath.append(filePath));
if (member.exists()) {
return member;
}
@@ -1038,14 +1032,14 @@
IPath sourcePath = resources[i].getSourcePath();
// Look in source environment
- member = project.getFolder(sourcePath).getFile(path);
+ member = project.getFile(sourcePath.append(path));
if(member.exists()) {
return member;
}
// Look in runtime environment
if (runtimePath.segmentCount() >= ICoreConstants.MINIMUM_FOLDER_SEGMENT_LENGTH - 1) {
- member = project.getFolder(runtimePath).getFile(path);
+ member = project.getFile(runtimePath.append(path));
if (member.exists()) {
return member;
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2012-02-02 00:24:18 UTC (rev 38383)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/PageProcessor.java 2012-02-02 00:52:32 UTC (rev 38384)
@@ -261,8 +261,15 @@
Map<String, IAttribute> map = new HashMap<String, IAttribute>();
for (IAttribute a: as) {
String n = a.getName();
- if(map.containsKey(n) && !(a instanceof CustomTagLibAttribute)) {
- continue;
+ if(map.containsKey(n)) {
+ IAttribute o = map.get(n);
+ int pa = (a.isPreferable() || a.isRequired()) ? 2 : 0;
+ int po = (o.isPreferable() || o.isRequired()) ? 2 : 0;
+ pa += (a instanceof CustomTagLibAttribute) ? 1 : 0;
+ po += (o instanceof CustomTagLibAttribute) ? 1 : 0;
+ if(pa <= po) {
+ continue;
+ }
}
map.put(n, a);
}
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java 2012-02-02 00:52:32 UTC (rev 38384)
@@ -0,0 +1,26 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.kb.internal;
+
+import org.eclipse.core.resources.IProject;
+import org.jboss.tools.common.validation.IProjectValidationContext;
+import org.jboss.tools.common.validation.IProjectValidationContextFactory;
+import org.jboss.tools.jst.web.kb.IKbProject;
+import org.jboss.tools.jst.web.kb.KbProjectFactory;
+
+public class ProjectValidationContextFactory implements IProjectValidationContextFactory {
+
+ public IProjectValidationContext getContext(IProject project) {
+ IKbProject kb = KbProjectFactory.getKbProject(project, true);
+ return kb == null ? null : kb.getValidationContext();
+ }
+
+}
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 1 month
JBoss Tools SVN: r38383 - trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-02-01 19:24:18 -0500 (Wed, 01 Feb 2012)
New Revision: 38383
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/AddViewSupport.java
Log:
catch(Exception) block replacet to catch particular exceptions
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/AddViewSupport.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/AddViewSupport.java 2012-02-02 00:17:13 UTC (rev 38382)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/AddViewSupport.java 2012-02-02 00:24:18 UTC (rev 38383)
@@ -18,6 +18,7 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.templates.DocumentTemplateContext;
@@ -25,6 +26,7 @@
import org.eclipse.jface.text.templates.TemplateBuffer;
import org.eclipse.jface.text.templates.TemplateContext;
import org.eclipse.jface.text.templates.TemplateContextType;
+import org.eclipse.jface.text.templates.TemplateException;
import org.eclipse.jface.text.templates.persistence.TemplateStore;
import org.eclipse.jst.jsp.ui.internal.JSPUIPlugin;
import org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeIdsJSP;
@@ -97,9 +99,10 @@
try {
TemplateBuffer buffer = context.evaluate(template);
templateString = buffer.getString();
- }
- catch (Exception e) {
+ } catch (BadLocationException e) {
JSFModelPlugin.getDefault().logWarning("Could not create template for new html", e); //$NON-NLS-1$
+ } catch (TemplateException e) {
+ JSFModelPlugin.getDefault().logWarning("Could not create template for new html", e); //$NON-NLS-1$
}
}
13 years, 1 month
JBoss Tools SVN: r38382 - in trunk/vpe: plugins/org.jboss.tools.vpe.docbook/META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-02-01 19:17:13 -0500 (Wed, 01 Feb 2012)
New Revision: 38382
Modified:
trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF
Log:
Syncronized unpack attribute in vpe feature with richfaces feature before split up
Modified: trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2012-02-02 00:17:13 UTC (rev 38382)
@@ -1,24 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.vpe.feature" label="%featureName" version="3.3.0.qualifier">
+<feature
+ id="org.jboss.tools.vpe.feature"
+ label="%featureName"
+ version="3.3.0.qualifier">
- <description url="http://www.jboss.org/tools">
+ <description url="http://www.jboss.org/tools">
%description
</description>
- <copyright>
+ <copyright>
%copyright
</copyright>
- <license url="%licenseURL">
+ <license url="%licenseURL">
%license
</license>
- <plugin id="org.jboss.tools.vpe" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.vpe.docbook" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.html" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.jsp" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.resref" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.ui.palette" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.xulrunner" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.vpe.spring" download-size="0" install-size="0" version="0.0.0" unpack="false" />
+ <plugin
+ id="org.jboss.tools.vpe"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.docbook"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.html"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.resref"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui.palette"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.xulrunner"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.spring"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF 2012-02-02 00:17:13 UTC (rev 38382)
@@ -14,3 +14,4 @@
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-Activator: org.jboss.tools.vpe.docbook.DocbookTemplatePlugin
+Eclipse-BundleShape: dir
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/META-INF/MANIFEST.MF 2012-02-02 00:17:13 UTC (rev 38382)
@@ -17,3 +17,4 @@
Bundle-Localization: plugin
Export-Package: org.jboss.tools.vpe.html.template
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.jsp/META-INF/MANIFEST.MF 2012-02-02 00:17:13 UTC (rev 38382)
@@ -16,3 +16,4 @@
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: org.jboss.tools.vpe.jsp
+Eclipse-BundleShape: dir
13 years, 1 month
JBoss Tools SVN: r38381 - in trunk: common/features/org.jboss.tools.common.text.ext.feature and 16 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2012-02-01 19:12:20 -0500 (Wed, 01 Feb 2012)
New Revision: 38381
Modified:
trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF
trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF
trunk/jst/features/org.jboss.tools.jst.feature/feature.xml
trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.tiles/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.verification/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
Log:
synchonized unpack option from old richfaces feature with new features created during richfaces feature split up
Modified: trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -34,6 +34,7 @@
id="org.jboss.tools.common.projecttemplates"
download-size="0"
install-size="0"
- version="0.0.0"/>
+ version="0.0.0"
+ unpack="false"/>
</feature>
Modified: trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -34,6 +34,7 @@
id="org.jboss.tools.common.text.xml"
download-size="0"
install-size="0"
- version="0.0.0"/>
+ version="0.0.0"
+ unpack="false"/>
</feature>
Modified: trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -33,7 +33,8 @@
id="org.jboss.tools.common.ui"
download-size="0"
install-size="0"
- version="0.0.0"/>
+ version="0.0.0"
+ unpack="false"/>
<plugin
id="org.jboss.tools.common.model.ui"
@@ -45,6 +46,7 @@
id="org.jboss.tools.common.model.ui.capabilities"
download-size="0"
install-size="0"
- version="0.0.0"/>
+ version="0.0.0"
+ unpack="false"/>
</feature>
Modified: trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -1,10 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.common.verification.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName">
+<feature
+ id="org.jboss.tools.common.verification.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName">
- <description url="http://www.jboss.org/tools">%description</description>
- <copyright>%copyright</copyright>
- <license>%license</license>
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
- <plugin id="org.jboss.tools.common.verification" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.common.verification.ui" download-size="0" install-size="0" version="0.0.0" />
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license>
+ %license
+ </license>
+
+ <plugin
+ id="org.jboss.tools.common.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.common.verification.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui.capabilities/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -7,4 +7,4 @@
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui;bundle-version="3.7.0"
Bundle-Vendor: %providerName
-Eclipse-BundleShape: dir
+
Modified: trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -1,36 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.jsf.feature" label="%featureName" version="3.3.0.qualifier" provider-name="%providerName" image="jsf.jpg">
+<feature
+ id="org.jboss.tools.jsf.feature"
+ label="%featureName"
+ version="3.3.0.qualifier"
+ provider-name="%providerName"
+ image="jsf.jpg">
- <description url="http://www.jboss.org/tools">
+ <description url="http://www.jboss.org/tools">
%description
</description>
- <copyright>
+ <copyright>
%copyright
</copyright>
- <license>
- %license
+ <license>
+ %license
</license>
- <requires>
- <import feature="org.jboss.tools.common.feature" version="3.3.0" match="greaterOrEqual" />
- <import feature="org.jboss.tools.jst.feature" version="3.3.0" match="greaterOrEqual" />
- <import feature="org.jboss.tools.vpe.feature" version="3.3.0" match="greaterOrEqual" />
- </requires>
+ <requires>
+ <import feature="org.jboss.tools.common.feature" version="3.3.0" match="greaterOrEqual"/>
+ <import feature="org.jboss.tools.jst.feature" version="3.3.0" match="greaterOrEqual"/>
+ <import feature="org.jboss.tools.vpe.feature" version="3.3.0" match="greaterOrEqual"/>
+ </requires>
- <plugin id="org.jboss.tools.jsf" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.ui" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.verification" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.text.ext" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.text.ext.facelets" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.text.ext.richfaces" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.vpe.facelets" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.vpe.richfaces" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.vpe.seam" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.vpe.ajax4jsf" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jsf.vpe.jsf" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jsf.vpe.myfaces" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jsf.vpe.jbpm" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jsf.vpe.jstl" download-size="0" install-size="0" version="0.0.0" unpack="false" />
+ <plugin
+ id="org.jboss.tools.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext.richfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.richfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.seam"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.ajax4jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.myfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.jbpm"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.jstl"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -16,3 +16,4 @@
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %Bundle-Vendor.0
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -19,3 +19,4 @@
org.jboss.tools.jsf.vpe.facelets.template
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.myfaces/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -18,3 +18,4 @@
Bundle-ClassPath: jsf-vpe-myfaces.jar
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -25,3 +25,4 @@
Export-Package: org.jboss.tools.jsf.vpe.richfaces,
org.jboss.tools.jsf.vpe.richfaces.template
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -23,3 +23,4 @@
Bundle-ClassPath: lib/antlr.jar,
.
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Eclipse-BundleShape: dir
Modified: trunk/jst/features/org.jboss.tools.jst.feature/feature.xml
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.feature/feature.xml 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/features/org.jboss.tools.jst.feature/feature.xml 2012-02-02 00:12:20 UTC (rev 38381)
@@ -1,30 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
-<feature id="org.jboss.tools.jst.feature" label="%featureName" version="3.3.0.qualifier">
+<feature
+ id="org.jboss.tools.jst.feature"
+ label="%featureName"
+ version="3.3.0.qualifier">
- <description url="http://www.jboss.org/tools">
+ <description url="http://www.jboss.org/tools">
%description
</description>
- <copyright>
+ <copyright>
%copyright
</copyright>
- <license>
+ <license>
%license
</license>
- <requires>
- <import feature="org.jboss.tools.common.feature" version="3.3.0" match="greaterOrEqual" />
- </requires>
+ <requires>
+ <import feature="org.jboss.tools.common.feature" version="3.3.0" match="greaterOrEqual"/>
+ </requires>
- <plugin id="org.jboss.tools.jst.web" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.web.kb" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.web.ui" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.web.verification" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.jsp" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.firstrun" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jst.text.ext" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jst.css" download-size="0" install-size="0" version="0.0.0" unpack="false" />
- <plugin id="org.jboss.tools.jst.web.tiles" download-size="0" install-size="0" version="0.0.0" />
- <plugin id="org.jboss.tools.jst.web.tiles.ui" download-size="0" install-size="0" version="0.0.0" />
+ <plugin
+ id="org.jboss.tools.jst.web"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.kb"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.firstrun"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.css"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -60,4 +60,3 @@
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ClassPath: .
-Eclipse-BundleShape: dir
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -59,5 +59,4 @@
org.jboss.tools.jst.web.webapp.model,
org.jboss.tools.jst.web.webapp.model.handlers
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Eclipse-BundleShape: dir
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -26,4 +26,3 @@
org.eclipse.core.runtime;bundle-version="3.7.0"
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Eclipse-BundleShape: dir
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -49,4 +49,3 @@
org.eclipse.core.expressions;bundle-version="3.4.200"
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Eclipse-BundleShape: dir
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -51,4 +51,3 @@
Bundle-Version: 3.3.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: .
-Eclipse-BundleShape: dir
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.verification/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.verification/META-INF/MANIFEST.MF 2012-02-01 22:56:09 UTC (rev 38380)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.verification/META-INF/MANIFEST.MF 2012-02-02 00:12:20 UTC (rev 38381)
@@ -16,4 +16,3 @@
Bundle-Version: 3.3.0.qualifier
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Eclipse-BundleShape: dir
13 years, 1 month
JBoss Tools SVN: r38380 - trunk/jsf/docs/userguide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-02-01 17:56:09 -0500 (Wed, 01 Feb 2012)
New Revision: 38380
Modified:
trunk/jsf/docs/userguide/en-US/Book_Info.xml
Log:
updated for brew
Modified: trunk/jsf/docs/userguide/en-US/Book_Info.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/Book_Info.xml 2012-02-01 22:49:00 UTC (rev 38379)
+++ trunk/jsf/docs/userguide/en-US/Book_Info.xml 2012-02-01 22:56:09 UTC (rev 38380)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
-<pubsnumber>4</pubsnumber>
+<pubsnumber>5</pubsnumber>
<abstract>
<para>The Visual Web Tools Reference Guide explains extensive collection of specialized wizards, editors and views that can be used in various scenarios while developing Web applications.</para>
</abstract>
13 years, 1 month
JBoss Tools SVN: r38379 - in trunk/jsf/docs/userguide/en-US: images/palette and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2012-02-01 17:49:00 -0500 (Wed, 01 Feb 2012)
New Revision: 38379
Modified:
trunk/jsf/docs/userguide/en-US/Book_Info.xml
trunk/jsf/docs/userguide/en-US/images/palette/palette_1.png
trunk/jsf/docs/userguide/en-US/images/palette/palette_12.png
trunk/jsf/docs/userguide/en-US/images/palette/palette_13.png
trunk/jsf/docs/userguide/en-US/images/palette/palette_26.png
trunk/jsf/docs/userguide/en-US/images/palette/palette_9.png
Log:
screenshots updated to change 'Seam 2' menu items back to 'Seam'
Modified: trunk/jsf/docs/userguide/en-US/Book_Info.xml
===================================================================
--- trunk/jsf/docs/userguide/en-US/Book_Info.xml 2012-02-01 21:55:39 UTC (rev 38378)
+++ trunk/jsf/docs/userguide/en-US/Book_Info.xml 2012-02-01 22:49:00 UTC (rev 38379)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>5.0</productnumber>
<edition>5.0.0</edition>
-<pubsnumber>3</pubsnumber>
+<pubsnumber>4</pubsnumber>
<abstract>
<para>The Visual Web Tools Reference Guide explains extensive collection of specialized wizards, editors and views that can be used in various scenarios while developing Web applications.</para>
</abstract>
Modified: trunk/jsf/docs/userguide/en-US/images/palette/palette_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/palette/palette_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/palette/palette_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/palette/palette_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en-US/images/palette/palette_9.png
===================================================================
(Binary files differ)
13 years, 1 month