JBoss Tools SVN: r18461 - trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-11-06 19:00:27 -0500 (Fri, 06 Nov 2009)
New Revision: 18461
Modified:
trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java
Log:
Added a remove node method
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java 2009-11-06 18:29:39 UTC (rev 18460)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/src/org/jboss/tools/jmx/core/util/XMLMemento.java 2009-11-07 00:00:27 UTC (rev 18461)
@@ -68,6 +68,10 @@
return new XMLMemento(factory, child);
}
+ public void removeChild(XMLMemento child) {
+ element.removeChild(child.element);
+ }
+
/**
* Create a Document from a Reader and answer a root memento for reading
* a document.
@@ -417,4 +421,12 @@
textNode.setData(data);
}
}
+
+ public String getTextData() {
+ Text textNode = getTextNode();
+ if (textNode != null) {
+ return textNode.getData();
+ }
+ return ""; //$NON-NLS-1$
+ }
}
\ No newline at end of file
16 years, 1 month
JBoss Tools SVN: r18460 - trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/util.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-11-06 13:29:39 -0500 (Fri, 06 Nov 2009)
New Revision: 18460
Modified:
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/util/VariableTableItemWrapper.java
Log:
https://jira.jboss.org/jira/browse/GPD-188
Modified: trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/util/VariableTableItemWrapper.java
===================================================================
--- trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/util/VariableTableItemWrapper.java 2009-11-06 17:37:11 UTC (rev 18459)
+++ trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/util/VariableTableItemWrapper.java 2009-11-06 18:29:39 UTC (rev 18460)
@@ -90,7 +90,7 @@
tableItem.addDisposeListener(this);
tableItem.setData(this);
tableItem.setText(1, getName());
- tableItem.setText(5, getMappedName());
+ tableItem.setText(2, getMappedName());
}
public void widgetDisposed(DisposeEvent e) {
16 years, 1 month
JBoss Tools SVN: r18459 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-11-06 12:37:11 -0500 (Fri, 06 Nov 2009)
New Revision: 18459
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5141
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2009-11-06 17:17:32 UTC (rev 18458)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2009-11-06 17:37:11 UTC (rev 18459)
@@ -24,6 +24,7 @@
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.core.SeamUtil;
@@ -65,11 +66,14 @@
public static IProject getRootSeamProject(IProject project) {
if (project != null) {
ISeamProject seamProject = SeamCorePlugin.getSeamProject(project, false);
- if (seamProject == null) {
+ if (seamProject == null && EclipseResourceUtil.getJavaProject(project)==null) {
// Maybe it is EAR? Then it doesn't have Seam nature and we should try to find child Seam WAR project.
ISeamProject warProject = SeamUtil.findReferencingSeamWarProjectForProject(project);
return warProject!=null?warProject.getProject():null;
}
+ if(seamProject == null) {
+ return null;
+ }
String parentProjectName = seamProject.getParentProjectName();
16 years, 1 month
JBoss Tools SVN: r18458 - in trunk: cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core and 16 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-11-06 12:17:32 -0500 (Fri, 06 Nov 2009)
New Revision: 18458
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/IJavaSourceReference.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java
Removed:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/ITextSourceReference.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaSourceReference.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/IBean.java
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/ELSegmentImpl.java
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/IValueInfo.java
trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ELReference.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/IValidationErrorManager.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IBijectedAttribute.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IRole.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamAnnotatedFactory.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentDeclaration.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentMethod.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamDeclaration.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProperty.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlFactory.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/AbstractSeamDeclaration.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamComponent.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamContextShortVariable.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaContextVariable.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamTextSourceReference.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamElementMatch.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchQuery.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchRequestor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchResultPage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchViewLabelProvider.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLabelProvider.java
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4943
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-11-06 16:12:58 UTC (rev 18457)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF 2009-11-06 17:17:32 UTC (rev 18458)
@@ -7,7 +7,9 @@
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.jboss.tools.common,
- org.eclipse.jdt.core;bundle-version="3.5.0"
+ org.eclipse.jdt.core,
+ org.eclipse.core.resources,
+ org.jboss.tools.common.model
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/IBean.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBean.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -7,13 +7,113 @@
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
+ ******************************************************************************/
package org.jboss.tools.cdi.core;
+import java.util.Set;
+
+import org.eclipse.jdt.core.IAnnotation;
+import org.eclipse.jdt.core.IType;
+import org.jboss.tools.common.text.ITextSourceReference;
+
/**
- * Represents a managed bean
+ * Represents a CDI bean.
+ *
* @author Alexey Kazakov
*/
-public interface IBean {
+public interface IBean extends ICDIElement {
+ /**
+ * Obtains the types of the bean.
+ *
+ * @return the bean types
+ */
+ Set<IType> getTypes();
+
+ /**
+ * Returns the location of a type declaration of this bean. If the bean
+ * doesn't have such declaration then null will be returned.
+ *
+ * @param type
+ * @return the location of the type of this bean.
+ */
+ ITextSourceReference getTypeLocation(IType type);
+
+ /**
+ * Obtains the qualifiers of the bean.
+ *
+ * @return the qualifiers
+ */
+ Set<IAnnotation> getQualifiers();
+
+ /**
+ * Returns the location of a qualifier declaration of this bean. If the bean
+ * doesn't have such declaration then null will be returned.
+ *
+ * @param qualifier
+ * @return the location of the qualifier declaration of this bean.
+ */
+ ITextSourceReference getQualifierLocation(IType qualifier);
+
+ /**
+ * Obtains the EL name of the bean, if it has one.
+ *
+ * @return the EL name
+ */
+ String getName();
+
+ /**
+ * Returns the location of a name declaration of this bean. If the bean
+ * doesn't have the name declaration then null will be returned.
+ *
+ * @return the location of a name declaration of this bean.
+ */
+ ITextSourceReference getNameLocation();
+
+ /**
+ * Obtains the scope of the bean.
+ *
+ * @return the scope
+ */
+ IScope getScope();
+
+ /**
+ * Returns the location of a scope declaration of this bean. If the bean
+ * doesn't have the scope declaration then null will be returned.
+ *
+ * @return the location of a scope declaration of this bean.
+ */
+ ITextSourceReference getScopeLocation();
+
+ /**
+ * Obtains the stereotypes of the bean.
+ *
+ * @return the set of stereotypes
+ */
+ Set<IStereotype> getStereotypes();
+
+ /**
+ * Returns the location of a stereotype declaration of this bean. If the
+ * bean doesn't have such stereotype declaration then null will be returned.
+ *
+ * @param qualifier
+ * @return the location of the stereotype declaration of this bean.
+ */
+ ITextSourceReference getStereotypeLocation(IStereotype stereotype);
+
+ /**
+ * Determines if the bean is an alternative.
+ *
+ * @return <tt>true</tt> if the bean is an alternative, and <tt>false</tt>
+ * otherwise.
+ */
+ boolean isAlternative();
+
+ /**
+ * Obtains the injection points of the bean.
+ *
+ * @return the set of injection points of the bean
+ */
+ Set<IInjectionPoint> getInjectionPoints();
+
}
\ No newline at end of file
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -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.cdi.core;
+
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.IPath;
+
+/**
+ * Common interface for objects of CDI model.
+ *
+ * @author Alexey Kazakov
+ */
+public interface ICDIElement {
+
+ /**
+ * Returns CDI project that contains this object.
+ * @return
+ */
+ ICDIProject getCDIProject();
+
+ /**
+ * Returns path of resource that declares this object.
+ * @return
+ */
+ IPath getSourcePath();
+
+ /**
+ * Returns resource that declares this object.
+ * @return resource
+ */
+ IResource getResource();
+}
\ No newline at end of file
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIElement.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * 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.jboss.tools.common.text.ITextSourceReference;
+
+/**
+ * Represents an injection point.
+ *
+ * @author Alexey Kazakov
+ */
+public interface IInjectionPoint extends ICDIElement, ITextSourceReference {
+
+}
\ No newline at end of file
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IInjectionPoint.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/common/plugins/org.jboss.tools.common/META-INF/MANIFEST.MF 2009-11-06 17:17:32 UTC (rev 18458)
@@ -121,6 +121,7 @@
org.apache.xml.resolver.tools,
org.apache.xml.serialize,
org.jboss.tools.common,
+ org.jboss.tools.common.java,
org.jboss.tools.common.log,
org.jboss.tools.common.preferences,
org.jboss.tools.common.reporting,
Added: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/IJavaSourceReference.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/IJavaSourceReference.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/IJavaSourceReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * 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.java;
+
+import org.eclipse.jdt.core.IMember;
+import org.jboss.tools.common.text.ITextSourceReference;
+
+/**
+ * @author Alexey Kazakov
+ */
+public interface IJavaSourceReference extends ITextSourceReference {
+
+ IMember getSourceMember();
+}
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/java/IJavaSourceReference.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/text/ITextSourceReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -0,0 +1,28 @@
+ /*******************************************************************************
+ * Copyright (c) 2007 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.common.text;
+
+/**
+ * An interface of seam tools model object that has text source.
+ * @author Alexey Kazakov
+ */
+public interface ITextSourceReference {
+
+ /**
+ * @return start position of element in text
+ */
+ public int getStartPosition();
+
+ /**
+ * @return number of characters of element in text
+ */
+ public int getLength();
+}
\ No newline at end of file
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-11-06 16:12:58 UTC (rev 18457)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegment.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -14,7 +14,7 @@
import org.eclipse.core.resources.IResource;
import org.jboss.tools.common.el.core.parser.LexicalToken;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* Describes a segment of EL operand.
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegmentImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegmentImpl.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELSegmentImpl.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -15,7 +15,7 @@
import org.eclipse.core.resources.IResource;
import org.jboss.tools.common.el.core.parser.LexicalToken;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* @author Alexey Kazakov
Deleted: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/ITextSourceReference.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/ITextSourceReference.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/ITextSourceReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -1,28 +0,0 @@
- /*******************************************************************************
- * Copyright (c) 2007 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.common.model.project.ext;
-
-/**
- * An interface of seam tools model object that has text source.
- * @author Alexey Kazakov
- */
-public interface ITextSourceReference {
-
- /**
- * @return start position of element in text
- */
- public int getStartPosition();
-
- /**
- * @return number of characters of element in text
- */
- public int getLength();
-}
\ No newline at end of file
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/IValueInfo.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/IValueInfo.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/project/ext/IValueInfo.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -12,6 +12,7 @@
import java.util.Properties;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.w3c.dom.Element;
/**
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -26,8 +26,8 @@
import org.eclipse.wst.validation.internal.provisional.core.IMessage;
import org.eclipse.wst.validation.internal.provisional.core.IReporter;
import org.eclipse.wst.validation.internal.provisional.core.IValidator;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.preferences.SeverityPreferences;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.jst.web.kb.WebKbPlugin;
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidationErrorManager;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ELReference.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ELReference.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ELReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -28,7 +28,7 @@
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.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.jst.web.kb.WebKbPlugin;
import org.w3c.dom.Element;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/IValidationErrorManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/IValidationErrorManager.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/IValidationErrorManager.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -14,7 +14,7 @@
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* @author Alexey Kazakov
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IBijectedAttribute.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IBijectedAttribute.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IBijectedAttribute.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,11 +10,13 @@
******************************************************************************/
package org.jboss.tools.seam.core;
+import org.jboss.tools.common.java.IJavaSourceReference;
+
/**
* Base interface of bijected attribute of seam component.
* @author Alexey Kazakov
*/
-public interface IBijectedAttribute extends ISeamContextVariable, ISeamJavaSourceReference {
+public interface IBijectedAttribute extends ISeamContextVariable, IJavaSourceReference {
/**
* @return type of attribute
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IRole.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IRole.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/IRole.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,11 +10,13 @@
******************************************************************************/
package org.jboss.tools.seam.core;
+import org.jboss.tools.common.java.IJavaSourceReference;
+
/**
* Represents @Role of seam component.
* @author Alexey Kazakov
*/
-public interface IRole extends ISeamJavaSourceReference, ISeamContextVariable {
+public interface IRole extends IJavaSourceReference, ISeamContextVariable {
public IRole clone() throws CloneNotSupportedException;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamAnnotatedFactory.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamAnnotatedFactory.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamAnnotatedFactory.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,11 +10,13 @@
******************************************************************************/
package org.jboss.tools.seam.core;
+import org.jboss.tools.common.java.IJavaSourceReference;
+
/**
* Represents seam factory method which was declared by @Factory
* @author Alexey Kazakov
*/
-public interface ISeamAnnotatedFactory extends ISeamFactory, ISeamJavaSourceReference {
+public interface ISeamAnnotatedFactory extends ISeamFactory, IJavaSourceReference {
boolean isAutoCreate();
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentDeclaration.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentDeclaration.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentDeclaration.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,7 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.core;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* Represents declaration of seam component.
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentMethod.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentMethod.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamComponentMethod.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -12,12 +12,14 @@
import java.util.Set;
+import org.jboss.tools.common.java.IJavaSourceReference;
+
/**
* Represents method of seam component.
* This interface represents only methods with types enumerated in SeamComponentMethodType
* @author Alexey Kazakov
*/
-public interface ISeamComponentMethod extends ISeamJavaSourceReference, ISeamElement {
+public interface ISeamComponentMethod extends IJavaSourceReference, ISeamElement {
/**
* @return is types of the method
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamDeclaration.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamDeclaration.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamDeclaration.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -11,7 +11,7 @@
package org.jboss.tools.seam.core;
import org.eclipse.core.runtime.IAdaptable;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* @author Viacheslav Kabanovich
@@ -30,5 +30,4 @@
* invoke getLocationFor("name");
*/
public ITextSourceReference getLocationFor(String path);
-
-}
+}
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaComponentDeclaration.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -12,11 +12,13 @@
import java.util.Set;
+import org.jboss.tools.common.java.IJavaSourceReference;
+
/**
* Represents java class of seam component.
* @author Alexey Kazakov
*/
-public interface ISeamJavaComponentDeclaration extends ISeamComponentDeclaration, ISeamJavaSourceReference {
+public interface ISeamJavaComponentDeclaration extends ISeamComponentDeclaration, IJavaSourceReference {
public static final int DEFAULT_PRECEDENCE = SeamComponentPrecedenceType.APPLICATION;
Deleted: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaSourceReference.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaSourceReference.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamJavaSourceReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -1,23 +0,0 @@
- /*******************************************************************************
- * Copyright (c) 2007 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.seam.core;
-
-import org.eclipse.jdt.core.IMember;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
-
-/**
- * An interface of seam tools model object that has associated source object in JDT model
- * @author Alexey Kazakov
- */
-public interface ISeamJavaSourceReference extends ITextSourceReference {
-
- public IMember getSourceMember();
-}
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProperty.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProperty.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProperty.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,7 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.core;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.event.ISeamValue;
/**
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlFactory.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlFactory.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlFactory.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,7 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.core;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* Represents <factory> element in components.xml
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -34,8 +34,8 @@
import org.eclipse.wst.common.componentcore.ComponentCore;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.project.facet.SeamRuntime;
import org.jboss.tools.seam.internal.core.AbstractContextVariable;
import org.jboss.tools.seam.internal.core.SeamComponentDeclaration;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/AbstractSeamDeclaration.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/AbstractSeamDeclaration.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/AbstractSeamDeclaration.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -18,9 +18,9 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.jboss.tools.common.model.XModelObject;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.model.project.ext.IValueInfo;
import org.jboss.tools.common.model.project.ext.event.Change;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.jst.web.model.project.ext.store.XMLStoreHelper;
import org.jboss.tools.seam.core.IOpenableElement;
import org.jboss.tools.seam.core.ISeamDeclaration;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamComponent.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamComponent.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamComponent.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -16,8 +16,8 @@
import java.util.List;
import java.util.Set;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.model.project.ext.event.Change;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
import org.jboss.tools.seam.core.IRole;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamContextShortVariable.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamContextShortVariable.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamContextShortVariable.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -1,6 +1,6 @@
package org.jboss.tools.seam.internal.core;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.ISeamContextShortVariable;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ScopeType;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaContextVariable.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaContextVariable.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamJavaContextVariable.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -22,6 +22,7 @@
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.JavaUI;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
import org.jboss.tools.common.model.ServiceDialog;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
@@ -29,11 +30,10 @@
import org.jboss.tools.common.xml.XMLUtilities;
import org.jboss.tools.jst.web.model.project.ext.store.XMLStoreHelper;
import org.jboss.tools.seam.core.ISeamElement;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.w3c.dom.Element;
-public abstract class SeamJavaContextVariable extends AbstractContextVariable implements ISeamJavaSourceReference {
+public abstract class SeamJavaContextVariable extends AbstractContextVariable implements IJavaSourceReference {
protected IMember javaSource = null;
public SeamJavaContextVariable() {}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamTextSourceReference.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamTextSourceReference.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamTextSourceReference.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -10,7 +10,7 @@
******************************************************************************/
package org.jboss.tools.seam.internal.core;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
/**
* @author Alexey Kazakov
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELCompletionEngine.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -49,9 +49,10 @@
import org.jboss.tools.common.el.core.resolver.JavaMemberELSegment;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector;
import org.jboss.tools.common.el.core.resolver.Var;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.common.model.project.ext.event.Change;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.common.text.TextProposal;
import org.jboss.tools.jst.web.kb.el.AbstractELCompletionEngine;
import org.jboss.tools.seam.core.IBijectedAttribute;
@@ -59,7 +60,6 @@
import org.jboss.tools.seam.core.ISeamContextShortVariable;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamElement;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamMessages;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.ISeamXmlFactory;
@@ -524,7 +524,7 @@
}
}
-class StringVariable implements ISeamContextVariable, ISeamJavaSourceReference {
+class StringVariable implements ISeamContextVariable, IJavaSourceReference {
IMember member;
public StringVariable(IMember member) {
this.member = member;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamExpressionResolver.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -36,6 +36,7 @@
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.Type;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.TypeInfo;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector.TypeMemberInfo;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
@@ -45,7 +46,6 @@
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamElement;
import org.jboss.tools.seam.core.ISeamJavaComponentDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamMessages;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.ISeamXmlFactory;
@@ -137,10 +137,10 @@
}
}
if (member == null && variable instanceof IBijectedAttribute) {
- member = ((ISeamJavaSourceReference)variable).getSourceMember();
+ member = ((IJavaSourceReference)variable).getSourceMember();
}
- if (member == null && variable instanceof ISeamJavaSourceReference) {
- member = ((ISeamJavaSourceReference)variable).getSourceMember();
+ if (member == null && variable instanceof IJavaSourceReference) {
+ member = ((IJavaSourceReference)variable).getSourceMember();
}
if (member == null && variable instanceof ISeamXmlFactory) {
ISeamXmlFactory factory = (ISeamXmlFactory)variable;
@@ -216,8 +216,8 @@
*/
@Override
public IJavaElement getJavaElement() {
- if(messages instanceof ISeamJavaSourceReference) {
- return ((ISeamJavaSourceReference)messages).getSourceMember();
+ if(messages instanceof IJavaSourceReference) {
+ return ((IJavaSourceReference)messages).getSourceMember();
} else if(messages instanceof ISeamComponent) {
ISeamComponent c = (ISeamComponent)messages;
ISeamJavaComponentDeclaration d = c.getJavaDeclaration();
@@ -304,10 +304,10 @@
break;
}
}
- member = TypeInfoCollector.createMemberInfo(((ISeamJavaSourceReference)variable).getSourceMember(), isDataModel);
+ member = TypeInfoCollector.createMemberInfo(((IJavaSourceReference)variable).getSourceMember(), isDataModel);
}
- if (member == null && variable instanceof ISeamJavaSourceReference) {
- member = TypeInfoCollector.createMemberInfo(((ISeamJavaSourceReference)variable).getSourceMember());
+ if (member == null && variable instanceof IJavaSourceReference) {
+ member = TypeInfoCollector.createMemberInfo(((IJavaSourceReference)variable).getSourceMember());
}
if (member == null && variable instanceof ISeamXmlFactory) {
ISeamXmlFactory factory = (ISeamXmlFactory)variable;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -30,7 +30,7 @@
import org.eclipse.text.edits.TextEdit;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
import org.jboss.tools.common.el.core.model.ELPropertyInvocation;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -34,9 +34,10 @@
import org.eclipse.wst.validation.internal.core.ValidationException;
import org.eclipse.wst.validation.internal.provisional.core.IReporter;
import org.jboss.tools.common.el.core.resolver.TypeInfoCollector;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.common.model.XModelObject;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.jst.web.kb.IKbProject;
import org.jboss.tools.jst.web.kb.KbProjectFactory;
import org.jboss.tools.jst.web.kb.internal.KbProject;
@@ -55,7 +56,6 @@
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamFactory;
import org.jboss.tools.seam.core.ISeamJavaComponentDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.ISeamProperty;
import org.jboss.tools.seam.core.ISeamXmlComponentDeclaration;
@@ -677,7 +677,7 @@
return location;
}
- private ITextSourceReference getNameLocation(ISeamJavaSourceReference source) {
+ private ITextSourceReference getNameLocation(IJavaSourceReference source) {
int length = 0;
int offset = 0;
try {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamElementMatch.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamElementMatch.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamElementMatch.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -14,9 +14,9 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.search.ui.text.Match;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.ISeamDeclaration;
import org.jboss.tools.seam.core.ISeamElement;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.ui.SeamGuiPlugin;
/**
@@ -42,7 +42,7 @@
*
* @param element
*/
- public SeamElementMatch(ISeamJavaSourceReference element) {
+ public SeamElementMatch(IJavaSourceReference element) {
super(element, 0, 0);
if (element != null && element.getSourceMember() != null && element.getSourceMember().getResource() != null) {
fCreationTimeStamp= element.getSourceMember().getResource().getModificationStamp();
@@ -84,8 +84,8 @@
* @return
*/
public IFile getFile() {
- if (getElement() instanceof ISeamJavaSourceReference) {
- return (IFile) ((ISeamJavaSourceReference)getElement()).getSourceMember().getResource();
+ if (getElement() instanceof IJavaSourceReference) {
+ return (IFile) ((IJavaSourceReference)getElement()).getSourceMember().getResource();
} else if (getElement() instanceof ISeamDeclaration) {
return (IFile) ((ISeamDeclaration)getElement()).getResource();
} else if (getElement() instanceof IFile) {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchQuery.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchQuery.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchQuery.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -11,7 +11,6 @@
package org.jboss.tools.seam.ui.search;
import java.util.ArrayList;
-import java.util.List;
import java.util.regex.Pattern;
import org.eclipse.core.resources.IFile;
@@ -33,8 +32,8 @@
import org.eclipse.search.ui.text.AbstractTextSearchResult;
import org.eclipse.search.ui.text.Match;
import org.jboss.tools.common.el.core.model.ELInvocationExpression;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.ISeamDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine;
@@ -136,7 +135,7 @@
}
return buf.toString();
}
- public boolean acceptSeamDeclarationSourceReferenceMatch(ISeamJavaSourceReference element) throws CoreException {
+ public boolean acceptSeamDeclarationSourceReferenceMatch(IJavaSourceReference element) throws CoreException {
fCachedMatches.add(new SeamElementMatch(element));
return true;
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchRequestor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchRequestor.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchRequestor.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -15,8 +15,8 @@
import org.eclipse.jdt.ui.search.ISearchRequestor;
import org.eclipse.search.core.text.TextSearchRequestor;
import org.eclipse.search.ui.text.Match;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.ISeamDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
/**
* Seam Search Requestor
@@ -36,7 +36,7 @@
* @throws CoreException implementors can throw a {@link CoreException} if accessing the resource fails or another
* problem prevented the processing of the search match.
*/
- public boolean acceptSeamDeclarationSourceReferenceMatch(ISeamJavaSourceReference reference) throws CoreException {
+ public boolean acceptSeamDeclarationSourceReferenceMatch(IJavaSourceReference reference) throws CoreException {
return true;
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchResultPage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchResultPage.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchResultPage.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -45,10 +45,8 @@
import org.eclipse.search.internal.ui.SearchMessages;
import org.eclipse.search.internal.ui.text.EditorOpener;
import org.eclipse.search.internal.ui.text.FileLabelProvider;
-import org.eclipse.search.internal.ui.text.FileSearchQuery;
import org.eclipse.search.internal.ui.text.IFileSearchContentProvider;
import org.eclipse.search.internal.ui.text.NewTextSearchActionGroup;
-
import org.eclipse.search.ui.IContextMenuConstants;
import org.eclipse.search.ui.ISearchResultViewPart;
import org.eclipse.search.ui.NewSearchUI;
@@ -72,8 +70,8 @@
import org.eclipse.ui.part.IShowInTargetList;
import org.eclipse.ui.part.ResourceTransfer;
import org.eclipse.ui.texteditor.ITextEditor;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.IOpenableElement;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
/**
* Seam Search Result page
@@ -200,8 +198,8 @@
* @see org.eclipse.search.ui.text.AbstractTextSearchViewPage#showMatch(org.eclipse.search.ui.text.Match, int, int, boolean)
*/
protected void showMatch(Match match, int offset, int length, boolean activate) throws PartInitException {
- if (match.getElement() instanceof ISeamJavaSourceReference) {
- IJavaElement javaElement = ((ISeamJavaSourceReference)match.getElement()).getSourceMember();
+ if (match.getElement() instanceof IJavaSourceReference) {
+ IJavaElement javaElement = ((IJavaSourceReference)match.getElement()).getSourceMember();
try {
IEditorPart part = JavaUI.openInEditor(javaElement);
if (part != null) {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchViewLabelProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchViewLabelProvider.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchViewLabelProvider.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -20,9 +20,9 @@
import org.eclipse.search.internal.ui.text.FileLabelProvider;
import org.eclipse.search.ui.text.AbstractTextSearchViewPage;
import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamElement;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.ui.views.SeamLabelProvider;
@@ -57,7 +57,7 @@
@Override
public Image getImage(Object element) {
if (element instanceof ISeamContextVariable ||
- element instanceof ISeamJavaSourceReference) {
+ element instanceof IJavaSourceReference) {
return fSeamLabelProvider.getImage(element);
}
if (element instanceof ISeamElement) {
@@ -85,7 +85,7 @@
@Override
public String getText(Object element) {
if (element instanceof ISeamContextVariable ||
- element instanceof ISeamJavaSourceReference) {
+ element instanceof IJavaSourceReference) {
return fSeamLabelProvider.getText(element);
}
if (element instanceof ISeamElement) {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamSearchVisitor.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -96,12 +96,12 @@
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.ELParserFactory;
import org.jboss.tools.common.el.core.parser.ELParserUtil;
import org.jboss.tools.common.el.core.resolver.ElVarSearcher;
import org.jboss.tools.common.el.core.resolver.Var;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
import org.jboss.tools.seam.core.IOpenableElement;
@@ -110,7 +110,6 @@
import org.jboss.tools.seam.core.ISeamContextShortVariable;
import org.jboss.tools.seam.core.ISeamContextVariable;
import org.jboss.tools.seam.core.ISeamDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCoreMessages;
import org.jboss.tools.seam.core.SeamCorePlugin;
@@ -832,8 +831,8 @@
SeamComponent comp = (SeamComponent)variable;
Set<ISeamComponentDeclaration> declarations = comp.getAllDeclarations();
for (ISeamComponentDeclaration decl : declarations) {
- if (decl instanceof ISeamJavaSourceReference) {
- ISeamJavaSourceReference sourceRef = (ISeamJavaSourceReference)decl;
+ if (decl instanceof IJavaSourceReference) {
+ IJavaSourceReference sourceRef = (IJavaSourceReference)decl;
IResource resource = sourceRef.getSourceMember().getResource();
IJavaElement sourceMember = sourceRef.getSourceMember();
String name = sourceRef.getSourceMember().getElementName();
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLabelProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLabelProvider.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/SeamLabelProvider.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -26,13 +26,13 @@
import org.eclipse.ui.navigator.ICommonContentExtensionSite;
import org.eclipse.ui.navigator.ICommonLabelProvider;
import org.eclipse.ui.navigator.IExtensionStateModel;
+import org.jboss.tools.common.java.IJavaSourceReference;
import org.jboss.tools.seam.core.IRole;
import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.core.ISeamComponentDeclaration;
import org.jboss.tools.seam.core.ISeamElement;
import org.jboss.tools.seam.core.ISeamFactory;
import org.jboss.tools.seam.core.ISeamJavaComponentDeclaration;
-import org.jboss.tools.seam.core.ISeamJavaSourceReference;
import org.jboss.tools.seam.core.ISeamPackage;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.ISeamScope;
@@ -122,8 +122,8 @@
} else if (element instanceof ISeamFactory) {
ISeamFactory f = (ISeamFactory)element;
return f.getName() + " - " + f.getSourcePath();
- } else if(element instanceof ISeamJavaSourceReference) {
- ISeamJavaSourceReference d = (ISeamJavaSourceReference)element;
+ } else if(element instanceof IJavaSourceReference) {
+ IJavaSourceReference d = (IJavaSourceReference)element;
IMember m = d.getSourceMember();
IType type = (m instanceof IType) ? (IType)m : m.getTypeRoot().findPrimaryType();
if(type.isBinary()) {
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java 2009-11-06 16:12:58 UTC (rev 18457)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/ScannerTest.java 2009-11-06 17:17:32 UTC (rev 18458)
@@ -20,8 +20,8 @@
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.NullProgressMonitor;
-import org.jboss.tools.common.model.project.ext.ITextSourceReference;
import org.jboss.tools.common.test.util.TestProjectProvider;
+import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.seam.core.BeanType;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
16 years, 1 month
JBoss Tools SVN: r18457 - trunk/bpel/releng/maps.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-11-06 11:12:58 -0500 (Fri, 06 Nov 2009)
New Revision: 18457
Modified:
trunk/bpel/releng/maps/project.map
trunk/bpel/releng/maps/test.common.map
Log:
more missing plugins
Modified: trunk/bpel/releng/maps/project.map
===================================================================
--- trunk/bpel/releng/maps/project.map 2009-11-06 15:35:34 UTC (rev 18456)
+++ trunk/bpel/releng/maps/project.map 2009-11-06 16:12:58 UTC (rev 18457)
@@ -18,7 +18,7 @@
feature@org.jboss.tools.bpel.tests.feature=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/bpel/features/org.jboss.tools.bpel.tests.feature
plugin@org.eclipse.tools.bpel.ui.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/bpel/tests/org.eclipse.tools.bpel.ui.test
-org.jboss.tools.bpel.cheatsheet
+plugin@org.jboss.tools.bpel.ui.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/bpel/tests/org.jboss.tools.bpel.ui.test
!*** required shared/common plugins instead of pulling sources, build against http://download.jboss.org/jbosstools/updates/nightly/trunk/
!*** plugin@org.jboss.ide.eclipse.as.wtp.core=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.core
\ No newline at end of file
Modified: trunk/bpel/releng/maps/test.common.map
===================================================================
--- trunk/bpel/releng/maps/test.common.map 2009-11-06 15:35:34 UTC (rev 18456)
+++ trunk/bpel/releng/maps/test.common.map 2009-11-06 16:12:58 UTC (rev 18457)
@@ -2,5 +2,4 @@
plugin@org.jboss.tools.common=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/common/plugins/org.jboss.tools.common
plugin@org.jboss.tools.common.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/common/tests/org.jboss.tools.common.test
-plugin@org.jboss.tools.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/tests/tests/org.jboss.tools.test
plugin@org.jboss.tools.tests=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/tests/tests/org.jboss.tools.test
\ No newline at end of file
16 years, 1 month
JBoss Tools SVN: r18456 - trunk/birt/docs.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-11-06 10:35:34 -0500 (Fri, 06 Nov 2009)
New Revision: 18456
Modified:
trunk/birt/docs/pom.xml
Log:
Modified: trunk/birt/docs/pom.xml
===================================================================
--- trunk/birt/docs/pom.xml 2009-11-06 14:56:21 UTC (rev 18455)
+++ trunk/birt/docs/pom.xml 2009-11-06 15:35:34 UTC (rev 18456)
@@ -51,6 +51,7 @@
</profiles>
<build>
+
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
@@ -93,19 +94,23 @@
</dependency>
</dependencies>
- <configuration>
+
+
+
+ <configuration>
<sourceDocumentName>${master}</sourceDocumentName>
<sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <imageResource>
+ <imageResource>
<directory>${pom.basedir}/en</directory>
<includes>
<include>images/**/*</include>
+ <include>files/*</include>
</includes>
</imageResource>
<cssResource>
<directory>${pom.basedir}/${cssdir}</directory>
</cssResource>
-
+
<formats>
<format>
<formatName>pdf</formatName>
16 years, 1 month
JBoss Tools SVN: r18455 - trunk/jmx/releng/maps.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-11-06 09:56:21 -0500 (Fri, 06 Nov 2009)
New Revision: 18455
Modified:
trunk/jmx/releng/maps/test.common.map
Log:
Modified: trunk/jmx/releng/maps/test.common.map
===================================================================
--- trunk/jmx/releng/maps/test.common.map 2009-11-06 14:55:58 UTC (rev 18454)
+++ trunk/jmx/releng/maps/test.common.map 2009-11-06 14:56:21 UTC (rev 18455)
@@ -2,5 +2,4 @@
plugin@org.jboss.tools.common=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/common/plugins/org.jboss.tools.common
plugin@org.jboss.tools.common.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/common/tests/org.jboss.tools.common.test
-plugin@org.jboss.tools.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/tests/tests/org.jboss.tools.test
plugin@org.jboss.tools.tests=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/tests/tests/org.jboss.tools.test
\ No newline at end of file
16 years, 1 month
JBoss Tools SVN: r18454 - documentation/trunk/movies/index.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-11-06 09:55:58 -0500 (Fri, 06 Nov 2009)
New Revision: 18454
Modified:
documentation/trunk/movies/index/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-348 - updating pom according to new build process;
Modified: documentation/trunk/movies/index/pom.xml
===================================================================
--- documentation/trunk/movies/index/pom.xml 2009-11-06 14:55:11 UTC (rev 18453)
+++ documentation/trunk/movies/index/pom.xml 2009-11-06 14:55:58 UTC (rev 18454)
@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>all-guides-index</artifactId>
+ <artifactId>movies-index</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>All_movies_index</name>
@@ -31,6 +31,11 @@
<version>1.1.0</version>
<type>jdocbook-style</type>
</dependency>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>movies-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
<configuration>
@@ -49,7 +54,7 @@
<formats>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>${stylesdir}</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
@@ -83,8 +88,8 @@
<properties>
- <stylesdir>../../trunk/documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../trunk/documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
+ <stylesdir>classpath:/xslt/xhtml-single.xsl</stylesdir>
+ <cssdir>../resources/css/</cssdir>
<translation>en-US</translation>
</properties>
16 years, 1 month