JBoss Tools SVN: r29129 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks: configuration/editors and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2011-02-14 01:18:19 -0500 (Mon, 14 Feb 2011)
New Revision: 29129
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeMetadata.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SelectorCreationDialog.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean12/PropertiesAndSetterMethodSearchFieldEditorCreator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksGraphicalEditorPart.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchShortcut.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java
Log:
JIBDE-7509
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeMetadata.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeMetadata.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/RuntimeMetadata.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -50,7 +50,7 @@
* @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly(a)jboss.com</a>
*/
public class RuntimeMetadata {
-
+ private String inputClassName = null;
private Smooks metadataExtractor;
private boolean isSmooksConfig;
private boolean isValidSmooksConfig;
@@ -70,7 +70,21 @@
// Build dependency map...
RuntimeDependency.addDependencyChecklist(metadataExtractor);
}
+
+
+ public String getInputClassName() {
+ return inputClassName;
+ }
+
+
+
+ public void setInputClassName(String inputClassName) {
+ this.inputClassName = inputClassName;
+ }
+
+
+
public boolean isSmooksConfig() {
return isSmooksConfig;
}
@@ -188,19 +202,24 @@
if (inputType != null) {
String inputPath = inputParams.getProperty(inputType);
if (inputPath != null) {
- String resolvedFilePath;
+ String resolvedFilePath = null;
try {
resolvedFilePath = SmooksUIUtils.parseFilePath(inputPath.trim());
} catch (Exception e) {
// It's not a valid config...
inputFile = new File(inputPath.trim());
- return;
+// return;
}
-
- inputFile = new File(resolvedFilePath);
- if (SmooksModelUtils.INPUT_TYPE_JAVA.equals(inputType) || (inputFile.exists() && inputFile.isFile())) {
+ if(resolvedFilePath != null){
+ inputFile = new File(resolvedFilePath);
+ }
+ if (SmooksModelUtils.INPUT_TYPE_JAVA.equals(inputType)){
isValidSmooksConfig = true;
+ setInputClassName(inputPath);
}
+ if ((inputFile.exists() && inputFile.isFile())) {
+ isValidSmooksConfig = true;
+ }
}
}
} catch (Exception e) {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SelectorCreationDialog.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SelectorCreationDialog.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SelectorCreationDialog.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -11,22 +11,10 @@
package org.jboss.tools.smooks.configuration.editors;
import java.util.ArrayList;
-import java.util.Collection;
import java.util.Collections;
-import java.util.EnumSet;
-import java.util.HashMap;
import java.util.Iterator;
-import java.util.LinkedHashSet;
import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.lang.reflect.Array;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.lang.reflect.ParameterizedType;
-import java.lang.reflect.Type;
-import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
@@ -35,8 +23,6 @@
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
-import org.w3c.dom.Document;
-
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.viewers.DoubleClickEvent;
@@ -70,8 +56,6 @@
import org.jboss.tools.smooks.configuration.editors.edireader12.EDIDataParser;
import org.jboss.tools.smooks.configuration.editors.input.InputParameter;
import org.jboss.tools.smooks.configuration.editors.input.InputType;
-import org.jboss.tools.smooks.configuration.editors.javabean12.JavaBeanModel;
-import org.jboss.tools.smooks.configuration.editors.javabean12.JavaBeanModelFactory;
import org.jboss.tools.smooks.configuration.editors.uitls.JsonInputDataParser;
import org.jboss.tools.smooks.configuration.editors.uitls.SmooksUIUtils;
import org.jboss.tools.smooks.configuration.editors.wizard.StructuredDataSelectionWizard;
@@ -80,10 +64,12 @@
import org.jboss.tools.smooks.configuration.editors.xml.XMLObjectAnalyzer;
import org.jboss.tools.smooks.configuration.editors.xml.XSDObjectAnalyzer;
import org.jboss.tools.smooks.editor.ISmooksModelProvider;
+import org.jboss.tools.smooks.launch.JavaGraphBuilder;
import org.jboss.tools.smooks.model.smooks.DocumentRoot;
import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
import org.milyn.Smooks;
import org.milyn.payload.JavaSource;
+import org.w3c.dom.Document;
/**
* @author Dart (dpeng(a)redhat.com)
@@ -539,109 +525,6 @@
return super.close();
}
- public static class JavaGraphBuilder {
-
- public <T> T buildGraph(Class<T> messageType) {
- try {
- return buildObject(messageType);
- } catch (Exception e) {
- e.printStackTrace();
- throw new IllegalArgumentException("Unable to construct an instance of '" + messageType.getName() + "'", e);
- }
- }
-
- @SuppressWarnings("unchecked")
- private <T> T buildObject(Class<T> objectType) throws IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException {
-
- if(String.class.isAssignableFrom(objectType)) {
- return objectType.cast("x");
- } else if(Number.class.isAssignableFrom(objectType)) {
- return objectType.getConstructor(String.class).newInstance("1");
- } else if(objectType.isPrimitive()) {
- return (T) primitiveToObjectMap.get(objectType);
- } else if(objectType == Object.class) {
- // don't construct raw Object types... leave them and just return null...
- return null;
- } else if(objectType.isEnum()) {
- return (T) EnumSet.allOf((Class<Enum>)objectType).iterator().next();
- }
-
- T messageInstance = objectType.newInstance();
-
- // populate all the fields...
- Method[] methods = objectType.getMethods();
- for(Method method : methods) {
- if(method.getName().startsWith("set") && method.getParameterTypes().length == 1) {
- Class<?> propertyType = method.getParameterTypes()[0];
- Object propertyInstance = null;
-
- if(Collection.class.isAssignableFrom(propertyType)) {
- propertyInstance = buildCollection(method, propertyType);
- } else if(propertyType.isArray()) {
- propertyInstance = buildArray(method, propertyType);
- } else {
- propertyInstance = buildObject(propertyType);
- }
-
- if(propertyInstance != null) {
- method.invoke(messageInstance, propertyInstance);
- }
- }
- }
-
- return messageInstance;
- }
-
- private Object buildArray(Method method, Class<?> propertyType) throws ArrayIndexOutOfBoundsException, IllegalArgumentException, IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException {
- Class<?> arrayType = propertyType.getComponentType();
- Object[] arrayObj = (Object[]) Array.newInstance(arrayType, 1);
-
- Array.set(arrayObj, 0, buildObject(arrayType));
-
- return arrayObj;
- }
-
- private Object buildCollection(Method method, Class<?> propertyType) throws IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchMethodException {
- Type genericType = method.getGenericParameterTypes()[0];
-
- if(genericType instanceof ParameterizedType) {
- ParameterizedType genericTypeClass = (ParameterizedType) genericType;
- Collection collection = null;
-
- if(!propertyType.isInterface()) {
- // It's a concrete Collection type... just create an instance...
- collection = (Collection) propertyType.newInstance();
- }else if(List.class.isAssignableFrom(propertyType)) {
- collection = new ArrayList();
- } else if(Set.class.isAssignableFrom(propertyType)) {
- collection = new LinkedHashSet();
- }
-
- if(collection != null) {
- collection.add(buildObject((Class<Object>) genericTypeClass.getActualTypeArguments()[0]));
- return collection;
- }
- }
-
- return null;
- }
-
- private static final Map<Class, Object> primitiveToObjectMap;
-
- static {
- primitiveToObjectMap = new HashMap<Class, Object>();
- primitiveToObjectMap.put(int.class, 1);
- primitiveToObjectMap.put(long.class, 1L);
- primitiveToObjectMap.put(boolean.class, true);
- primitiveToObjectMap.put(float.class, 1f);
- primitiveToObjectMap.put(double.class, 1d);
- primitiveToObjectMap.put(char.class, '1');
- primitiveToObjectMap.put(byte.class, Byte.parseByte("1"));
- primitiveToObjectMap.put(short.class, 1);
- }
-
- }
-
public static Document getModel(Class<?> theModelClass) throws Exception {
try {
Object objectGraph = graphBuilder.buildGraph(theModelClass);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean12/PropertiesAndSetterMethodSearchFieldEditorCreator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean12/PropertiesAndSetterMethodSearchFieldEditorCreator.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean12/PropertiesAndSetterMethodSearchFieldEditorCreator.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -73,10 +73,10 @@
for (int i = 0; i < children.length; i++) {
Control child = children[i];
if(child instanceof Button){
- child.setEnabled(false);
+// child.setEnabled(false);
}
}
- editPart.getContentControl().setEnabled(false);
+// editPart.getContentControl().setEnabled(false);
return editPart;
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksGraphicalEditorPart.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksGraphicalEditorPart.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksGraphicalEditorPart.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -1122,6 +1122,8 @@
}
public boolean autoLayout(boolean animation) {
+ // disable the animation now
+ animation = false;
final GraphAnimation graphAnimation = new GraphAnimation();
HashMap<Object, Node> nodeMap = new HashMap<Object, Node>();
DirectedGraph directedGraph = collectionGraphInformation(nodeMap);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -80,8 +80,8 @@
launchMetadata.setSmooksConfig(project.findMember(smooksConfigName));
if(SmooksInputType.INPUT_TYPE_JAVA.equals(launchMetadata.getInputType())) {
- displayError(smooksConfigName, Messages.SmooksLaunchConfigurationDelegate_Error_Java_Unsupported);
- return;
+// displayError(smooksConfigName, Messages.SmooksLaunchConfigurationDelegate_Error_Java_Unsupported);
+// return;
} else if(!launchMetadata.isValidSmooksConfig()) {
displayError(smooksConfigName, launchMetadata.getErrorMessage());
return;
@@ -107,6 +107,9 @@
String inputType = launchMetadata.getInputType();
String inputPath = launchMetadata.getInputFile().getAbsolutePath();
+ if(SmooksInputType.INPUT_TYPE_JAVA.equals(launchMetadata.getInputType())) {
+ inputPath = launchMetadata.getInputClassName();
+ }
String nodeTypes = launchMetadata.getNodeTypesString();
runConfig.setProgramArguments(new String[] {launchMetadata.getConfigFile().getAbsolutePath(), inputType, inputPath, nodeTypes});
@@ -155,6 +158,7 @@
File wsRootDir = ResourcesPlugin.getWorkspace().getRoot().getRawLocation().toFile();
File wsTempClasses = new File(wsRootDir, "temp/launcher/classes"); //$NON-NLS-1$
+ writeClassToFilesys(JavaGraphBuilder.class, wsTempClasses);
writeClassToFilesys(SmooksLauncher.class, wsTempClasses);
writeClassToFilesys(SmooksInputType.class, wsTempClasses);
writeClassToFilesys(ProcessNodeType.class, wsTempClasses);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchShortcut.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchShortcut.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchShortcut.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -106,8 +106,8 @@
RuntimeMetadata metadata = new RuntimeMetadata();
metadata.setSmooksConfig(elementToLaunch);
if(SmooksInputType.INPUT_TYPE_JAVA.equals(metadata.getInputType())) {
- MessageDialog.openError(getShell(), Messages.SmooksLaunchShortcut_Title_Launch_Failed, Messages.SmooksLaunchConfigurationDelegate_Error_Java_Unsupported);
- return;
+// MessageDialog.openError(getShell(), Messages.SmooksLaunchShortcut_Title_Launch_Failed, Messages.SmooksLaunchConfigurationDelegate_Error_Java_Unsupported);
+// return;
} else if (!metadata.isValidSmooksConfig()) {
MessageDialog.openError(getShell(), Messages.SmooksLaunchShortcut_Title_Launch_Failed, metadata.getErrorMessage());
return;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java 2011-02-13 21:00:15 UTC (rev 29128)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java 2011-02-14 06:18:19 UTC (rev 29129)
@@ -30,6 +30,7 @@
import java.util.Properties;
import java.util.Set;
+import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import org.jboss.tools.smooks.configuration.ProcessNodeType;
@@ -37,6 +38,7 @@
import org.jboss.tools.smooks.launch.serialize.ObjectSerializer;
import org.milyn.Smooks;
import org.milyn.payload.JavaResult;
+import org.milyn.payload.JavaSource;
import org.milyn.payload.StringResult;
import org.xml.sax.SAXException;
@@ -59,54 +61,64 @@
if(args.length != 4) {
throw new RuntimeException(localizedMessages.getProperty("SmooksLauncher_Error_Expected_Four_Args")); //$NON-NLS-1$
}
-
+ Source inputSource = null;
if(args[1].equals(SmooksInputType.INPUT_TYPE_JAVA)) {
- System.out.println(localizedMessages.getProperty("SmooksLauncher_Error_Do_Not_Support_Java_Inputs")); //$NON-NLS-1$
+ Class<?> clazz;
+ try {
+ clazz = Class.forName(args[2]);
+ System.out.println(clazz);
+ JavaGraphBuilder graphBuilder = new JavaGraphBuilder();
+
+ Object objectGraph = graphBuilder.buildGraph(clazz);
+ inputSource = new JavaSource(objectGraph);
+ } catch (ClassNotFoundException e) {
+ System.out.println("Class not found \n" + e.getLocalizedMessage());
+ }
} else {
- File smooksConfig = new File(args[0]);
File input = new File(args[2]);
-
- assertFile(smooksConfig, "Smooks"); //$NON-NLS-1$
assertFile(input, "Input"); //$NON-NLS-1$
+ inputSource = new StreamSource(new FileInputStream(input));
+ }
+
+ File smooksConfig = new File(args[0]);
+ assertFile(smooksConfig, "Smooks"); //$NON-NLS-1$
+ Smooks smooks = new Smooks(smooksConfig.toURI().getPath());
+ try {
+ Set<ProcessNodeType> processNodeTypes = SmooksLauncher.fromNodeTypeString(args[3]);
+ JavaResult javaResult = new JavaResult();
+ boolean nothingDisplayed = true;
- Smooks smooks = new Smooks(smooksConfig.toURI().getPath());
- try {
- Set<ProcessNodeType> processNodeTypes = SmooksLauncher.fromNodeTypeString(args[3]);
- JavaResult javaResult = new JavaResult();
- boolean nothingDisplayed = true;
+ if(processNodeTypes.contains(ProcessNodeType.TEMPLATING)) {
+ StringResult stringResult = new StringResult();
- if(processNodeTypes.contains(ProcessNodeType.TEMPLATING)) {
- StringResult stringResult = new StringResult();
-
- smooks.filterSource(new StreamSource(new FileInputStream(input)), stringResult, javaResult);
- System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Templating_To_StreamResult") + " ...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ smooks.filterSource(inputSource, stringResult, javaResult);
+ System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Templating_To_StreamResult") + " ...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ System.out.println(" |--"); //$NON-NLS-1$
+ System.out.println(indent(stringResult.toString()));
+ System.out.println(" |--\n"); //$NON-NLS-1$
+ nothingDisplayed = false;
+ } else {
+ smooks.filterSource(inputSource, javaResult);
+ }
+ System.out.println("successfully");
+ Collection<ObjectSerializer> serializedJavaResults = ObjectSerializer.serialize(javaResult);
+ if(!serializedJavaResults.isEmpty()) {
+ System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Java_Mapping_Results") + "...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+
+ for(ObjectSerializer serializedJavaResult : serializedJavaResults) {
System.out.println(" |--"); //$NON-NLS-1$
- System.out.println(indent(stringResult.toString()));
- System.out.println(" |--\n"); //$NON-NLS-1$
- nothingDisplayed = false;
- } else {
- smooks.filterSource(new StreamSource(new FileInputStream(input)), javaResult);
+ System.out.println(indent(serializedJavaResult.getSerializedForm()));
+ System.out.println(" |--"); //$NON-NLS-1$
}
-
- Collection<ObjectSerializer> serializedJavaResults = ObjectSerializer.serialize(javaResult);
- if(!serializedJavaResults.isEmpty()) {
- System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Java_Mapping_Results") + "...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
- for(ObjectSerializer serializedJavaResult : serializedJavaResults) {
- System.out.println(" |--"); //$NON-NLS-1$
- System.out.println(indent(serializedJavaResult.getSerializedForm()));
- System.out.println(" |--"); //$NON-NLS-1$
- }
- nothingDisplayed = false;
- }
-
- if(nothingDisplayed) {
- System.out.println(localizedMessages.getProperty("SmooksLauncher_Nothing_To_Display")); //$NON-NLS-1$
- }
- } finally {
- smooks.close();
+ nothingDisplayed = false;
}
- }
+
+ if(nothingDisplayed) {
+ System.out.println(localizedMessages.getProperty("SmooksLauncher_Nothing_To_Display")); //$NON-NLS-1$
+ }
+ } finally {
+ smooks.close();
+ }
}
private static Properties loadLocalizedMessages() {
13 years, 11 months
JBoss Tools SVN: r29128 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-02-13 16:00:15 -0500 (Sun, 13 Feb 2011)
New Revision: 29128
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
Log:
General Documentation Updates
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-02-13 20:58:17 UTC (rev 29127)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-02-13 21:00:15 UTC (rev 29128)
@@ -9,7 +9,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>4.0</productnumber>
<edition>0</edition>
- <pubsnumber>15</pubsnumber>
+ <pubsnumber>16</pubsnumber>
<abstract>
<para>
These release notes contain important information related to the JBoss Developer Studio. New features,<!-- known problems,--> resources, and other current issues are addressed here.
13 years, 11 months
JBoss Tools SVN: r29127 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-02-13 15:58:17 -0500 (Sun, 13 Feb 2011)
New Revision: 29127
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
Log:
Made changes with suggestions from Max
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-02-13 04:06:53 UTC (rev 29126)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-02-13 20:58:17 UTC (rev 29127)
@@ -12,7 +12,7 @@
</listitem>
<listitem>
<para>
- JBoss Tools 3.2.1
+ JBoss Tools 3.2.0
</para>
</listitem>
<listitem>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml 2011-02-13 04:06:53 UTC (rev 29126)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml 2011-02-13 20:58:17 UTC (rev 29127)
@@ -5,9 +5,13 @@
</title>
<para>
- Following is a list of new and noteworthy features and bug fixes in this release:
+ The following list highlights new features that have been added to this release, as well as listing some notable bug fixes. You can find a complete list of bug fixes <ulink url="https://issues.jboss.org/browse/JBIDE">here</ulink>.
</para>
- <formalpara>
+ <!--
+
+ BIRT is no longer shipped with JBDS 4.0
+
+ <formalpara>
<title>BIRT</title>
<para>
<itemizedlist>
@@ -18,7 +22,7 @@
</listitem>
</itemizedlist>
</para>
- </formalpara>
+ </formalpara> -->
<formalpara>
<title>Contexts and Dependency Injection (CDI)</title>
<para>
@@ -476,6 +480,8 @@
</itemizedlist>
</para>
</formalpara>
+ <!-- Google Web Toolkit is only shipped with JBoss.org
+
<formalpara>
<title>Google Web Toolkit</title>
<para>
@@ -518,7 +524,7 @@
</listitem>
</itemizedlist>
</para>
- </formalpara>
+ </formalpara> -->
<formalpara>
<title>Hibernate</title>
<para>
@@ -583,11 +589,12 @@
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6473">JBIDE-6473</ulink>: A new Hibernate platform has been added called <emphasis>Hibernate JPA 2.0</emphasis>. This platform extends the base JPA 2.0 platform.
</para>
</listitem>
+ <!-- This issue was rolled back
<listitem>
<para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6423">JBIDE-6423</ulink>: A new feature that allows for code generation to be run in external processes has been added. This new feature is accessed through the <guilabel>Hibernate Code Generation Configurations</guilabel> wizard in the form of a checkbox called <guilabel>Use generation in external process</guilabel>.
</para>
- </listitem>
+ </listitem> -->
<listitem>
<para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-6120">JBIDE-6120</ulink>: Superclass properties were not shown in code completion, within the <guilabel>HQLEditor</guilabel>. A new feature has been added for this release that enables superclass properties to appear when using code completion within the <guilabel>HQLEditor</guilabel>.
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-02-13 04:06:53 UTC (rev 29126)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-02-13 20:58:17 UTC (rev 29127)
@@ -5,11 +5,11 @@
JBoss Developer Studio provides an integrated development environment for developers to build rich Web and enterprise applications, and SOA services. The technologies used include:
</para>
<itemizedlist>
- <listitem>
+ <!--<listitem>
<para>
BIRT
</para>
- </listitem>
+ </listitem> -->
<listitem>
<para>
Contexts and Dependency Injection (CDI)
@@ -80,6 +80,6 @@
JBoss Developer Studio includes both certified visual tooling and a runtime platform (that Red Hat supports for 3 years (Limited) and 5 years respectively), ensuring developers of a stable, upgradable, deployable and supportable platform.
</para>
<para>
- JBoss Developer Studio is available for Windows, Linux and MacOS.
+ JBoss Developer Studio is available for Windows, Linux and OS X.
</para>
</section>
13 years, 11 months
JBoss Tools SVN: r29126 - trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide.
by jbosstools-commits@lists.jboss.org
Author: benlc
Date: 2011-02-12 23:06:53 -0500 (Sat, 12 Feb 2011)
New Revision: 29126
Modified:
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg
Log:
'committing change to back to JBoss brand'
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg
===================================================================
--- trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg 2011-02-13 04:03:52 UTC (rev 29125)
+++ trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg 2011-02-13 04:06:53 UTC (rev 29126)
@@ -3,7 +3,7 @@
xml_lang: en-US
type: Book
-brand: common
+brand: JBoss
show_remarks: 1
max_image_width: 444
13 years, 11 months
JBoss Tools SVN: r29125 - in trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide: en-US and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: benlc
Date: 2011-02-12 23:03:52 -0500 (Sat, 12 Feb 2011)
New Revision: 29125
Modified:
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg
Log:
'minor correction for reponse header description'
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml
===================================================================
--- trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml 2011-02-13 03:45:18 UTC (rev 29124)
+++ trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml 2011-02-13 04:03:52 UTC (rev 29125)
@@ -1,4 +1,4 @@
-c<?xml version='1.0' encoding='utf-8' ?>
+<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
%BOOK_ENTITIES;
@@ -201,7 +201,7 @@
</textobject>
</mediaobject>
</figure>
- <para>In this instance, the response header or console do not indicate an update was performed, however, the console may provide useful information following an operation.</para>
+ <para>The response header indicates the the server has fulfilled the request (Status Code 204). In this instance, the console does not indicate an update was performed, however, the console may provide useful information following an operation.</para>
<para>&HORIZ_LINE;</para>
</step>
</substeps>
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg
===================================================================
--- trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg 2011-02-13 03:45:18 UTC (rev 29124)
+++ trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/publican.cfg 2011-02-13 04:03:52 UTC (rev 29125)
@@ -3,7 +3,7 @@
xml_lang: en-US
type: Book
-brand: JBoss
+brand: common
show_remarks: 1
max_image_width: 444
13 years, 11 months
JBoss Tools SVN: r29124 - in trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: benlc
Date: 2011-02-12 22:45:18 -0500 (Sat, 12 Feb 2011)
New Revision: 29124
Modified:
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_resteasy_JAX-RS_07.png
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_resteasy_JAX-RS_09.png
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml
trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml
Log:
'committing corrections to image and minor corrections to text'
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_resteasy_JAX-RS_07.png
===================================================================
(Binary files differ)
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/images/image-jbt-test_resteasy_JAX-RS_09.png
===================================================================
(Binary files differ)
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml
===================================================================
--- trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml 2011-02-11 20:34:47 UTC (rev 29123)
+++ trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/proc-jbt-test_resteasy_JAX-RS.xml 2011-02-13 03:45:18 UTC (rev 29124)
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='utf-8' ?>
+c<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "JBoss_Web_Services_User_Guide.ent">
%BOOK_ENTITIES;
@@ -201,7 +201,7 @@
</textobject>
</mediaobject>
</figure>
- <para>In this instance, the console does not indicate an update was performed, however, the console may provide useful information following an operation.</para>
+ <para>In this instance, the response header or console do not indicate an update was performed, however, the console may provide useful information following an operation.</para>
<para>&HORIZ_LINE;</para>
</step>
</substeps>
Modified: trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml
===================================================================
--- trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml 2011-02-11 20:34:47 UTC (rev 29123)
+++ trunk/ws/docs/Web_Service_Test_View_deprecated/JBoss_Web_Services_User_Guide/en-US/sample_web_service_wizards.xml 2011-02-13 03:45:18 UTC (rev 29124)
@@ -16,7 +16,7 @@
</listitem>
<listitem>
<para>
- <guilabel>Create a sample RESTful Web Service</guilabel> for a JAX-WS web service.
+ <guilabel>Create a sample RESTful Web Service</guilabel> for a JAX-RS web service.
</para>
</listitem>
</itemizedlist>
@@ -28,4 +28,4 @@
<xi:include href="sample_web_service-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="sample_restful_web_service-sample_web_service_wizards.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-</chapter>
\ No newline at end of file
+</chapter>
13 years, 11 months
JBoss Tools SVN: r29123 - trunk/modeshape/plugins/org.jboss.tools.modeshape.rest.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2011-02-11 15:34:47 -0500 (Fri, 11 Feb 2011)
New Revision: 29123
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-client.jar
Log:
JBIDE-8403 bump soap requirements used by JBT tests, Modeshape and JBDS uberbuild to CR1 release. Updated to the CR1 modeshape-client jar.
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-client.jar
===================================================================
(Binary files differ)
13 years, 11 months
JBoss Tools SVN: r29122 - branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2011-02-11 15:19:34 -0500 (Fri, 11 Feb 2011)
New Revision: 29122
Modified:
branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-client.jar
Log:
JBIDE-8403 bump soap requirements used by JBT tests, Modeshape and JBDS uberbuild to CR1 release. All Teiid Designer and ModeShape Tools jars have been updated to the CR1 jars.
Modified: branches/jbosstools-3.2.x/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-client.jar
===================================================================
(Binary files differ)
13 years, 11 months
JBoss Tools SVN: r29121 - trunk/smooks/plugins/org.jboss.tools.smooks.ui.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2011-02-11 13:13:08 -0500 (Fri, 11 Feb 2011)
New Revision: 29121
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.xml
Log:
Description added for New Smooks Configuration File Wizard and other srings are externalized as well
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.properties 2011-02-11 17:26:45 UTC (rev 29120)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.properties 2011-02-11 18:13:08 UTC (rev 29121)
@@ -95,3 +95,20 @@
_UI_XslEditorFilenameDefaultBase = My
_UI_XslEditorFilenameExtensions = xsl
launch.shortcut.text=Smooks Run Configuration
+
+editor.name = Smooks Configuration Editor
+category.name = Smooks
+wizard.name = Smooks Configuration File
+wizard.description = Create a new Smooks Configuration File
+content-type.name = Smooks Configuration File
+decorator.label = Smooks Configuration Page Viewer Decorator
+decorator.description = Decorate smooks configuration page viewer
+extension.name = Smooks Problem
+extension.name.0 = Smooks File Validator
+propertyTab.label = Properties
+propertyTab.label.0 = Validation
+propertyTab.label.1 = Rule Bases
+propertyTab.label.2 = Decode
+propertyTab.label.3 = CSV Record Properties
+propertyTab.label.4 = Mapping Path
+launchConfigurationType.name = Smooks Configuration
\ No newline at end of file
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.xml 2011-02-11 17:26:45 UTC (rev 29120)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/plugin.xml 2011-02-11 18:13:08 UTC (rev 29121)
@@ -9,7 +9,7 @@
contributorClass="org.jboss.tools.smooks.configuration.editors.SmooksMultiPageEditorContributor"
icon="icons/smooks-sm.gif"
id="org.jboss.tools.smooks.configuration.editors.MultiPageEditor"
- name="Smooks Configuration Editor">
+ name="%editor.name">
<contentTypeBinding
contentTypeId="org.jboss.tools.smooks.ui.smooks.contentType">
</contentTypeBinding>
@@ -19,15 +19,18 @@
<extension
point="org.eclipse.ui.newWizards">
<category
- name="Smooks"
+ name="%category.name"
id="org.jboss.tools.smooks.configuration">
</category>
<wizard
- name="Smooks Configuration File"
+ name="%wizard.name"
icon="icons/smooks-sm.gif"
category="org.jboss.tools.smooks.configuration"
class="org.jboss.tools.smooks.configuration.wizards.SmooksConfigurationFileNewWizard"
id="org.jboss.tools.smooks.configuration.wizards.NewConfigurationFileWizard">
+ <description>
+ %wizard.description
+ </description>
</wizard>
</extension>
@@ -38,7 +41,7 @@
describer="org.jboss.tools.smooks.configuration.editors.SmooksConfigfileContentDescriber"
file-extensions="xml"
id="org.jboss.tools.smooks.ui.smooks.contentType"
- name="Smooks Configuration File"
+ name="%content-type.name"
priority="low">
</content-type>
@@ -49,11 +52,11 @@
adaptable="false"
class="org.jboss.tools.smooks.configuration.validate.ValidateResultLabelDecorator"
id="org.jboss.tools.smooks.ui.configurationPage.decorator"
- label="Smooks Configuration Page Viewer Decorator"
+ label="%decorator.label"
lightweight="true"
state="false">
<description>
- Decorate smooks configuration page viewer
+ %decorator.description
</description>
<enablement>
<or>
@@ -75,7 +78,7 @@
</extension>
<extension
id="problem"
- name="Smooks Problem"
+ name="%extension.name"
point="org.eclipse.core.resources.markers">
<persistent
value="true">
@@ -89,7 +92,7 @@
</extension>
<extension
id="org.jboss.tools.smooks.configuration.validator"
- name="Smooks File Validator"
+ name="%extension.name.0"
point="org.eclipse.wst.validation.validatorV2">
<validator
build="true"
@@ -156,35 +159,35 @@
afterTab="org.jboss.tools.smooks.ui.propertySection.decodeParamTab"
category="properties"
id="org.jboss.tools.smooks.ui.propertySection.propertiesTab"
- label="Properties">
+ label="%propertyTab.label">
</propertyTab>
<propertyTab
afterTab="org.jboss.tools.smooks.ui.propertySection.ruleBasesTab"
category="validation"
id="org.jboss.tools.smooks.ui.propertySection.validationTab"
- label="Validation">
+ label="%propertyTab.label.0">
</propertyTab>
<propertyTab
category="validation"
id="org.jboss.tools.smooks.ui.propertySection.ruleBasesTab"
- label="Rule Bases">
+ label="%propertyTab.label.1">
</propertyTab>
<propertyTab
afterTab="org.jboss.tools.smooks.ui.propertySection.csvrecordTab"
category="properties"
id="org.jboss.tools.smooks.ui.propertySection.decodeParamTab"
- label="Decode">
+ label="%propertyTab.label.2">
</propertyTab>
<propertyTab
category="properties"
id="org.jboss.tools.smooks.ui.propertySection.csvrecordTab"
- label="CSV Record Properties">
+ label="%propertyTab.label.3">
</propertyTab>
<propertyTab
afterTab="org.jboss.tools.smooks.ui.propertySection.decodeParamTab"
category="properties"
id="org.jboss.tools.smooks.ui.propertySection.mappingPathTab"
- label="Mapping Path">
+ label="%propertyTab.label.4">
</propertyTab>
</propertyTabs>
</extension>
@@ -203,7 +206,7 @@
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
- name="Smooks Configuration"
+ name="%launchConfigurationType.name"
delegate="org.jboss.tools.smooks.launch.SmooksLaunchConfigurationDelegate"
modes="run"
id="org.jboss.tools.smooks.ui.smooksLauncher">
13 years, 11 months
JBoss Tools SVN: r29120 - branches/jbosstools-3.2.x/build/parent.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-02-11 12:26:45 -0500 (Fri, 11 Feb 2011)
New Revision: 29120
Modified:
branches/jbosstools-3.2.x/build/parent/pom.xml
Log:
Bump from CR3 to CR4 suffix in JBT component + aggregator builds
Modified: branches/jbosstools-3.2.x/build/parent/pom.xml
===================================================================
--- branches/jbosstools-3.2.x/build/parent/pom.xml 2011-02-11 17:22:01 UTC (rev 29119)
+++ branches/jbosstools-3.2.x/build/parent/pom.xml 2011-02-11 17:26:45 UTC (rev 29120)
@@ -15,7 +15,7 @@
<!--tychoVersion>0.10.0-SNAPSHOT</tychoVersion -->
<tychoVersion>0.10.0</tychoVersion>
<scmBranch>branches/jbosstools-3.2.x</scmBranch>
- <BUILD_ALIAS>CR3</BUILD_ALIAS>
+ <BUILD_ALIAS>CR4</BUILD_ALIAS>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
<systemProperties></systemProperties>
13 years, 11 months