JBoss Tools SVN: r20874 - in branches/hibernatetools-multiversion/hibernatetools: plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-03-17 08:09:59 -0400 (Wed, 17 Mar 2010)
New Revision: 20874
Added:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ExternalProcessAction.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStub.java
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStubFactory.java
Modified:
branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6070 - update
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStub.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStub.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStub.java 2010-03-17 12:09:59 UTC (rev 20874)
@@ -0,0 +1,356 @@
+package org.hibernate.console.stubs;
+
+import java.sql.Time;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.ui.views.properties.IPropertyDescriptor;
+import org.eclipse.ui.views.properties.PropertyDescriptor;
+import org.hibernate.Criteria;
+import org.hibernate.EntityMode;
+import org.hibernate.Session;
+import org.hibernate.Query;
+import org.hibernate.HibernateException;
+import org.hibernate.SessionFactory;
+import org.hibernate.console.ConsoleMessages;
+import org.hibernate.console.ConsoleQueryParameter;
+import org.hibernate.console.QueryInputModel;
+import org.hibernate.console.execution.ExecutionContext;
+import org.hibernate.console.execution.ExecutionContext.Command;
+import org.hibernate.engine.SessionImplementor;
+import org.hibernate.metadata.ClassMetadata;
+import org.hibernate.metadata.CollectionMetadata;
+import org.hibernate.proxy.HibernateProxyHelper;
+import org.hibernate.type.Type;
+
+import bsh.EvalError;
+import bsh.Interpreter;
+
+public class SessionStub {
+
+ protected ExecutionContext executionContext;
+ protected Session session;
+
+ protected SessionStub(ExecutionContext executionContext, Session session) {
+ this.executionContext = executionContext;
+ this.session = session;
+ }
+
+ public boolean isOpen() {
+ boolean res = false;
+ if (session != null) {
+ res = session.isOpen();
+ }
+ return res;
+ }
+
+ public void close(List<Throwable> exceptions) {
+ if (session != null && session.isOpen()) {
+ try {
+ session.close();
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ }
+ }
+ }
+
+ public boolean contains(Object obj) {
+ boolean res = false;
+ if (session != null) {
+ res = session.contains(obj);
+ }
+ return res;
+ }
+
+ public boolean hasMetaData(Object obj) {
+ boolean res = false;
+ if (session != null) {
+ res = session.getSessionFactory().getClassMetadata(
+ HibernateProxyHelper.getClassWithoutInitializingProxy(obj)) != null;
+ }
+ return res;
+ }
+
+ public boolean hasMetaData(Object obj, List<Throwable> exceptions) {
+ boolean res = false;
+ if (session != null) {
+ try {
+ res = session.getSessionFactory().getClassMetadata(
+ HibernateProxyHelper.getClassWithoutInitializingProxy(obj)) != null;
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ }
+ }
+ return res;
+ }
+
+ public String getEntityName(Object obj) {
+ String res = null;
+ if (session != null) {
+ res = session.getEntityName(obj);
+ }
+ return res;
+ }
+
+ public String getEntityName(Object obj, List<Throwable> exceptions) {
+ String res = null;
+ if (session != null) {
+ try {
+ res = session.getEntityName(obj);
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ }
+ }
+ return res;
+ }
+
+ public Object getPropertyValue(Object obj, Object id) {
+ Object pv = null;
+ if (session != null) {
+ SessionFactory sf = session.getSessionFactory();
+ ClassMetadata classMetadata;
+ if (session.isOpen()) {
+ classMetadata = sf.getClassMetadata(session.getEntityName(obj));
+ } else {
+ classMetadata = sf.getClassMetadata(HibernateProxyHelper
+ .getClassWithoutInitializingProxy(obj));
+ }
+ if (id.equals(classMetadata.getIdentifierPropertyName())) {
+ pv = classMetadata.getIdentifier(obj, EntityMode.POJO);
+ } else {
+ pv = classMetadata.getPropertyValue(obj, (String) id, EntityMode.POJO);
+ }
+ if (pv instanceof Collection<?>) {
+ CollectionMetadata collectionMetadata = sf.getCollectionMetadata(classMetadata
+ .getEntityName()
+ + "." + id); //$NON-NLS-1$
+ if (collectionMetadata != null) {
+ pv = new CollectionPropertySource((Collection<?>) pv);
+ }
+ }
+ }
+ return pv;
+ }
+
+ public IPropertyDescriptor[] getPropertyDescriptors(final Object obj) {
+ IPropertyDescriptor[] propertyDescriptors = null;
+ if (executionContext != null) {
+ propertyDescriptors = (IPropertyDescriptor[]) executionContext.execute(new Command() {
+ public Object execute() {
+ SessionFactory sf = session.getSessionFactory();
+ ClassMetadata classMetadata;
+ if (session.isOpen()) {
+ classMetadata = sf.getClassMetadata(session.getEntityName(obj));
+ } else {
+ classMetadata = sf.getClassMetadata(HibernateProxyHelper
+ .getClassWithoutInitializingProxy(obj));
+ }
+ return initializePropertyDescriptors(classMetadata);
+ }
+ });
+ }
+ return propertyDescriptors;
+ }
+
+ protected IPropertyDescriptor[] initializePropertyDescriptors(ClassMetadata classMetadata) {
+
+ String[] propertyNames = classMetadata.getPropertyNames();
+ int length = propertyNames.length;
+
+ PropertyDescriptor identifier = null;
+
+ if (classMetadata.hasIdentifierProperty()) {
+ identifier = new PropertyDescriptor(classMetadata.getIdentifierPropertyName(),
+ classMetadata.getIdentifierPropertyName());
+ identifier.setCategory(ConsoleMessages.EntityPropertySource_identifier);
+ length++;
+ }
+
+ PropertyDescriptor[] properties = new PropertyDescriptor[length];
+
+ int idx = 0;
+ if (identifier != null) {
+ properties[idx++] = identifier;
+ }
+
+ for (int i = 0; i < propertyNames.length; i++) {
+ PropertyDescriptor prop = new PropertyDescriptor(propertyNames[i], propertyNames[i]);
+ prop.setCategory(ConsoleMessages.EntityPropertySource_properties);
+ properties[i + idx] = prop;
+ }
+
+ return properties;
+ }
+
+ @SuppressWarnings("unchecked")
+ public List<Object> evalCriteria(String criteriaCode, QueryInputModel model, Time queryTime,
+ List<Throwable> exceptions) {
+ List<Object> res = Collections.emptyList();
+ if (criteriaCode.indexOf("System.exit") >= 0) { // TODO: externalize run so we don't need this bogus check! //$NON-NLS-1$
+ exceptions.add(new IllegalArgumentException(ConsoleMessages.JavaPage_not_allowed));
+ return res;
+ }
+ try {
+ Interpreter ip = setupInterpreter();
+ final Integer maxResults = model.getMaxResults();
+ long startTime = System.currentTimeMillis();
+ Object o = ip.eval(criteriaCode);
+ // ugly! TODO: make un-ugly!
+ if (o instanceof Criteria) {
+ Criteria criteria = (Criteria) o;
+ if (maxResults != null) {
+ criteria.setMaxResults(maxResults.intValue());
+ }
+ res = criteria.list();
+ } else if (o instanceof List<?>) {
+ res = (List<Object>) o;
+ if (maxResults != null) {
+ res = res.subList(0, Math.min(res.size(), maxResults.intValue()));
+ }
+ } else {
+ res = new ArrayList<Object>();
+ res.add(o);
+ }
+ queryTime.setTime(System.currentTimeMillis() - startTime);
+ } catch (EvalError e) {
+ exceptions.add(e);
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ }
+ return res;
+ }
+
+ @SuppressWarnings("unchecked")
+ private Interpreter setupInterpreter() throws EvalError, HibernateException {
+ Interpreter interpreter = new Interpreter();
+
+ interpreter.set("session", session); //$NON-NLS-1$
+ interpreter.setClassLoader(Thread.currentThread().getContextClassLoader());
+ SessionImplementor si = (SessionImplementor) session;
+
+ Map<String, ?> map = si.getFactory().getAllClassMetadata();
+
+ Iterator<String> iterator = map.keySet().iterator();
+ // TODO: filter non classes.
+ String imports = ""; //$NON-NLS-1$
+ while (iterator.hasNext()) {
+ String element = iterator.next();
+ imports += "import " + element + ";\n"; //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ imports += "import org.hibernate.criterion.*;\n"; //$NON-NLS-1$
+ imports += "import org.hibernate.*;\n"; //$NON-NLS-1$
+ // TODO: expose the parameters as values to be used in the code.
+ interpreter.eval(imports);
+
+ return interpreter;
+ }
+
+ public List<Object> evalQuery(String queryString, QueryInputModel model, Time queryTime,
+ List<Throwable> exceptions) {
+ List<Object> res = Collections.emptyList();
+ Query query = null;
+ try {
+ query = session.createQuery(queryString);
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ } catch (Exception e) {
+ exceptions.add(e);
+ }
+ if (query == null) {
+ return res;
+ }
+ try {
+ res = new ArrayList<Object>();
+ setupParameters(query, model);
+ long startTime = System.currentTimeMillis();
+ // need to be user-controllable to toggle between iterate, scroll etc.
+ Iterator<?> iter = query.list().iterator();
+ queryTime.setTime(System.currentTimeMillis() - startTime);
+ while (iter.hasNext()) {
+ Object element = iter.next();
+ res.add(element);
+ }
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ } catch (IllegalArgumentException e) {
+ exceptions.add(e);
+ }
+ return res;
+ }
+
+ private void setupParameters(Query query, QueryInputModel model) {
+ if (model.getMaxResults() != null) {
+ query.setMaxResults(model.getMaxResults().intValue());
+ }
+ ConsoleQueryParameter[] qp = model.getQueryParameters();
+ for (int i = 0; i < qp.length; i++) {
+ ConsoleQueryParameter parameter = qp[i];
+ try {
+ int pos = Integer.parseInt(parameter.getName());
+ query.setParameter(pos, calcValue(parameter), parameter.getType());
+ } catch (NumberFormatException nfe) {
+ query.setParameter(parameter.getName(), calcValue(parameter), parameter.getType());
+ }
+ }
+ }
+
+ private Object calcValue(ConsoleQueryParameter parameter) {
+ return parameter.getValueForQuery();
+ }
+
+ public List<String> evalQueryPathNames(String queryString, QueryInputModel model,
+ List<Throwable> exceptions) {
+ List<String> res = Collections.emptyList();
+ Query query = null;
+ try {
+ query = session.createQuery(queryString);
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ } catch (Exception e) {
+ exceptions.add(e);
+ }
+ if (query == null) {
+ return res;
+ }
+ try {
+ String[] returnAliases = null;
+ try {
+ returnAliases = query.getReturnAliases();
+ } catch (NullPointerException e) {
+ // ignore - http://opensource.atlassian.com/projects/hibernate/browse/HHH-2188
+ }
+ if (returnAliases == null) {
+ Type[] t;
+ try {
+ t = query.getReturnTypes();
+ } catch (NullPointerException npe) {
+ t = new Type[] { null };
+ // ignore - http://opensource.atlassian.com/projects/hibernate/browse/HHH-2188
+ }
+ res = new ArrayList<String>(t.length);
+ for (int i = 0; i < t.length; i++) {
+ Type type = t[i];
+ if (type == null) {
+ res.add("<multiple types>"); //$NON-NLS-1$
+ } else {
+ res.add(type.getName());
+ }
+ }
+ } else {
+ String[] t = returnAliases;
+ res = new ArrayList<String>(t.length);
+ for (int i = 0; i < t.length; i++) {
+ res.add(t[i]);
+ }
+ }
+ } catch (HibernateException e) {
+ exceptions.add(e);
+ }
+ return res;
+ }
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStubFactory.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStubFactory.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/stubs/SessionStubFactory.java 2010-03-17 12:09:59 UTC (rev 20874)
@@ -0,0 +1,155 @@
+package org.hibernate.console.stubs;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.hibernate.SessionFactory;
+import org.hibernate.cfg.Configuration;
+import org.hibernate.console.ConsoleMessages;
+import org.hibernate.console.execution.ExecutionContext;
+import org.hibernate.console.util.ELTransformer;
+import org.hibernate.console.util.QLFormatHelper;
+import org.hibernate.engine.query.HQLQueryPlan;
+import org.hibernate.hql.QueryTranslator;
+import org.hibernate.impl.SessionFactoryImpl;
+import org.hibernate.metadata.ClassMetadata;
+import org.hibernate.metadata.CollectionMetadata;
+import org.hibernate.type.Type;
+
+public class SessionStubFactory {
+
+ protected ExecutionContext executionContext;
+ protected SessionFactory sessionFactory;
+
+ public SessionStubFactory(ExecutionContext executionContext, Configuration cfg) {
+ this.executionContext = executionContext;
+ sessionFactory = cfg.buildSessionFactory();
+ }
+
+ public boolean isSessionFactoryCreated() {
+ return sessionFactory != null;
+ }
+
+ public SessionStub openSession() {
+ if (sessionFactory != null) {
+ return new SessionStub(executionContext, sessionFactory.openSession());
+ }
+ return null;
+ }
+
+ public void close() {
+ if (sessionFactory != null) {
+ sessionFactory.close();
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ public List<String> getClasses() {
+ List<String> res = Collections.emptyList();
+ if (sessionFactory != null) {
+ res = new ArrayList<String>();
+ res.addAll(sessionFactory.getAllClassMetadata().keySet());
+ }
+ return res;
+ }
+
+ // TODO: get rid of this - ClassMetadata - should not be public
+ @SuppressWarnings("unchecked")
+ public Map<String, ClassMetadata> getClassMetaData() {
+ if (sessionFactory == null) {
+ return new HashMap<String, ClassMetadata>();
+ }
+ return sessionFactory.getAllClassMetadata();
+ }
+ // TODO: get rid of this - ClassMetadata - should not be public
+ @SuppressWarnings("unchecked")
+ public Map<String, CollectionMetadata> getCollectionMetaData() {
+ if (sessionFactory == null) {
+ return new HashMap<String, CollectionMetadata>();
+ }
+ return sessionFactory.getAllCollectionMetadata();
+ }
+
+ /**
+ * Given a ConsoleConfiguration and a query this method validates the query through hibernate if
+ * a sessionfactory is available.
+ *
+ * @param query
+ * @param allowEL
+ * if true, EL syntax will be replaced as a named variable
+ */
+ public void checkQuery(String query, boolean allowEL) {
+ if (sessionFactory != null) {
+ if (allowEL) {
+ query = ELTransformer.removeEL(query);
+ }
+ new HQLQueryPlan(query, false, Collections.EMPTY_MAP,
+ (SessionFactoryImpl) sessionFactory);
+ }
+ }
+
+ public String generateSQL(String query) {
+ try {
+ SessionFactoryImpl sfimpl = (SessionFactoryImpl) sessionFactory; // hack - to get to the
+ // actual queries..
+ StringBuffer str = new StringBuffer(256);
+ HQLQueryPlan plan = new HQLQueryPlan(query, false, Collections.EMPTY_MAP, sfimpl);
+
+ QueryTranslator[] translators = plan.getTranslators();
+ for (int i = 0; i < translators.length; i++) {
+ QueryTranslator translator = translators[i];
+ if (translator.isManipulationStatement()) {
+ str.append(ConsoleMessages.DynamicSQLPreviewView_manipulation_of + i
+ + ":"); //$NON-NLS-1$
+ Iterator<?> iterator = translator.getQuerySpaces().iterator();
+ while (iterator.hasNext()) {
+ Object qspace = iterator.next();
+ str.append(qspace);
+ if (iterator.hasNext()) {
+ str.append(", ");} //$NON-NLS-1$
+ }
+
+ } else {
+ Type[] returnTypes = translator.getReturnTypes();
+ str.append(i + ": "); //$NON-NLS-1$
+ for (int j = 0; j < returnTypes.length; j++) {
+ Type returnType = returnTypes[j];
+ str.append(returnType.getName());
+ if (j < returnTypes.length - 1) {
+ str.append(", ");} //$NON-NLS-1$
+ }
+ }
+ str.append("\n-----------------\n"); //$NON-NLS-1$
+ Iterator<?> sqls = translator.collectSqlStrings().iterator();
+ while (sqls.hasNext()) {
+ String sql = (String) sqls.next();
+ str.append(QLFormatHelper.formatForScreen(sql));
+ str.append("\n\n"); //$NON-NLS-1$
+ }
+ }
+ return str.toString();
+ } catch (Throwable t) {
+ // StringWriter sw = new StringWriter();
+ StringBuffer msgs = new StringBuffer();
+
+ Throwable cause = t;
+ while (cause != null) {
+ msgs.append(t);
+ if (cause.getCause() == cause) {
+ cause = null;
+ } else {
+ cause = cause.getCause();
+ if (cause != null)
+ msgs.append(ConsoleMessages.DynamicSQLPreviewView_caused_by);
+ }
+ }
+ // t.printStackTrace(new PrintWriter(sw));
+ // return sw.getBuffer().toString();
+ return msgs.toString();
+ }
+ }
+}
Added: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ExternalProcessAction.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ExternalProcessAction.java (rev 0)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ExternalProcessAction.java 2010-03-17 12:09:59 UTC (rev 20874)
@@ -0,0 +1,40 @@
+package org.hibernate.eclipse.console.actions;
+
+import org.eclipse.jface.viewers.StructuredViewer;
+import org.hibernate.console.ConsoleConfiguration;
+
+public class ExternalProcessAction extends ConsoleConfigurationBasedAction {
+
+ public static final String EXTERNALPROCESS_ACTIONID = "actionid.externalprocess"; //$NON-NLS-1$
+
+ private StructuredViewer viewer;
+
+ /**
+ * @param text
+ */
+ protected ExternalProcessAction(String text) {
+ super(text);
+ setId(EXTERNALPROCESS_ACTIONID);
+ }
+
+ /**
+ * @param selectionProvider
+ */
+ public ExternalProcessAction(StructuredViewer selectionProvider) {
+ super("Run ExternalProcess");
+ this.viewer = selectionProvider;
+ setId(EXTERNALPROCESS_ACTIONID);
+ }
+
+ public void doRun() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.hibernate.eclipse.console.actions.SessionFactoryBasedAction#updateState(org.hibernate.console.ConsoleConfiguration)
+ */
+ protected boolean updateState(ConsoleConfiguration consoleConfiguration) {
+ return consoleConfiguration.hasConfiguration();
+ }
+}
Modified: branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2010-03-17 11:23:37 UTC (rev 20873)
+++ branches/hibernatetools-multiversion/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2010-03-17 12:09:59 UTC (rev 20874)
@@ -592,7 +592,11 @@
sValue.setTypeName(tb.getBinaryName());
sValue.setFetchMode(FetchMode.JOIN);
RootClass associatedClass = rootClasses.get(ref.fullyQualifiedName);
- sValue.setReferencedEntityName(associatedClass.getEntityName());
+ if (associatedClass != null){
+ sValue.setReferencedEntityName(associatedClass.getEntityName());
+ } else {
+ sValue.setReferencedPropertyName(ref.fullyQualifiedName);
+ }
buildProperty(sValue);
prop.setCascade("none");//$NON-NLS-1$
} else {
Modified: branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java
===================================================================
--- branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java 2010-03-17 11:23:37 UTC (rev 20873)
+++ branches/hibernatetools-multiversion/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/KnownConfigurationsTest.java 2010-03-17 12:09:59 UTC (rev 20874)
@@ -8,7 +8,6 @@
import junit.framework.TestCase;
-import org.hibernate.SessionFactory;
import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.console.KnownConfigurations;
import org.hibernate.console.KnownConfigurationsAdapter;
14 years, 6 months
JBoss Tools SVN: r20873 - in trunk/jsf/docs/jsf_tools_tutorial/en-US: images/jsf_application and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2010-03-17 07:23:37 -0400 (Wed, 17 Mar 2010)
New Revision: 20873
Modified:
trunk/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_9.png
trunk/jsf/docs/jsf_tools_tutorial/en-US/master_output.xml
trunk/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-924 - Updated some screens and text to use regular server's view
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/images/jsf_application/jsf_application_9.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/master_output.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en-US/master_output.xml 2010-03-17 10:56:23 UTC (rev 20872)
+++ trunk/jsf/docs/jsf_tools_tutorial/en-US/master_output.xml 2010-03-17 11:23:37 UTC (rev 20873)
@@ -797,9 +797,9 @@
<title>Running the Application</title>
<para>Everything is now ready for running our application by using the JBoss engine. For
- controlling JBoss server there is JBoss Server view:</para>
+ controlling JBoss server there is Servers view:</para>
<figure float="0">
- <title>JBoss Server View</title>
+ <title>Servers view</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/jsf_application/jsf_application_9.png"></imagedata>
@@ -808,7 +808,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Start up JBoss by clicking on the icon in JBoss Server view. (If JBoss is
+ <para>Start up JBoss by clicking on the icon in Servers view. (If JBoss is
already running, stop it by clicking on the red icon and then start it again.
Remember, the JSF run-time requires restarting the servlet engine when any
changes have been made.) After the messages in the Console tabbed view stop
Modified: trunk/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml 2010-03-17 10:56:23 UTC (rev 20872)
+++ trunk/jsf/docs/jsf_tools_tutorial/en-US/running_application.xml 2010-03-17 11:23:37 UTC (rev 20873)
@@ -11,9 +11,9 @@
<title>Running the Application</title>
<para>Everything is now ready for running our application by using the JBoss engine. For
- controlling JBoss server there is JBoss Server view:</para>
+ controlling JBoss server there is Servers view:</para>
<figure>
- <title>JBoss Server View</title>
+ <title>Servers view</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/jsf_application/jsf_application_9.png"/>
@@ -22,7 +22,7 @@
</figure>
<itemizedlist>
<listitem>
- <para>Start up JBoss by clicking on the icon in JBoss Server view. (If JBoss is
+ <para>Start up JBoss by clicking on the icon in Servers view. (If JBoss is
already running, stop it by clicking on the red icon and then start it again.
Remember, the JSF run-time requires restarting the servlet engine when any
changes have been made.) After the messages in the Console tabbed view stop
14 years, 6 months
JBoss Tools SVN: r20872 - in trunk/esb/docs/esb_ref_guide/en-US: images/esb_project and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2010-03-17 06:56:23 -0400 (Wed, 17 Mar 2010)
New Revision: 20872
Modified:
trunk/esb/docs/esb_ref_guide/en-US/esb_support.xml
trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/09_esb_runtime_new.png
trunk/esb/docs/esb_ref_guide/en-US/master_output.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-924 - Updated some screens and text to use regular server's view
Modified: trunk/esb/docs/esb_ref_guide/en-US/esb_support.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/esb_support.xml 2010-03-17 10:45:17 UTC (rev 20871)
+++ trunk/esb/docs/esb_ref_guide/en-US/esb_support.xml 2010-03-17 10:56:23 UTC (rev 20872)
@@ -195,9 +195,9 @@
<title>Deploying a ESB Project</title>
<para>In this chapter you will see how to deploy a ESB project using the WTP deployment framework.</para>
- <para>Before deploying the project, open the JBoss Server View by selecting <emphasis><property>Window > Show View > Other >
- Server > JBoss Server View</property></emphasis>,
- create a JBoss Server in the Server view and start it, and then right click the created JBoss server,
+ <para>Before deploying the project, open the Servers view by selecting <emphasis><property>Window > Show View > Other >
+ Server > Servers</property></emphasis>,
+ create a JBoss Server in the Servers view and start it, and then right click the created JBoss server,
select <emphasis><property> </property> Add and Remove Projects</emphasis>,
and add the ESB projects you want to deploy from the left side to the right side in the opened dialog. </para>
@@ -214,7 +214,7 @@
You also can drag the ESB project from the Project View to the server.</para>
<figure>
- <title>JBoss Server View</title>
+ <title>Servers view</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/esb_project/09_esb_runtime_new.png"/>
Modified: trunk/esb/docs/esb_ref_guide/en-US/images/esb_project/09_esb_runtime_new.png
===================================================================
(Binary files differ)
Modified: trunk/esb/docs/esb_ref_guide/en-US/master_output.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en-US/master_output.xml 2010-03-17 10:45:17 UTC (rev 20871)
+++ trunk/esb/docs/esb_ref_guide/en-US/master_output.xml 2010-03-17 10:56:23 UTC (rev 20872)
@@ -371,9 +371,9 @@
<title>Deploying a ESB Project</title>
<para>In this chapter you will see how to deploy a ESB project using the WTP deployment framework.</para>
- <para>Before deploying the project, open the JBoss Server View by selecting <emphasis><property moreinfo="none">Window > Show View > Other >
- Server > JBoss Server View</property></emphasis>,
- create a JBoss Server in the Server view and start it, and then right click the created JBoss server,
+ <para>Before deploying the project, open the Servers view by selecting <emphasis><property moreinfo="none">Window > Show View > Other >
+ Server > Servers</property></emphasis>,
+ create a JBoss Server in the Servers view and start it, and then right click the created JBoss server,
select <emphasis><property moreinfo="none"> </property> Add and Remove Projects</emphasis>,
and add the ESB projects you want to deploy from the left side to the right side in the opened dialog. </para>
@@ -390,7 +390,7 @@
You also can drag the ESB project from the Project View to the server.</para>
<figure float="0">
- <title>JBoss Server View</title>
+ <title>Servers view</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/esb_project/09_esb_runtime_new.png"></imagedata>
14 years, 6 months
JBoss Tools SVN: r20871 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-03-17 06:45:17 -0400 (Wed, 17 Mar 2010)
New Revision: 20871
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-6067 remove unnecessary file
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml 2010-03-17 10:43:49 UTC (rev 20870)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml 2010-03-17 10:45:17 UTC (rev 20871)
@@ -1,7 +0,0 @@
-<tests>
- <test id="sub1">
- <SELECT CLASS="myStyle0" STYLE="color: red; font-size: large;" MULTIPLE="multiple" SIZE="3">
-<!-- <f:selectItem id="it1_2" itemLabel="Sports" itemValue="2" />-->
-</SELECT>
- </test>
-</tests>
\ No newline at end of file
14 years, 6 months
JBoss Tools SVN: r20870 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067 and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-03-17 06:43:49 -0400 (Wed, 17 Mar 2010)
New Revision: 20870
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/VisualRefreshComment_JBIDE6067.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6067 - fixed.
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp 2010-03-17 10:43:49 UTC (rev 20870)
@@ -0,0 +1,27 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
+
+<f:loadBundle var="msg" basename="demo.Messages" />
+
+<html>
+ <head>
+ <title> Test h:selectManyListbox in VPE </title>
+ <style type="text/css">
+ .myStyle0 {background: aqua; }
+ .myStyle1 {background: yellow;}
+ .myStyle2 {background: green; font-style: italic;}
+ </style>
+ </head>
+ <body>
+ <f:view>
+ <h:selectManyListbox id="sub1" value="#{user.name}"
+ disabled="false"
+ dir="LTR" size="3"
+ style="color: red; font-size: large;"
+ styleClass="myStyle0"
+ enabledClass="myStyle1" disabledClass="myStyle2" >
+ <!-- --> <f:selectItem id="it1_2" itemLabel="Sports" itemValue="2" />
+ </h:selectManyListbox>
+ </f:view>
+ </body>
+</html>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/6067/JBIDE-6067.jsp.xml 2010-03-17 10:43:49 UTC (rev 20870)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="sub1">
+ <SELECT CLASS="myStyle0" STYLE="color: red; font-size: large;" MULTIPLE="multiple" SIZE="3">
+<!-- <f:selectItem id="it1_2" itemLabel="Sports" itemValue="2" />-->
+</SELECT>
+ </test>
+</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-03-17 04:57:29 UTC (rev 20869)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-03-17 10:43:49 UTC (rev 20870)
@@ -97,6 +97,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TestForUsingComponentsLibrariesWithDefaultNamespace;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.TestOpenOnForXhtmlFiles_JBIDE5577;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.VPERefreshTest;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.VisualRefreshComment_JBIDE6067;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.VpeI18nTest_JBIDE4887;
import org.jboss.tools.vpe.ui.test.VpeTestSetup;
@@ -213,6 +214,7 @@
suite.addTestSuite(FacetProcessingTest.class);
suite.addTestSuite(RefreshBundles_JBIDE5460.class);
suite.addTestSuite(ExceptionInVPEComments_JBIDE5143.class);
+ suite.addTestSuite(VisualRefreshComment_JBIDE6067.class);
// $JUnit-END$
return new VpeTestSetup(suite);
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/VisualRefreshComment_JBIDE6067.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/VisualRefreshComment_JBIDE6067.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/VisualRefreshComment_JBIDE6067.java 2010-03-17 10:43:49 UTC (rev 20870)
@@ -0,0 +1,82 @@
+/*******************************************************************************
+ * Copyright (c) 2007-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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jsf.vpe.jsf.test.jbide;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.swt.custom.StyledText;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.part.FileEditorInput;
+import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMNode;
+import org.mozilla.interfaces.nsIDOMNodeList;
+
+/**
+ *
+ * @author yzhishko
+ *
+ */
+
+public class VisualRefreshComment_JBIDE6067 extends VpeTest {
+
+ public VisualRefreshComment_JBIDE6067(String name) {
+ super(name);
+ }
+
+ public void testVisualRefreshComment() throws Throwable{
+ setException(null);
+ IFile file = (IFile) TestUtil.getComponentPath("JBIDE/6067/JBIDE-6067.jsp", //$NON-NLS-1$
+ JsfAllTests.IMPORT_PROJECT_NAME);
+ IEditorInput editorInput = new FileEditorInput(file);
+ JSPMultiPageEditor part = openEditor(editorInput);
+ TestUtil.delay(3000);
+ TestUtil.waitForIdle();
+ StyledText styledText = part.getSourceEditor().getTextViewer()
+ .getTextWidget();
+ String delimiter = styledText.getLineDelimiter();
+ int offset = styledText.getOffsetAtLine(23);
+ offset = offset - delimiter.length() - "--> <f:selectItem id=\"it1_2\" itemLabel=\"Sports\" itemValue=\"2\" />".length(); //$NON-NLS-1$
+ styledText.setCaretOffset(offset);
+ styledText.setSelection(offset, offset + 3);
+ styledText.insert(""); //$NON-NLS-1$
+ TestUtil.delay(1000);
+ TestUtil.waitForIdle();
+ offset = styledText.getOffsetAtLine(23)-delimiter.length();
+ styledText.setCaretOffset(offset);
+ styledText.insert(">"); //$NON-NLS-1$
+ TestUtil.delay(1000);
+ TestUtil.waitForIdle();
+ styledText.insert("-"); //$NON-NLS-1$
+ TestUtil.delay(1000);
+ TestUtil.waitForIdle();
+ styledText.insert("-"); //$NON-NLS-1$
+ TestUtil.delay(1000);
+ TestUtil.waitForIdle();
+ checkVisualPart(part);
+ }
+
+ private void checkVisualPart (JSPMultiPageEditorPart editorPart){
+ nsIDOMDocument visualDoc = TestUtil.getVpeVisualDocument((JSPMultiPageEditor)editorPart);
+ nsIDOMNodeList nodeList = visualDoc.getElementsByTagName("SELECT"); //$NON-NLS-1$
+ assertNotNull("There are no SELECT elements in a visual DOM", nodeList); //$NON-NLS-1$
+ assertTrue("There are no SELECT elements in a visual DOM", nodeList.getLength() > 0); //$NON-NLS-1$
+ nsIDOMNode commentNode = nodeList.item(0).getChildNodes().item(1);
+ String nodeValue = commentNode.getNodeValue();
+ assertEquals("SELECT element contents incorrect comment node", nsIDOMNode.COMMENT_NODE, commentNode.getNodeType()); //$NON-NLS-1$
+ assertEquals(" <f:selectItem id=\"it1_2\" itemLabel=\"Sports\" itemValue=\"2\" />", nodeValue); //$NON-NLS-1$
+ }
+
+}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-03-17 04:57:29 UTC (rev 20869)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-03-17 10:43:49 UTC (rev 20870)
@@ -197,6 +197,8 @@
private boolean mouseDownSelectionFlag;
private boolean sourceChangeFlag;
private boolean commentNodeChanged;
+ private int commentRemoveCount = 0;
+ private int commentAddCount = 0;
private VpePageContext pageContext;
private BundleMap bundle;
private VpeEditorPart editPart;
@@ -705,6 +707,9 @@
* we should remove all parent nodes from vpe cash
*/
visualBuilder.removeNode((Node) newValue);
+ commentAddCount--;
+ } else if (newValue instanceof Node && Node.COMMENT_NODE == ((Node) newValue).getNodeType()) {
+ commentAddCount++;
}
break;
@@ -715,9 +720,11 @@
* structure, only the comment node should be updated.
*/
if (Node.COMMENT_NODE == ((Node) feature).getNodeType()) {
+ commentRemoveCount++;
visualBuilder.updateNode((Node) feature);
commentNodeChanged = true;
} else {
+ commentRemoveCount--;
visualBuilder.stopToggle((Node) feature);
visualBuilder.removeNode((Node) feature);
}
@@ -728,13 +735,20 @@
* https://jira.jboss.org/jira/browse/JBIDE-4102 Do not update
* parent tag when a comment was changed,
*/
- if (!commentNodeChanged) {
+
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-6067 Update if action
+ * is connected with add or remove comment
+ */
+ if (!commentNodeChanged ||(commentNodeChanged && (commentAddCount != 1 || commentRemoveCount != 1))) {
visualEditor.hideResizer();
visualBuilder.setSelectionRectangle(null);
visualBuilder.updateNode((Node) notifier);
} else {
commentNodeChanged = false;
}
+ commentAddCount = 0;
+ commentRemoveCount = 0;
break;
case INodeNotifier.CONTENT_CHANGED:
if (!sourceChangeFlag) {
14 years, 6 months
JBoss Tools SVN: r20869 - branches/jbosstools-3.1.x/struts/docs/struts_tools_ref_guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-03-17 00:57:29 -0400 (Wed, 17 Mar 2010)
New Revision: 20869
Modified:
branches/jbosstools-3.1.x/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml
Log:
updated subtitle
Modified: branches/jbosstools-3.1.x/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml
===================================================================
--- branches/jbosstools-3.1.x/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml 2010-03-17 04:57:24 UTC (rev 20868)
+++ branches/jbosstools-3.1.x/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml 2010-03-17 04:57:29 UTC (rev 20869)
@@ -1,4 +1,4 @@
<?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" [
]>
-<bookinfo><title>Struts Tools Reference Guide</title><subtitle>Provides information relating to the BPMN Convert module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Struts Tools Reference Guide explains how to use the Struts Tools to create high-quality web applications.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
+<bookinfo><title>Struts Tools Reference Guide</title><subtitle>Provides information relating to the Struts Tools module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Struts Tools Reference Guide explains how to use the Struts Tools to create high-quality web applications.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
14 years, 6 months
JBoss Tools SVN: r20868 - trunk/struts/docs/struts_tools_ref_guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-03-17 00:57:24 -0400 (Wed, 17 Mar 2010)
New Revision: 20868
Modified:
trunk/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml
Log:
updated subtitle
Modified: trunk/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml 2010-03-17 04:55:48 UTC (rev 20867)
+++ trunk/struts/docs/struts_tools_ref_guide/en-US/Book_Info.xml 2010-03-17 04:57:24 UTC (rev 20868)
@@ -1,4 +1,4 @@
<?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" [
]>
-<bookinfo><title>Struts Tools Reference Guide</title><subtitle>Provides information relating to the BPMN Convert module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Struts Tools Reference Guide explains how to use the Struts Tools to create high-quality web applications.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
+<bookinfo><title>Struts Tools Reference Guide</title><subtitle>Provides information relating to the Struts Tools module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Struts Tools Reference Guide explains how to use the Struts Tools to create high-quality web applications.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
14 years, 6 months
JBoss Tools SVN: r20867 - branches/jbosstools-3.1.x/documentation/guides/GettingStartedGuide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-03-17 00:55:48 -0400 (Wed, 17 Mar 2010)
New Revision: 20867
Modified:
branches/jbosstools-3.1.x/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
Log:
updated subtitle
Modified: branches/jbosstools-3.1.x/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
===================================================================
--- branches/jbosstools-3.1.x/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2010-03-17 04:55:42 UTC (rev 20866)
+++ branches/jbosstools-3.1.x/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2010-03-17 04:55:48 UTC (rev 20867)
@@ -1,4 +1,4 @@
<?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" [
]>
-<bookinfo><title>Getting Started Guide</title><subtitle>Provides information relating to the BPMN Convert module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Getting Started Guide explains the JBoss Developer Studio.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
+<bookinfo><title>Getting Started Guide</title><subtitle>Provides information on how the JBoss Developer Studio functions.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Getting Started Guide explains the JBoss Developer Studio.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
14 years, 6 months
JBoss Tools SVN: r20866 - trunk/documentation/guides/GettingStartedGuide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-03-17 00:55:42 -0400 (Wed, 17 Mar 2010)
New Revision: 20866
Modified:
trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
Log:
updated subtitle
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2010-03-17 02:02:13 UTC (rev 20865)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/Book_Info.xml 2010-03-17 04:55:42 UTC (rev 20866)
@@ -1,4 +1,4 @@
<?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" [
]>
-<bookinfo><title>Getting Started Guide</title><subtitle>Provides information relating to the BPMN Convert module.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Getting Started Guide explains the JBoss Developer Studio.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
+<bookinfo><title>Getting Started Guide</title><subtitle>Provides information on how the JBoss Developer Studio functions.</subtitle><productname>JBoss Developer Studio</productname><productnumber>3.0</productnumber><edition>1.0</edition><pubsnumber>0</pubsnumber><abstract><para>The Getting Started Guide explains the JBoss Developer Studio.</para></abstract><corpauthor><inlinemediaobject><imageobject><imagedata fileref="Common_Content/images/title_logo.svg" format="SVG"></imagedata></imageobject></inlinemediaobject></corpauthor><xi:include href="Common_Content/Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include><xi:include href="Author_Group.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include></bookinfo>
14 years, 6 months
JBoss Tools SVN: r20865 - branches/jbosstools-3.1.x/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-03-16 22:02:13 -0400 (Tue, 16 Mar 2010)
New Revision: 20865
Modified:
branches/jbosstools-3.1.x/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
Log:
fixed ordering of known issues
Modified: branches/jbosstools-3.1.x/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- branches/jbosstools-3.1.x/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2010-03-17 02:02:10 UTC (rev 20864)
+++ branches/jbosstools-3.1.x/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2010-03-17 02:02:13 UTC (rev 20865)
@@ -12,6 +12,11 @@
<itemizedlist>
<listitem>
<para>
+ <ulink url="https://jira.jboss.org/jira/browse/JBDS-1155">JBDS-1155</ulink>: EAR projects that use classpath variable references to JAR files get packaged in <filename>/lib/lib</filename> instead of <filename>/lib</filename>. This is due to a bug in Eclipse WTP, for which a bug fix will be released shortly. Until the bug fix is made available, it is possible to avoid this issue by editing the <filename>.settings/org.eclipse.wst.common.component</filename> file and removing the <property>archiveName</property> attributes.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-3623">JBIDE-3623</ulink>: If you use the community Seam versions 2.1.0.SP1 or 2.1.1 TestNG for WAR projects they will fail with the error <errorname>Two components with the same name and precedence</errorname>. There is no known workaround, however all other Seam releases work correctly and all Seam 2.1 EAR projects are successful.
</para>
</listitem>
@@ -25,11 +30,6 @@
</para>
</important>
</listitem>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/jira/browse/JBDS-1155">JBDS-1155</ulink>: EAR projects that use classpath variable references to JAR files get packaged in <filename>/lib/lib</filename> instead of <filename>/lib</filename>. This is due to a bug in Eclipse WTP, for which a bug fix will be released shortly. Until the bug fix is made available, it is possible to avoid this issue by editing the <filename>.settings/org.eclipse.wst.common.component</filename> file and removing the <property>archiveName</property> attributes.
- </para>
- </listitem>
</itemizedlist>
</para>
</formalpara>
14 years, 6 months