JBoss Tools SVN: r19879 - in trunk: jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-01-22 07:58:41 -0500 (Fri, 22 Jan 2010)
New Revision: 19879
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidationUtil.java
Removed:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2708
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-01-22 12:48:57 UTC (rev 19878)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-01-22 12:58:41 UTC (rev 19879)
@@ -47,7 +47,7 @@
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidator;
-import org.jboss.tools.jst.web.kb.validation.ValidatorUtil;
+import org.jboss.tools.jst.web.kb.validation.ValidationUtil;
public class CDICoreValidator extends CDIValidationErrorManager implements IValidator {
public static final String ID = "org.jboss.tools.cdi.core.CoreValidator";
@@ -147,7 +147,7 @@
if(reporter.isCancelled()) {
break;
}
- if (ValidatorUtil.checkFileExtensionForJavaAndXml(currentFile)) {
+ if (ValidationUtil.checkFileExtensionForJavaAndXml(currentFile)) {
resources.add(currentFile.getFullPath());
// Get all the paths of related resources for given file. These links were saved in previous validation process.
Copied: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidationUtil.java (from rev 19878, trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java)
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidationUtil.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidationUtil.java 2010-01-22 12:58:41 UTC (rev 19879)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.kb.validation;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.core.resources.IFile;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class ValidationUtil {
+
+ public final static Set<String> EXTNS;
+ static {
+ EXTNS = new HashSet<String>();
+ EXTNS.add("java"); //$NON-NLS-1$
+ EXTNS.add("xml"); //$NON-NLS-1$
+ }
+
+ /**
+ * Returns true if the file name has "java" or "xml" extension.
+ * @param file
+ * @return
+ */
+ public static boolean checkFileExtensionForJavaAndXml(IFile file) {
+ return EXTNS.contains(file.getFileExtension());
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidationUtil.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java 2010-01-22 12:48:57 UTC (rev 19878)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java 2010-01-22 12:58:41 UTC (rev 19879)
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.kb.validation;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.core.resources.IFile;
-
-/**
- * @author Alexey Kazakov
- */
-public class ValidatorUtil {
-
- public final static Set<String> EXTNS;
- static {
- EXTNS = new HashSet<String>();
- EXTNS.add("java"); //$NON-NLS-1$
- EXTNS.add("xml"); //$NON-NLS-1$
- }
-
- /**
- * Returns true if the file name has "java" or "xml" extension.
- * @param file
- * @return
- */
- public static boolean checkFileExtensionForJavaAndXml(IFile file) {
- return EXTNS.contains(file.getFileExtension());
- }
-}
\ No newline at end of file
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 2010-01-22 12:48:57 UTC (rev 19878)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-01-22 12:58:41 UTC (rev 19879)
@@ -47,7 +47,7 @@
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidator;
-import org.jboss.tools.jst.web.kb.validation.ValidatorUtil;
+import org.jboss.tools.jst.web.kb.validation.ValidationUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
import org.jboss.tools.seam.core.ISeamAnnotatedFactory;
@@ -190,7 +190,7 @@
// We need to check only file names here.
validateUnnamedResources = fileName.endsWith(".java") || fileName.endsWith(".properties") || fileName.equals("components.xml"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
- if (ValidatorUtil.checkFileExtensionForJavaAndXml(currentFile)) {
+ if (ValidationUtil.checkFileExtensionForJavaAndXml(currentFile)) {
resources.add(currentFile.getFullPath());
// Get new variable names from model
Set<String> newVariableNamesOfChangedFile = getVariablesNameByResource(currentFile.getFullPath());
14 years, 5 months
JBoss Tools SVN: r19878 - in trunk: cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-01-22 07:48:57 -0500 (Fri, 22 Jan 2010)
New Revision: 19878
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDINamedAnnotation.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBeanManager.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIAnnotation.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIProject.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IStereotype.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIAnnotationElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2708
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBeanManager.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBeanManager.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IBeanManager.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -26,6 +26,13 @@
public interface IBeanManager {
/**
+ * Returns all the beans.
+ *
+ * @return all the beans
+ */
+ IBean[] getBeans();
+
+ /**
* Returns all @Named beans.
*
* @param attemptToResolveAmbiguousNames
@@ -115,7 +122,7 @@
*
* @return all the available stereotypes.
*/
- Set<IType> getStereotypes();
+ IStereotype[] getStereotypes();
/**
* Returns stereotype model element for fully qualified name
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIAnnotation.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIAnnotation.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIAnnotation.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -1,12 +1,14 @@
package org.jboss.tools.cdi.core;
+import java.util.List;
+
import org.eclipse.jdt.core.IType;
/**
- * Common interface for qualifier, stereotype, intercepror binding and scope objects.
+ * Common interface for an annotation interface.
*
* @author Viacheslav Kabanovich
- *
+ *
*/
public interface ICDIAnnotation extends ICDIElement {
@@ -15,14 +17,31 @@
*
* @return the corresponding IType
*/
- public IType getSourceType();
+ IType getSourceType();
/**
- * Returns the location of @Inherited declaration of this annotation type. If the bean
- * doesn't have the @Inherited declaration then null will be returned.
+ * Returns the declaration of @Inherited declaration of this annotation
+ * type. If the interface doesn't have the @Inherited declaration then null
+ * will be returned.
*
- * @return the location of @Name declaration of this bean.
+ * @return the declaration of @Inherited declaration of this bean
*/
- public IAnnotationDeclaration getInheritedDeclaration();
+ IAnnotationDeclaration getInheritedDeclaration();
-}
+ /**
+ * Returns all the available annotations which are declared for this
+ * interface.
+ *
+ * @return all the available annotations which are declared for this
+ * interface
+ */
+ List<IAnnotationDeclaration> getAnnotationDeclarations();
+
+ /**
+ * Returns the annotations with given type name.
+ *
+ * @param typeName
+ * @return the annotations with given type name
+ */
+ IAnnotationDeclaration getAnnotationDeclaration(String typeName);
+}
\ No newline at end of file
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDINamedAnnotation.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDINamedAnnotation.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDINamedAnnotation.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2010 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;
+
+/**
+ * A common interface for an annotation interface with can have @Named
+ * annotation.
+ *
+ * @author Alexey Kazakov
+ */
+public interface ICDINamedAnnotation extends ICDIAnnotation {
+
+ /**
+ * Returns the declaration of @Named declaration of this annotation type. If
+ * the interface doesn't have the @Named declaration then null will be
+ * returned.
+ *
+ * @return the declaration of @Named declaration of this bean
+ */
+ IAnnotationDeclaration getNameDeclaration();
+}
\ No newline at end of file
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDINamedAnnotation.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIProject.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIProject.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/ICDIProject.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -15,7 +15,7 @@
*/
public interface ICDIProject extends IBeanManager {
+ public CDICoreNature getNature();
public void setNature(CDICoreNature n);
public void update();
-
}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IStereotype.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IStereotype.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/IStereotype.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -13,14 +13,13 @@
import java.util.Set;
import org.eclipse.jdt.core.IAnnotation;
-import org.eclipse.jdt.core.IType;
/**
* Represents a stereotype.
*
* @author Alexey Kazakov
*/
-public interface IStereotype extends IScoped, ICDIAnnotation {
+public interface IStereotype extends IScoped, ICDINamedAnnotation {
/**
* Returns the location of @Name declaration of this stereotype. If the bean
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIAnnotationElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIAnnotationElement.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIAnnotationElement.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
+ * 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,
@@ -32,22 +32,37 @@
this.definition = definition;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.ICDIAnnotation#getSourceType()
+ */
public IType getSourceType() {
return definition.getType();
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.ICDIAnnotation#getInheritedDeclaration()
+ */
public IAnnotationDeclaration getInheritedDeclaration() {
return definition.getInheritedAnnotation();
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.ICDIAnnotation#getAnnotationDeclarations()
+ */
public List<IAnnotationDeclaration> getAnnotationDeclarations() {
List<IAnnotationDeclaration> result = new ArrayList<IAnnotationDeclaration>();
result.addAll(definition.getAnnotations());
return result;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.ICDIAnnotation#getAnnotationDeclaration(java.lang.String)
+ */
public IAnnotationDeclaration getAnnotationDeclaration(String typeName) {
return definition.getAnnotation(typeName);
}
-
-}
+}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/CDIProject.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -53,6 +53,7 @@
private Map<String, QualifierElement> qualifiers = new HashMap<String, QualifierElement>();
private Map<String, ScopeElement> scopes = new HashMap<String, ScopeElement>();
+ private Set<IBean> allBeans = new HashSet<IBean>();
private Map<IPath, Set<IBean>> beansByPath = new HashMap<IPath, Set<IBean>>();
private Map<String, Set<IBean>> beansByName = new HashMap<String, Set<IBean>>();
private Set<IBean> namedBeans = new HashSet<IBean>();
@@ -70,6 +71,24 @@
this.n = n;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IBeanManager#getBeans()
+ */
+ public IBean[] getBeans() {
+ if(allBeans == null || allBeans.isEmpty()) {
+ return new IBean[0];
+ }
+ IBean[] result = new IBean[allBeans.size()];
+ synchronized (allBeans) {
+ int i=0;
+ for (IBean bean : allBeans) {
+ result[i++] = bean;
+ }
+ }
+ return result;
+ }
+
public List<INodeReference> getAlternativeClasses() {
List<INodeReference> result = new ArrayList<INodeReference>();
Set<INodeReference> typeAlternatives = beansXMLData.getTypeAlternatives();
@@ -221,10 +240,17 @@
return result;
}
- public Set<IType> getStereotypes() {
- Set<IType> result = new HashSet<IType>();
- for (IStereotype d: stereotypes.values()) {
- result.add(d.getSourceType());
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IBeanManager#getStereotypes()
+ */
+ public IStereotype[] getStereotypes() {
+ IStereotype[] result = new IStereotype[stereotypes.size()];
+ synchronized (stereotypes) {
+ int i=0;
+ for (IStereotype s: stereotypes.values()) {
+ result[i++] = s;
+ }
}
return result;
}
@@ -449,6 +475,10 @@
synchronized (namedBeans) {
namedBeans.clear();
}
+ synchronized (allBeans) {
+ allBeans.clear();
+ }
+
classBeans = newClassBeans;
for (IBean bean: beans) {
addBean(bean);
@@ -490,6 +520,9 @@
synchronized (bs) {
bs.add(bean);
}
+ synchronized (allBeans) {
+ allBeans.add(bean);
+ }
}
void rebuildXML() {
@@ -539,5 +572,4 @@
}
return result;
}
-
}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/StereotypeElement.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -15,8 +15,6 @@
import java.util.Set;
import org.eclipse.jdt.core.IAnnotation;
-import org.eclipse.jdt.core.IType;
-import org.jboss.tools.cdi.core.IAnnotationDeclaration;
import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
import org.jboss.tools.cdi.core.IScope;
import org.jboss.tools.cdi.core.IScopeDeclaration;
@@ -32,14 +30,26 @@
public StereotypeElement() {}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IStereotype#getAlternativeDeclaration()
+ */
public AnnotationDeclaration getAlternativeDeclaration() {
return definition.getAlternativeAnnotation();
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.ICDINamedAnnotation#getNameDeclaration()
+ */
public AnnotationDeclaration getNameDeclaration() {
return definition.getNamedAnnotation();
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IStereotype#getInterceptorBindingDeclarations()
+ */
public Set<IInterceptorBindingDeclaration> getInterceptorBindingDeclarations() {
Set<IInterceptorBindingDeclaration> result = new HashSet<IInterceptorBindingDeclaration>();
List<AnnotationDeclaration> as = definition.getAnnotations();
@@ -51,10 +61,18 @@
return result;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IStereotype#getNameLocation()
+ */
public IAnnotation getNameLocation() {
return getNameDeclaration() != null ? getNameDeclaration().getDeclaration() : null;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IStereotype#getStereotypeDeclarations()
+ */
public Set<IStereotypeDeclaration> getStereotypeDeclarations() {
Set<IStereotypeDeclaration> result = new HashSet<IStereotypeDeclaration>();
for (AnnotationDeclaration d: definition.getAnnotations()) {
@@ -65,6 +83,10 @@
return result;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IStereotype#isAlternative()
+ */
public boolean isAlternative() {
if(getAlternativeDeclaration() != null) return true;
Set<IStereotypeDeclaration> ds = getStereotypeDeclarations();
@@ -75,6 +97,10 @@
return false;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IScoped#getScope()
+ */
public IScope getScope() {
Set<IScopeDeclaration> ss = getScopeDeclarations();
if(!ss.isEmpty()) {
@@ -91,8 +117,11 @@
return null;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.cdi.core.IScoped#getScopeDeclarations()
+ */
public Set<IScopeDeclaration> getScopeDeclarations() {
return ProducerField.getScopeDeclarations(getCDIProject().getNature(), definition.getAnnotations());
}
-
-}
+}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -1,17 +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.internal.core.validation;
import java.util.ArrayList;
+import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jdt.core.IAnnotation;
+import org.eclipse.core.runtime.Path;
import org.eclipse.jdt.core.IMemberValuePair;
-import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.wst.validation.internal.core.ValidationException;
import org.eclipse.wst.validation.internal.provisional.core.IReporter;
@@ -19,11 +32,11 @@
import org.jboss.tools.cdi.core.CDICoreNature;
import org.jboss.tools.cdi.core.CDICorePlugin;
import org.jboss.tools.cdi.core.IAnnotationDeclaration;
+import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.ICDIProject;
import org.jboss.tools.cdi.core.IQualifierDeclaration;
+import org.jboss.tools.cdi.core.IStereotype;
import org.jboss.tools.cdi.core.preferences.CDIPreferences;
-import org.jboss.tools.cdi.internal.core.impl.AnnotationDeclaration;
-import org.jboss.tools.cdi.internal.core.impl.CDIProject;
-import org.jboss.tools.cdi.internal.core.impl.StereotypeElement;
import org.jboss.tools.common.text.ITextSourceReference;
import org.jboss.tools.jst.web.kb.IKbProject;
import org.jboss.tools.jst.web.kb.KbProjectFactory;
@@ -34,17 +47,26 @@
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidator;
+import org.jboss.tools.jst.web.kb.validation.ValidatorUtil;
public class CDICoreValidator extends CDIValidationErrorManager implements IValidator {
public static final String ID = "org.jboss.tools.cdi.core.CoreValidator";
- CDIProject cdiProject;
+ ICDIProject cdiProject;
String projectName;
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.validation.IValidator#getId()
+ */
public String getId() {
return ID;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.validation.IValidator#getValidatingProjects(org.eclipse.core.resources.IProject)
+ */
public IValidatingProjectSet getValidatingProjects(IProject project) {
IValidationContext rootContext = null;
IProject war = null; //TODO get war ?
@@ -78,6 +100,10 @@
return new ValidatingProjectSet(project, projects, rootContext);
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.validation.IValidator#shouldValidate(org.eclipse.core.resources.IProject)
+ */
public boolean shouldValidate(IProject project) {
try {
// TODO check preferences
@@ -96,79 +122,165 @@
public void init(IProject project, ContextValidationHelper validationHelper, org.eclipse.wst.validation.internal.provisional.core.IValidator manager, IReporter reporter) {
super.init(project, validationHelper, manager, reporter);
-// SeamProjectsSet set = new SeamProjectsSet(project);
-// IProject warProject = set.getWarProject();
CDICoreNature nature = CDICorePlugin.getCDI(project, false);
- cdiProject = nature != null ? (CDIProject)nature.getDelegate() : null;
-
+ cdiProject = nature != null ? nature.getDelegate() : null;
+
projectName = project.getName();
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.validation.IValidator#validate(java.util.Set, org.eclipse.core.resources.IProject, org.jboss.tools.jst.web.kb.internal.validation.ContextValidationHelper, org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager, org.eclipse.wst.validation.internal.provisional.core.IReporter)
+ */
public IStatus validate(Set<IFile> changedFiles, IProject project,
ContextValidationHelper validationHelper, ValidatorManager manager,
IReporter reporter) throws ValidationException {
- // TODO Auto-generated method stub
- return null;
+ init(project, validationHelper, manager, reporter);
+ displaySubtask(CDIValidationMessages.SEARCHING_RESOURCES);
+
+ if(cdiProject == null) {
+ return OK_STATUS;
+ }
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ Set<IPath> resources = new HashSet<IPath>(); // Resources which we have to validate.
+ for(IFile currentFile : changedFiles) {
+ if(reporter.isCancelled()) {
+ break;
+ }
+ if (ValidatorUtil.checkFileExtensionForJavaAndXml(currentFile)) {
+ resources.add(currentFile.getFullPath());
+
+ // Get all the paths of related resources for given file. These links were saved in previous validation process.
+ Set<String> oldReletedResources = validationContext.getVariableNamesByCoreResource(currentFile.getFullPath(), false);
+ for (String resourcePath : oldReletedResources) {
+ resources.add(Path.fromOSString(resourcePath));
+ }
+ }
+ }
+ // Validate all collected linked resources.
+ // Remove all links between collected resources because they will be linked again during validation.
+ validationContext.removeLinkedCoreResources(resources);
+
+ IFile[] filesToValidate = new IFile[resources.size()];
+ int i = 0;
+ // We have to remove markers from all collected source files first
+ for (IPath linkedResource : resources) {
+ filesToValidate[i] = root.getFile(linkedResource);
+ removeAllMessagesFromResource(filesToValidate[i++]);
+ }
+ i = 0;
+ // Then we can validate them
+ for (IFile file : filesToValidate) {
+ validateResource(file);
+ }
+
+ return OK_STATUS;
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.validation.IValidator#validateAll(org.eclipse.core.resources.IProject, org.jboss.tools.jst.web.kb.internal.validation.ContextValidationHelper, org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager, org.eclipse.wst.validation.internal.provisional.core.IReporter)
+ */
public IStatus validateAll(IProject project,
ContextValidationHelper validationHelper, ValidatorManager manager,
IReporter reporter) throws ValidationException {
init(project, validationHelper, manager, reporter);
+ displaySubtask(CDIValidationMessages.VALIDATING_PROJECT, new String[]{projectName});
removeAllMessagesFromResource(cdiProject.getNature().getProject());
- if(cdiProject != null) {
- validateStereotypes();
-
+ if(cdiProject == null) {
+ return OK_STATUS;
}
- // TODO
+ IBean[] beans = cdiProject.getBeans();
+ for (IBean bean : beans) {
+ validateBean(bean);
+ }
+
+ IStereotype[] stereoTypes = cdiProject.getStereotypes();
+ for (IStereotype type: stereoTypes) {
+ validateStereotype(type);
+ }
+
+ // TODO
return OK_STATUS;
}
- public void validateStereotypes() {
- Set<IType> ts = cdiProject.getStereotypes();
- for (IType t: ts) {
- StereotypeElement s = cdiProject.getStereotype(t.getFullyQualifiedName());
- if(s == null) continue;
- IResource resource = s.getResource();
- if(resource == null || !resource.getName().endsWith(".java")) {
- //validate sources only
- continue;
+ /**
+ * Validates a resource.
+ *
+ * @param file
+ */
+ private void validateResource(IFile file) {
+ if(reporter.isCancelled() || file==null || !file.isAccessible()) {
+ return;
+ }
+ Set<IBean> beans = cdiProject.getBeans(file.getFullPath());
+ for (IBean bean : beans) {
+ validateBean(bean);
+ }
+ }
+
+ /**
+ * Validates a bean.
+ *
+ * @param bean
+ */
+ private void validateBean(IBean bean) {
+ if(reporter.isCancelled()) {
+ return;
+ }
+ String name = bean.getName();
+ if(name!=null) {
+ validationContext.addVariableNameForELValidation(name);
+ }
+ }
+
+ /**
+ * Validates a stereotype.
+ *
+ * @param type
+ */
+ private void validateStereotype(IStereotype stereotype) {
+ if(stereotype == null) {
+ return;
+ }
+ IResource resource = stereotype.getResource();
+ if(resource == null || !resource.getName().toLowerCase().endsWith(".java")) {
+ //validate sources only
+ return;
+ }
+ List<IAnnotationDeclaration> as = stereotype.getAnnotationDeclarations();
+
+// 1. non-empty name
+ IAnnotationDeclaration nameDeclaration = stereotype.getNameDeclaration();
+ if(nameDeclaration != null) {
+ IMemberValuePair[] ps = null;
+ try {
+ ps = nameDeclaration.getDeclaration().getMemberValuePairs();
+ } catch (JavaModelException e) {
+ CDICorePlugin.getDefault().logError(e);
}
- List<IAnnotationDeclaration> as = s.getAnnotationDeclarations();
-
-// 1. non-empty name
- AnnotationDeclaration nameDeclaration = s.getNameDeclaration();
- if(nameDeclaration != null) {
- IMemberValuePair[] ps = null;
- try {
- ps = nameDeclaration.getDeclaration().getMemberValuePairs();
- } catch (JavaModelException e) {
- CDICorePlugin.getDefault().logError(e);
+ if(ps != null && ps.length > 0) {
+ Object name = ps[0].getValue();
+ if(name != null && name.toString().length() > 0) {
+ ITextSourceReference location = nameDeclaration;
+ addError(CDIValidationMessages.STEREOTYPE_DECLARES_NON_EMPTY_NAME, CDIPreferences.STEREOTYPE_DECLARES_NON_EMPTY_NAME, location, resource);
}
- if(ps != null && ps.length > 0) {
- Object name = ps[0].getValue();
- if(name != null && name.toString().length() > 0) {
- ITextSourceReference location = nameDeclaration;
- addError(CDIValidationMessages.STEREOTYPE_DECLARES_NON_EMPTY_NAME, CDIPreferences.STEREOTYPE_DECLARES_NON_EMPTY_NAME, location, resource);
- }
- }
}
+ }
-// 2. typed annotation
- IAnnotationDeclaration typedDeclaration = s.getAnnotationDeclaration(CDIConstants.TYPED_ANNOTATION_TYPE_NAME);
- if(typedDeclaration != null) {
- ITextSourceReference location = typedDeclaration;
- addError(CDIValidationMessages.STEREOTYPE_IS_ANNOTATED_TYPED, CDIPreferences.STEREOTYPE_IS_ANNOTATED_TYPED, location, resource);
- }
+// 2. typed annotation
+ IAnnotationDeclaration typedDeclaration = stereotype.getAnnotationDeclaration(CDIConstants.TYPED_ANNOTATION_TYPE_NAME);
+ if(typedDeclaration != null) {
+ ITextSourceReference location = typedDeclaration;
+ addError(CDIValidationMessages.STEREOTYPE_IS_ANNOTATED_TYPED, CDIPreferences.STEREOTYPE_IS_ANNOTATED_TYPED, location, resource);
+ }
-// 3. Qualifier other than @Named
- for (IAnnotationDeclaration a: as) {
- if(a instanceof IQualifierDeclaration && a != nameDeclaration) {
- ITextSourceReference location = a;
- addError(CDIValidationMessages.ILLEGAL_QUALIFIER_IN_STEREOTYPE, CDIPreferences.ILLEGAL_QUALIFIER_IN_STEREOTYPE, location, resource);
- }
+// 3. Qualifier other than @Named
+ for (IAnnotationDeclaration a: as) {
+ if(a instanceof IQualifierDeclaration && a != nameDeclaration) {
+ ITextSourceReference location = a;
+ addError(CDIValidationMessages.ILLEGAL_QUALIFIER_IN_STEREOTYPE, CDIPreferences.ILLEGAL_QUALIFIER_IN_STEREOTYPE, location, resource);
}
}
}
-
-}
+}
\ No newline at end of file
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -94,6 +94,10 @@
public static String ILLEGAL_INJECTING_INJECTIONPOINT_TYPE;
public static String ILLEGAL_QUALIFIER_IN_STEREOTYPE;
+ public static String SEARCHING_RESOURCES;
+ public static String VALIDATING_RESOURCE;
+ public static String VALIDATING_PROJECT;
+
static {
NLS.initializeMessages(BUNDLE_NAME, CDIValidationMessages.class);
}
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-01-22 12:48:57 UTC (rev 19878)
@@ -73,3 +73,8 @@
ILLEGAL_INJECTING_USERTRANSACTION_TYPE=Java EE component class has an injection point of type UserTransaction and qualifier @Default, and may not validly make use of the JTA UserTransaction according to the Java EE platform specification
ILLEGAL_INJECTING_INJECTIONPOINT_TYPE=Java EE component class supporting injection that is not a bean has an injection point of type InjectionPoint and qualifier @Default
ILLEGAL_QUALIFIER_IN_STEREOTYPE=Stereotype declares any qualifier annotation other than @Named
+
+#Messages for Progress Monitor
+SEARCHING_RESOURCES=project "{0}"; searching resources for validation.
+VALIDATING_RESOURCE=project "{0}"; resource "{1}"
+VALIDATING_PROJECT=project "{0}"
\ No newline at end of file
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.kb.validation;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.core.resources.IFile;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class ValidatorUtil {
+
+ public final static Set<String> EXTNS;
+ static {
+ EXTNS = new HashSet<String>();
+ EXTNS.add("java"); //$NON-NLS-1$
+ EXTNS.add("xml"); //$NON-NLS-1$
+ }
+
+ /**
+ * Returns true if the file name has "java" or "xml" extension.
+ * @param file
+ * @return
+ */
+ public static boolean checkFileExtensionForJavaAndXml(IFile file) {
+ return EXTNS.contains(file.getFileExtension());
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/validation/ValidatorUtil.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
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 2010-01-22 11:04:18 UTC (rev 19877)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2010-01-22 12:48:57 UTC (rev 19878)
@@ -47,6 +47,7 @@
import org.jboss.tools.jst.web.kb.validation.IValidatingProjectSet;
import org.jboss.tools.jst.web.kb.validation.IValidationContext;
import org.jboss.tools.jst.web.kb.validation.IValidator;
+import org.jboss.tools.jst.web.kb.validation.ValidatorUtil;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
import org.jboss.tools.seam.core.ISeamAnnotatedFactory;
@@ -189,7 +190,7 @@
// We need to check only file names here.
validateUnnamedResources = fileName.endsWith(".java") || fileName.endsWith(".properties") || fileName.equals("components.xml"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
- if (checkFileExtension(currentFile)) {
+ if (ValidatorUtil.checkFileExtensionForJavaAndXml(currentFile)) {
resources.add(currentFile.getFullPath());
// Get new variable names from model
Set<String> newVariableNamesOfChangedFile = getVariablesNameByResource(currentFile.getFullPath());
@@ -245,7 +246,7 @@
Set<IPath> unnamedResources = validationContext.getUnnamedCoreResources();
newResources.addAll(unnamedResources);
for (IPath path : newResources) {
- IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
+ IFile file = root.getFile(path);
if(file!=null && file.exists()) {
if(!resources.contains(path)) {
removeAllMessagesFromResource(file);
@@ -932,16 +933,4 @@
}
return true;
}
-
- private final static String[] extns = new String[]{"java", "xml"}; //$NON-NLS-1$ //$NON-NLS-2$
-
- private boolean checkFileExtension(IFile file) {
- String ext = file.getFileExtension();
- for (int i = 0; i < extns.length; i++) {
- if(extns[i].equalsIgnoreCase(ext)) {
- return true;
- }
- }
- return false;
- }
}
\ No newline at end of file
14 years, 5 months
JBoss Tools SVN: r19877 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/JavaSource.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2010-01-22 06:04:18 -0500 (Fri, 22 Jan 2010)
New Revision: 19877
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/JavaSource/
Log:
classed folder in test project has been setted to svn ignore
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/JavaSource
___________________________________________________________________
Name: svn:ignore
+ taged
14 years, 5 months
JBoss Tools SVN: r19876 - in trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage: impl and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-01-22 04:48:28 -0500 (Fri, 22 Jan 2010)
New Revision: 19876
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/AddModuleDependenciesPropertiesPage.java
trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/impl/JEEModuleDependenciesPropertyPage.java
Log:
JBIDE-5713 - fixed with a small API over-ride
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/AddModuleDependenciesPropertiesPage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/AddModuleDependenciesPropertiesPage.java 2010-01-22 09:35:46 UTC (rev 19875)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/AddModuleDependenciesPropertiesPage.java 2010-01-22 09:48:28 UTC (rev 19876)
@@ -594,8 +594,12 @@
buttonColumn.setLayoutData(btndata);
}
+ protected IVirtualReference[] getHardReferencesFromComponent(IVirtualComponent component) {
+ return component.getReferences();
+ }
+
protected void initialize() {
- IVirtualReference[] refs = rootComponent.getReferences();
+ IVirtualReference[] refs = getHardReferencesFromComponent(rootComponent);
IVirtualComponent comp;
for( int i = 0; i < refs.length; i++ ) {
comp = refs[i].getReferencedComponent();
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/impl/JEEModuleDependenciesPropertyPage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/impl/JEEModuleDependenciesPropertyPage.java 2010-01-22 09:35:46 UTC (rev 19875)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.wtp.ui/src/org/jboss/ide/eclipse/as/wtp/ui/propertypage/impl/JEEModuleDependenciesPropertyPage.java 2010-01-22 09:48:28 UTC (rev 19876)
@@ -6,10 +6,12 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jst.j2ee.application.internal.operations.AddComponentToEnterpriseApplicationDataModelProvider;
import org.eclipse.jst.j2ee.application.internal.operations.RemoveComponentFromEnterpriseApplicationDataModelProvider;
+import org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent;
import org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathUpdater;
import org.eclipse.jst.jee.project.facet.EarCreateDeploymentFilesDataModelProvider;
import org.eclipse.jst.jee.project.facet.ICreateDeploymentFilesDataModelProperties;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
import org.eclipse.wst.common.frameworks.datamodel.IDataModelOperation;
@@ -26,6 +28,13 @@
super(project, page);
}
+ protected IVirtualReference[] getHardReferencesFromComponent(IVirtualComponent component) {
+ if( component instanceof J2EEModuleVirtualComponent ) {
+ return ((J2EEModuleVirtualComponent)component).getNonManifestReferences(false);
+ }
+ return component.getReferences();
+ }
+
protected ReferenceExtension[] getReferenceExtensions() {
ReferenceExtension[] parents = super.getReferenceExtensions();
ArrayList<ReferenceExtension> l = new ArrayList<ReferenceExtension>();
14 years, 5 months
JBoss Tools SVN: r19875 - trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2010-01-22 04:35:46 -0500 (Fri, 22 Jan 2010)
New Revision: 19875
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java
Log:
JBIDE-5444:ESB jboss-esb.xml schema location needs fixing
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java 2010-01-22 08:17:31 UTC (rev 19874)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java 2010-01-22 09:35:46 UTC (rev 19875)
@@ -104,8 +104,12 @@
String configVersion = model.getStringProperty(IJBossESBFacetDataModelProperties.ESB_CONFIG_VERSION);
emptyESB.append("<?xml version = \"1.0\" encoding = \"UTF-8\"?>");
emptyESB.append("\n");
- emptyESB.append("<jbossesb xmlns=\"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." + configVersion + ".xsd\" parameterReloadSecs=\"5\">");
+ emptyESB.append("<jbossesb xmlns=\"http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." + configVersion + ".xsd\"");
emptyESB.append("\n");
+ String schemaLocation = "http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..." + configVersion + ".xsd";
+ emptyESB.append(" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\""+schemaLocation + " " +schemaLocation+"\"");
+ emptyESB.append("\n");
+ emptyESB.append(" parameterReloadSecs=\"5\">");
emptyESB.append("</jbossesb>");
IFile esbfile = folder.getFile("jboss-esb.xml");
esbfile.create(new ByteArrayInputStream(emptyESB.toString().getBytes()), true, null);
14 years, 5 months
JBoss Tools SVN: r19874 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors: csv12 and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-01-22 03:17:31 -0500 (Fri, 22 Jan 2010)
New Revision: 19874
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/INumberParser.java
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/ModelPanelCreator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/PropertyUICreator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksStuffPropertyDetailPage.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
Log:
JBIDE-5422
done
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/ModelPanelCreator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/ModelPanelCreator.java 2010-01-21 23:59:06 UTC (rev 19873)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/ModelPanelCreator.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -11,6 +11,7 @@
package org.jboss.tools.smooks.configuration.editors;
import java.lang.reflect.Method;
+import java.math.BigInteger;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
@@ -30,6 +31,7 @@
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.jboss.tools.smooks.configuration.editors.uitls.IModelProcsser;
+import org.jboss.tools.smooks.configuration.editors.uitls.INumberParser;
import org.jboss.tools.smooks.configuration.editors.uitls.SmooksUIUtils;
import org.jboss.tools.smooks.editor.ISmooksModelProvider;
import org.jboss.tools.smooks.model.common.AbstractAnyType;
@@ -202,26 +204,32 @@
if (createDefault) {
EClassifier typeClazz = feature.getEType();
boolean hasCreated = false;
+ Class<?> instanceClass = typeClazz.getInstanceClass();
if (typeClazz instanceof EEnum) {
editPart = createEnumFieldEditor(formToolkit, model, detailsComposite, feature, (EEnum) typeClazz,
formToolkit, itemPropertyDescriptor);
hasCreated = true;
}
- if (typeClazz.getInstanceClass() == String.class) {
+ if (instanceClass == String.class) {
editPart = createStringFieldEditor(model, detailsComposite, feature, formToolkit,
itemPropertyDescriptor);
hasCreated = true;
}
- if (typeClazz.getInstanceClass() == Boolean.class || typeClazz.getInstanceClass() == boolean.class) {
+ if (instanceClass == Boolean.class || instanceClass == boolean.class) {
editPart = createBooleanFieldEditor(model, detailsComposite, feature, formToolkit,
itemPropertyDescriptor);
hasCreated = true;
}
- if (typeClazz.getInstanceClass() == Integer.class || typeClazz.getInstanceClass() == int.class) {
+ if (instanceClass == Integer.class || instanceClass == int.class) {
editPart = createIntegerFieldEditor(model, detailsComposite, feature, formToolkit,
itemPropertyDescriptor);
hasCreated = true;
}
+ if(Number.class.isAssignableFrom(instanceClass)){
+ editPart = createBigIntegerFieldEditor(model, detailsComposite, feature, formToolkit,
+ itemPropertyDescriptor);
+ hasCreated = true;
+ }
if (!hasCreated) {
// createStringFieldEditor(detailsComposite, feature,
// formToolkit,
@@ -232,10 +240,27 @@
return editPart;
}
+ protected AttributeFieldEditPart createBigIntegerFieldEditor(Object model, final Composite propertyComposite,
+ EAttribute feature, FormToolkit formToolKit, final IItemPropertyDescriptor itemPropertyDescriptor) {
+ return SmooksUIUtils.createNumberFieldEditor(null, propertyComposite, formToolKit, itemPropertyDescriptor,
+ model , new INumberParser() {
+
+ public Object transformText(String text) {
+ return BigInteger.valueOf(Long.parseLong(text));
+ }
+ });
+ }
+
protected AttributeFieldEditPart createIntegerFieldEditor(Object model, final Composite propertyComposite,
EAttribute feature, FormToolkit formToolKit, final IItemPropertyDescriptor itemPropertyDescriptor) {
return SmooksUIUtils.createNumberFieldEditor(null, propertyComposite, formToolKit, itemPropertyDescriptor,
- model);
+ model , new INumberParser() {
+
+ public Object transformText(String text) {
+
+ return Integer.parseInt(text);
+ }
+ });
}
protected AttributeFieldEditPart createEnumFieldEditor(FormToolkit formToolkit, final EObject model,
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/PropertyUICreator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/PropertyUICreator.java 2010-01-21 23:59:06 UTC (rev 19873)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/PropertyUICreator.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -101,6 +101,20 @@
if (feature == SmooksPackage.eINSTANCE.getAbstractReader_TargetProfile()) {
}
+// EClassifier typeClazz = feature.getEType();
+// if (typeClazz instanceof EEnum) {
+// return createEnumFieldEditor(detailsComposite, feature, (EEnum) typeClazz, formToolkit,
+// itemPropertyDescriptor);
+// }
+// if (typeClazz.getInstanceClass() == String.class) {
+// return createStringFieldEditor(detailsComposite, feature, formToolkit, itemPropertyDescriptor);
+// }
+// if (typeClazz.getInstanceClass() == Boolean.class || typeClazz.getInstanceClass() == boolean.class) {
+// return createBooleanFieldEditor(detailsComposite, feature, formToolkit, itemPropertyDescriptor);
+// }
+// if (typeClazz.getInstanceClass() == Integer.class || typeClazz.getInstanceClass() == int.class) {
+// return createIntegerFieldEditor(detailsComposite, feature, formToolkit, itemPropertyDescriptor);
+// }
return null;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksStuffPropertyDetailPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksStuffPropertyDetailPage.java 2010-01-21 23:59:06 UTC (rev 19873)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksStuffPropertyDetailPage.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -40,6 +40,7 @@
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.Section;
import org.jboss.tools.smooks.configuration.editors.uitls.IModelProcsser;
+import org.jboss.tools.smooks.configuration.editors.uitls.INumberParser;
import org.jboss.tools.smooks.configuration.editors.uitls.SmooksUIUtils;
import org.jboss.tools.smooks.configuration.validate.ISmooksModelValidateListener;
import org.jboss.tools.smooks.editor.AbstractSmooksFormEditor;
@@ -367,7 +368,13 @@
FormToolkit formToolKit, final IItemPropertyDescriptor itemPropertyDescriptor) {
return SmooksUIUtils.createNumberFieldEditor(null, propertyComposite, formToolKit, itemPropertyDescriptor,
- getModel());
+ getModel(), new INumberParser() {
+
+ public Object transformText(String text) {
+
+ return Integer.parseInt(text);
+ }
+ } );
}
/*
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java 2010-01-21 23:59:06 UTC (rev 19873)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -44,6 +44,7 @@
import org.jboss.tools.smooks.model.csv12.CSV12Reader;
import org.jboss.tools.smooks.model.csv12.Csv12Package;
import org.jboss.tools.smooks.model.csv12.MapBinding;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
/**
* @author Dart Peng (dpeng(a)redhat.com) Date Apr 10, 2009
@@ -62,7 +63,6 @@
public AttributeFieldEditPart createPropertyUI(FormToolkit toolkit, Composite parent,
IItemPropertyDescriptor propertyDescriptor, Object model, EAttribute feature,
ISmooksModelProvider formEditor, IEditorPart part) {
-
return super.createPropertyUI(toolkit, parent, propertyDescriptor, model, feature, formEditor, part);
}
@@ -79,12 +79,19 @@
FormToolkit toolkit, Composite parent, Object model, ISmooksModelProvider formEditor, IEditorPart editorPart) {
// createFiledsComposite(editingdomain, toolkit, parent, model,
// formEditor);
- createParametersGroup(parent, (CSV12Reader) model, toolkit, formEditor, editorPart);
+ // createParametersGroup(parent, (CSV12Reader) model, toolkit,
+ // formEditor, editorPart);
return super.createExtendUIOnBottom(editingdomain, toolkit, parent, model, formEditor, editorPart);
}
@Override
public boolean ignoreProperty(EAttribute feature) {
+ if (feature.equals(Csv12Package.Literals.CSV12_READER__ENCODING)) {
+ return true;
+ }
+ if (feature.equals(SmooksPackage.Literals.ABSTRACT_READER__TARGET_PROFILE)) {
+ return true;
+ }
if (feature.equals(Csv12Package.Literals.CSV12_READER__FIELDS)) {
return true;
}
@@ -129,21 +136,28 @@
private void createFiledsComposite(AdapterFactoryEditingDomain editingdomain, FormToolkit toolkit,
Composite parent, Object model, ISmooksModelProvider formEditor) {
- // fieldsList.clear();
- // GridData gd = new GridData(GridData.FILL_HORIZONTAL);
- // gd.heightHint = 150;
- // gd.horizontalSpan = 2;
- // Group fieldsComposite = new Group(parent, SWT.NONE);
- // fieldsComposite.setBackground(toolkit.getColors().getBackground());
- // fieldsComposite.setText(Messages.Csv12ReaderUICreator_1);
- // fieldsComposite.setLayoutData(gd);
- // GridLayout gl = new GridLayout();
- // gl.numColumns = 2;
- // fieldsComposite.setLayout(gl);
IItemPropertySource propertySource = (IItemPropertySource) editingdomain.getAdapterFactory().adapt(model,
IItemPropertySource.class);
+ final IItemPropertyDescriptor fieldsDescriptor = propertySource.getPropertyDescriptor(model,
+ Csv12Package.Literals.CSV12_READER__FIELDS);
+
+ String fields = (String) SmooksUIUtils.getEditValue(fieldsDescriptor, model);
+
+ final AttributeFieldEditPart fieldsEditPart = SmooksUIUtils.createStringFieldEditor(
+ org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_Fields, parent,
+ editingdomain, toolkit, fieldsDescriptor, model, false, false, false, null, 0, null,
+ SmooksUIUtils.VALUE_TYPE_VALUE, null, false);
+ Text text = (Text) fieldsEditPart.getContentControl();
+ text.addModifyListener(new ModifyListener() {
+
+ public void modifyText(ModifyEvent arg0) {
+ updateFieldsMessage(((Text) arg0.getSource()).getText(), fieldsEditPart);
+ }
+ });
+ updateFieldsMessage(fields, fieldsEditPart);
+
final IItemPropertyDescriptor descriptor = propertySource.getPropertyDescriptor(model,
Csv12Package.Literals.CSV12_READER__SEPARATOR);
@@ -164,24 +178,6 @@
Text quoteText = (Text) quoteEditPart.getContentControl();
quoteText.setTextLimit(1);
- final IItemPropertyDescriptor fieldsDescriptor = propertySource.getPropertyDescriptor(model,
- Csv12Package.Literals.CSV12_READER__FIELDS);
-
- String fields = (String) SmooksUIUtils.getEditValue(fieldsDescriptor, model);
-
- final AttributeFieldEditPart fieldsEditPart = SmooksUIUtils.createStringFieldEditor(
- org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_Fields, parent,
- editingdomain, toolkit, fieldsDescriptor, model, false, false, false, null, 0, null,
- SmooksUIUtils.VALUE_TYPE_VALUE, null, false);
- Text text = (Text) fieldsEditPart.getContentControl();
- text.addModifyListener(new ModifyListener() {
-
- public void modifyText(ModifyEvent arg0) {
- updateFieldsMessage(((Text) arg0.getSource()).getText(), fieldsEditPart);
- }
- });
- updateFieldsMessage(fields, fieldsEditPart);
-
final IItemPropertyDescriptor recorddescriptor = propertySource.getPropertyDescriptor(model,
Csv12Package.Literals.CSV12_READER__RECORD_ELEMENT_NAME);
@@ -197,7 +193,6 @@
org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_Root_Name, parent,
editingdomain, toolkit, rootdescriptor, model, false, false, false, null, 0, null,
SmooksUIUtils.VALUE_TYPE_VALUE, null, false);
-
}
protected void updateFieldsMessage(String fields, AttributeFieldEditPart editPart) {
Added: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/INumberParser.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/INumberParser.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/INumberParser.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -0,0 +1,5 @@
+package org.jboss.tools.smooks.configuration.editors.uitls;
+
+public interface INumberParser {
+ Object transformText(String text);
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/INumberParser.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2010-01-21 23:59:06 UTC (rev 19873)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2010-01-22 08:17:31 UTC (rev 19874)
@@ -613,7 +613,7 @@
}
public static AttributeFieldEditPart createNumberFieldEditor(String label, final Composite parent,
- FormToolkit toolkit, final IItemPropertyDescriptor itemPropertyDescriptor, Object model) {
+ FormToolkit toolkit, final IItemPropertyDescriptor itemPropertyDescriptor, Object model ,final INumberParser numberParser) {
AttributeFieldEditPart fieldEditPart = new AttributeFieldEditPart();
GridData gd = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
Section section = null;
@@ -663,22 +663,23 @@
toolkit.paintBordersFor(textContainer);
- boolean valueIsSet = true;
- if (model != null && model instanceof EObject && itemPropertyDescriptor != null) {
- valueIsSet = ((EObject) model).eIsSet((EAttribute) itemPropertyDescriptor.getFeature(model));
- }
- if (editValue != null && valueIsSet && editValue instanceof Integer) {
+// boolean valueIsSet = true;
+// if (model != null && model instanceof EObject && itemPropertyDescriptor != null) {
+// valueIsSet = ((EObject) model).eIsSet((EAttribute) itemPropertyDescriptor.getFeature(model));
+// }
+ if (editValue != null ) {
valueText.setText(editValue.toString());
}
if (itemPropertyDescriptor != null) {
valueText.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
+ if(numberParser == null) return;
Object editValue = getEditValue(itemPropertyDescriptor, fm);
if (editValue != null) {
String vt = valueText.getText();
- Integer newValue = null;
+ Object newValue = null;
try {
- newValue = Integer.parseInt(vt);
+ newValue = numberParser.transformText(vt);
} catch (Throwable t) {
return;
}
@@ -691,9 +692,9 @@
}
} else {
String vt = valueText.getText();
- Integer newValue = null;
+ Object newValue = null;
try {
- newValue = Integer.parseInt(vt);
+ newValue = numberParser.transformText(vt);
} catch (Throwable t) {
return;
}
14 years, 5 months
JBoss Tools SVN: r19873 - trunk/documentation/guides/Beginners_Guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-01-21 18:59:06 -0500 (Thu, 21 Jan 2010)
New Revision: 19873
Modified:
trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml
Log:
changed textobject para tags to phrase tags to get rid of crazy html files being generated when using maven
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml 2010-01-21 23:53:20 UTC (rev 19872)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml 2010-01-21 23:59:06 UTC (rev 19873)
@@ -93,9 +93,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png" format="PNG" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The JBoss Tools Palette, with a number of standard libraries loaded.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -176,9 +176,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The Web Projects View, showing a <acronym>JSF</acronym> project on the left and a Struts project on the right.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -214,9 +214,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
Content Assist with <acronym>JSF</acronym> code completion suggestions.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -302,9 +302,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png" format="PNG" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The New Seam Project wizard, used to configure a Seam project.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -363,9 +363,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The graphical view of the Seam Pages Editor, representing the project page-flow and exception handling.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -384,9 +384,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The Seam Components Editor, displaying the components in a hierarchical tree.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -453,9 +453,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The Hibernate Console consists of multiple panels representing the database.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -506,9 +506,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The Dynamic Web Project wizard streamlines the creation of a <application>JBoss Portal</application> application.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -539,9 +539,9 @@
<imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png" format="PNG" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The MBean Explorer lists a connection's Managed Beans, domains, attributes, and operations in a hierarchical tree.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -582,9 +582,9 @@
<imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The MBean Editor is a property editor for Managed Beans.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -608,9 +608,9 @@
<imagedata fileref="images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
The Servers view shows the installed servers and their current states.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
@@ -631,9 +631,9 @@
<imagedata fileref="images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png" format="PNG" width="444" />
</imageobject>
<textobject>
- <para>
+ <phrase>
Project archives can be managed with the Archive Tools.
- </para>
+ </phrase>
</textobject>
</mediaobject>
</figure>
14 years, 5 months
JBoss Tools SVN: r19872 - in trunk/documentation/guides/Beginners_Guide: en-US and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-01-21 18:53:20 -0500 (Thu, 21 Jan 2010)
New Revision: 19872
Added:
trunk/documentation/guides/Beginners_Guide/en-US/
trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml
trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent
trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml
trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml
trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml
trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml
trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml
trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml
trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml
trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml
trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml
trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml
trunk/documentation/guides/Beginners_Guide/en-US/images/
trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_code_rule_editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_rete_rule_editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/ESB_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_main.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_welcome_screen.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_workspace.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_connection_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_copy_file.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_repository.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_resource_history_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_Overview.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_localhost.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_diagram_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_source_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_tree_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Server_Started.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Start_Stop_Server.png
trunk/documentation/guides/Beginners_Guide/en-US/images/View_Button.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Using_Document.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png
trunk/documentation/guides/Beginners_Guide/en-US/master.xml
Removed:
trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml
trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent
trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml
trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml
trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml
trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml
trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml
trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml
trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml
trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml
trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml
trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml
trunk/documentation/guides/Beginners_Guide/en-US/images/
trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_code_rule_editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_rete_rule_editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/ESB_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_main.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_welcome_screen.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_workspace.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_connection_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_copy_file.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_repository.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_resource_history_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_Overview.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_localhost.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_diagram_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_source_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_tree_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Server_Started.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Start_Stop_Server.png
trunk/documentation/guides/Beginners_Guide/en-US/images/View_Button.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Using_Document.png
trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png
trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png
trunk/documentation/guides/Beginners_Guide/en-US/master.xml
trunk/documentation/guides/Beginners_Guide/en/
Modified:
trunk/documentation/guides/Beginners_Guide/pom.xml
Log:
reverted back to the new directory structure as it is now the agreed structure for documentation in order to allow for both Maven and Publican to build the books
Copied: trunk/documentation/guides/Beginners_Guide/en-US (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,26 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-]>
-<authorgroup>
- <author>
- <firstname>Isaac</firstname>
- <surname>Rooskov</surname>
- <email>irooskov(a)redhat.com</email>
- </author>
- <author>
- <firstname>Sean</firstname>
- <surname>Rogers</surname>
- <email>serogers(a)redhat.com</email>
- </author>
- <editor>
- <firstname>Andrew</firstname>
- <surname>Ross</surname>
- <email>anross(a)redhat.com</email>
- </editor>
- <editor>
- <firstname>Max</firstname>
- <surname>Andersen</surname>
- <email>max.andersen(a)redhat.com</email>
- </editor>
-</authorgroup>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Author_Group.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<authorgroup>
+ <author>
+ <firstname>Isaac</firstname>
+ <surname>Rooskov</surname>
+ <email>irooskov(a)redhat.com</email>
+ </author>
+ <author>
+ <firstname>Sean</firstname>
+ <surname>Rogers</surname>
+ <email>serogers(a)redhat.com</email>
+ </author>
+ <editor>
+ <firstname>Andrew</firstname>
+ <surname>Ross</surname>
+ <email>anross(a)redhat.com</email>
+ </editor>
+ <editor>
+ <firstname>Max</firstname>
+ <surname>Andersen</surname>
+ <email>max.andersen(a)redhat.com</email>
+ </editor>
+</authorgroup>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,4 +0,0 @@
-<!ENTITY PRODUCT "JBoss">
-<!ENTITY BOOKID "Beginners_Guide">
-<!ENTITY YEAR "2009">
-<!ENTITY HOLDER "Red Hat">
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.ent 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,4 @@
+<!ENTITY PRODUCT "JBoss">
+<!ENTITY BOOKID "Beginners_Guide">
+<!ENTITY YEAR "2009">
+<!ENTITY HOLDER "Red Hat">
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,15 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-]>
-<book>
- <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="The_interface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Java_Web_(EE)_and_Standard_Edition_(SE).xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Service-Oriented_Architecture_Development.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Where_to_go_from_here.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <!-- <index /> -->
-</book>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Beginners_Guide.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<book>
+ <xi:include href="Book_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Introduction.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="The_interface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Java_Web_(EE)_and_Standard_Edition_(SE).xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Service-Oriented_Architecture_Development.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Where_to_go_from_here.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <!-- <index /> -->
+</book>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,28 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
-]>
-<bookinfo id="book-Beginners_Guide-Beginners_Guide">
- <title>Beginners Guide</title>
- <subtitle>Provides information about the use of <application>JBoss Tools </application>and the <application>JBoss Developer Studio</application> from a beginners level.</subtitle>
- <productname>JBoss Developer Studio</productname>
- <productnumber>3.0</productnumber>
- <edition>1.0</edition>
- <pubsnumber>7</pubsnumber>
- <abstract>
- <para>
-The Beginners Guide brings all concepts pertaining to <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> back to basics. It is intended for individuals who may be
-new to application servers and the creation of applications for
-deployment.
-</para>
- </abstract>
- <corpauthor>
- <inlinemediaobject>
- <imageobject>
- <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
- </imageobject>
- </inlinemediaobject>
- </corpauthor>
- <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-</bookinfo>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE bookinfo PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+]>
+<bookinfo id="book-Beginners_Guide-Beginners_Guide">
+ <title>Beginners Guide</title>
+ <subtitle>Provides information about the use of <application>JBoss Tools </application>and the <application>JBoss Developer Studio</application> from a beginners level.</subtitle>
+ <productname>JBoss Developer Studio</productname>
+ <productnumber>3.0</productnumber>
+ <edition>1.0</edition>
+ <pubsnumber>7</pubsnumber>
+ <abstract>
+ <para>
+The Beginners Guide brings all concepts pertaining to <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> back to basics. It is intended for individuals who may be
+new to application servers and the creation of applications for
+deployment.
+</para>
+ </abstract>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="Common_Content/images/title_logo.svg" format="SVG" />
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+ <xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+</bookinfo>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,20 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<section id="sect-Beginners_Guide-We_Need_Feedback" lang="en-US">
- <title>We Need Feedback!</title>
- <indexterm>
- <primary>feedback</primary>
- <secondary>contact information for this manual</secondary>
- </indexterm>
- <para>
- If you find a typographical error in this manual, or if you have thought of a way to make this manual better, we would love to hear from you! Please submit a report in JIRA agaist JBoss Tools for the community: <ulink url="https://jira.jboss.org/jira/browse/JBIDE">https://jira.jboss.org/jira/browse/JBIDE</ulink> or JBoss Developer Studio for the enterprise: <ulink url="https://jira.jboss.org/jira/browse/JBDS">https://jira.jboss.org/jira/browse/JBDS</ulink>
- </para>
- <para>
- When submitting a bug report, be sure to mention the manual's name.
- </para>
- <para>
- If you have a suggestion for improving the documentation, try to be as specific as possible when describing it. If you have found an error, please include the section number and some of the surrounding text so we can find it easily.
- </para>
-</section>
-
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Feedback.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<section id="sect-Beginners_Guide-We_Need_Feedback" lang="en-US">
+ <title>We Need Feedback!</title>
+ <indexterm>
+ <primary>feedback</primary>
+ <secondary>contact information for this manual</secondary>
+ </indexterm>
+ <para>
+ If you find a typographical error in this manual, or if you have thought of a way to make this manual better, we would love to hear from you! Please submit a report in JIRA agaist JBoss Tools for the community: <ulink url="https://jira.jboss.org/jira/browse/JBIDE">https://jira.jboss.org/jira/browse/JBIDE</ulink> or JBoss Developer Studio for the enterprise: <ulink url="https://jira.jboss.org/jira/browse/JBDS">https://jira.jboss.org/jira/browse/JBDS</ulink>
+ </para>
+ <para>
+ When submitting a bug report, be sure to mention the manual's name.
+ </para>
+ <para>
+ If you have a suggestion for improving the documentation, try to be as specific as possible when describing it. If you have found an error, please include the section number and some of the surrounding text so we can find it easily.
+ </para>
+</section>
+
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,12 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-Introduction">
- <title>Introduction</title>
- <para>
- The <application>JBoss Tools</application> and <application>JBoss Developer Studio</application> tools suites are designed to assist with the development of applications and services for JBoss Middleware software. These tools have been developed and are used by developers to increase their efficiency and productivity with JBoss software offerings (be it community or enterprise offerings).
- </para>
- <para>
- This beginners guide covers the basics of the interface you will be working with and the tools within it, assuming as little knowledge on your side as possible. If you are not familiar with <application>JBoss Tools</application> or <application>JBoss Developer Studio</application> then this guide provides the best place to begin.
- </para>
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Introduction.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-Introduction">
+ <title>Introduction</title>
+ <para>
+ The <application>JBoss Tools</application> and <application>JBoss Developer Studio</application> tools suites are designed to assist with the development of applications and services for JBoss Middleware software. These tools have been developed and are used by developers to increase their efficiency and productivity with JBoss software offerings (be it community or enterprise offerings).
+ </para>
+ <para>
+ This beginners guide covers the basics of the interface you will be working with and the tools within it, assuming as little knowledge on your side as possible. If you are not familiar with <application>JBoss Tools</application> or <application>JBoss Developer Studio</application> then this guide provides the best place to begin.
+ </para>
+</chapter>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,646 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins">
- <title>Java Web (EE) and Standard Edition (SE) Plug-Ins</title>
- <para>
- This chapter covers the Java plug-ins included with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>.
- </para>
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Visual_Web_Tools">
- <title>Visual Web Tools</title>
- <para>
- The Visual Web Tools consist of a number of features designed to aid in the development of web pages and web projects.
- </para>
- <variablelist>
- <varlistentry>
- <term>Visual Page Editor</term>
- <listitem>
- <para>
- The Visual Page Editor allows an application to be developed alongside a visual preview. The application can be viewed either as the source code, as a preview of the application, or both simultaneously in a split-screen presentation. The Visual Page Editor can be used for developing an application using technologies such as JavaServer Faces (<acronym>JSF</acronym>), JavaServer Pages (<acronym>JSP</acronym>), Struts, and Hypertext Markup Language (<acronym>HTML</acronym>). The Visual Page Editor also features a graphical toolbar for in-line styling.
- </para>
- <figure id="figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor">
- <title>Visual Page Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <phrase>
- The Visual Page Editor, showing both the source and a visual preview simultaneously.
- </phrase>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>JBoss Tools Palette</term>
- <listitem>
- <para>
- The JBoss Tools Palette provides access to tag libraries for creating <acronym>JSP</acronym> and <acronym>JSF</acronym> pages. Tags can be quickly inserted into pages from a number of included libraries:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <acronym>HTML</acronym>
- </para>
- </listitem>
- <listitem>
- <para>
- JBoss
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>JSF</acronym>
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>JSTL</acronym> (<acronym>JSP</acronym> Standard Tag Library)
- </para>
- </listitem>
- <listitem>
- <para>
- MyFaces
- </para>
- </listitem>
- <listitem>
- <para>
- Oracle <acronym>ADF</acronym> (Application Development Framework) Faces
- </para>
- </listitem>
- <listitem>
- <para>
- Struts
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>XHTML</acronym> (Extensible Hypertext Markup Language)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Custom-made tags and third-party tag libraries can also be included in the JBoss Tools Palette.
- </para>
- <figure id="figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette">
- <title>JBoss Tools Palette</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png" format="PNG" />
- </imageobject>
- <textobject>
- <para>
- The JBoss Tools Palette, with a number of standard libraries loaded.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="chapter">JBoss Tools Palette</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Web Projects View</term>
- <listitem>
- <para>
- The Web Projects View is an additional view for <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. It enhances project authoring with a number of features:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- Project artifacts for <acronym>JSF</acronym> and Struts projects are organized by function, allowing for better project visualization.
- </para>
- </listitem>
- <listitem>
- <para>
- Selected items can be dragged and dropped into <acronym>JSP</acronym> pages:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <acronym>JSF</acronym> managed bean attributes
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>JSF</acronym> navigation rule outcomes
- </para>
- </listitem>
- <listitem>
- <para>
- Property file values
- </para>
- </listitem>
- <listitem>
- <para>
- Tag library files
- </para>
- </listitem>
- <listitem>
- <para>
- Tags from tag libraries
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>JSP</acronym> page links
- </para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
- <para>
- Context menus can be used to speed up application authoring.
- </para>
- </listitem>
- <listitem>
- <para>
- <acronym>JSF</acronym> and Struts projects can be quickly created or imported from the shortcut buttons.
- </para>
- </listitem>
- <listitem>
- <para>
- Tag library files can be expanded, inspected, and easily added to the JBoss Tools Palette.
- </para>
- </listitem>
- </itemizedlist>
- <figure id="figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects">
- <title>Web Projects View for <acronym>JSF</acronym> (left) and Struts (right) projects</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The Web Projects View, showing a <acronym>JSF</acronym> project on the left and a Struts project on the right.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="chapter">Web Projects View</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>OpenOn</term>
- <listitem>
- <para>
- OpenOn provides an easy method to switch directly from one resource to another in the project without navigating through the <guilabel>Package Explorer</guilabel> view. Pressing <keycap>F3</keycap> or <keycombo><keycap>Ctrl</keycap><mousebutton>click</mousebutton></keycombo> when a reference to another file is highlighted will open the file in the editor.
- </para>
- <para>
- Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Content Assist</term>
- <listitem>
- <para>
- Content Assist displays context-specific code completion suggestions while typing, speeding up development and reducing typing errors. Content Assist is supported in a number of contexts:
- </para>
- <para>
- The suggestion list can be displayed by pressing <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo>, and the highlighted entry can be selected and inserted by pressing <keycap>Enter</keycap>.
- </para>
- <figure id="figu-Beginners_Guide-Visual_Web_Tools-Content_Assist">
- <title>Content Assist</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- Content Assist with <acronym>JSF</acronym> code completion suggestions.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Drag-and-Drop</term>
- <listitem>
- <para>
- Properties, managed bean attributes, navigation rules, tag library file declarations, and <acronym>JSP</acronym> pages can all be dragged from the <guilabel>Web Projects</guilabel> view and dropped into the editor to add content.
- </para>
- <para>
- Refer to the <citetitle pubwork="chapter">Web Projects View</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>RichFaces Support</term>
- <listitem>
- <para>
- The RichFaces framework is tightly integrated with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. RichFaces and Ajax4jsf tag libraries can be used in the JBoss Tools Palette, and RichFaces components are rendered in the Visual Page Editor.
- </para>
- <para>
- Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Seam_Development_Tools">
- <title>Seam Development Tools</title>
- <para>
- <application>JBoss Seam</application> is an application framework that simplifies the development of Web 2.0 applications. It combines several technologies to reduce the complexity of developing modern web applications:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- Enterprise Java Beans (<acronym>EJB3</acronym>)
- </para>
- </listitem>
- <listitem>
- <para>
- JavaServer Faces (<acronym>JSF</acronym>)
- </para>
- </listitem>
- <listitem>
- <para>
- Asynchronous JavaScript and <acronym>XML</acronym> (Ajax)
- </para>
- </listitem>
- <listitem>
- <para>
- Java Portlets
- </para>
- </listitem>
- <listitem>
- <para>
- Business Process Management (<acronym>BPM</acronym>)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- <application>Seam</application> provides an interface to these different technologies through simple <emphasis>Plain Old Java Objects</emphasis> (<acronym>POJO</acronym>), user interface components, and <acronym>XML</acronym>. <application>Seam</application> does not distinguish between presentation-tier components and business logic components in an effort to present a simple, unified component model for the Java Enterprise Edition platform. Seam also provides mechanisms to manage application states across multiple workspaces, methods to manage workflow and pageflow through <acronym>jBPM</acronym>, and comprehensive integrated testing features.
- </para>
- <para>
- The Seam Development Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> allow for easy <application>Seam</application> application development:
- </para>
- <variablelist>
- <varlistentry>
- <term>New Seam Project wizard</term>
- <listitem>
- <para>
- The New Seam Project wizard allows the details of the Seam project to be configured, including target runtimes, target servers, project facets, and web module settings, then generates all the necessary files for a Seam project.
- </para>
- <figure id="figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard">
- <title>New Seam Project wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png" format="PNG" />
- </imageobject>
- <textobject>
- <para>
- The New Seam Project wizard, used to configure a Seam project.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Other Seam wizards</term>
- <listitem>
- <para>
- Wizards are also included for creating new Seam Actions, new Seam Forms, new Seam Conversations, and new Seam Entities.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Entity generation</term>
- <listitem>
- <para>
- Another wizard exists for generating Seam entities. The wizard produces a set of <acronym>CRUD</acronym> (create-read-update-delete) Seam components and web pages. These can be generated by reverse-engineering an existing database, or by using existing entities in the application.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Editors and views</term>
- <listitem>
- <para>
- There are a number of editors available in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> for working with Seam in addition to the Visual Page Editor:
- </para>
- <variablelist>
- <varlistentry>
- <term>Seam Pages Editor</term>
- <listitem>
- <para>
- The Seam Pages Editor is used for editing the <filename>pages.xml</filename> file. The file can be edited through three different views:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- the graphical view, which diagrammatically represents the project page-flow and exception handling;
- </para>
- </listitem>
- <listitem>
- <para>
- the tree view, which lists the elements and attributes of the <filename>pages.xml</filename> file in a hierarchical tree for simplified editing;
- </para>
- </listitem>
- <listitem>
- <para>
- and the source view, which allows direct editing of the <filename>pages.xml</filename> source.
- </para>
- </listitem>
- </itemizedlist>
- <figure id="figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view">
- <title>Seam Pages Editor (graphical view)</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The graphical view of the Seam Pages Editor, representing the project page-flow and exception handling.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Seam Components Editor</term>
- <listitem>
- <para>
- The Seam Components Editor is used for editing the <filename>components.xml</filename> file. The file can be edited through two views, the tree view and the source view, which operate similarly to the views in the Seam Pages Editor.
- </para>
- <figure id="figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor">
- <title>Seam Components Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The Seam Components Editor, displaying the components in a hierarchical tree.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>
- The Seam Editors feature Content Assist and OpenOn; for more details on these technologies refer to <xref linkend="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Visual_Web_Tools" />. Seam Editors also feature validation tools to highlight potential issues with the application.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><acronym>CRUD</acronym> database applications</term>
- <listitem>
- <para>
- <acronym>CRUD</acronym> refers to the four basic <acronym>SQL</acronym> commands: <code>create</code>, <code>read</code>, <code>update</code>, and <code>delete</code>. A <acronym>CRUD</acronym> database application uses forms to retrieve data from and submit data to a database.
- </para>
- <para>
- <acronym>CRUD</acronym> database applications can be created through the New Seam Project wizard.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>TestNG</term>
- <listitem>
- <para>
- TestNG (<emphasis>Testing, the Next Generation</emphasis>) is a Java-based unit testing framework. TestNG suites can be added to a project through the New Seam Action wizard.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>
- Refer to the <citetitle pubwork="book">Seam Development Tools Reference Guide</citetitle> for full details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Hibernate_Tools">
- <title>Hibernate Tools</title>
- <para>
- <application>Hibernate</application> is an object-relational mapping (<acronym>ORM</acronym>) library, used for mapping an object-oriented domain model to a relational database. It replaces persistence-related database accesses with high-level object-handling functions to solve problems relating to object-relational impedance mismatch. <application>Hibernate</application> also serves as a query service, allowing queries to be expressed in native <acronym>SQL</acronym> (Structured Query Language), an extension of <acronym>SQL</acronym> named <emphasis>Hibernate Query Language</emphasis> (<acronym>HQL</acronym>), or an object-oriented Criteria and Example <acronym>API</acronym> (Application Programming Interface).
- </para>
- <para>
- Hibernate Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> provides several features to aid in developing with <application>Hibernate</application>:
- </para>
- <variablelist>
- <varlistentry>
- <term>Mapping Editor</term>
- <listitem>
- <para>
- The Mapping Editor is used for authoring Hibernate <acronym>XML</acronym> mapping files. It supports code completion (Content Assist) and syntax highlighting.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Console</term>
- <listitem>
- <para>
- The Hibernate Console provides a visual representation of database connections and class relationships. Queries can be interactively performed on the database representation.
- </para>
- <figure id="figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console">
- <title>Hibernate Console</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The Hibernate Console consists of multiple panels representing the database.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Reverse Engineering</term>
- <listitem>
- <para>
- Databases can be reverse-engineered to construct domain model classes, Hibernate mapping files, annotated entity beans, <acronym>HTML</acronym> documentation, or complete JBoss Seam applications.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>Wizards</term>
- <listitem>
- <para>
- Wizards are included to step through procedures to generate Hibernate configuration files and Hibernate console configurations.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><application>Apache Ant</application> Task</term>
- <listitem>
- <para>
- <application>Apache Ant</application> is a tool for automating software build processes. Hibernate Tools includes an Apache Ant Task for generating schema, mapping, and Java code related to the build process.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>
- Refer to the <citetitle pubwork="book">Hibernate Tools Reference</citetitle> for full details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Portal_Tools">
- <title>Portal Tools</title>
- <para>
- <application>JBoss Portal</application> is a platform for hosting and serving the web interface of a portal. It allows for content management and experience customization, and supports standard portlets, single sign-ons, clustering, and internationalization.
- </para>
- <para>
- <application>JBoss Portal</application> applications can be created through the Dynamic Web Project wizard. Java portlets, <acronym>JSF</acronym> portlets, and Seam portlets are all supported.
- </para>
- <figure id="figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard">
- <title>Dynamic Web Project wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The Dynamic Web Project wizard streamlines the creation of a <application>JBoss Portal</application> application.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="book">JBoss Portal Tools Reference Guide</citetitle> for full details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-JMX_Tools">
- <title>JMX Tools</title>
- <para>
- Java Management Extensions (<acronym>JMX</acronym>) is a Java tool-set for managing and monitoring applications, connected devices, and service-oriented networks. A managed resource is represented by a dynamic object called a <emphasis>Managed Bean</emphasis> (or <emphasis>MBean</emphasis>, which is a JavaBean with a dependency injection.
- </para>
- <para>
- The <acronym>JMX</acronym> Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> consist on the <emphasis>MBean Explorer</emphasis> and the <emphasis>MBean Editor</emphasis>.
- </para>
- <variablelist>
- <varlistentry>
- <term>MBean Explorer</term>
- <listitem>
- <para>
- The MBean Explorer lists a connection's Managed Beans, domains, attributes, and operations in a hierarchical tree. Items in the tree can be filtered, expanded, and collapsed, and double-clicking on any item will open the item in the MBean Editor.
- </para>
- <figure id="figu-Beginners_Guide-JMX_Tools-MBean_Explorer">
- <title>MBean Explorer</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png" format="PNG" />
- </imageobject>
- <textobject>
- <para>
- The MBean Explorer lists a connection's Managed Beans, domains, attributes, and operations in a hierarchical tree.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>MBean Editor</term>
- <listitem>
- <para>
- The MBean Editor is a detailed property-editor made up of four pages:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- the Attributes page, which allows the attributes of the Managed Bean to be viewed edited;
- </para>
- </listitem>
- <listitem>
- <para>
- the Operations page, which allows the operations of the Managed Bean to be viewed and edited;
- </para>
- </listitem>
- <listitem>
- <para>
- the Notifications page, which allows the Managed Bean to be subscribed to, and which notifications are received
- </para>
- </listitem>
- <listitem>
- <para>
- the Info page, which displays information on the Managed Bean.
- </para>
- </listitem>
- </itemizedlist>
- <figure id="figu-Beginners_Guide-JMX_Tools-MBean_Editor">
- <title>MBean Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The MBean Editor is a property editor for Managed Beans.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- </listitem>
- </varlistentry>
- </variablelist>
- <para>
- Refer to the <citetitle pubwork="book">JMX Tools Reference Guide</citetitle> for full details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-JBoss_AS_Tools">
- <title>JBoss AS Tools</title>
- <para>
- The JBoss <acronym>AS</acronym> Tools consist of a number of additional views for managing an installed JBoss Server through the JBoss <acronym>AS</acronym> (Application Server) perspective. These additional views include the standard Console view and Properties view, and the Servers view. The Servers view allows installed servers to be configured, monitored, and managed.
- </para>
- <figure id="figu-Beginners_Guide-JBoss_AS_Tools-Servers_view">
- <title>Servers view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- The Servers view shows the installed servers and their current states.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="book">JBoss Server Manager Reference Guide</citetitle> for full details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Archive_Tools">
- <title>Archive Tools</title>
- <para>
- The JBoss AS Tools also include the Project Archives view for streamlined packaging and archiving of applications. Application projects can be configured with specific packaging instructions, and wizards are included for creating and managing archives.
- </para>
- <figure id="figu-Beginners_Guide-Archive_Tools-Archive_Tools">
- <title>Archive Tools</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png" format="PNG" width="444" />
- </imageobject>
- <textobject>
- <para>
- Project archives can be managed with the Archive Tools.
- </para>
- </textobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="book">JBoss Server Manager Reference Guide</citetitle> for full details.
- </para>
- </section>
-
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Java_Web_(EE)_and_Standard_Edition_(SE).xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,646 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins">
+ <title>Java Web (EE) and Standard Edition (SE) Plug-Ins</title>
+ <para>
+ This chapter covers the Java plug-ins included with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>.
+ </para>
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Visual_Web_Tools">
+ <title>Visual Web Tools</title>
+ <para>
+ The Visual Web Tools consist of a number of features designed to aid in the development of web pages and web projects.
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>Visual Page Editor</term>
+ <listitem>
+ <para>
+ The Visual Page Editor allows an application to be developed alongside a visual preview. The application can be viewed either as the source code, as a preview of the application, or both simultaneously in a split-screen presentation. The Visual Page Editor can be used for developing an application using technologies such as JavaServer Faces (<acronym>JSF</acronym>), JavaServer Pages (<acronym>JSP</acronym>), Struts, and Hypertext Markup Language (<acronym>HTML</acronym>). The Visual Page Editor also features a graphical toolbar for in-line styling.
+ </para>
+ <figure id="figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor">
+ <title>Visual Page Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ The Visual Page Editor, showing both the source and a visual preview simultaneously.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>JBoss Tools Palette</term>
+ <listitem>
+ <para>
+ The JBoss Tools Palette provides access to tag libraries for creating <acronym>JSP</acronym> and <acronym>JSF</acronym> pages. Tags can be quickly inserted into pages from a number of included libraries:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <acronym>HTML</acronym>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ JBoss
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>JSF</acronym>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>JSTL</acronym> (<acronym>JSP</acronym> Standard Tag Library)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ MyFaces
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Oracle <acronym>ADF</acronym> (Application Development Framework) Faces
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Struts
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>XHTML</acronym> (Extensible Hypertext Markup Language)
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Custom-made tags and third-party tag libraries can also be included in the JBoss Tools Palette.
+ </para>
+ <figure id="figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette">
+ <title>JBoss Tools Palette</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ The JBoss Tools Palette, with a number of standard libraries loaded.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="chapter">JBoss Tools Palette</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Web Projects View</term>
+ <listitem>
+ <para>
+ The Web Projects View is an additional view for <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. It enhances project authoring with a number of features:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Project artifacts for <acronym>JSF</acronym> and Struts projects are organized by function, allowing for better project visualization.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Selected items can be dragged and dropped into <acronym>JSP</acronym> pages:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <acronym>JSF</acronym> managed bean attributes
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>JSF</acronym> navigation rule outcomes
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Property file values
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Tag library files
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Tags from tag libraries
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>JSP</acronym> page links
+ </para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+ <listitem>
+ <para>
+ Context menus can be used to speed up application authoring.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <acronym>JSF</acronym> and Struts projects can be quickly created or imported from the shortcut buttons.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Tag library files can be expanded, inspected, and easily added to the JBoss Tools Palette.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure id="figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects">
+ <title>Web Projects View for <acronym>JSF</acronym> (left) and Struts (right) projects</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The Web Projects View, showing a <acronym>JSF</acronym> project on the left and a Struts project on the right.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Web Projects View</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>OpenOn</term>
+ <listitem>
+ <para>
+ OpenOn provides an easy method to switch directly from one resource to another in the project without navigating through the <guilabel>Package Explorer</guilabel> view. Pressing <keycap>F3</keycap> or <keycombo><keycap>Ctrl</keycap><mousebutton>click</mousebutton></keycombo> when a reference to another file is highlighted will open the file in the editor.
+ </para>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Content Assist</term>
+ <listitem>
+ <para>
+ Content Assist displays context-specific code completion suggestions while typing, speeding up development and reducing typing errors. Content Assist is supported in a number of contexts:
+ </para>
+ <para>
+ The suggestion list can be displayed by pressing <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo>, and the highlighted entry can be selected and inserted by pressing <keycap>Enter</keycap>.
+ </para>
+ <figure id="figu-Beginners_Guide-Visual_Web_Tools-Content_Assist">
+ <title>Content Assist</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ Content Assist with <acronym>JSF</acronym> code completion suggestions.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Drag-and-Drop</term>
+ <listitem>
+ <para>
+ Properties, managed bean attributes, navigation rules, tag library file declarations, and <acronym>JSP</acronym> pages can all be dragged from the <guilabel>Web Projects</guilabel> view and dropped into the editor to add content.
+ </para>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Web Projects View</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>RichFaces Support</term>
+ <listitem>
+ <para>
+ The RichFaces framework is tightly integrated with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. RichFaces and Ajax4jsf tag libraries can be used in the JBoss Tools Palette, and RichFaces components are rendered in the Visual Page Editor.
+ </para>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Editors</citetitle> chapter of <citetitle pubwork="book">Visual Web Tools Reference Guide</citetitle> for full details.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Seam_Development_Tools">
+ <title>Seam Development Tools</title>
+ <para>
+ <application>JBoss Seam</application> is an application framework that simplifies the development of Web 2.0 applications. It combines several technologies to reduce the complexity of developing modern web applications:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Enterprise Java Beans (<acronym>EJB3</acronym>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ JavaServer Faces (<acronym>JSF</acronym>)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Asynchronous JavaScript and <acronym>XML</acronym> (Ajax)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Java Portlets
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Business Process Management (<acronym>BPM</acronym>)
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ <application>Seam</application> provides an interface to these different technologies through simple <emphasis>Plain Old Java Objects</emphasis> (<acronym>POJO</acronym>), user interface components, and <acronym>XML</acronym>. <application>Seam</application> does not distinguish between presentation-tier components and business logic components in an effort to present a simple, unified component model for the Java Enterprise Edition platform. Seam also provides mechanisms to manage application states across multiple workspaces, methods to manage workflow and pageflow through <acronym>jBPM</acronym>, and comprehensive integrated testing features.
+ </para>
+ <para>
+ The Seam Development Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> allow for easy <application>Seam</application> application development:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>New Seam Project wizard</term>
+ <listitem>
+ <para>
+ The New Seam Project wizard allows the details of the Seam project to be configured, including target runtimes, target servers, project facets, and web module settings, then generates all the necessary files for a Seam project.
+ </para>
+ <figure id="figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard">
+ <title>New Seam Project wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ The New Seam Project wizard, used to configure a Seam project.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Other Seam wizards</term>
+ <listitem>
+ <para>
+ Wizards are also included for creating new Seam Actions, new Seam Forms, new Seam Conversations, and new Seam Entities.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Entity generation</term>
+ <listitem>
+ <para>
+ Another wizard exists for generating Seam entities. The wizard produces a set of <acronym>CRUD</acronym> (create-read-update-delete) Seam components and web pages. These can be generated by reverse-engineering an existing database, or by using existing entities in the application.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Editors and views</term>
+ <listitem>
+ <para>
+ There are a number of editors available in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> for working with Seam in addition to the Visual Page Editor:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>Seam Pages Editor</term>
+ <listitem>
+ <para>
+ The Seam Pages Editor is used for editing the <filename>pages.xml</filename> file. The file can be edited through three different views:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ the graphical view, which diagrammatically represents the project page-flow and exception handling;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the tree view, which lists the elements and attributes of the <filename>pages.xml</filename> file in a hierarchical tree for simplified editing;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ and the source view, which allows direct editing of the <filename>pages.xml</filename> source.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure id="figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view">
+ <title>Seam Pages Editor (graphical view)</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The graphical view of the Seam Pages Editor, representing the project page-flow and exception handling.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Seam Components Editor</term>
+ <listitem>
+ <para>
+ The Seam Components Editor is used for editing the <filename>components.xml</filename> file. The file can be edited through two views, the tree view and the source view, which operate similarly to the views in the Seam Pages Editor.
+ </para>
+ <figure id="figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor">
+ <title>Seam Components Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The Seam Components Editor, displaying the components in a hierarchical tree.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ The Seam Editors feature Content Assist and OpenOn; for more details on these technologies refer to <xref linkend="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Visual_Web_Tools" />. Seam Editors also feature validation tools to highlight potential issues with the application.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><acronym>CRUD</acronym> database applications</term>
+ <listitem>
+ <para>
+ <acronym>CRUD</acronym> refers to the four basic <acronym>SQL</acronym> commands: <code>create</code>, <code>read</code>, <code>update</code>, and <code>delete</code>. A <acronym>CRUD</acronym> database application uses forms to retrieve data from and submit data to a database.
+ </para>
+ <para>
+ <acronym>CRUD</acronym> database applications can be created through the New Seam Project wizard.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>TestNG</term>
+ <listitem>
+ <para>
+ TestNG (<emphasis>Testing, the Next Generation</emphasis>) is a Java-based unit testing framework. TestNG suites can be added to a project through the New Seam Action wizard.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Refer to the <citetitle pubwork="book">Seam Development Tools Reference Guide</citetitle> for full details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Hibernate_Tools">
+ <title>Hibernate Tools</title>
+ <para>
+ <application>Hibernate</application> is an object-relational mapping (<acronym>ORM</acronym>) library, used for mapping an object-oriented domain model to a relational database. It replaces persistence-related database accesses with high-level object-handling functions to solve problems relating to object-relational impedance mismatch. <application>Hibernate</application> also serves as a query service, allowing queries to be expressed in native <acronym>SQL</acronym> (Structured Query Language), an extension of <acronym>SQL</acronym> named <emphasis>Hibernate Query Language</emphasis> (<acronym>HQL</acronym>), or an object-oriented Criteria and Example <acronym>API</acronym> (Application Programming Interface).
+ </para>
+ <para>
+ Hibernate Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> provides several features to aid in developing with <application>Hibernate</application>:
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>Mapping Editor</term>
+ <listitem>
+ <para>
+ The Mapping Editor is used for authoring Hibernate <acronym>XML</acronym> mapping files. It supports code completion (Content Assist) and syntax highlighting.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Console</term>
+ <listitem>
+ <para>
+ The Hibernate Console provides a visual representation of database connections and class relationships. Queries can be interactively performed on the database representation.
+ </para>
+ <figure id="figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console">
+ <title>Hibernate Console</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The Hibernate Console consists of multiple panels representing the database.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Reverse Engineering</term>
+ <listitem>
+ <para>
+ Databases can be reverse-engineered to construct domain model classes, Hibernate mapping files, annotated entity beans, <acronym>HTML</acronym> documentation, or complete JBoss Seam applications.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Wizards</term>
+ <listitem>
+ <para>
+ Wizards are included to step through procedures to generate Hibernate configuration files and Hibernate console configurations.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><application>Apache Ant</application> Task</term>
+ <listitem>
+ <para>
+ <application>Apache Ant</application> is a tool for automating software build processes. Hibernate Tools includes an Apache Ant Task for generating schema, mapping, and Java code related to the build process.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Refer to the <citetitle pubwork="book">Hibernate Tools Reference</citetitle> for full details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Portal_Tools">
+ <title>Portal Tools</title>
+ <para>
+ <application>JBoss Portal</application> is a platform for hosting and serving the web interface of a portal. It allows for content management and experience customization, and supports standard portlets, single sign-ons, clustering, and internationalization.
+ </para>
+ <para>
+ <application>JBoss Portal</application> applications can be created through the Dynamic Web Project wizard. Java portlets, <acronym>JSF</acronym> portlets, and Seam portlets are all supported.
+ </para>
+ <figure id="figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard">
+ <title>Dynamic Web Project wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The Dynamic Web Project wizard streamlines the creation of a <application>JBoss Portal</application> application.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="book">JBoss Portal Tools Reference Guide</citetitle> for full details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-JMX_Tools">
+ <title>JMX Tools</title>
+ <para>
+ Java Management Extensions (<acronym>JMX</acronym>) is a Java tool-set for managing and monitoring applications, connected devices, and service-oriented networks. A managed resource is represented by a dynamic object called a <emphasis>Managed Bean</emphasis> (or <emphasis>MBean</emphasis>, which is a JavaBean with a dependency injection.
+ </para>
+ <para>
+ The <acronym>JMX</acronym> Tools in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> consist on the <emphasis>MBean Explorer</emphasis> and the <emphasis>MBean Editor</emphasis>.
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>MBean Explorer</term>
+ <listitem>
+ <para>
+ The MBean Explorer lists a connection's Managed Beans, domains, attributes, and operations in a hierarchical tree. Items in the tree can be filtered, expanded, and collapsed, and double-clicking on any item will open the item in the MBean Editor.
+ </para>
+ <figure id="figu-Beginners_Guide-JMX_Tools-MBean_Explorer">
+ <title>MBean Explorer</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <para>
+ The MBean Explorer lists a connection's Managed Beans, domains, attributes, and operations in a hierarchical tree.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>MBean Editor</term>
+ <listitem>
+ <para>
+ The MBean Editor is a detailed property-editor made up of four pages:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ the Attributes page, which allows the attributes of the Managed Bean to be viewed edited;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the Operations page, which allows the operations of the Managed Bean to be viewed and edited;
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the Notifications page, which allows the Managed Bean to be subscribed to, and which notifications are received
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the Info page, which displays information on the Managed Bean.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure id="figu-Beginners_Guide-JMX_Tools-MBean_Editor">
+ <title>MBean Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The MBean Editor is a property editor for Managed Beans.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <para>
+ Refer to the <citetitle pubwork="book">JMX Tools Reference Guide</citetitle> for full details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-JBoss_AS_Tools">
+ <title>JBoss AS Tools</title>
+ <para>
+ The JBoss <acronym>AS</acronym> Tools consist of a number of additional views for managing an installed JBoss Server through the JBoss <acronym>AS</acronym> (Application Server) perspective. These additional views include the standard Console view and Properties view, and the Servers view. The Servers view allows installed servers to be configured, monitored, and managed.
+ </para>
+ <figure id="figu-Beginners_Guide-JBoss_AS_Tools-Servers_view">
+ <title>Servers view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ The Servers view shows the installed servers and their current states.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="book">JBoss Server Manager Reference Guide</citetitle> for full details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Java_Web_EE_and_Standard_Edition_SE_Plug_Ins-Archive_Tools">
+ <title>Archive Tools</title>
+ <para>
+ The JBoss AS Tools also include the Project Archives view for streamlined packaging and archiving of applications. Application projects can be configured with specific packaging instructions, and wizards are included for creating and managing archives.
+ </para>
+ <figure id="figu-Beginners_Guide-Archive_Tools-Archive_Tools">
+ <title>Archive Tools</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png" format="PNG" width="444" />
+ </imageobject>
+ <textobject>
+ <para>
+ Project archives can be managed with the Archive Tools.
+ </para>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="book">JBoss Server Manager Reference Guide</citetitle> for full details.
+ </para>
+ </section>
+
+</chapter>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,10 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<preface id="pref-Beginners_Guide-Preface">
- <title>Preface</title>
- <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
- </xi:fallback>
- </xi:include>
-</preface>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Preface.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<preface id="pref-Beginners_Guide-Preface">
+ <title>Preface</title>
+ <xi:include href="Common_Content/Conventions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"><xi:fallback xmlns:xi="http://www.w3.org/2001/XInclude"><xi:include href="Common_Content/Feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ </xi:fallback>
+ </xi:include>
+</preface>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,24 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<appendix id="appe-Beginners_Guide-Revision_History">
- <title>Revision History</title>
- <simpara>
- <revhistory>
- <revision>
- <revnumber>0</revnumber>
- <date>Thu Nov 26 2009</date>
- <author>
- <firstname>Isaac</firstname>
- <surname>Rooskov</surname>
- <email>irooskov(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>Initial creation of book by publican</member>
- </simplelist>
- </revdescription>
- </revision>
- </revhistory>
- </simpara>
-</appendix>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<appendix id="appe-Beginners_Guide-Revision_History">
+ <title>Revision History</title>
+ <simpara>
+ <revhistory>
+ <revision>
+ <revnumber>0</revnumber>
+ <date>Thu Nov 26 2009</date>
+ <author>
+ <firstname>Isaac</firstname>
+ <surname>Rooskov</surname>
+ <email>irooskov(a)redhat.com</email>
+ </author>
+ <revdescription>
+ <simplelist>
+ <member>Initial creation of book by publican</member>
+ </simplelist>
+ </revdescription>
+ </revision>
+ </revhistory>
+ </simpara>
+</appendix>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,26 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-JBoss_Service_Oriented_Architecture_Platform_Workshop">
- <title>JBoss Service-Oriented Architecture Platform Workshop</title>
- <para>
- This chapter demonstraits the basic use of the JBoss Enterprise SOA Platform with the JBoss Developer Studio, through a series of lab examples.
- </para>
- <section id="sect-Beginners_Guide-JBoss_Service_Oriented_Architecture_Platform_Workshop-Workshop_Introduction">
- <title>Workshop Introduction</title>
- <para>
- The JBoss Enterprise SOA Platform is a collection of technologies designed to meet an organization's SOA needs. This technology includes an ESB, BPM engine (jBPM), Rules engine (JBoss Rules), UDDI Registry (jUDDI), as well as a full JEE application server.
- </para>
- <para>
- To cover each of these areas in depth is beyond the scope of this workshop. Instead, this workshop is designed to give you an overview of the JBoss Enterprise SOA Platform as well as some experience using JBoss Developer Studio to create and deploy Service-Oriented Architecture applications.
- </para>
- <section id="sect-Beginners_Guide-Workshop_Introduction-The_JBoss_Enterprise_SOA_Platform_ESB_architecture">
- <title>The JBoss Enterprise SOA Platform ESB architecture</title>
- <para>
- Understanding the JBoss Enterprise SOA Platform ESB architecture is important to really understanding what is happening in the following labs. Here is an architecture overview of the JBoss Enterprise SOA Platform ESB that we will discuss.
- </para>
- </section>
-
- </section>
-
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/SOA-P_Workshop.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-JBoss_Service_Oriented_Architecture_Platform_Workshop">
+ <title>JBoss Service-Oriented Architecture Platform Workshop</title>
+ <para>
+ This chapter demonstraits the basic use of the JBoss Enterprise SOA Platform with the JBoss Developer Studio, through a series of lab examples.
+ </para>
+ <section id="sect-Beginners_Guide-JBoss_Service_Oriented_Architecture_Platform_Workshop-Workshop_Introduction">
+ <title>Workshop Introduction</title>
+ <para>
+ The JBoss Enterprise SOA Platform is a collection of technologies designed to meet an organization's SOA needs. This technology includes an ESB, BPM engine (jBPM), Rules engine (JBoss Rules), UDDI Registry (jUDDI), as well as a full JEE application server.
+ </para>
+ <para>
+ To cover each of these areas in depth is beyond the scope of this workshop. Instead, this workshop is designed to give you an overview of the JBoss Enterprise SOA Platform as well as some experience using JBoss Developer Studio to create and deploy Service-Oriented Architecture applications.
+ </para>
+ <section id="sect-Beginners_Guide-Workshop_Introduction-The_JBoss_Enterprise_SOA_Platform_ESB_architecture">
+ <title>The JBoss Enterprise SOA Platform ESB architecture</title>
+ <para>
+ Understanding the JBoss Enterprise SOA Platform ESB architecture is important to really understanding what is happening in the following labs. Here is an architecture overview of the JBoss Enterprise SOA Platform ESB that we will discuss.
+ </para>
+ </section>
+
+ </section>
+
+</chapter>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,311 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-Service_Oriented_Architecture_Development">
- <title>Service-Oriented Architecture Development</title>
- <para>
- This chapter covers the <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> plug-ins for development on Service-Oriented Architecture (SOA).
- </para>
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-jBPM_Tools">
- <title>jBPM Tools</title>
- <para>
- jBPM is a workflow tool, allowing for the creation of framework control over business processes and languages.
- </para>
- <para>
- jBPM supports the jBPM Process Definition Language (jPDL) and includes a perspective for easy creation and manipulation using the jPDL. Through this view you can add states, transitions and other processes and waypoints in order to create your own business workflow. Refer to the <citetitle pubwork="section">A Minimal Process Definition</citetitle> section of the <citetitle pubwork="chapter">Creating an Empty Process Definition</citetitle> chapter within the <citetitle pubwork="book">jBPM Tools Reference Guide</citetitle> for more details.
- </para>
- <para>
- Refer to the <citetitle pubwork="book">jBPM Tools Reference Guide</citetitle> for further details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-ESB_Editor">
- <title>ESB Editor</title>
- <para>
- The Enterprise Service Bus (ESB) is an abstraction layer that interacts with the messaging system in a Service-Oriented Architecture (SOA).
- </para>
- <figure id="figu-Beginners_Guide-ESB_Editor-ESB_Editor">
- <title>ESB Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/ESB_Editor.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> include a tool called the ESB file Editor. Through the use of this tool you can develop an application that will utilize the advantages of ESB technology. Features of the ESB Editor include:
- </para>
- <formalpara id="form-Beginners_Guide-ESB_Editor-ESB_syntax_validation">
- <title>ESB syntax validation</title>
- <para>
- Contextual error checking is provided constantly, with error checking on incorrect or incomplete tags also included when using the Source viewer.
- </para>
- </formalpara>
- <formalpara id="form-Beginners_Guide-ESB_Editor-XML_schema_support">
- <title>XML schema support</title>
- <para>
- By checking the child elements of the providers, the ESB Editor relays incorrect usage combinations to you through error messages upon startup.
- </para>
- </formalpara>
- <formalpara id="form-Beginners_Guide-ESB_Editor-ESB_XML_content_assistance">
- <title>ESB XML content assistance</title>
- <para>
- Content Assist enables you to write code fast and with accuracy when using the Source mode.
- </para>
- </formalpara>
- <formalpara id="form-Beginners_Guide-ESB_Editor-Synchronized_source_and_visual_editing">
- <title>Synchronized source and visual editing</title>
- <para>
- The ESB Editor gives you the choice of using a graphical view (Tree), a code view (Source) or both when developing your ESB applications. With both instances open at once, the changes made to one can be directly viewable in the other, ensuring that you are always working with the most current version of your application no matter your choice.
- </para>
- </formalpara>
- <para>
- Refer to the <citetitle pubwork="chapter">ESB Editor</citetitle> chapter of the <citetitle pubwork="book">ESB Tools Reference Guide</citetitle> for further information.
- </para>
- <para>
- Allowing for the value of messaging between middleware components to be used and intergrated into the JBoss Service-Oriented Architecture, the JBoss ESB is an integral part of JBoss middleware integration. For information on how to use and configure JBoss ESB with the JBoss Service-Oriented Architecture refer to the <citetitle pubwork="chapter">Using and Configuring SOA Platform</citetitle> chapter of the <citetitle pubwork="book">ESB Tools Reference Guide</citetitle>.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Web_Services_Tools">
- <title>Web Services Tools</title>
- <para>
- JBoss Web Services is an integral part of the JBoss Application Server and JBoss Enterprise Application Platform, providing a standard means of working reliably between different software applications.
- </para>
- <para>
- A Web Service defines a collection of technologies that provide protocols and standards for the exchange of data between applications. You can create a Web Service for your application server through the use of wizards in <application>JBoss Tools</application> or the <application>JBoss Developer Studio</application>. For further details refer to the <citetitle pubwork="chapter">Creating a Web Service using JBossWS runtime</citetitle> chapter of the <citetitle pubwork="book">JBoss WS User Guide</citetitle>
- </para>
- <figure id="figu-Beginners_Guide-Web_Services_Tools-Example_of_a_Web_Services_wizard">
- <title>Example of a Web Services wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Web_Services_Wizard.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- Web Services Tools also includes the ability to create a Web Service client through the use of a Web Services Description Language (WSDL) document. This can be useful if you already have a predefined service that you wish to recreate in JBoss Tools, or you wish to use one as a template for you to work with. Refer to the <citetitle pubwork="chapter">Creating a Web Service Client from a WSDL Document using JBoss WS</citetitle> chapter of the <citetitle pubwork="book">JBoss WS User Guide</citetitle> for more details.
- </para>
- <figure id="figu-Beginners_Guide-Web_Services_Tools-Web_Services_client_creation">
- <title>Web Services client creation</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Web_Services_Using_Document.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Drools_Tools">
- <title>Drools Tools</title>
- <para>
- Drools is a Business Rule Management System (BRMS) that uses an enhanced implementation of the Rete algorithm to become a forward chaining inference based rules engine (production rule system). Refer to the <citetitle pubwork="chapter">The Rule Engine</citetitle> chapter of the JBoss Enterprise SOA <citetitle pubwork="book">JBoss Rules Reference Guide</citetitle> for more details.
- </para>
- <para>
- Drools Tools includes wizards for creating new Drools projects and resources. The resources that can be created include a new rule, domain specific language, decision table and business rule. After these have been created there are numerous editors included to assist you with the rest of the development. Included editors are The Rule editor, The Domain Specific Language editor, The Rule Flow graphical editor and The Guided editor that provides a Graphical User Interface (GUI). Refer to the <citetitle pubwork="book">Drools Tools Reference Guide</citetitle> for more details.
- </para>
- <figure id="figu-Beginners_Guide-Drools_Tools-Rule_text_editor">
- <title>Rule text editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Drools_code_rule_editor.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <figure id="figu-Beginners_Guide-Drools_Tools-Rule_Flow_graphical_editor">
- <title>Rule Flow graphical editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Drools_rete_rule_editor.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- </section>
-
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Eclipse_Guvnor_Tools">
- <title>Eclipse Guvnor Tools</title>
- <para>
- Eclipse Guvnor Tools work with Drools Guvnor through rich web based GUIs and editors to provide a centralized repository for a vast quantity of rules. You can store versions of rules, models, functions, processes and other Drools generated components that all relate to executeable knowledge bases. Access to the Guvnor is controlled, allowing you to lock down access and restrict features so domain experts (non programmers) can view and edit rules without being exposed to all the features at once.
- </para>
- <para>
- The tools included for Eclipse Guvnor are outlined as follows:
- </para>
- <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Connection_Wizard">
- <title>Guvnor Connection Wizard</title>
- <para>
- The Guvnor Connection Wizard is used to create a connection to a Guvnor repository. This wizard can be started by following the menu items <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Guvnor</guimenuitem><guimenuitem>Guvnor repository location</guimenuitem></menuchoice>, through the Guvnor Repositories View and other locations throughout Eclipse Guvnor Tools. Refer to the <citetitle pubwork="section">Guvnor Connection Wizard</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
- </para>
- </formalpara>
- <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_connection_wizard">
- <title>Guvnor connection wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Guvnor_connection_wizard.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-The_Guvnor_Repositories_View">
- <title>The Guvnor Repositories View</title>
- <para>
- The Guvnor Repositories View tool displays the contents of a repository using a tree structure. From within this tool you can create a new Guvnor repository connection, remove a Guvnor repository connection, refresh the tree display and expand or condense the tree layout. Refer to the <citetitle pubwork="section">Guvnor Repositories View</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
- </para>
- </formalpara>
- <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_repository_view">
- <title>Guvnor repository view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Guvnor_repository.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Resource_History_View">
- <title>Guvnor Resource History View</title>
- <para>
- The task of the Guvnor Resource History View is to display the revision history details for files that are both locally stored and within Guvnor repositories. Refer to the <citetitle pubwork="section">Guvnor Resource History View</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
- </para>
- </formalpara>
- <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_resource_history_view">
- <title>Guvnor resource history view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Guvnor_resource_history_view.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Resource_Importing_Wizard">
- <title>Guvnor Resource Importing Wizard</title>
- <para>
- The Guvnor Resource Importing Wizard assists with the copying of one or more files from a Guvnor repository to the local workspace (while keeping file association with the Guvnor repository). This wizard can be started by following the menu items <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Import</guimenuitem><guimenuitem>Guvnor</guimenuitem><guimenuitem>Resource from Guvnor</guimenuitem></menuchoice>. Refer to the <citetitle pubwork="section">Importing Guvnor Repository Resources</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
- </para>
- </formalpara>
- <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_resource_importing_wizard">
- <title>Guvnor resource importing wizard</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Guvnor_copy_file.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Actions_for_Local_Guvnor_Resources">
- <title>Actions for Local Guvnor Resources</title>
- <para>
- Through Eclipse Guvnor Tools a variety of actions can be performed on a file. Those actions are:
- </para>
- </formalpara>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Update</emphasis>: Replaces the contents of the local file with the updated contents from the Guvnor repository.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Add</emphasis>: Include a local file in a Guvnor repository.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Commit</emphasis>: Update a Guvnor repository file with new content from a locally modified version.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Show History</emphasis>: Displays the revision history of a file.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Compare with Version</emphasis>: Opens a wizard that allows to files to be compared for similarities and differences.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Switch to Version</emphasis>: Provides the ability to replace a local file with an earlier revision of the same file.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Delete</emphasis>: Removes a file from the Guvnor repository and the local copy.
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Disconnect</emphasis>: Removes a Guvnor repository association.
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Refer to the <citetitle pubwork="section">Actions for Local Guvnor Resources</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-JSF_Tools">
- <title>JSF Tools</title>
- <para>
- JavaServer Faces (JSF) is a Web application framework developed by Sun Microsystems© Inc. that <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> provide developer tools for. JSF Tools allows you to build JSF based applications, add JSF capabilities to existing web projects, import JSF projects and choose a JSF implementation during application development.
- </para>
- <para>
- The tools included are outlined as follows:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- Wizards that assist with the creation of new JSF and Facelets projects and adding JSF capabilities to existing web projects.
- </para>
- </listitem>
- <listitem>
- <para>
- Pre-configured templates are included and the functionality to create your own.
- </para>
- </listitem>
- <listitem>
- <para>
- Add and generate code for new managed beans and then add them to a JSF configuration file.
- </para>
- </listitem>
- <listitem>
- <para>
- The ability to create your own custom Converter and Validator.
- </para>
- </listitem>
- <listitem>
- <para>
- Constant validation checking no matter how you are currently interacting with the code, ensures you are always aware of any errors during the development process.
- </para>
- </listitem>
- <listitem>
- <para>
- Three views are provided for interacting with the code: Diagram view, Tree view and Source view. Synchronization between the views ensures you are always working on the newest version.
- </para>
- <figure id="figu-Beginners_Guide-JSF_Tools-Diagram_view">
- <title>Diagram view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/JSF_diagram_view.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <figure id="figu-Beginners_Guide-JSF_Tools-Tree_view">
- <title>Tree view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/JSF_tree_view.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <figure id="figu-Beginners_Guide-JSF_Tools-Source_view">
- <title>Source view</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/JSF_source_view.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- </listitem>
- </itemizedlist>
- <para>
- Refer to the <citetitle pubwork="book">JSF Tools Reference Guide</citetitle> for more details.
- </para>
- </section>
-
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Service-Oriented_Architecture_Development.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,311 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-Service_Oriented_Architecture_Development">
+ <title>Service-Oriented Architecture Development</title>
+ <para>
+ This chapter covers the <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> plug-ins for development on Service-Oriented Architecture (SOA).
+ </para>
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-jBPM_Tools">
+ <title>jBPM Tools</title>
+ <para>
+ jBPM is a workflow tool, allowing for the creation of framework control over business processes and languages.
+ </para>
+ <para>
+ jBPM supports the jBPM Process Definition Language (jPDL) and includes a perspective for easy creation and manipulation using the jPDL. Through this view you can add states, transitions and other processes and waypoints in order to create your own business workflow. Refer to the <citetitle pubwork="section">A Minimal Process Definition</citetitle> section of the <citetitle pubwork="chapter">Creating an Empty Process Definition</citetitle> chapter within the <citetitle pubwork="book">jBPM Tools Reference Guide</citetitle> for more details.
+ </para>
+ <para>
+ Refer to the <citetitle pubwork="book">jBPM Tools Reference Guide</citetitle> for further details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-ESB_Editor">
+ <title>ESB Editor</title>
+ <para>
+ The Enterprise Service Bus (ESB) is an abstraction layer that interacts with the messaging system in a Service-Oriented Architecture (SOA).
+ </para>
+ <figure id="figu-Beginners_Guide-ESB_Editor-ESB_Editor">
+ <title>ESB Editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ESB_Editor.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> include a tool called the ESB file Editor. Through the use of this tool you can develop an application that will utilize the advantages of ESB technology. Features of the ESB Editor include:
+ </para>
+ <formalpara id="form-Beginners_Guide-ESB_Editor-ESB_syntax_validation">
+ <title>ESB syntax validation</title>
+ <para>
+ Contextual error checking is provided constantly, with error checking on incorrect or incomplete tags also included when using the Source viewer.
+ </para>
+ </formalpara>
+ <formalpara id="form-Beginners_Guide-ESB_Editor-XML_schema_support">
+ <title>XML schema support</title>
+ <para>
+ By checking the child elements of the providers, the ESB Editor relays incorrect usage combinations to you through error messages upon startup.
+ </para>
+ </formalpara>
+ <formalpara id="form-Beginners_Guide-ESB_Editor-ESB_XML_content_assistance">
+ <title>ESB XML content assistance</title>
+ <para>
+ Content Assist enables you to write code fast and with accuracy when using the Source mode.
+ </para>
+ </formalpara>
+ <formalpara id="form-Beginners_Guide-ESB_Editor-Synchronized_source_and_visual_editing">
+ <title>Synchronized source and visual editing</title>
+ <para>
+ The ESB Editor gives you the choice of using a graphical view (Tree), a code view (Source) or both when developing your ESB applications. With both instances open at once, the changes made to one can be directly viewable in the other, ensuring that you are always working with the most current version of your application no matter your choice.
+ </para>
+ </formalpara>
+ <para>
+ Refer to the <citetitle pubwork="chapter">ESB Editor</citetitle> chapter of the <citetitle pubwork="book">ESB Tools Reference Guide</citetitle> for further information.
+ </para>
+ <para>
+ Allowing for the value of messaging between middleware components to be used and intergrated into the JBoss Service-Oriented Architecture, the JBoss ESB is an integral part of JBoss middleware integration. For information on how to use and configure JBoss ESB with the JBoss Service-Oriented Architecture refer to the <citetitle pubwork="chapter">Using and Configuring SOA Platform</citetitle> chapter of the <citetitle pubwork="book">ESB Tools Reference Guide</citetitle>.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Web_Services_Tools">
+ <title>Web Services Tools</title>
+ <para>
+ JBoss Web Services is an integral part of the JBoss Application Server and JBoss Enterprise Application Platform, providing a standard means of working reliably between different software applications.
+ </para>
+ <para>
+ A Web Service defines a collection of technologies that provide protocols and standards for the exchange of data between applications. You can create a Web Service for your application server through the use of wizards in <application>JBoss Tools</application> or the <application>JBoss Developer Studio</application>. For further details refer to the <citetitle pubwork="chapter">Creating a Web Service using JBossWS runtime</citetitle> chapter of the <citetitle pubwork="book">JBoss WS User Guide</citetitle>
+ </para>
+ <figure id="figu-Beginners_Guide-Web_Services_Tools-Example_of_a_Web_Services_wizard">
+ <title>Example of a Web Services wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Web_Services_Wizard.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Web Services Tools also includes the ability to create a Web Service client through the use of a Web Services Description Language (WSDL) document. This can be useful if you already have a predefined service that you wish to recreate in JBoss Tools, or you wish to use one as a template for you to work with. Refer to the <citetitle pubwork="chapter">Creating a Web Service Client from a WSDL Document using JBoss WS</citetitle> chapter of the <citetitle pubwork="book">JBoss WS User Guide</citetitle> for more details.
+ </para>
+ <figure id="figu-Beginners_Guide-Web_Services_Tools-Web_Services_client_creation">
+ <title>Web Services client creation</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Web_Services_Using_Document.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Drools_Tools">
+ <title>Drools Tools</title>
+ <para>
+ Drools is a Business Rule Management System (BRMS) that uses an enhanced implementation of the Rete algorithm to become a forward chaining inference based rules engine (production rule system). Refer to the <citetitle pubwork="chapter">The Rule Engine</citetitle> chapter of the JBoss Enterprise SOA <citetitle pubwork="book">JBoss Rules Reference Guide</citetitle> for more details.
+ </para>
+ <para>
+ Drools Tools includes wizards for creating new Drools projects and resources. The resources that can be created include a new rule, domain specific language, decision table and business rule. After these have been created there are numerous editors included to assist you with the rest of the development. Included editors are The Rule editor, The Domain Specific Language editor, The Rule Flow graphical editor and The Guided editor that provides a Graphical User Interface (GUI). Refer to the <citetitle pubwork="book">Drools Tools Reference Guide</citetitle> for more details.
+ </para>
+ <figure id="figu-Beginners_Guide-Drools_Tools-Rule_text_editor">
+ <title>Rule text editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Drools_code_rule_editor.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <figure id="figu-Beginners_Guide-Drools_Tools-Rule_Flow_graphical_editor">
+ <title>Rule Flow graphical editor</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Drools_rete_rule_editor.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
+
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-Eclipse_Guvnor_Tools">
+ <title>Eclipse Guvnor Tools</title>
+ <para>
+ Eclipse Guvnor Tools work with Drools Guvnor through rich web based GUIs and editors to provide a centralized repository for a vast quantity of rules. You can store versions of rules, models, functions, processes and other Drools generated components that all relate to executeable knowledge bases. Access to the Guvnor is controlled, allowing you to lock down access and restrict features so domain experts (non programmers) can view and edit rules without being exposed to all the features at once.
+ </para>
+ <para>
+ The tools included for Eclipse Guvnor are outlined as follows:
+ </para>
+ <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Connection_Wizard">
+ <title>Guvnor Connection Wizard</title>
+ <para>
+ The Guvnor Connection Wizard is used to create a connection to a Guvnor repository. This wizard can be started by following the menu items <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Guvnor</guimenuitem><guimenuitem>Guvnor repository location</guimenuitem></menuchoice>, through the Guvnor Repositories View and other locations throughout Eclipse Guvnor Tools. Refer to the <citetitle pubwork="section">Guvnor Connection Wizard</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
+ </para>
+ </formalpara>
+ <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_connection_wizard">
+ <title>Guvnor connection wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Guvnor_connection_wizard.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-The_Guvnor_Repositories_View">
+ <title>The Guvnor Repositories View</title>
+ <para>
+ The Guvnor Repositories View tool displays the contents of a repository using a tree structure. From within this tool you can create a new Guvnor repository connection, remove a Guvnor repository connection, refresh the tree display and expand or condense the tree layout. Refer to the <citetitle pubwork="section">Guvnor Repositories View</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
+ </para>
+ </formalpara>
+ <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_repository_view">
+ <title>Guvnor repository view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Guvnor_repository.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Resource_History_View">
+ <title>Guvnor Resource History View</title>
+ <para>
+ The task of the Guvnor Resource History View is to display the revision history details for files that are both locally stored and within Guvnor repositories. Refer to the <citetitle pubwork="section">Guvnor Resource History View</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
+ </para>
+ </formalpara>
+ <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_resource_history_view">
+ <title>Guvnor resource history view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Guvnor_resource_history_view.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_Resource_Importing_Wizard">
+ <title>Guvnor Resource Importing Wizard</title>
+ <para>
+ The Guvnor Resource Importing Wizard assists with the copying of one or more files from a Guvnor repository to the local workspace (while keeping file association with the Guvnor repository). This wizard can be started by following the menu items <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>Import</guimenuitem><guimenuitem>Guvnor</guimenuitem><guimenuitem>Resource from Guvnor</guimenuitem></menuchoice>. Refer to the <citetitle pubwork="section">Importing Guvnor Repository Resources</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
+ </para>
+ </formalpara>
+ <figure id="figu-Beginners_Guide-Eclipse_Guvnor_Tools-Guvnor_resource_importing_wizard">
+ <title>Guvnor resource importing wizard</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Guvnor_copy_file.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <formalpara id="form-Beginners_Guide-Eclipse_Guvnor_Tools-Actions_for_Local_Guvnor_Resources">
+ <title>Actions for Local Guvnor Resources</title>
+ <para>
+ Through Eclipse Guvnor Tools a variety of actions can be performed on a file. Those actions are:
+ </para>
+ </formalpara>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>Update</emphasis>: Replaces the contents of the local file with the updated contents from the Guvnor repository.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Add</emphasis>: Include a local file in a Guvnor repository.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Commit</emphasis>: Update a Guvnor repository file with new content from a locally modified version.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Show History</emphasis>: Displays the revision history of a file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Compare with Version</emphasis>: Opens a wizard that allows to files to be compared for similarities and differences.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Switch to Version</emphasis>: Provides the ability to replace a local file with an earlier revision of the same file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Delete</emphasis>: Removes a file from the Guvnor repository and the local copy.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>Disconnect</emphasis>: Removes a Guvnor repository association.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Refer to the <citetitle pubwork="section">Actions for Local Guvnor Resources</citetitle> section of the <citetitle pubwork="chapter">Functionality Overview</citetitle> chapter within the <citetitle pubwork="book">Eclipse Guvnor Tools Reference Guide</citetitle> for more details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-Service_Oriented_Architecture_Development-JSF_Tools">
+ <title>JSF Tools</title>
+ <para>
+ JavaServer Faces (JSF) is a Web application framework developed by Sun Microsystems© Inc. that <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> provide developer tools for. JSF Tools allows you to build JSF based applications, add JSF capabilities to existing web projects, import JSF projects and choose a JSF implementation during application development.
+ </para>
+ <para>
+ The tools included are outlined as follows:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Wizards that assist with the creation of new JSF and Facelets projects and adding JSF capabilities to existing web projects.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Pre-configured templates are included and the functionality to create your own.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Add and generate code for new managed beans and then add them to a JSF configuration file.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The ability to create your own custom Converter and Validator.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Constant validation checking no matter how you are currently interacting with the code, ensures you are always aware of any errors during the development process.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Three views are provided for interacting with the code: Diagram view, Tree view and Source view. Synchronization between the views ensures you are always working on the newest version.
+ </para>
+ <figure id="figu-Beginners_Guide-JSF_Tools-Diagram_view">
+ <title>Diagram view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/JSF_diagram_view.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <figure id="figu-Beginners_Guide-JSF_Tools-Tree_view">
+ <title>Tree view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/JSF_tree_view.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <figure id="figu-Beginners_Guide-JSF_Tools-Source_view">
+ <title>Source view</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/JSF_source_view.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Refer to the <citetitle pubwork="book">JSF Tools Reference Guide</citetitle> for more details.
+ </para>
+ </section>
+
+</chapter>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,237 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-The_interface">
- <title>The interface</title>
- <para>
- This chapter discusses the interfaces that the <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> plug-ins are built for.
- </para>
- <section id="sect-Beginners_Guide-The_interface-Eclipse">
- <title>Eclipse</title>
- <para>
- Eclipse is the container for all development work in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. It allows for control over the running of the application server, the applications on it and provides an interface for developing your own applications.
- </para>
- <para>
- Eclipse is started by double-clicking on the <filename>eclipse</filename> executeable in your installation directory.
- </para>
- <para>
- Following this you will be asked to specify a workspace for your Eclipse session. A workspace is the location on your computer where your files will be stored relating to the session. If you wish to change your workspace location after this step you can do so by following the menu items <guimenuitem>File</guimenuitem>, <guimenuitem>Switch Workspace</guimenuitem>, <guimenuitem>Other...</guimenuitem>.
- </para>
- <figure id="figu-Beginners_Guide-Eclipse-Eclipse_Workspace_launcher">
- <title>Eclipse Workspace launcher</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Eclipse_workspace.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- After selecting a workspace location, you will be greeted with the <guilabel>Welcome</guilabel> screen. This screen provides a few pathway options, including a <guilabel>Getting Started</guilabel> link to a selection of documentation, an option to create a new project with the <guilabel>Create New...</guilabel> option and an option to skip straight to your <guilabel>Workbench</guilabel>.
- </para>
- <figure id="figu-Beginners_Guide-Eclipse-Eclipse_welcome_screen">
- <title>Eclipse welcome screen</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Eclipse_welcome_screen.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- Skipping straight to your workbench, you will see a screen with a few sections and the JBoss Application Server listed in the bottom area of the interface.
- </para>
- <figure id="figu-Beginners_Guide-Eclipse-Eclipse_Workbench">
- <title>Eclipse Workbench</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Eclipse_main.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- In the bottom left hand corner of the screen is a picture of a white column with a blue bar and a yellow plus sign beside it. Clicking on this button will open a menu of different views and windows.
- </para>
- <figure id="figu-Beginners_Guide-Eclipse-Views_button">
- <title>Views button</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/View_Button.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- The window that may be of most use to you can be found by following: <menuchoice><guimenuitem>Other...</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>JBoss Tools Palette</guimenuitem></menuchoice>. This window opens an interface to the tools included with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>.
- </para>
- <para>
- Refer to the <citetitle pubwork="section">Welcome to JBoss Developer Studio</citetitle> section of the <citetitle pubwork="book">Getting Started with JBoss Developer Studio</citetitle> guide for further details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-The_interface-JBoss_Application_Server">
- <title>JBoss Application Server</title>
- <para>
- The JBoss Application Server provides the full range of Java EE 5 features as well as extended enterprise services including clustering, caching, and persistence.
- </para>
- <section id="sect-Beginners_Guide-JBoss_Application_Server-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio">
- <title>Use of the application server shipped with JBoss Tools or JBoss Developer Studio</title>
- <para>
- This section discusses the JBoss Application Server with regards to its use through Eclipse. Once you have started the Eclipse interface for <application>JBoss Tools</application> or the <application>JBoss Developer Studio</application>, the JBoss Application Server can be started by clicking on its name in the lower part of the window and then clicking the green arrow to the right.
- </para>
- <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Starting_and_stopping_the_server">
- <title>Starting and stopping the server</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Start_Stop_Server.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <note>
- <para>
- If the <guimenu>Servers</guimenu> view is not displayed at the bottom of your Workbench, you can activate it through <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>Servers</guimenuitem></menuchoice> and then click the <guibutton>OK</guibutton> button.
- </para>
- </note>
- <para>
- After the server has been successfully started the status next to the server name will change from displaying <emphasis>Stopped</emphasis> to displaying <emphasis>Started, Synchronized</emphasis>.
- </para>
- <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Server_started_successfully">
- <title>Server started successfully</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/Server_Started.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- Once Eclipse and the server are started, double click on the server name in Eclipse to see an <guilabel>Overview</guilabel> screen in the center.
- </para>
- <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-JBoss_Application_Server_overview">
- <title>JBoss Application Server overview</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/JBoss_AS_Overview.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- From this <guilabel>Overview</guilabel> section there are six subsections consisting of: <guilabel>General Information</guilabel>, <guilabel>Login Credentials</guilabel>, <guilabel>Publishing</guilabel>, <guilabel>Timeouts</guilabel>, <guilabel>Server Polling</guilabel> and <guilabel>Server Ports</guilabel>.
- </para>
- <para>
- The <guilabel>General Information</guilabel> subsection allows you to change the <guilabel>Server name</guilabel> and <guilabel>Host name</guilabel> to your own preferences. By clicking on the <guilabel>Runtime Environment</guilabel> label a dialog box with options to change the name of the server runtime, the home directory, the Java compiler and which server configuration should be used when running the application server. The <guibutton>Open launch configuration</guibutton> button displays a dialog box for configuring the technical details of the application server instance.
- </para>
- <para>
- Below the <guilabel>General Information</guilabel> subsection is the <guilabel>Login Credentials</guilabel> subsection. This allows you to set the <guilabel>User Name</guilabel> and <guilabel>Password</guilabel> for your server.
- </para>
- <para>
- The <guilabel>Publishing</guilabel> subsection at the top right of the <guilabel>Overview</guilabel> section allows you to set when applications should be made available through the application server. You can select to either never have an application be published automatically or for a check of new applications yet to be published to occur at a certain timed interval.
- </para>
- <para>
- The <guilabel>Timeouts</guilabel> subsection below <guilabel>Publishing</guilabel> allows you to set the start and stop time (in seconds) for the server to complete all of its operations. This setting is made available in order to decrease the chance of the server freezing or hanging.
- </para>
- <para>
- Below the <guilabel>Timeouts</guilabel> subsection is the <guilabel>Server Polling</guilabel> subsection. A server poller gathers information about the server at certain points in time, capturing information about processes and applications. This section allows you to select between either the <literal>JMX Poller</literal> or <literal>Timeout Poller</literal> for startup and the <literal>Process Terminated Poller</literal> or <literal>Timeout Poller</literal> for shutdown.
- </para>
- <para>
- The final subsection is <guilabel>Server Ports</guilabel>, below <guilabel>Server Polling</guilabel>. This section allows you to alter the port numbers that the server pollers gather their information from. The two settings of <guilabel>JNDI Port</guilabel> and <guilabel>Web Port</guilabel> are set to be automatically detected by default; normally there should be no reason to manually select the port numbers.
- </para>
- <note>
- <para>
- Changing the <guilabel>Server Ports</guilabel> subsection configuration will not alter which ports the server itself listens on.
- </para>
- </note>
- <para>
- Default access to the server can be achieved by typing the address <ulink url="http://localhost:8080">http://localhost:8080</ulink> into your Internet browser address bar.
- </para>
- <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Server_access">
- <title>Server access</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/JBoss_AS_localhost.png" format="PNG" width="444" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- Refer to the <citetitle pubwork="chapter">Manage JBoss AS from JBoss Developer Studio</citetitle> chapter of the <citetitle pubwork="book">Getting Started with JBoss Developer Studio</citetitle> guide for further details.
- </para>
- </section>
-
- <section id="sect-Beginners_Guide-JBoss_Application_Server-Adding_a_new_application_server_for_use_with_JBoss_Tools_or_JBoss_Developer_Studio">
- <title>Adding a new application server for use with JBoss Tools or JBoss Developer Studio</title>
- <para>
- Though JBoss Tools and JBoss Developer Studio may come with a pre-configured application server, you can still add your own servers. This section details how to add additional servers for use with JBoss Tools and the JBoss Developer Studio.
- </para>
- <para>
- To add a new server runtime follow these steps:
- </para>
- <orderedlist>
- <listitem>
- <para>
- In the Eclipse interface click on <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>Runtime Environments</guimenuitem></menuchoice>
- </para>
- </listitem>
- <listitem>
- <para>
- Click on the <guibutton>Add...</guibutton> button
- </para>
- </listitem>
- <listitem>
- <para>
- Select the type of runtime environment your application server is from the list provided
- </para>
- </listitem>
- <listitem>
- <para>
- Tick the box for <guilabel>Create a new local server</guilabel>
- </para>
- </listitem>
- <listitem>
- <para>
- Click on the <guibutton>Next ></guibutton> button
- </para>
- </listitem>
- <listitem>
- <para>
- Name your server runtime and then click on the <guibutton>Browse...</guibutton> button next to the <guilabel>Home Directory</guilabel> location space
- </para>
- </listitem>
- <listitem>
- <para>
- Navigate to the directory where the server you wish to add is installed and click on the <guibutton>OK</guibutton> button
- </para>
- </listitem>
- <listitem>
- <para>
- Select the Java Runtime Environment (JRE) you wish to use for this server from the drop-down menu. If the required JRE is not listed, click on the <guibutton>JRE</guibutton> button beside the list and then select the <guibutton>Add...</guibutton> button in the <guimenuitem>Installed JREs</guimenuitem> <guilabel>Preferences</guilabel> dialog box and follow the prompts to install the correct JRE
- </para>
- </listitem>
- <listitem>
- <para>
- The <guilabel>Configuration</guilabel> section should automatically list the available profiles available for your server. Select the server configuration you wish to use by clicking on its name in the list
- </para>
- <para>
- If the profile you wish to use is not listed click on the <guibutton>Browse...</guibutton> button, navigate to the profile location and click the <guibutton>OK</guibutton> button
- </para>
- </listitem>
- <listitem>
- <para>
- Click the <guibutton>Next ></guibutton> button to display the <guilabel>Runtime Information</guilabel> for the server you are about to add. If all the information is correct click the <guibutton>Finish</guibutton> button.
- </para>
- <para>
- If you need to change any information click the <guibutton>< Back</guibutton> button until you reach the screen with the information that needs to be altered and then navigate back to the <guilabel>Runtime Information</guilabel> screen and click the <guibutton>Finish</guibutton> button.
- </para>
- </listitem>
- </orderedlist>
- <para>
- Once the new sever has been added, you can select it for use by clicking on its name in the <guilabel>Server Runtime Environment</guilabel> list and then clicking the <guibutton>OK</guibutton> button that will then take you back to the main Eclipse interface.
- </para>
- <para>
- To start your new server, select it from those available through the <guimenu>Servers</guimenu> view and click the white arrow in a green circle.
- </para>
- <note>
- <para>
- If the <guimenu>Servers</guimenu> view is not displayed at the bottom of your Workbench, you can activate it through <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>JBoss Server View</guimenuitem></menuchoice> and then click the <guibutton>OK</guibutton> button.
- </para>
- </note>
- </section>
-
- </section>
-
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/The_interface.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,237 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-The_interface">
+ <title>The interface</title>
+ <para>
+ This chapter discusses the interfaces that the <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application> plug-ins are built for.
+ </para>
+ <section id="sect-Beginners_Guide-The_interface-Eclipse">
+ <title>Eclipse</title>
+ <para>
+ Eclipse is the container for all development work in <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>. It allows for control over the running of the application server, the applications on it and provides an interface for developing your own applications.
+ </para>
+ <para>
+ Eclipse is started by double-clicking on the <filename>eclipse</filename> executeable in your installation directory.
+ </para>
+ <para>
+ Following this you will be asked to specify a workspace for your Eclipse session. A workspace is the location on your computer where your files will be stored relating to the session. If you wish to change your workspace location after this step you can do so by following the menu items <guimenuitem>File</guimenuitem>, <guimenuitem>Switch Workspace</guimenuitem>, <guimenuitem>Other...</guimenuitem>.
+ </para>
+ <figure id="figu-Beginners_Guide-Eclipse-Eclipse_Workspace_launcher">
+ <title>Eclipse Workspace launcher</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Eclipse_workspace.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ After selecting a workspace location, you will be greeted with the <guilabel>Welcome</guilabel> screen. This screen provides a few pathway options, including a <guilabel>Getting Started</guilabel> link to a selection of documentation, an option to create a new project with the <guilabel>Create New...</guilabel> option and an option to skip straight to your <guilabel>Workbench</guilabel>.
+ </para>
+ <figure id="figu-Beginners_Guide-Eclipse-Eclipse_welcome_screen">
+ <title>Eclipse welcome screen</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Eclipse_welcome_screen.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Skipping straight to your workbench, you will see a screen with a few sections and the JBoss Application Server listed in the bottom area of the interface.
+ </para>
+ <figure id="figu-Beginners_Guide-Eclipse-Eclipse_Workbench">
+ <title>Eclipse Workbench</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Eclipse_main.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ In the bottom left hand corner of the screen is a picture of a white column with a blue bar and a yellow plus sign beside it. Clicking on this button will open a menu of different views and windows.
+ </para>
+ <figure id="figu-Beginners_Guide-Eclipse-Views_button">
+ <title>Views button</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/View_Button.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The window that may be of most use to you can be found by following: <menuchoice><guimenuitem>Other...</guimenuitem><guimenuitem>JBoss Tools Web</guimenuitem><guimenuitem>JBoss Tools Palette</guimenuitem></menuchoice>. This window opens an interface to the tools included with <application>JBoss Tools</application> and the <application>JBoss Developer Studio</application>.
+ </para>
+ <para>
+ Refer to the <citetitle pubwork="section">Welcome to JBoss Developer Studio</citetitle> section of the <citetitle pubwork="book">Getting Started with JBoss Developer Studio</citetitle> guide for further details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-The_interface-JBoss_Application_Server">
+ <title>JBoss Application Server</title>
+ <para>
+ The JBoss Application Server provides the full range of Java EE 5 features as well as extended enterprise services including clustering, caching, and persistence.
+ </para>
+ <section id="sect-Beginners_Guide-JBoss_Application_Server-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio">
+ <title>Use of the application server shipped with JBoss Tools or JBoss Developer Studio</title>
+ <para>
+ This section discusses the JBoss Application Server with regards to its use through Eclipse. Once you have started the Eclipse interface for <application>JBoss Tools</application> or the <application>JBoss Developer Studio</application>, the JBoss Application Server can be started by clicking on its name in the lower part of the window and then clicking the green arrow to the right.
+ </para>
+ <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Starting_and_stopping_the_server">
+ <title>Starting and stopping the server</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Start_Stop_Server.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <note>
+ <para>
+ If the <guimenu>Servers</guimenu> view is not displayed at the bottom of your Workbench, you can activate it through <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>Servers</guimenuitem></menuchoice> and then click the <guibutton>OK</guibutton> button.
+ </para>
+ </note>
+ <para>
+ After the server has been successfully started the status next to the server name will change from displaying <emphasis>Stopped</emphasis> to displaying <emphasis>Started, Synchronized</emphasis>.
+ </para>
+ <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Server_started_successfully">
+ <title>Server started successfully</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Server_Started.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Once Eclipse and the server are started, double click on the server name in Eclipse to see an <guilabel>Overview</guilabel> screen in the center.
+ </para>
+ <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-JBoss_Application_Server_overview">
+ <title>JBoss Application Server overview</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/JBoss_AS_Overview.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ From this <guilabel>Overview</guilabel> section there are six subsections consisting of: <guilabel>General Information</guilabel>, <guilabel>Login Credentials</guilabel>, <guilabel>Publishing</guilabel>, <guilabel>Timeouts</guilabel>, <guilabel>Server Polling</guilabel> and <guilabel>Server Ports</guilabel>.
+ </para>
+ <para>
+ The <guilabel>General Information</guilabel> subsection allows you to change the <guilabel>Server name</guilabel> and <guilabel>Host name</guilabel> to your own preferences. By clicking on the <guilabel>Runtime Environment</guilabel> label a dialog box with options to change the name of the server runtime, the home directory, the Java compiler and which server configuration should be used when running the application server. The <guibutton>Open launch configuration</guibutton> button displays a dialog box for configuring the technical details of the application server instance.
+ </para>
+ <para>
+ Below the <guilabel>General Information</guilabel> subsection is the <guilabel>Login Credentials</guilabel> subsection. This allows you to set the <guilabel>User Name</guilabel> and <guilabel>Password</guilabel> for your server.
+ </para>
+ <para>
+ The <guilabel>Publishing</guilabel> subsection at the top right of the <guilabel>Overview</guilabel> section allows you to set when applications should be made available through the application server. You can select to either never have an application be published automatically or for a check of new applications yet to be published to occur at a certain timed interval.
+ </para>
+ <para>
+ The <guilabel>Timeouts</guilabel> subsection below <guilabel>Publishing</guilabel> allows you to set the start and stop time (in seconds) for the server to complete all of its operations. This setting is made available in order to decrease the chance of the server freezing or hanging.
+ </para>
+ <para>
+ Below the <guilabel>Timeouts</guilabel> subsection is the <guilabel>Server Polling</guilabel> subsection. A server poller gathers information about the server at certain points in time, capturing information about processes and applications. This section allows you to select between either the <literal>JMX Poller</literal> or <literal>Timeout Poller</literal> for startup and the <literal>Process Terminated Poller</literal> or <literal>Timeout Poller</literal> for shutdown.
+ </para>
+ <para>
+ The final subsection is <guilabel>Server Ports</guilabel>, below <guilabel>Server Polling</guilabel>. This section allows you to alter the port numbers that the server pollers gather their information from. The two settings of <guilabel>JNDI Port</guilabel> and <guilabel>Web Port</guilabel> are set to be automatically detected by default; normally there should be no reason to manually select the port numbers.
+ </para>
+ <note>
+ <para>
+ Changing the <guilabel>Server Ports</guilabel> subsection configuration will not alter which ports the server itself listens on.
+ </para>
+ </note>
+ <para>
+ Default access to the server can be achieved by typing the address <ulink url="http://localhost:8080">http://localhost:8080</ulink> into your Internet browser address bar.
+ </para>
+ <figure id="figu-Beginners_Guide-Use_of_the_application_server_shipped_with_JBoss_Tools_or_JBoss_Developer_Studio-Server_access">
+ <title>Server access</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/JBoss_AS_localhost.png" format="PNG" width="444" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ Refer to the <citetitle pubwork="chapter">Manage JBoss AS from JBoss Developer Studio</citetitle> chapter of the <citetitle pubwork="book">Getting Started with JBoss Developer Studio</citetitle> guide for further details.
+ </para>
+ </section>
+
+ <section id="sect-Beginners_Guide-JBoss_Application_Server-Adding_a_new_application_server_for_use_with_JBoss_Tools_or_JBoss_Developer_Studio">
+ <title>Adding a new application server for use with JBoss Tools or JBoss Developer Studio</title>
+ <para>
+ Though JBoss Tools and JBoss Developer Studio may come with a pre-configured application server, you can still add your own servers. This section details how to add additional servers for use with JBoss Tools and the JBoss Developer Studio.
+ </para>
+ <para>
+ To add a new server runtime follow these steps:
+ </para>
+ <orderedlist>
+ <listitem>
+ <para>
+ In the Eclipse interface click on <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>Runtime Environments</guimenuitem></menuchoice>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click on the <guibutton>Add...</guibutton> button
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select the type of runtime environment your application server is from the list provided
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Tick the box for <guilabel>Create a new local server</guilabel>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click on the <guibutton>Next ></guibutton> button
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Name your server runtime and then click on the <guibutton>Browse...</guibutton> button next to the <guilabel>Home Directory</guilabel> location space
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Navigate to the directory where the server you wish to add is installed and click on the <guibutton>OK</guibutton> button
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Select the Java Runtime Environment (JRE) you wish to use for this server from the drop-down menu. If the required JRE is not listed, click on the <guibutton>JRE</guibutton> button beside the list and then select the <guibutton>Add...</guibutton> button in the <guimenuitem>Installed JREs</guimenuitem> <guilabel>Preferences</guilabel> dialog box and follow the prompts to install the correct JRE
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ The <guilabel>Configuration</guilabel> section should automatically list the available profiles available for your server. Select the server configuration you wish to use by clicking on its name in the list
+ </para>
+ <para>
+ If the profile you wish to use is not listed click on the <guibutton>Browse...</guibutton> button, navigate to the profile location and click the <guibutton>OK</guibutton> button
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Click the <guibutton>Next ></guibutton> button to display the <guilabel>Runtime Information</guilabel> for the server you are about to add. If all the information is correct click the <guibutton>Finish</guibutton> button.
+ </para>
+ <para>
+ If you need to change any information click the <guibutton>< Back</guibutton> button until you reach the screen with the information that needs to be altered and then navigate back to the <guilabel>Runtime Information</guilabel> screen and click the <guibutton>Finish</guibutton> button.
+ </para>
+ </listitem>
+ </orderedlist>
+ <para>
+ Once the new sever has been added, you can select it for use by clicking on its name in the <guilabel>Server Runtime Environment</guilabel> list and then clicking the <guibutton>OK</guibutton> button that will then take you back to the main Eclipse interface.
+ </para>
+ <para>
+ To start your new server, select it from those available through the <guimenu>Servers</guimenu> view and click the white arrow in a green circle.
+ </para>
+ <note>
+ <para>
+ If the <guimenu>Servers</guimenu> view is not displayed at the bottom of your Workbench, you can activate it through <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>JBoss Server View</guimenuitem></menuchoice> and then click the <guibutton>OK</guibutton> button.
+ </para>
+ </note>
+ </section>
+
+ </section>
+
+</chapter>
+
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<chapter id="chap-Beginners_Guide-Where_to_go_from_here">
- <title>Where to go from here</title>
- <para>
- For information pertaining to Eclipse visit <ulink url="http://www.eclipse.org/">www.eclipse.org</ulink>.
- </para>
- <para>
- For information about the JBoss Application Server visit <ulink url="http://www.jboss.org/jbossas/">http://www.jboss.org/jbossas/</ulink>.
- </para>
- <para>
- For documentation about the JBoss Enterprise Application Platform visit <ulink url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/</ulink>.
- </para>
- <para>
- For documentation on the plugins available as part of JBoss Tools visit <ulink url="http://www.jboss.org/tools/docs.html">http://www.jboss.org/tools/docs.html</ulink>.
- </para>
- <para>
- For documentation on the plugins available as part of the JBoss Developer Studio visit <ulink url="http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/">http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/</ulink>.
- </para>
-</chapter>
-
Copied: trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Where_to_go_from_here.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<chapter id="chap-Beginners_Guide-Where_to_go_from_here">
+ <title>Where to go from here</title>
+ <para>
+ For information pertaining to Eclipse visit <ulink url="http://www.eclipse.org/">www.eclipse.org</ulink>.
+ </para>
+ <para>
+ For information about the JBoss Application Server visit <ulink url="http://www.jboss.org/jbossas/">http://www.jboss.org/jbossas/</ulink>.
+ </para>
+ <para>
+ For documentation about the JBoss Enterprise Application Platform visit <ulink url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/">http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/</ulink>.
+ </para>
+ <para>
+ For documentation on the plugins available as part of JBoss Tools visit <ulink url="http://www.jboss.org/tools/docs.html">http://www.jboss.org/tools/docs.html</ulink>.
+ </para>
+ <para>
+ For documentation on the plugins available as part of the JBoss Developer Studio visit <ulink url="http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/">http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/</ulink>.
+ </para>
+</chapter>
+
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_code_rule_editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_code_rule_editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_code_rule_editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_rete_rule_editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_rete_rule_editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Drools_rete_rule_editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/ESB_Editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/ESB_Editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/ESB_Editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_main.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_main.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_main.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_welcome_screen.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_welcome_screen.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_welcome_screen.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_workspace.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_workspace.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Eclipse_workspace.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_connection_wizard.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_connection_wizard.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_connection_wizard.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_copy_file.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_copy_file.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_copy_file.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_repository.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_repository.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_repository.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_resource_history_view.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_resource_history_view.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Guvnor_resource_history_view.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_Overview.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_Overview.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_Overview.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_localhost.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_localhost.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/JBoss_AS_localhost.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_diagram_view.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_diagram_view.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_diagram_view.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_source_view.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_source_view.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_source_view.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_tree_view.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_tree_view.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/JSF_tree_view.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Server_Started.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Server_Started.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Server_Started.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Start_Stop_Server.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Start_Stop_Server.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Start_Stop_Server.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/View_Button.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/View_Button.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/View_Button.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Using_Document.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Using_Document.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Using_Document.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Wizard.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Wizard.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/Web_Services_Wizard.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Archive_Tools-Archive_Tools.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Hibernate_Tools-Hibernate_Console.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JBoss_AS_Tools-JBoss_Server_View.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-JMX_Tools-MBean_Explorer.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Portal_Tools-Dynamic_Web_Project_wizard.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-New_Seam_Project_wizard.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Components_Editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Seam_Development_Tools-Seam_Pages_Editor_graphical_view.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Content_Assist.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-JBoss_Tools_Palette.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Visual_Page_Editor.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png
===================================================================
(Binary files differ)
Copied: trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/images/figu-Beginners_Guide-Visual_Web_Tools-Web_Projects_View_for_JSF_left_and_Struts_right_projects.png)
===================================================================
(Binary files differ)
Deleted: trunk/documentation/guides/Beginners_Guide/en-US/master.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/master.xml 2010-01-20 22:13:38 UTC (rev 19834)
+++ trunk/documentation/guides/Beginners_Guide/en-US/master.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
-"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
-
-[<!ENTITY Preface SYSTEM "Preface.xml">
-<!ENTITY Introduction SYSTEM "Introduction.xml">
-<!ENTITY The_interface SYSTEM "The_interface.xml">
-<!ENTITY Java_EE_and_SE SYSTEM "Java_Web_(EE)_and_Standard_Edition_(SE).xml">
-<!ENTITY Service-Oriented_Architecture_Development SYSTEM "Service-Oriented_Architecture_Development.xml">
-<!ENTITY Where_to_go_from_here SYSTEM "Where_to_go_from_here.xml">
-<!ENTITY Revision_History SYSTEM "Revision_History.xml">
-]>
-
-<book>
-
- <bookinfo>
- <title>Beginners Guide</title>
- <corpauthor>
- <inlinemediaobject>
- <imageobject role="fo">
- <imagedata format="PNG" fileref="images/jbosstools_logo.png" />
- </imageobject>
- <imageobject role="html">
- <imagedata/>
- </imageobject>
- </inlinemediaobject>
- </corpauthor>
-
- <author>
- <firstname>Isaac</firstname>
- <surname>Rooskov</surname>
- <email>irooskov(a)redhat.com</email>
- </author>
- <author>
- <firstname>Sean</firstname>
- <surname>Rogers</surname>
- <email>serogers(a)redhat.com</email>
- </author>
- <editor>
- <firstname>Andrew</firstname>
- <surname>Ross</surname>
- <email>anross(a)redhat.com</email>
- </editor>
- <editor>
- <firstname>Max</firstname>
- <surname>Andersen</surname>
- <email>max.andersen(a)redhat.com</email>
- </editor>
-
- <copyright>
- <year>2010</year>
- <holder>JBoss by Red Hat</holder>
- </copyright>
- <releaseinfo>
- Version: 1.0
- </releaseinfo>
-<!--<abstract>
- <title/>
- <para>
- <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/jboss_bpmn_convert_r...">PDF version</ulink>
- </para>
-</abstract> -->
-
-
- </bookinfo>
-
- <toc/>
- <!-- &Preface; -->
- &Introduction;
- &The_interface;
- &Java_EE_and_SE;
- &Service-Oriented_Architecture_Development;
- &Where_to_go_from_here;
- &Revision_History;
-
-</book>
Copied: trunk/documentation/guides/Beginners_Guide/en-US/master.xml (from rev 19834, trunk/documentation/guides/Beginners_Guide/en-US/master.xml)
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/master.xml (rev 0)
+++ trunk/documentation/guides/Beginners_Guide/en-US/master.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
+"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
+
+[<!ENTITY Preface SYSTEM "Preface.xml">
+<!ENTITY Introduction SYSTEM "Introduction.xml">
+<!ENTITY The_interface SYSTEM "The_interface.xml">
+<!ENTITY Java_EE_and_SE SYSTEM "Java_Web_(EE)_and_Standard_Edition_(SE).xml">
+<!ENTITY Service-Oriented_Architecture_Development SYSTEM "Service-Oriented_Architecture_Development.xml">
+<!ENTITY Where_to_go_from_here SYSTEM "Where_to_go_from_here.xml">
+<!ENTITY Revision_History SYSTEM "Revision_History.xml">
+]>
+
+<book>
+
+ <bookinfo>
+ <title>Beginners Guide</title>
+ <corpauthor>
+ <inlinemediaobject>
+ <imageobject role="fo">
+ <imagedata format="PNG" fileref="images/jbosstools_logo.png" />
+ </imageobject>
+ <imageobject role="html">
+ <imagedata/>
+ </imageobject>
+ </inlinemediaobject>
+ </corpauthor>
+
+ <author>
+ <firstname>Isaac</firstname>
+ <surname>Rooskov</surname>
+ <email>irooskov(a)redhat.com</email>
+ </author>
+ <author>
+ <firstname>Sean</firstname>
+ <surname>Rogers</surname>
+ <email>serogers(a)redhat.com</email>
+ </author>
+ <editor>
+ <firstname>Andrew</firstname>
+ <surname>Ross</surname>
+ <email>anross(a)redhat.com</email>
+ </editor>
+ <editor>
+ <firstname>Max</firstname>
+ <surname>Andersen</surname>
+ <email>max.andersen(a)redhat.com</email>
+ </editor>
+
+ <copyright>
+ <year>2010</year>
+ <holder>JBoss by Red Hat</holder>
+ </copyright>
+ <releaseinfo>
+ Version: 1.0
+ </releaseinfo>
+<!--<abstract>
+ <title/>
+ <para>
+ <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/jboss_bpmn_convert_r...">PDF version</ulink>
+ </para>
+</abstract> -->
+
+
+ </bookinfo>
+
+ <toc/>
+ <!-- &Preface; -->
+ &Introduction;
+ &The_interface;
+ &Java_EE_and_SE;
+ &Service-Oriented_Architecture_Development;
+ &Where_to_go_from_here;
+ &Revision_History;
+
+</book>
Modified: trunk/documentation/guides/Beginners_Guide/pom.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/pom.xml 2010-01-21 22:20:57 UTC (rev 19871)
+++ trunk/documentation/guides/Beginners_Guide/pom.xml 2010-01-21 23:53:20 UTC (rev 19872)
@@ -5,51 +5,40 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
- <artifactId>beginners-ref-guide${translation}</artifactId>
+ <artifactId>converter-ref-guide${translation}</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Beginners_Guide</name>
<profiles>
+ <profile>
+ <id>release</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-release.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-release.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ </properties>
+ </profile>
<profile>
- <id>release</id>
+ <id>releaseJBDS</id>
<properties>
<master>master_output.xml</master>
<xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseTest</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release-nomarker.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release-nomarker.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
- </properties>
- </profile>
- <profile>
- <id>releaseJBDS</id>
- <properties>
- <master>master.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-release.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-release.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
<cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
</properties>
</profile>
-
- <profile>
- <id>diffmk</id>
- <properties>
- <master>master_output.xml</master>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single-diff.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml-diff.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf-diff.xsl</xsl-pdf>
- </properties>
- </profile>
- </profiles>
-
+ <profile>
+ <id>diffmk</id>
+ <properties>
+ <master>master_output.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single-diff.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml-diff.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf-diff.xsl</xsl-pdf>
+ </properties>
+ </profile>
+ </profiles>
<build>
<plugins>
<plugin>
@@ -57,7 +46,7 @@
<artifactId>maven-jdocbook-plugin</artifactId>
<version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
<extensions>true</extensions>
- <dependencies>
+ <dependencies>
<dependency>
<groupId>com.jboss</groupId>
<artifactId>jbossent-docbook-xslt</artifactId>
@@ -69,28 +58,34 @@
<version>1.0.0</version>
<type>jdocbook-style</type>
</dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0</version>
+ </dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
<version>1.1.0</version>
<type>jdocbook-style</type>
</dependency>
- <dependency>
- <groupId>org.jboss.tools</groupId>
- <artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlgraphics</groupId>
- <artifactId>fop</artifactId>
- <version>0.95</version>
- </dependency>
- </dependencies>
+ <dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>jbosstools-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xmlgraphics</groupId>
+ <artifactId>fop</artifactId>
+ <version>0.95</version>
+ </dependency>
+ </dependencies>
+
<configuration>
- <sourceDocumentName>${master}</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}/en-US</sourceDirectory>
<imageResource>
- <directory>${pom.basedir}/en</directory>
+ <directory>${pom.basedir}/en-US</directory>
<includes>
<include>images/**/*</include>
</includes>
@@ -101,7 +96,7 @@
<formats>
<format>
- <formatName>pdf</formatName>
+ <formatName>pdf</formatName>
<stylesheetResource>${xsl-pdf}</stylesheetResource>
<finalName>${pom.name}.pdf</finalName>
</format>
@@ -117,10 +112,11 @@
</format>
<format>
<formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/com/jboss/tools/eclipse.xsl</stylesheetResource>
+ <stylesheetResource>file:${pom.basedir}/${stylesdir}/xslt/org/jboss/tools/eclipse.xsl</stylesheetResource>
<finalName>index.html</finalName>
</format>
</formats>
+
<options>
<xincludeSupported>true</xincludeSupported>
<xmlTransformerType>saxon</xmlTransformerType>
@@ -149,13 +145,13 @@
</distributionManagement>
<properties>
- <xsl-single>classpath:/xslt/com/jboss/tools/xhtml-single.xsl</xsl-single>
- <xsl-chunked>classpath:/xslt/com/jboss/tools/xhtml.xsl</xsl-chunked>
- <xsl-pdf>classpath:/xslt/com/jboss/tools/pdf.xsl</xsl-pdf>
<stylesdir>../../../documentation/jbosstools-docbook-xslt/src/main/resources/</stylesdir>
- <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/com/css/</cssdir>
- <master>master.xml</master>
+ <xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
+ <xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
+ <xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
+ <cssdir>../../../documentation/jbosstools-jdocbook-style/src/main/org/css/</cssdir>
<translation>en-US</translation>
</properties>
+
</project>
14 years, 5 months
JBoss Tools SVN: r19871 - in trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test: .settings and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2010-01-21 17:20:57 -0500 (Thu, 21 Jan 2010)
New Revision: 19871
Added:
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.classpath
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.project
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.jdt.core.prefs
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.pde.core.prefs
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/MANIFEST.MF
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/build.properties
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/hamcrest-core-1.1.jar
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/junit-4.4.jar
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/MockRestClient.java
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/PersistedServerTest.java
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerRegistryEventTest.java
Log:
Initial versions of source.
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.classpath
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.classpath (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.classpath 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry exported="true" kind="lib" path="junit-4.4.jar"/>
+ <classpathentry exported="true" kind="lib" path="hamcrest-core-1.1.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.project
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.project (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.project 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.modeshape.rest.test</name>
+ <comment></comment>
+ <projects>
+ <project>org.jboss.tools.modeshape.rest</project>
+ </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/modeshape/tests/org.jboss.tools.modeshape.rest.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.jdt.core.prefs 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,7 @@
+#Wed Dec 23 11:15:16 CST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.pde.core.prefs
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.pde.core.prefs (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.pde.core.prefs 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,4 @@
+#Wed Dec 23 11:15:16 CST 2009
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/.settings/org.eclipse.pde.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/MANIFEST.MF 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test Plug-in
+Bundle-SymbolicName: org.jboss.tools.modeshape.rest.test
+Bundle-Version: 1.0.0
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.jboss.tools.modeshape.rest;bundle-version="1.0.0"
+Bundle-ClassPath: hamcrest-core-1.1.jar,
+ .,
+ junit-4.4.jar
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/build.properties
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/build.properties (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/build.properties 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ hamcrest-core-1.1.jar,\
+ junit-4.4.jar
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/hamcrest-core-1.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/hamcrest-core-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/junit-4.4.jar
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/junit-4.4.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/MockRestClient.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/MockRestClient.java (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/MockRestClient.java 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,88 @@
+/*
+ * ModeShape (http://www.modeshape.org)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership.
+ *
+ * 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.
+ *
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ */
+package org.jboss.tools.modeshape.rest;
+
+import java.io.File;
+import java.net.URL;
+import java.util.Collection;
+import org.modeshape.web.jcr.rest.client.IRestClient;
+import org.modeshape.web.jcr.rest.client.Status;
+import org.modeshape.web.jcr.rest.client.domain.Repository;
+import org.modeshape.web.jcr.rest.client.domain.Server;
+import org.modeshape.web.jcr.rest.client.domain.Workspace;
+
+/**
+ * The <code>MockRestExecutor</code> class is a test <code>IRestClient</code> implementation that does nothing.
+ */
+public final class MockRestClient implements IRestClient {
+
+ // ===========================================================================================================================
+ // Methods
+ // ===========================================================================================================================
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.modeshape.web.jcr.rest.client.IRestClient#getRepositories(org.modeshape.web.jcr.rest.client.domain.Server)
+ */
+ public Collection<Repository> getRepositories( Server server ) throws Exception {
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.modeshape.web.jcr.rest.client.IRestClient#getUrl(java.io.File, java.lang.String,
+ * org.modeshape.web.jcr.rest.client.domain.Workspace)
+ */
+ public URL getUrl( File file,
+ String path,
+ Workspace workspace ) throws Exception {
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.modeshape.web.jcr.rest.client.IRestClient#getWorkspaces(org.modeshape.web.jcr.rest.client.domain.Repository)
+ */
+ public Collection<Workspace> getWorkspaces( Repository repository ) throws Exception {
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.modeshape.web.jcr.rest.client.IRestClient#publish(org.modeshape.web.jcr.rest.client.domain.Workspace,
+ * java.lang.String, java.io.File)
+ */
+ public Status publish( Workspace workspace,
+ String path,
+ File file ) {
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.modeshape.web.jcr.rest.client.IRestClient#unpublish(org.modeshape.web.jcr.rest.client.domain.Workspace,
+ * java.lang.String, java.io.File)
+ */
+ public Status unpublish( Workspace workspace,
+ String path,
+ File file ) {
+ return null;
+ }
+
+}
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/MockRestClient.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/PersistedServerTest.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/PersistedServerTest.java (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/PersistedServerTest.java 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,48 @@
+/*
+ * ModeShape (http://www.modeshape.org)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership.
+ *
+ * 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.
+ *
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ */
+package org.jboss.tools.modeshape.rest;
+
+import static org.hamcrest.core.Is.is;
+import static org.junit.Assert.assertThat;
+import org.jboss.tools.modeshape.rest.PersistedServer;
+import org.junit.Test;
+
+public final class PersistedServerTest {
+
+ private static final PersistedServer PERSISTED = new PersistedServer("url", "user", "pswd", true);
+
+ private static final PersistedServer NOT_PERSISTED = new PersistedServer(PERSISTED.getUrl(), PERSISTED.getUser(),
+ PERSISTED.getPassword(), false);
+
+ @Test
+ public void shouldNotBeEqualIfDifferentPasswordSettings() {
+ assertThat(PERSISTED.equals(NOT_PERSISTED), is(false));
+ }
+
+ @Test
+ public void shouldHaveSameHashCodeIfDifferentPasswordSettings() {
+ assertThat(PERSISTED.hashCode(), is(NOT_PERSISTED.hashCode()));
+ }
+
+ @Test
+ public void shouldHavePasswordBeingPersisted() {
+ assertThat(PERSISTED.isPasswordBeingPersisted(), is(true));
+ }
+
+ @Test
+ public void shouldNotHavePasswordBeingPersisted() {
+ assertThat(NOT_PERSISTED.isPasswordBeingPersisted(), is(false));
+ }
+
+}
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/PersistedServerTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,269 @@
+/*
+ * ModeShape (http://www.modeshape.org)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership.
+ *
+ * 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.
+ *
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ */
+package org.jboss.tools.modeshape.rest;
+
+import static org.hamcrest.core.Is.is;
+import static org.junit.Assert.assertThat;
+import org.jboss.tools.modeshape.rest.IServerRegistryListener;
+import org.jboss.tools.modeshape.rest.PersistedServer;
+import org.jboss.tools.modeshape.rest.ServerManager;
+import org.jboss.tools.modeshape.rest.ServerRegistryEvent;
+import org.junit.Before;
+import org.junit.Test;
+import org.modeshape.web.jcr.rest.client.Status;
+import org.modeshape.web.jcr.rest.client.domain.Repository;
+import org.modeshape.web.jcr.rest.client.domain.Server;
+
+/**
+ * The <code>ServerManagerTest</code> class is a test class for the {@link ServerManager server manager} object.
+ */
+public final class ServerManagerTest {
+
+ // ===========================================================================================================================
+ // Constants
+ // ===========================================================================================================================
+
+ private static final String URL1 = "file:/tmp/temp.txt"; //$NON-NLS-1$
+ private static final String URL2 = "http:www.redhat.com"; //$NON-NLS-1$
+
+ private static final String USER1 = "user1"; //$NON-NLS-1$
+ private static final String USER2 = "user2"; //$NON-NLS-1$
+
+ private static final String PSWD1 = "pwsd1"; //$NON-NLS-1$
+ private static final String PSWD2 = "pwsd2"; //$NON-NLS-1$
+
+ private static PersistedServer SERVER1 = new PersistedServer(URL1, USER1, PSWD1, false);
+ private static PersistedServer SERVER1_UPDATE = new PersistedServer(SERVER1.getUrl(), SERVER1.getUser(),
+ SERVER1.getPassword(), SERVER1.isPasswordBeingPersisted());
+ private static PersistedServer SERVER2 = new PersistedServer(URL2, USER2, PSWD2, !SERVER1.isPasswordBeingPersisted());
+
+ // ===========================================================================================================================
+ // Fields
+ // ===========================================================================================================================
+
+ private ServerManager serverManager;
+
+ // ===========================================================================================================================
+ // Methods
+ // ===========================================================================================================================
+
+ @Before
+ public void beforeEach() {
+ this.serverManager = new ServerManager(null, new MockRestClient());
+ }
+
+ // ===========================================================================================================================
+ // Tests
+ // ===========================================================================================================================
+
+ @Test
+ public void shouldBeRegisteredIfAdded() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.isRegistered(SERVER1), is(true));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldBeRegisteredIfServerWithSameKeyHasBeenAdded() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.isRegistered(new Server(SERVER1.getUrl(), SERVER1.getUser(), PSWD2)), is(true));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldDecreaseRegistrySizeWhenServerRemoved() {
+ this.serverManager.addServer(SERVER1);
+ this.serverManager.addServer(SERVER2);
+
+ this.serverManager.removeServer(SERVER1);
+ assertThat(this.serverManager.getServers().size(), is(1));
+
+ this.serverManager.removeServer(SERVER2);
+ assertThat(this.serverManager.getServers().isEmpty(), is(true));
+ }
+
+ @Test
+ public void shouldHaveOkStatusWhenAddingServerSuccessfully() {
+ assertThat(this.serverManager.addServer(SERVER1).isOk(), is(true));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldHaveOkStatusWhenRemovingServerSuccessfully() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.removeServer(SERVER1).isOk(), is(true));
+ assertThat(this.serverManager.getServers().isEmpty(), is(true));
+ }
+
+ @Test
+ public void shouldHaveOkStatusWhenUpdateServerSuccessfully() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.updateServer(SERVER1, SERVER1_UPDATE).isOk(), is(true));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldIncreaseRegistrySizeWhenServerAdded() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.getServers().size(), is(1));
+
+ this.serverManager.addServer(SERVER2);
+ assertThat(this.serverManager.getServers().size(), is(2));
+ }
+
+ @Test
+ public void shouldNotAddServerIfAlreadyAdded() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.addServer(SERVER1).isOk(), is(false));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldNotAddServerIfKeysMatch() {
+ this.serverManager.addServer(SERVER1);
+ Status status = this.serverManager.addServer(new PersistedServer(SERVER1.getUrl(), SERVER1.getUser(), PSWD2, true));
+ assertThat(status.isOk(), is(false));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldNotBeRegisteredIfNotAdded() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(this.serverManager.isRegistered(SERVER2), is(false));
+ assertThat(this.serverManager.getServers().size(), is(1));
+ }
+
+ @Test
+ public void shouldNotBeRegisteredIfRemoved() {
+ this.serverManager.addServer(SERVER1);
+ this.serverManager.removeServer(SERVER1);
+ assertThat(this.serverManager.isRegistered(SERVER1), is(false));
+ assertThat(this.serverManager.getServers().isEmpty(), is(true));
+ }
+
+ @Test
+ public void shouldNotReceiveNotificationIfListenerUnregistered() {
+ RegistryListener listener = new RegistryListener();
+
+ this.serverManager.addRegistryListener(listener);
+ this.serverManager.removeRegistryListener(listener);
+ this.serverManager.addServer(SERVER1);
+ assertThat(listener.wasNotified(), is(false));
+ }
+
+ @Test
+ public void shouldNotRemoveServerIfNotAdded() {
+ assertThat(this.serverManager.removeServer(SERVER1).isOk(), is(false));
+ assertThat(this.serverManager.getServers().isEmpty(), is(true));
+ }
+
+ @Test( expected = RuntimeException.class )
+ public void shouldNotObtainRepositoriesForUnregisteredServer() throws Exception {
+ this.serverManager.getRepositories(SERVER1);
+ }
+
+ @Test( expected = RuntimeException.class )
+ public void shouldNotObtainWorkspacesForUnregisteredServer() throws Exception {
+ Repository repository = new Repository("repo", SERVER1);//$NON-NLS-1$
+ this.serverManager.getWorkspaces(repository);
+ }
+
+ @Test
+ public void shouldReceiveOneEventIfRegisteredMoreThanOnce() {
+ RegistryListener listener = new RegistryListener();
+ this.serverManager.addRegistryListener(listener);
+ this.serverManager.addRegistryListener(listener);
+
+ this.serverManager.addServer(SERVER1);
+ assertThat(listener.wasNotified(), is(true));
+ }
+
+ @Test
+ public void shouldReceiveNotificationIfRegisteredListener() {
+ RegistryListener listener = new RegistryListener();
+ assertThat(this.serverManager.addRegistryListener(listener), is(true));
+
+ this.serverManager.addServer(SERVER1);
+ assertThat(listener.wasNotified(), is(true));
+ }
+
+ @Test
+ public void shouldReceiveNewServerEvent() {
+ RegistryListener listener = new RegistryListener();
+ this.serverManager.addRegistryListener(listener);
+
+ this.serverManager.addServer(SERVER1);
+ assertThat(listener.getEvent().isNew(), is(true));
+ assertThat(listener.getEvent().isRemove(), is(false));
+ assertThat(listener.getEvent().isUpdate(), is(false));
+ }
+
+ @Test
+ public void shouldReceiveRemoveServerEvent() {
+ this.serverManager.addServer(SERVER1);
+
+ RegistryListener listener = new RegistryListener();
+ this.serverManager.addRegistryListener(listener);
+
+ this.serverManager.removeServer(SERVER1);
+ assertThat(listener.getEvent().isRemove(), is(true));
+ assertThat(listener.getEvent().isNew(), is(false));
+ assertThat(listener.getEvent().isUpdate(), is(false));
+ }
+
+ @Test
+ public void shouldReceiveUpdateServerEvent() {
+ this.serverManager.addServer(SERVER1);
+
+ RegistryListener listener = new RegistryListener();
+ this.serverManager.addRegistryListener(listener);
+
+ this.serverManager.updateServer(SERVER1, new PersistedServer(SERVER1.getUrl(), SERVER1.getUser(), PSWD2,
+ !SERVER1.isPasswordBeingPersisted()));
+ assertThat(listener.getEvent().isUpdate(), is(true));
+ assertThat(listener.getEvent().isNew(), is(false));
+ assertThat(listener.getEvent().isRemove(), is(false));
+ }
+
+ @Test
+ public void shouldRemoveServerIfNotAddedButKeyMatches() {
+ this.serverManager.addServer(SERVER1_UPDATE);
+ assertThat(this.serverManager.removeServer(SERVER1).isOk(), is(true));
+ assertThat(this.serverManager.getServers().isEmpty(), is(true));
+ }
+
+ // ===========================================================================================================================
+ // RegistryListener Inner Class
+ // ===========================================================================================================================
+
+ class RegistryListener implements IServerRegistryListener {
+ boolean[] notified = new boolean[] {false};
+ ServerRegistryEvent event = null;
+
+ public Exception[] serverRegistryChanged( ServerRegistryEvent event ) {
+ notified[0] = !notified[0];
+ this.event = event;
+ return null;
+ }
+
+ public ServerRegistryEvent getEvent() {
+ return this.event;
+ }
+
+ public boolean wasNotified() {
+ return notified[0];
+ }
+ }
+
+}
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerRegistryEventTest.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerRegistryEventTest.java (rev 0)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerRegistryEventTest.java 2010-01-21 22:20:57 UTC (rev 19871)
@@ -0,0 +1,131 @@
+/*
+ * ModeShape (http://www.modeshape.org)
+ * See the COPYRIGHT.txt file distributed with this work for information
+ * regarding copyright ownership.
+ *
+ * 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.
+ *
+ * See the AUTHORS.txt file in the distribution for a full listing of
+ * individual contributors.
+ */
+package org.jboss.tools.modeshape.rest;
+
+import static org.hamcrest.core.Is.is;
+import static org.hamcrest.core.IsSame.sameInstance;
+import static org.junit.Assert.assertThat;
+import org.jboss.tools.modeshape.rest.ServerManager;
+import org.jboss.tools.modeshape.rest.ServerRegistryEvent;
+import org.junit.Before;
+import org.junit.Test;
+import org.modeshape.web.jcr.rest.client.domain.Server;
+
+public final class ServerRegistryEventTest {
+
+ // ===========================================================================================================================
+ // Constants
+ // ===========================================================================================================================
+
+ private static Server SERVER = new Server("url", "user", "pswd");
+
+ private static Server UPDATED_SERVER = new Server("newurl", "newuser", "newpswd");
+
+ // ===========================================================================================================================
+ // Fields
+ // ===========================================================================================================================
+
+ private ServerManager serverManager;
+
+ // ===========================================================================================================================
+ // Methods
+ // ===========================================================================================================================
+
+ @Before
+ public void beforeEach() {
+ this.serverManager = new ServerManager(null, new MockRestClient());
+ }
+
+ // ===========================================================================================================================
+ // Tests
+ // ===========================================================================================================================
+
+ @Test
+ public void shouldHaveNewType() {
+ assertThat(ServerRegistryEvent.createNewEvent(this.serverManager, SERVER).isNew(), is(true));
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServerManagerWhenCreatingNewEvent() {
+ ServerRegistryEvent.createNewEvent(null, SERVER);
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServerWhenCreatingNewEvent() {
+ ServerRegistryEvent.createNewEvent(this.serverManager, null);
+ }
+
+ @Test( expected = UnsupportedOperationException.class )
+ public void shouldNotBeAllowedToGetUpdatedServerOnNewEvent() {
+ ServerRegistryEvent.createNewEvent(this.serverManager, SERVER).getUpdatedServer();
+ }
+
+ @Test
+ public void shouldGetSameServerOnNewEvent() {
+ assertThat(ServerRegistryEvent.createNewEvent(this.serverManager, SERVER).getServer(), sameInstance(SERVER));
+ }
+
+ @Test
+ public void shouldHaveRemoveType() {
+ assertThat(ServerRegistryEvent.createRemoveEvent(this.serverManager, SERVER).isRemove(), is(true));
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServerManagerWhenCreatingRemoveEvent() {
+ ServerRegistryEvent.createRemoveEvent(null, SERVER);
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServerWhenCreatingRemoveEvent() {
+ ServerRegistryEvent.createRemoveEvent(this.serverManager, null);
+ }
+
+ @Test( expected = UnsupportedOperationException.class )
+ public void shouldNotBeAllowedToGetUpdatedServerOnRemoveEvent() {
+ ServerRegistryEvent.createRemoveEvent(this.serverManager, SERVER).getUpdatedServer();
+ }
+
+ @Test
+ public void shouldGetSameServerOnRemoveEvent() {
+ assertThat(ServerRegistryEvent.createRemoveEvent(this.serverManager, SERVER).getServer(), sameInstance(SERVER));
+ }
+
+ @Test
+ public void shouldHaveUpdateType() {
+ assertThat(ServerRegistryEvent.createUpdateEvent(this.serverManager, SERVER, UPDATED_SERVER).isUpdate(), is(true));
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServerManagerWhenCreatingUpdateEvent() {
+ ServerRegistryEvent.createUpdateEvent(null, SERVER, UPDATED_SERVER);
+ }
+
+ @Test( expected = IllegalArgumentException.class )
+ public void shouldNotAllowNullServersWhenCreatingUpdateEvent() {
+ ServerRegistryEvent.createUpdateEvent(this.serverManager, null, null);
+ }
+
+ @Test
+ public void shouldGetSameServerOnUpdateEvent() {
+ assertThat(ServerRegistryEvent.createUpdateEvent(this.serverManager, SERVER, UPDATED_SERVER).getServer(),
+ sameInstance(SERVER));
+ }
+
+ @Test
+ public void shouldGetSameUpdatedServerOnUpdateEvent() {
+ assertThat(ServerRegistryEvent.createUpdateEvent(this.serverManager, SERVER, UPDATED_SERVER).getUpdatedServer(),
+ sameInstance(UPDATED_SERVER));
+ }
+
+}
Property changes on: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerRegistryEventTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 5 months