JBoss Tools SVN: r17570 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-09-14 18:23:24 -0400 (Mon, 14 Sep 2009)
New Revision: 17570
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/el/AbstractELCompletionEngine.java
Log:
JBIDE-512 context variable code completion dropdown should show their "source"
JBIDE-2541 Show java-doc for EL content assist item
The values of type, sourceType and JavaDoc are gathered to be displayed in CA
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/el/AbstractELCompletionEngine.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/el/AbstractELCompletionEngine.java 2009-09-14 22:22:38 UTC (rev 17569)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/el/AbstractELCompletionEngine.java 2009-09-14 22:23:24 UTC (rev 17570)
@@ -16,8 +16,11 @@
import java.util.TreeSet;
import org.eclipse.core.resources.IFile;
+import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jdt.core.Signature;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.IDocument;
import org.eclipse.swt.graphics.Image;
@@ -40,6 +43,8 @@
import org.jboss.tools.common.el.core.resolver.ElVarSearcher;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector;
import org.jboss.tools.common.el.core.resolver.Var;
+import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.MemberInfo;
+import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.MemberPresentation;
import org.jboss.tools.common.text.TextProposal;
import org.jboss.tools.jst.web.kb.IPageContext;
@@ -248,18 +253,29 @@
ELOperandResolveStatus oldElStatus = resolveELOperand(file, operand, returnEqualedVariablesOnly, false);
status.getProposals().addAll(oldElStatus.getProposals());
}
-
+
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+ // TODO: Add type, sourceType and JavaDoc found if possible
+ // Reason of incomplete: there are no resolved members here,
+ // The var value is to be resolved by the ELResolver to let us know
+ // what is the var's type
if(!returnEqualedVariablesOnly && vars!=null) {
- List<String> varNameProposals = getVarNameProposals(vars, operand.toString());
- if (varNameProposals != null) {
- for (String varNameProposal : varNameProposals) {
+
+ for (Var v : vars) {
+ String prefix = operand.toString();
+ if(v.getName().startsWith(prefix)) {
+ String varNameProposal = v.getName().substring(prefix.length());
TextProposal proposal = new TextProposal();
proposal.setReplacementString(varNameProposal);
+ proposal.setLabel(v.getName());
proposal.setImage(getELProposalImage());
status.getProposals().add(proposal);
}
}
}
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
+
+
return status;
}
@@ -330,14 +346,39 @@
// no vars are resolved
// the tokens are the part of var name ended with a separator (.)
resolvedVariables = resolveVariables(file, expr, true, returnEqualedVariablesOnly);
+
Set<TextProposal> proposals = new TreeSet<TextProposal>(TextProposal.KB_PROPOSAL_ORDER);
for (V var : resolvedVariables) {
String varName = var.getName();
if(varName.startsWith(operand.getText())) {
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+ MemberInfo member = getMemberInfoByVariable(var, true);
+
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
TextProposal proposal = new TextProposal();
proposal.setReplacementString(varName.substring(operand.getLength()));
setImage(proposal, var);
+ proposal.setType(typeName);
+ proposal.setSourceType(sourceTypeName);
+ proposal.setContextInfo(attachedJavaDoc);
+
proposals.add(proposal);
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
}
}
status.setProposals(proposals);
@@ -353,25 +394,53 @@
// For example @Factory and @DataModel. We should use @DataModel instead of @Factory
// method which returns null.
// See https://jira.jboss.org/jira/browse/JBIDE-3694
+
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
TypeInfoCollector.MemberInfo bijectedAttribute = null;
for (V var : resolvedVariables) {
if(isSingularAttribute(var)) {
bijectedAttribute = getMemberInfoByVariable(var, true);
}
+ MemberInfo member = getMemberInfoByVariable(var, true);
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
String varName = var.getName();
if(operand.getLength()<=varName.length()) {
TextProposal proposal = new TextProposal();
proposal.setReplacementString(varName.substring(operand.getLength()));
+ proposal.setLabel(varName);
setImage(proposal, var);
+ proposal.setType(typeName);
+ proposal.setSourceType(sourceTypeName);
+ proposal.setContextInfo(attachedJavaDoc);
proposals.add(proposal);
} else if(returnEqualedVariablesOnly) {
TextProposal proposal = new TextProposal();
proposal.setReplacementString(varName);
+ proposal.setLabel(varName);
setImage(proposal, var);
+ proposal.setType(typeName);
+ proposal.setSourceType(sourceTypeName);
+ proposal.setContextInfo(attachedJavaDoc);
proposals.add(proposal);
}
status.setMemberOfResolvedOperand(bijectedAttribute!=null?bijectedAttribute:getMemberInfoByVariable(var, true));
}
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
+
status.setLastResolvedToken(expr);
status.setProposals(proposals);
return status;
@@ -505,6 +574,9 @@
status.setMapOrCollectionOrBundleAmoungTheTokens();
}
+
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+ /*
Set<String> methodPresentations =
infos.getMethodPresentationStrings();
if (methodPresentations != null) {
@@ -516,6 +588,43 @@
kbProposals.add(proposal);
}
}
+ */
+
+ Set<MemberPresentation> methodPresentations =
+ infos.getMethodPresentations();
+
+ if (methodPresentations != null) {
+ for (MemberPresentation presentation : methodPresentations) {
+ String presentationString = presentation.getPresentation();
+ MemberInfo member = presentation.getMember();
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
+ TextProposal proposal = new TextProposal();
+ proposal.setReplacementString(presentationString);
+ proposal.setLabel(presentationString);
+ proposal.setImage(getELProposalImage());
+ proposal.setType(typeName);
+ proposal.setSourceType(sourceTypeName);
+ proposal.setContextInfo(attachedJavaDoc);
+
+ kbProposals.add(proposal);
+ }
+ }
+
+ /*
Set<String> propertyPresentations =
infos.getPropertyPresentationStrings(status.getUnpairedGettersOrSetters());
if (propertyPresentations != null) {
@@ -527,6 +636,43 @@
kbProposals.add(proposal);
}
}
+ */
+
+ Set<MemberPresentation> propertyPresentations =
+ infos.getPropertyPresentations(status.getUnpairedGettersOrSetters());
+
+ if (propertyPresentations != null) {
+ for (MemberPresentation presentation : propertyPresentations) {
+ String presentationString = presentation.getPresentation();
+ MemberInfo member = presentation.getMember();
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
+ TextProposal proposal = new TextProposal();
+ proposal.setReplacementString(presentationString);
+ proposal.setLabel(presentationString);
+ proposal.setImage(getELProposalImage());
+ proposal.setType(typeName);
+ proposal.setSourceType(sourceTypeName);
+ proposal.setContextInfo(attachedJavaDoc);
+
+ kbProposals.add(proposal);
+ }
+ }
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
+
}
} else
if(expr.getType() != ELObjectType.EL_ARGUMENT_INVOCATION)
@@ -576,12 +722,35 @@
break;
}
} else if (proposal.getPresentation().startsWith(filter)) {
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+
// This is used for CA.
+ MemberInfo member = proposal.getMember();
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
TextProposal kbProposal = new TextProposal();
kbProposal.setReplacementString(proposal.getPresentation().substring(filter.length()));
+ kbProposal.setLabel(proposal.getPresentation());
kbProposal.setImage(getELProposalImage());
+ kbProposal.setType(typeName);
+ kbProposal.setSourceType(sourceTypeName);
+ kbProposal.setContextInfo(attachedJavaDoc);
kbProposals.add(kbProposal);
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
}
}
} else if(expr.getType() == ELObjectType.EL_ARGUMENT_INVOCATION) {
@@ -645,6 +814,24 @@
}
} else if (proposal.getPresentation().startsWith(filter)) {
// This is used for CA.
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+
+ MemberInfo member = proposal.getMember();
+ String sourceTypeName = member == null ? null : member.getDeclaringTypeQualifiedName();
+ if (sourceTypeName != null && sourceTypeName.indexOf('.') != -1)
+ sourceTypeName = Signature.getSimpleName(sourceTypeName);
+ String typeName = member == null ? null : member.getType().getName();
+ if (typeName != null && typeName.indexOf('.') != -1)
+ typeName = Signature.getSimpleName(typeName);
+ IJavaElement element = member == null ? null : member.getJavaElement();
+ String attachedJavaDoc = null;
+
+ try {
+ attachedJavaDoc = element == null ? null : element.getAttachedJavadoc(null);
+ } catch (JavaModelException e) {
+ // Ignore
+ }
+
TextProposal kbProposal = new TextProposal();
String replacementString = proposal.getPresentation().substring(filter.length());
@@ -654,8 +841,12 @@
kbProposal.setReplacementString(replacementString);
kbProposal.setImage(getELProposalImage());
-
+ kbProposal.setType(typeName);
+ kbProposal.setSourceType(sourceTypeName);
+ kbProposal.setContextInfo(attachedJavaDoc);
+
kbProposals.add(kbProposal);
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
}
}
}
14 years, 9 months
JBoss Tools SVN: r17569 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-09-14 18:22:38 -0400 (Mon, 14 Sep 2009)
New Revision: 17569
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JspContentAssistProcessor.java
Log:
JBIDE-512 context variable code completion dropdown should show their "source"
JBIDE-2541 Show java-doc for EL content assist item
The values of type, sourceType and JavaDoc are gathered to be displayed in CA
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java 2009-09-14 22:20:05 UTC (rev 17568)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/FaceletPageContectAssistProcessor.java 2009-09-14 22:22:38 UTC (rev 17569)
@@ -205,7 +205,13 @@
int cursorPosition = replacementString.length();
Image image = textProposal.getImage();
- String displayString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+// String displayString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
+ String displayString = textProposal.getLabel();
+ if (displayString == null)
+ displayString = textProposal.getReplacementString() == null ? replacementString : textProposal.getReplacementString();
+
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
IContextInformation contextInformation = null;
String additionalProposalInfo = textProposal.getContextInfo();
int relevance = textProposal.getRelevance();
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JspContentAssistProcessor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JspContentAssistProcessor.java 2009-09-14 22:20:05 UTC (rev 17568)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JspContentAssistProcessor.java 2009-09-14 22:22:38 UTC (rev 17569)
@@ -603,7 +603,14 @@
int cursorPosition = replacementString.length();
Image image = textProposal.getImage();
- String displayString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
+ // JBIDE-512, JBIDE-2541 related changes ===>>>
+// String displayString = prefix.getText().substring(0, replacementLength) + textProposal.getReplacementString();
+ String displayString = textProposal.getLabel();
+ if (displayString == null)
+ displayString = textProposal.getReplacementString() == null ? replacementString : textProposal.getReplacementString();
+
+ // <<<=== JBIDE-512, JBIDE-2541 related changes
+
IContextInformation contextInformation = null;
String additionalProposalInfo = (textProposal.getContextInfo() == null ? "" : textProposal.getContextInfo()); //$NON-NLS-1$
int relevance = textProposal.getRelevance();
14 years, 9 months
JBoss Tools SVN: r17568 - trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-09-14 18:20:05 -0400 (Mon, 14 Sep 2009)
New Revision: 17568
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/TextProposal.java
Log:
JBIDE-512 context variable code completion dropdown should show their "source"
JBIDE-2541 Show java-doc for EL content assist item
The values of type, sourceType and JavaDoc are gathered to be displayed in CA
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/TextProposal.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/TextProposal.java 2009-09-14 22:16:37 UTC (rev 17567)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/TextProposal.java 2009-09-14 22:20:05 UTC (rev 17568)
@@ -45,12 +45,31 @@
private int relevance = R_NONE;
private int position = -1;
private boolean autoActivationContentAssistantAfterApplication = false;
-
+
+ private String type;
+ private String sourceType;
+
private int start = -1;
private int end = -1;
PostProcessing postProcessing;
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String typeName) {
+ this.type = typeName;
+ }
+
+ public String getSourceType() {
+ return sourceType;
+ }
+
+ public void setSourceType(String sourceTypeName) {
+ this.sourceType = sourceTypeName;
+ }
+
/**
*
* @return
@@ -85,7 +104,19 @@
* @return
*/
public String getLabel() {
- return label;
+ String l = label != null ? label : getReplacementString() == null ? "" : getReplacementString(); //$NON-NLS-1$
+
+ StringBuffer dispLabel = new StringBuffer(l);
+ if (type != null) {
+ dispLabel.append(" : "); //$NON-NLS-1$
+ dispLabel.append(type);
+ }
+ if (sourceType != null) {
+ dispLabel.append(" - "); //$NON-NLS-1$
+ dispLabel.append(sourceType);
+ }
+
+ return dispLabel.toString();
}
/**
14 years, 9 months
JBoss Tools SVN: r17567 - trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 18:16:37 -0400 (Mon, 14 Sep 2009)
New Revision: 17567
Added:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/JavaMemberElSegment.java
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegment.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4860
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegment.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegment.java 2009-09-14 19:59:21 UTC (rev 17566)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegment.java 2009-09-14 22:16:37 UTC (rev 17567)
@@ -10,8 +10,9 @@
******************************************************************************/
package org.jboss.tools.common.el.core.resolver;
-import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.core.resources.IResource;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
+import org.jboss.tools.common.model.project.ext.ITextSourceReference;
/**
* Describes a segment of EL operand.
@@ -25,17 +26,17 @@
ELInvocationExpression getToken();
/**
- * @return member info object of resolved segment. May return null.
+ * @return true if the segment has been resolved.
*/
- TypeInfoCollector.MemberInfo getMemberInfo();
+ boolean isResolved();
/**
- * @return Java Element which represent this resolve segment. May return null.
+ * @return resource of underlying object.
*/
- IJavaElement getJavaElement();
+ IResource getResource();
/**
- * @return true if the segment has been resolved.
+ * @return source reference of underlying object.
*/
- boolean isResolved();
+ ITextSourceReference getSourceReference();
}
\ No newline at end of file
Added: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/JavaMemberElSegment.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/JavaMemberElSegment.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/JavaMemberElSegment.java 2009-09-14 22:16:37 UTC (rev 17567)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.common.el.core.resolver;
+
+import org.eclipse.jdt.core.IJavaElement;
+
+/**
+ * Describes a segment of EL operand which is a Java Element.
+ * @author Alexey Kazakov
+ */
+public interface JavaMemberElSegment extends ELSegment {
+
+ /**
+ * @return member info object of resolved segment. May return null.
+ */
+ TypeInfoCollector.MemberInfo getMemberInfo();
+
+ /**
+ * @return Java Element which represent this resolve segment. May return null.
+ */
+ IJavaElement getJavaElement();
+
+ /**
+ * @return true if an underlying object is field and this field has getter.
+ */
+ boolean hasGetter();
+
+ /**
+ * @return true if an underlying object is field and this field has setter.
+ */
+ boolean hasSetter();
+}
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/JavaMemberElSegment.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r17566 - trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:59:21 -0400 (Mon, 14 Sep 2009)
New Revision: 17566
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
Log:
Added dependency to core plug-in
Modified: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2009-09-14 19:58:51 UTC (rev 17565)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2009-09-14 19:59:21 UTC (rev 17566)
@@ -6,4 +6,5 @@
Bundle-Vendor: JBoss by Red Hat
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.jboss.tools.tests,
- org.junit;bundle-version="3.8.2"
+ org.junit,
+ org.jboss.tools.cdi.core
14 years, 9 months
JBoss Tools SVN: r17565 - in trunk/cdi/tests/org.jboss.tools.cdi.ui.test: .settings and 8 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:58:51 -0400 (Mon, 14 Sep 2009)
New Revision: 17565
Added:
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.project
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/build.properties
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/
trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/CDIUIAllTests.java
Log:
Share project "org.jboss.tools.cdi.ui.test" into "https://svn.jboss.org/repos/jbosstools"
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.classpath
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.classpath (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.classpath 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.project (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.project 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.ui.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/org.eclipse.jdt.core.prefs 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,8 @@
+#Mon Sep 14 23:52:48 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/MANIFEST.MF 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Contexts and Dependency Injection UI Test
+Bundle-SymbolicName: org.jboss.tools.cdi.ui.test
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss by Red Hat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.junit,
+ org.jboss.tools.cdi.ui,
+ org.jboss.tools.tests
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/build.properties
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/build.properties (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/build.properties 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/CDIUIAllTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/CDIUIAllTests.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/CDIUIAllTests.java 2009-09-14 19:58:51 UTC (rev 17565)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.cdi.core.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class CDIUIAllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("CDI UI Tests");
+ return suite;
+ }
+}
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/core/test/CDIUIAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r17563 - in trunk/cdi/plugins: org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:51:10 -0400 (Mon, 14 Sep 2009)
New Revision: 17563
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/CDIUIPlugin.java
Removed:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF
Log:
Minor changes in initial classes for CDI tools.
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF 2009-09-14 19:49:56 UTC (rev 17562)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF 2009-09-14 19:51:10 UTC (rev 17563)
@@ -1,10 +1,12 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: %Bundle-Name
+Bundle-Name: Context and Dependency Injection Core
Bundle-SymbolicName: org.jboss.tools.cdi.core
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.cdi.core.CDICorePlugin
Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime
+ org.eclipse.core.runtime,
+ org.jboss.tools.common
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: JBoss by Red Hat
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java 2009-09-14 19:49:56 UTC (rev 17562)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java 2009-09-14 19:51:10 UTC (rev 17563)
@@ -1,20 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.cdi.core;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.jboss.tools.common.log.BaseUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
-public class CDICorePlugin extends AbstractUIPlugin {
+public class CDICorePlugin extends BaseUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "org.jboss.tools.cdi.core";
// The shared instance
private static CDICorePlugin plugin;
-
+
/**
* The constructor
*/
@@ -58,4 +68,4 @@
public static ImageDescriptor getImageDescriptor(String path) {
return imageDescriptorFromPlugin(PLUGIN_ID, path);
}
-}
+}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF 2009-09-14 19:49:56 UTC (rev 17562)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF 2009-09-14 19:51:10 UTC (rev 17563)
@@ -3,9 +3,11 @@
Bundle-Name: Context and Dependency Injection UI
Bundle-SymbolicName: org.jboss.tools.cdi.ui
Bundle-Version: 1.0.0
-Bundle-Activator: org.jboss.tools.cdi.ui.Activator
+Bundle-Activator: org.jboss.tools.cdi.ui.CDIUIPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- org.jboss.tools.cdi.core;bundle-version="1.0.0"
+ org.jboss.tools.cdi.core,
+ org.jboss.tools.common
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: JBoss by Red Hat
Deleted: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java 2009-09-14 19:49:56 UTC (rev 17562)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java 2009-09-14 19:51:10 UTC (rev 17563)
@@ -1,50 +0,0 @@
-package org.jboss.tools.cdi.ui;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.cdi.ui";
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
-}
Copied: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/CDIUIPlugin.java (from rev 17560, trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java)
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/CDIUIPlugin.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/CDIUIPlugin.java 2009-09-14 19:51:10 UTC (rev 17563)
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.cdi.ui;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class CDIUIPlugin extends BaseUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.cdi.ui";
+
+ // The shared instance
+ private static CDIUIPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public CDIUIPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static CDIUIPlugin getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/CDIUIPlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r17562 - in trunk/cdi/tests/org.jboss.tools.cdi.core.test: .settings and 8 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:49:56 -0400 (Mon, 14 Sep 2009)
New Revision: 17562
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.core.test/.project
trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.core.test/build.properties
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
Log:
Share project "org.jboss.tools.cdi.core.test" into "https://svn.jboss.org/repos/jbosstools"
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.classpath
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/.classpath (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/.classpath 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/.project (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/.project 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.core.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/org.eclipse.jdt.core.prefs 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,8 @@
+#Mon Sep 14 23:36:44 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Contexts and Dependency Injection Test
+Bundle-SymbolicName: org.jboss.tools.cdi.core.test
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss by Red Hat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.jboss.tools.tests,
+ org.junit;bundle-version="3.8.2"
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/build.properties
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/build.properties (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/build.properties 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java 2009-09-14 19:49:56 UTC (rev 17562)
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2009 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.cdi.core.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.jboss.tools.tests.AbstractPluginsLoadTest;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class CDICoreAllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("CDI Core Tests");
+ return suite;
+ }
+
+ public class CDIPluginsLoadTest extends AbstractPluginsLoadTest {
+ public void testBundlesAreLoadedForSeamFeature(){
+ testBundlesAreLoadedFor("org.jboss.tools.cdi.feature");
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/CDICoreAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months