JBoss Tools SVN: r31516 - in trunk/build/aggregate: soa-site and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-05-26 12:10:20 -0400 (Thu, 26 May 2011)
New Revision: 31516
Added:
trunk/build/aggregate/soa-site/
trunk/build/aggregate/soa-site/.gitignore
trunk/build/aggregate/soa-site/aggregateSite.jbosstools.properties
trunk/build/aggregate/soa-site/build.xml
trunk/build/aggregate/soa-site/index-template.html
trunk/build/aggregate/soa-site/index.html
trunk/build/aggregate/soa-site/pom.xml
trunk/build/aggregate/soa-site/remove-uncategorized.xsl
trunk/build/aggregate/soa-site/site.xml
trunk/build/aggregate/soa-site/web/
trunk/build/aggregate/soa-site/web/site.css
Log:
https://issues.jboss.org/browse/JBIDE-8656 new soa-site builder for creating soa tools update site SEPARATE from JBT aggregate site
Added: trunk/build/aggregate/soa-site/.gitignore
===================================================================
--- trunk/build/aggregate/soa-site/.gitignore (rev 0)
+++ trunk/build/aggregate/soa-site/.gitignore 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,2 @@
+target
+zips
Added: trunk/build/aggregate/soa-site/aggregateSite.jbosstools.properties
===================================================================
--- trunk/build/aggregate/soa-site/aggregateSite.jbosstools.properties (rev 0)
+++ trunk/build/aggregate/soa-site/aggregateSite.jbosstools.properties 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,7 @@
+# options: Nightly Build (default), Development Milestone, Stable Release
+#update.site.description=Nightly Build
+#update.site.description=Development Milestone
+#update.site.version=3.2.0.M2.2010-07-16_13-26-18-H21
+
+# associate sites to add to the resulting repo
+associate.sites=http://download.jboss.org/jbosstools/updates/indigo/M7/,http://download.jboss.org/jbosstools/updates/development/indigo/
Added: trunk/build/aggregate/soa-site/build.xml
===================================================================
--- trunk/build/aggregate/soa-site/build.xml (rev 0)
+++ trunk/build/aggregate/soa-site/build.xml 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,685 @@
+<project default="custom.build" name="jbosstools aggregate site build.xml">
+
+ <!-- pass in properties to Maven/Ant via Hudson job:
+ -DJOB_NAME=${JOB_NAME}
+ -DBUILD_ID=${BUILD_ID}
+ -DBUILD_NUMBER=${BUILD_NUMBER}
+ -->
+
+ <!-- if ${WORKSPACE}/site folder exists, target that folder; else generate here. -->
+ <condition property="output.dir" value="${WORKSPACE}/results" else="${basedir}">
+ <available file="${WORKSPACE}/results" />
+ </condition>
+
+ <condition property="COMMON_TOOLS" value="/home/hudson/static_build_env/jbds/tools" else="${java.io.tmpdir}">
+ <available file="/home/hudson/static_build_env/jbds" type="dir" />
+ </condition>
+ <mkdir dir="${COMMON_TOOLS}" />
+
+ <condition property="build.xml" value="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml">
+ <available file="/home/hudson/static_build_env/jbds/tools/sources/build/build.xml" type="file" />
+ </condition>
+ <condition property="build.xml" value="${basedir}/../../build/build.xml">
+ <available file="${basedir}/../../build/build.xml" type="file" />
+ </condition>
+ <condition property="build.xml" value="${basedir}/../../build.xml">
+ <available file="${basedir}/../../build.xml" type="file" />
+ </condition>
+ <!-- if can't calculate where build/build.xml is located, must pass in path from parent when calling this script -->
+
+ <property name="update.site.source.dir" value="${output.dir}/target/site" />
+
+ <!-- load properties from default (or alternate) properties file -->
+ <property name="aggregateSite.properties" value="aggregateSite.jbosstools.properties" />
+ <property file="${aggregateSite.properties}" />
+
+ <target name="init">
+ <ant antfile="${build.xml}" target="init" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="${COMMON_TOOLS}/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
+ </target>
+
+ <target name="custom.build" description="aggregate update site extras" depends="init,check.target,add.associate.sites,add.web.content,pack.zip,collect.zips,collect.metadata,create.summary.file" />
+
+ <!-- = = = = = = = = = = = = = = = = =
+ macrodef: fetchZipsFromList - given a list of zips in zip.list.txt, fetch those zips
+ = = = = = = = = = = = = = = = = = -->
+ <macrodef name="fetchZipsFromList">
+ <attribute name="repo" default="" />
+ <sequential>
+
+ <var name="location.cleaned" value="@{repo}" />
+ <propertyregex defaultvalue="${location.cleaned}" input="${location.cleaned}" regexp="/all/repo/*$" replace="" casesensitive="true" override="true" property="location.cleaned" />
+ <propertyregex defaultvalue="${location.cleaned}" input="${location.cleaned}" regexp="/tools/*$" replace="" casesensitive="true" override="true" property="location.cleaned" />
+
+ <echo level="verbose">repo = ${location.cleaned}</echo>
+ <!-- fetch zip.list.txt file, if available -->
+ <var unset="true" name="ALL_ZIPS" />
+ <var unset="true" name="wget.return" />
+ <if>
+ <contains string="${location.cleaned}" substring=":/" />
+ <then>
+ <exec executable="wget" dir="${aggregate.zips.dir}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/zip.list.txt -q --no-clobber --tries=3" />
+ </exec>
+ </then>
+ <else>
+ <copy todir="${aggregate.zips.dir}" failonerror="false" file="${location.cleaned}/logs/zip.list.txt" />
+ </else>
+ </if>
+
+ <echo level="verbose">Fetch SVN_REVISION.txt if it exists (return 8 if not found)</echo>
+ <var name="svnRevTXT" value="${aggregate.zips.dir}/SVN_REVISION.txt" />
+ <if>
+ <contains string="${location.cleaned}" substring=":/" />
+ <then>
+ <exec executable="wget" dir="${aggregate.zips.dir}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/SVN_REVISION.txt -q --no-clobber --tries=3" />
+ </exec>
+ </then>
+ <else>
+ <copy todir="${aggregate.zips.dir}" failonerror="false" file="${location.cleaned}/logs/SVN_REVISION.txt" />
+ </else>
+ </if>
+
+ <echo level="verbose">Fetch SVN_REVISION.xml if it exists (return 8 if not found)</echo>
+ <var name="svnRevXML" value="${aggregate.zips.dir}/SVN_REVISION.xml" />
+ <if>
+ <contains string="${location.cleaned}" substring=":/" />
+ <then>
+ <exec executable="wget" dir="${aggregate.zips.dir}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/SVN_REVISION.xml -q --no-clobber --tries=3" />
+ </exec>
+ </then>
+ <else>
+ <copy todir="${aggregate.zips.dir}" failonerror="false" file="${location.cleaned}/logs/SVN_REVISION.xml" />
+ </else>
+ </if>
+
+ <echo level="verbose">Fetch build.properties if it exists (return 8 if not found)</echo>
+ <var name="buildProperties" value="${aggregate.zips.dir}/build.properties" />
+ <if>
+ <contains string="${location.cleaned}" substring=":/" />
+ <then>
+ <exec executable="wget" dir="${aggregate.zips.dir}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/logs/build.properties -q --no-clobber --tries=3" />
+ </exec>
+ </then>
+ <else>
+ <copy todir="${aggregate.zips.dir}" failonerror="false" file="${location.cleaned}/logs/build.properties" />
+ </else>
+ </if>
+
+ <if>
+ <or>
+ <and>
+ <contains string="${location.cleaned}" substring=":/" />
+ <equals arg1="${wget.return}" arg2="0" />
+ <available file="${aggregate.zips.dir}/zip.list.txt" type="file" />
+ </and>
+ <and>
+ <not>
+ <contains string="${location.cleaned}" substring=":/" />
+ </not>
+ <available file="${aggregate.zips.dir}/zip.list.txt" type="file" />
+ </and>
+ </or>
+ <then>
+ <!-- load zip.list.txt file, get ALL_ZIPS list -->
+ <var unset="true" name="ALL_ZIPS" />
+ <property file="${aggregate.zips.dir}/zip.list.txt" />
+ <if>
+ <isset property="ALL_ZIPS" />
+ <then>
+ <var name="relativePath" unset="true" />
+ <for list="${ALL_ZIPS}" delimiter=", " keepgoing="true" param="zipPath">
+ <sequential>
+ <propertyregex override="true" property="relativePath" defaultvalue="" input="@{zipPath}" regexp="(.+)/([^/]+\.zip)" replace="\1" />
+
+ <propertyregex override="true" property="svnrevPath" defaultvalue="" input="@{zipPath}" regexp=".zip" replace=".SVN_REVISION" />
+ <propertyregex override="true" property="svnrevPath" defaultvalue="${svnrevPath}" input="${svnrevPath}" regexp="-Sources-|-Update-" replace="-" />
+
+ <propertyregex override="true" property="buildPropertiesPath" defaultvalue="" input="@{zipPath}" regexp=".zip" replace=".build.properties" />
+ <propertyregex override="true" property="buildPropertiesPath" defaultvalue="${buildPropertiesPath}" input="${buildPropertiesPath}" regexp="-Sources-|-Update-" replace="-" />
+
+ <propertyregex override="true" property="filePrefix" defaultvalue="@{zipPath}" input="@{zipPath}" regexp="(.+)/([^/]+)\.zip" replace="\2.build.properties" />
+
+ <mkdir dir="${aggregate.zips.dir}/${relativePath}" />
+ <!-- fetch zips to local dir -->
+ <echo level="verbose">repoNum = @{repoNum}
+relativePath = ${relativePath}
+svnrevPath = ${svnrevPath}
+buildPropertiesPath = ${buildPropertiesPath}
+zipPath = @{zipPath}
+DEST = ${aggregate.zips.dir}/@{zipPath}
+</echo>
+ <echo level="verbose"> Zip URL = ${location.cleaned}/@{zipPath}</echo>
+ <if>
+ <isset property="isTest" />
+ <then>
+ <!-- create a fake file of variable length (rather than using touch for zero-length one) -->
+ <echo file="${aggregate.zips.dir}/@{zipPath}">${aggregate.zips.dir}/@{zipPath}</echo>
+ </then>
+ <else>
+ <if>
+ <contains string="${location.cleaned}" substring=":/" />
+ <then>
+
+ <var name="wget.return" unset="true" />
+ <exec executable="wget" dir="${aggregate.zips.dir}/${relativePath}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/@{zipPath} -q --no-clobber --tries=3" />
+ </exec>
+ <if>
+ <not>
+ <equals arg1="${wget.return}" arg2="0" />
+ </not>
+ <then>
+ <echo> ** Error [${wget.return}] ** Could not wget ${location.cleaned}/@{zipPath}</echo>
+ </then>
+ </if>
+ </then>
+ <else>
+ <copy todir="${aggregate.zips.dir}/${relativePath}" failonerror="false" file="${location.cleaned}/@{zipPath}" />
+ </else>
+ </if>
+ </else>
+ </if>
+
+ <if>
+ <available file="${aggregate.zips.dir}/@{zipPath}" type="file" />
+ <then>
+ <!-- set variable for filename -->
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt" append="true">${filePrefix}.filename = @{zipPath}
+</echo>
+ <!-- set variable for filesize in Kb -->
+ <length file="${aggregate.zips.dir}/@{zipPath}" property="fs.length.b" />
+ <!-- <math operand2="${fs.length.b}" operation="/" operand1="1024" result="fs.length.kb" datatype="float" /> -->
+ <!-- <math operand2="${fs.length.b}" operation="/" operand1="1048576" result="fs.length.mb" datatype="float"/> -->
+ <!-- <echo level="verbose">${aggregate.zips.dir}/@{zipPath}: ${fs.length.kb} Kb, ${fs.length.mb} Mb</echo> -->
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt" append="true">${filePrefix}.filesize = ${fs.length.b}
+</echo>
+ <var name="fs.length.b" unset="true" />
+ <var name="fs.length.kb" unset="true" />
+
+ <!-- set variable for filemd5 -->
+ <checksum file="${aggregate.zips.dir}/@{zipPath}" property="${filePrefix}.filemd5" />
+ <propertycopy from="${filePrefix}.filemd5" property="tempmd5" />
+ <echo file="${aggregate.zips.dir}/build.properties.file.txt" append="true">${filePrefix}.filemd5 = ${tempmd5}
+</echo>
+ <var name="${filePrefix}.filemd5" unset="true" />
+ <var name="tempmd5" unset="true" />
+ </then>
+ </if>
+
+ <!-- rename the svn and build properties files so they align with the zip names -->
+ <if>
+ <available file="${svnRevTXT}" type="file" />
+ <then>
+ <copy file="${svnRevTXT}" tofile="${aggregate.zips.dir}/${svnrevPath}.txt" />
+ </then>
+ </if>
+ <if>
+ <available file="${svnRevXML}" type="file" />
+ <then>
+ <copy file="${svnRevXML}" tofile="${aggregate.zips.dir}/${svnrevPath}.xml" />
+ </then>
+ </if>
+ <if>
+ <available file="${buildProperties}" type="file" />
+ <then>
+ <copy file="${buildProperties}" tofile="${aggregate.zips.dir}/${buildPropertiesPath}.txt" />
+ </then>
+ </if>
+ </sequential>
+ </for>
+ <var name="relativePath" unset="true" />
+ <var name="svnrevPath" unset="true" />
+ <var name="buildPropertiesPath" unset="true" />
+ </then>
+ </if>
+ <var unset="true" name="ALL_ZIPS" />
+ </then>
+ <else>
+ <echo> ** Error [${wget.return}] ** Could not wget ${location.cleaned}/logs/zip.list.txt</echo>
+ </else>
+ </if>
+ <var name="location.cleaned" unset="true" />
+ <delete quiet="true">
+ <fileset dir="${aggregate.zips.dir}" includes="zip.list.txt, SVN_REVISION.txt, SVN_REVISION.xml, build.properties" />
+ </delete>
+ <var name="svnRevFile" unset="true" />
+ </sequential>
+ </macrodef>
+
+ <!-- = = = = = = = = = = = = = = = = =
+ macrodef: fetchZipsFromMetadata - look for compositeArtifacts.xml and parse results
+ = = = = = = = = = = = = = = = = = -->
+ <macrodef name="fetchZipsFromMetadata">
+ <attribute name="repo" default="" />
+ <sequential>
+ <var name="location.cleaned" value="@{repo}" />
+ <echo level="verbose">repo = ${location.cleaned}</echo>
+ <!-- if no zip.list.txt from the inputRepo, then fetch from ${location.cleaned}/compositeArtifacts.xml instead -->
+ <var name="wget.return" unset="true" />
+ <exec executable="wget" dir="${aggregate.zips.dir}" failonerror="false" failifexecutionfails="false" resultproperty="wget.return" outputproperty="null">
+ <arg line="${location.cleaned}/compositeArtifacts.xml -q --no-clobber --tries=3" />
+ </exec>
+ <if>
+ <and>
+ <equals arg1="${wget.return}" arg2="0" />
+ <available file="${aggregate.zips.dir}/compositeArtifacts.xml" type="file" />
+ </and>
+ <then>
+ <echo level="verbose">Got ${aggregate.zips.dir}/compositeArtifacts.xml</echo>
+ <xmlproperty file="${aggregate.zips.dir}/compositeArtifacts.xml" validate="false" collapseAttributes="true" />
+ <echo level="verbose">Found ${repository.children.size} contained repos to search</echo>
+ <!-- foreach entry repository.children.child.location -->
+ <for param="location" list="${repository.children.child.location}">
+ <sequential>
+ <if>
+ <available file="/home/hudson/static_build_env/jbds/builds/staging" type="dir" />
+ <then>
+ <propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="/home/hudson/static_build_env/jbds/builds/staging/" />
+ <if>
+ <not>
+ <available file="${location.cleaned}" />
+ </not>
+ <then>
+ <propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="http://download.jboss.org/jbosstools/builds/staging/" />
+ </then>
+ </if>
+ </then>
+ <else>
+ <propertyregex override="true" property="location.cleaned" defaultvalue="@{location}" input="@{location}" regexp="../../" replace="http://download.jboss.org/jbosstools/builds/staging/" />
+ </else>
+ </if>
+ <echo level="error">Site URL = ${location.cleaned} (@{location})</echo>
+ <fetchZipsFromList repo="${location.cleaned}" />
+ </sequential>
+ </for>
+ <delete file="${aggregate.zips.dir}/compositeArtifacts.xml" quiet="true" />
+ </then>
+ <else>
+ <echo> ** Error [${wget.return}] ** Could not wget ${location.cleaned}/compositeArtifacts.xml</echo>
+ </else>
+ </if>
+ </sequential>
+ </macrodef>
+
+ <target name="add.associate.sites" if="associate.sites">
+ <if>
+ <and>
+ <!-- Defined in aggregateSite.properties -->
+ <isset property="associate.sites" />
+ <not>
+ <equals arg1="${associate.sites}" arg2="" />
+ </not>
+ </and>
+ <then>
+ <if>
+ <available file="${update.site.source.dir}/content.jar" type="file" />
+ <then>
+ <unzip src="${update.site.source.dir}/content.jar" dest="${update.site.source.dir}" />
+ <delete file="${update.site.source.dir}/content.jar" />
+ </then>
+ </if>
+ <!-- counter variable -->
+ <var name="associate.sites.0" value="" />
+ <for param="associate.site" list="${associate.sites}" delimiter=",
+ ">
+ <sequential>
+ <var name="associate.sites.0" value="${associate.sites.0}00" />
+ </sequential>
+ </for>
+ <length property="associate.sites.length" string="${associate.sites.0}" />
+
+ <loadfile srcfile="${update.site.source.dir}/content.xml" property="content.xml">
+ <filterchain>
+ <tailfilter lines="-1" skip="1" />
+ </filterchain>
+ </loadfile>
+ <echo file="${update.site.source.dir}/content.xml" message="${content.xml}" />
+ <echo file="${update.site.source.dir}/content.xml" append="true"> <references size='${associate.sites.length}'>
+</echo>
+ <for param="associate.site" list="${associate.sites}" delimiter=",
+ ">
+ <sequential>
+ <!-- insert into content.xml -->
+ <echo file="${update.site.source.dir}/content.xml" append="true"> <repository uri='@{associate.site}' url='@{associate.site}' type='0' options='1'/>
+ <repository uri='@{associate.site}' url='@{associate.site}' type='1' options='1'/>
+</echo>
+ </sequential>
+ </for>
+ <echo file="${update.site.source.dir}/content.xml" append="true"> </references>
+</repository>
+</echo>
+ <copy file="${update.site.source.dir}/content.xml" tofile="${update.site.source.dir}/content.old.xml" overwrite="true" />
+ <xslt style="remove-uncategorized.xsl" in="${update.site.source.dir}/content.old.xml" out="${update.site.source.dir}/content.xml" />
+ <zip destfile="${update.site.source.dir}/content.jar" basedir="${update.site.source.dir}" includes="content.xml" />
+ <delete file="${update.site.source.dir}/content.xml" />
+ <delete file="${update.site.source.dir}/content.old.xml" />
+ </then>
+ </if>
+ </target>
+
+ <target name="unpack.zip">
+ <unzip src="${output.dir}/target/site_assembly.zip" dest="${update.site.source.dir}" />
+ </target>
+
+ <target name="pack.zip">
+ <zip destfile="${output.dir}/target/site_assembly.zip" update="true" basedir="${update.site.source.dir}" includes="content.* index.html, web/*.css" />
+ </target>
+
+ <target name="check.target">
+ <if>
+ <or>
+ <not>
+ <available file="${output.dir}/target/site" type="dir" />
+ </not>
+ <not>
+ <available file="${output.dir}/target/site_assembly.zip" type="file" />
+ </not>
+ </or>
+ <then>
+ <fail>
+--
+This script must ONLY be called via the pom.xml in this directory, not run directly.
+Cannot adjust an update site w/o first building it!
+--
+To run this build, use Tycho. Try `mvn3 clean install -U -B -fae -q -e`
+</fail>
+ </then>
+ </if>
+ </target>
+
+ <target name="add.web.content">
+ <!--
+ Properties needed for index.html are defined in aggregateSite.properties
+ update.site.description=Nightly Build
+ update.site.version=3.2.0.M2.2010-07-16_13-26-18-H21
+
+ or calculated here
+ from ${JOB_NAME} = jbosstools-3.2.0.M1.aggregate get 3.2.0.M1
+ from ${BUILD_ID} and ${BUILD_NUMBER}, get .${BUILD_ID}-H${BUILD_NUMBER}
+ default update.site.description=Nightly Build
+ default update.site.version=(null)
+ -->
+ <property name="update.site.description" value="Nightly Build" />
+ <if>
+ <and>
+ <not>
+ <isset property="update.site.version" />
+ </not>
+ <isset property="JOB_NAME" />
+ <isset property="BUILD_ID" />
+ <isset property="BUILD_NUMBER" />
+ </and>
+ <then>
+ <propertyregex override="true" property="update.site.version" defaultvalue="${JOB_NAME}" input="${JOB_NAME}" regexp="jbosstools-([0-9.]+.*).aggregate" replace=": \1.${BUILD_ID}-H${BUILD_NUMBER}" />
+ </then>
+ <else>
+ <property name="update.site.version" value="" />
+ </else>
+ </if>
+
+ <copy todir="${output.dir}" overwrite="true">
+ <fileset file="index-template.html" />
+ <mapper type="merge" to="index.html" />
+ <filterchain>
+ <expandproperties />
+ </filterchain>
+ </copy>
+
+ <copy todir="${update.site.source.dir}">
+ <fileset dir="${output.dir}" includes="index.html, **/*.css" />
+ </copy>
+ </target>
+
+ <!-- look for http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2.0.M2.c...;
+ if found, load file and use ${ALL_ZIPS} to get list of relative path zips to fetch -->
+ <target name="collect.zips" description="collect zips from the sites we aggregated">
+ <property name="aggregate.zips.dir" value="${output.dir}/zips" />
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
+ <mkdir dir="${aggregate.zips.dir}" />
+ <for list="${inputRepos}" delimiter=", " keepgoing="true" param="repoNum">
+ <sequential>
+ <var name="repo" value="${inputRepo@{repoNum}}" />
+ <if>
+ <contains string="${repo}" substring="composite" />
+ <then>
+ <fetchZipsFromMetadata repo="${repo}" />
+ </then>
+ <else>
+ <fetchZipsFromList repo="${repo}" />
+ </else>
+ </if>
+ </sequential>
+ </for>
+ </target>
+
+ <target name="test.collect.zips.from.metadata" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
+ <param name="inputRepos" value="1" />
+ <param name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/_composite_/trunk" />
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips.from.metadata.with.errors" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
+ <param name="inputRepos" value="1,2" />
+ <param name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/_composite_/NO_SUCH_B..." />
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips.from.list.xml" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
+ <param name="inputRepos" value="1,2,3,4" />
+ <param name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo2" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo3" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo4" value="http://download.jboss.org/jbosstools/builds/staging/xulrunner-1.9.1.2" />
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips.from.list.txt" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
+ <param name="inputRepos" value="1,2,3,4,5" />
+ <param name="inputRepo1" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo2" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo3" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ <param name="inputRepo4" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-savara-1.1..." />
+ <param name="inputRepo5" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-savara-1.1..." />
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips.from.list.with.errors" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.zips">
+ <param name="inputRepos" value="1,2" />
+ <param name="inputRepo2" value="http://download.jboss.org/jbosstools/builds/staging/jbosstools-3.2_trunk...." />
+ </antcall>
+ </target>
+
+ <target name="test.collect.zips" depends="test.collect.zips.from.metadata,test.collect.zips.from.list.txt,test.collect.zips.from.list.xml">
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
+ </target>
+
+ <target name="test.collect.zips.with.error" depends="test.collect.zips.from.metadata.with.errors,test.collect.zips.from.list.with.errors">
+ <delete dir="${aggregate.zips.dir}" quiet="true" />
+ </target>
+
+ <target name="collect.metadata" description="collect svn revision info + other metadata (JOB_NAME, BUILD_ID, BUILD_NUMBER, WORKSPACE, HUDSON_SLAVE), zip file names+sizes+md5sums">
+ <property name="aggregate.zips.dir" value="${output.dir}/zips" />
+
+ <!-- load file properties (name, size, md5sum) -->
+ <if>
+ <available file="${aggregate.zips.dir}/build.properties.file.txt" type="file" />
+ <then>
+ <property file="${aggregate.zips.dir}/build.properties.file.txt" />
+ </then>
+ </if>
+
+ <!-- for all build.properties.txt files in zips/ folder -->
+ <for param="propsfile">
+ <path>
+ <fileset dir="${aggregate.zips.dir}" includes="*.build.properties.txt, **/*.build.properties.txt" />
+ </path>
+ <sequential>
+ <!-- load properties file using a prefix which relates to the associated prop file -->
+ <propertyregex override="true" property="prefix" defaultvalue="" input="@{propsfile}" regexp=".+/([^/]+\.build\.properties)\.txt" replace="\1" />
+ <echo level="verbose">Read ${prefix} from @{propsfile}</echo>
+
+ <property file="@{propsfile}" prefix="${prefix}" />
+
+ <!-- now load SVN revs -->
+ <propertyregex override="true" property="svnrevTXT" defaultvalue="" input="@{propsfile}" regexp="\.build\.properties\.txt" replace=".SVN_REVISION.txt" />
+ <propertyregex override="true" property="svnrevXML" defaultvalue="" input="@{propsfile}" regexp="\.build\.properties\.txt" replace=".SVN_REVISION.xml" />
+ <if>
+ <available file="${svnrevXML}" type="file" />
+ <then>
+ <!-- XML way: load into .revision.module and .revision.revision -->
+ <xmlproperty file="${svnrevXML}" collapseAttributes="true" prefix="${prefix}" keeproot="false" />
+ <!-- purge the "<changeSet><kind>" entry if present -->
+ <if>
+ <isset property="${prefix}.kind" />
+ <then>
+ <var name="${prefix}.kind" unset="true" />
+ </then>
+ </if>
+
+ <!-- TXT way: load into .SVN_REVISION -->
+ <if>
+ <and>
+ <isset property="${prefix}.revision.module" />
+ <isset property="${prefix}.revision.revision" />
+ </and>
+ <then>
+ <propertycopy from="${prefix}.revision.module" property="temprm.all" override="true" />
+ <propertycopy from="${prefix}.revision.revision" property="temprr.all" override="true" />
+ <var name="i" value="0" />
+ <for list="${temprm.all}" delimiter=", " param="module">
+ <sequential>
+ <math result="i" operand1="1" operation="+" operand2="${i}" datatype="int" />
+ <var name="j" value="0" />
+ <for list="${temprr.all}" delimiter=", " param="revision">
+ <sequential>
+ <math result="j" operand1="1" operation="+" operand2="${j}" datatype="int" />
+ <if>
+ <equals arg1="${i}" arg2="${j}" />
+ <then>
+ <var name="temprr" value="@{revision}" />
+ <if>
+ <isset property="${prefix}.SVN_REVISION" />
+ <then>
+ <propertycopy from="${prefix}.SVN_REVISION" property="temp.all" override="true" />
+ <var name="${prefix}.SVN_REVISION" value="${temp.all},@{module}@${temprr}" />
+ <var name="temp.all" unset="true" />
+ </then>
+ <else>
+ <var name="${prefix}.SVN_REVISION" value="@{module}@${temprr}" />
+ </else>
+ </if>
+ <var name="temprr" unset="true" />
+ </then>
+ </if>
+ </sequential>
+ </for>
+ <var name="j" unset="true" />
+ </sequential>
+ </for>
+ <var name="i" unset="true" />
+ <var name="temprm.all" unset="true" />
+ <var name="temprr.all" unset="true" />
+ </then>
+ </if>
+ </then>
+ <elseif>
+ <available file="${svnrevTXT}" type="file" />
+ <then>
+ <!-- TXT way: load into .SVN_REVISION -->
+ <loadfile property="${prefix}.SVN_REVISION" srcFile="${svnrevTXT}" />
+ <propertycopy from="${prefix}.SVN_REVISION" property="temp" />
+ <propertyregex override="true" property="temp" defaultvalue="${temp}" input="${temp}" regexp="[ \n\t]+" replace="," />
+ <propertyregex override="true" property="${prefix}.SVN_REVISION" defaultvalue="${temp}" input="${temp}" regexp=",$" replace="" />
+
+ <!-- XML way: load into .revision.module and .revision.revision -->
+ <for list="${temp}" delimiter="," param="pair">
+ <sequential>
+ <propertyregex override="true" property="temprm" defaultvalue="@{pair}" input="@{pair}" regexp="(.+)(a)(.+)" replace="\1" />
+ <propertyregex override="true" property="temprr" defaultvalue="@{pair}" input="@{pair}" regexp="(.+)(a)(.+)" replace="\2" />
+ <if>
+ <isset property="${prefix}.revision.module" />
+ <then>
+ <propertycopy from="${prefix}.revision.module" property="temprm.all" override="true" />
+ <propertycopy from="${prefix}.revision.revision" property="temprr.all" override="true" />
+ <var name="${prefix}.revision.module" value="${temprm.all},${temprm}" />
+ <var name="${prefix}.revision.revision" value="${temprr.all},${temprr}" />
+ <var name="temprm.all" unset="true" />
+ <var name="temprr.all" unset="true" />
+ </then>
+ <else>
+ <var name="${prefix}.revision.module" value="${temprm}" />
+ <var name="${prefix}.revision.revision" value="${temprr}" />
+ </else>
+ </if>
+ <var name="temprm" unset="true" />
+ <var name="temprr" unset="true" />
+ </sequential>
+ </for>
+ <var name="temp" unset="true" />
+ </then>
+ </elseif>
+ </if>
+
+ <var name="prefix" unset="true" />
+ </sequential>
+
+ </for>
+ <for param="svnrevfile">
+ <path>
+ <fileset dir="${aggregate.zips.dir}" includes="*.SVN_REVISION.txt, **/*.SVN_REVISION.txt" />
+ </path>
+ <sequential>
+ <!-- load properties file using a prefix which relates to the associated prop file -->
+ <propertyregex override="true" property="prefix" defaultvalue="" input="@{propsfile}" regexp=".+/([^/]+\.build\.properties)\.txt" replace="\1" />
+ <echo level="verbose">Read ${prefix} from @{propsfile}</echo>
+
+ <property file="@{propsfile}" prefix="${prefix}" />
+
+ <var name="prefix" unset="true" />
+ </sequential>
+
+ </for>
+ <!-- dump properties to an XML file, filtering for only those properties we care about -->
+ <echoproperties format="xml" destfile="${aggregate.zips.dir}/build.properties.all.xml">
+ <propertyset>
+ <propertyref regex=".*\.build\.properties" />
+ </propertyset>
+ </echoproperties>
+
+ </target>
+
+ <target name="test.collect.metadata" depends="init">
+ <property name="isTest" value="true" />
+ <antcall target="collect.metadata">
+ </antcall>
+ </target>
+
+ <!-- TODO: write this method -->
+ <target name="create.summary.file" description="create summary file with list of generated files, sizes, and SVN revisions all linked and ordered by source build job">
+ </target>
+
+ <target name="test.create.summary.file" depends="test.collect.zips,test.collect.metadata">
+ <property name="isTest" value="true" />
+ <antcall target="create.summary.file">
+ </antcall>
+ </target>
+
+</project>
Added: trunk/build/aggregate/soa-site/index-template.html
===================================================================
--- trunk/build/aggregate/soa-site/index-template.html (rev 0)
+++ trunk/build/aggregate/soa-site/index-template.html 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,133 @@
+<html>
+<head>
+<title>JBoss Tools - SOA Tooling - ${update.site.description} Update Site${update.site.version}</title>
+<style>
+@import url("../web/site.css");
+</style>
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
+ </tr>
+ <tr>
+ <td>  </td>
+ </tr>
+ <tr>
+ <td>  </td>
+ <td>
+ <h2 class="title">JBoss Tools - SOA Tooling - ${update.site.description} Update Site</h2>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span>Latest Build${update.site.version}</span></td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">This is the <b>${update.site.description}</b>
+ Update Site for JBoss Tools - SOA Tooling. See <a class="link"
+ href="http://www.jboss.org/tools/download/update">Installation
+ Instructions</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 90px">
+ <td class="bodyText">
+ <p class="bodyText"><b class="bodyText" style="color: red;">NOTE:</b>
+<!-- see http://www.jboss.org/tools/download/dev#noteBirt for matching copy -->
+Some features (such as BIRT, Maven, or GWT) require additional third-party prerequisites not available from Eclipse.org or JBoss.org. These can be installed from the following composite update site mirror, which should be added automatically when you add the JBoss Tools update site to your Eclipse's list of Available Software Sites. To verify which sites are enabled, open <code><strong>Window > Preferences > Install/Update > Available Software Sites</strong></code>. To add sites, Click the <code><strong>Add...</strong></code> button, then right-click the link(s) below, copy the link(s), and paste them into Eclipse one by one as needed.
+ </p>
+
+ <ul>
+ <li><a href="http://download.jboss.org/jbosstools/updates/indigo/M7">JBoss Tools Requirements - Composite Mirror - Indigo M7</a></li>
+ <li><a href="http://download.jboss.org/jbosstools/updates/development/indigo/">JBoss Tools Core Updates - Stable Milestone - Indigo</a></li>
+ </ul>
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">You can also download JBoss Tools as
+ individual zips for offline installation. See <a class="link"
+ href="http://www.jboss.org/tools/download">JBoss Tools
+ Downloads</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">For more information, see <a
+ href="http://www.jboss.org/tools/download/installation">Installation
+ methods</a>.</p>
+ </td>
+ </tr>
+ <tr>
+ <td class="spacer"><br />
+ </td>
+ <td class="spacer"><br />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span> Installation
+ Types</span></td>
+ </tr>
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">Depending on how close to the bleeding edge
+ you like to be, there are several types of releases available.</p>
+ <br />
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Stable Releases</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/stable.html">Stable
+ releases</a> are - as indicated by their name - stable.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Development Milestones</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/dev.html">Development
+ builds</a>, released once per milestone and only a few times a year, are
+ fairly stable, but there may be some things which do not yet work.
+ If you would like to try one of these milestones, we'd greatly
+ appreciate the assistance in testing and <a
+ href="https://jira.jboss.org/jira/browse/JBIDE">reporting of
+ issues in our issue tracker</a>.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Nightly Builds</h4>
+
+ <p>The <a
+ href="https://www.jboss.org/tools/download/nightly.html">bleeding
+ edge</a> contains the latest and greatest new features, but nothing is
+ stable or guaranteed - yet. If you're using a Milestone and need a
+ fix, you can update to the latest Nightly, or wait for the next
+ Milestone.</p><br/>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</html>
Added: trunk/build/aggregate/soa-site/index.html
===================================================================
--- trunk/build/aggregate/soa-site/index.html (rev 0)
+++ trunk/build/aggregate/soa-site/index.html 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,133 @@
+<html>
+<head>
+<title>JBoss Tools - SOA Tooling - Nightly Build Update Site</title>
+<style>
+@import url("../web/site.css");
+</style>
+</head>
+<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
+<table marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"
+ cellspacing="0" cellpadding="0">
+ <tr>
+ <td colspan="2"><img
+ src="https://www.jboss.org/dms/tools/images/tools-banner.png" /></td>
+ </tr>
+ <tr>
+ <td>  </td>
+ </tr>
+ <tr>
+ <td>  </td>
+ <td>
+ <h2 class="title">JBoss Tools - SOA Tooling - Nightly Build Update Site</h2>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span>Latest Build</span></td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">This is the <b>Nightly Build</b>
+ Update Site for JBoss Tools - SOA Tooling. See <a class="link"
+ href="http://www.jboss.org/tools/download/update">Installation
+ Instructions</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 90px">
+ <td class="bodyText">
+ <p class="bodyText"><b class="bodyText" style="color: red;">NOTE:</b>
+<!-- see http://www.jboss.org/tools/download/dev#noteBirt for matching copy -->
+Some features (such as BIRT, Maven, or GWT) require additional third-party prerequisites not available from Eclipse.org or JBoss.org. These can be installed from the following composite update site mirror, which should be added automatically when you add the JBoss Tools update site to your Eclipse's list of Available Software Sites. To verify which sites are enabled, open <code><strong>Window > Preferences > Install/Update > Available Software Sites</strong></code>. To add sites, Click the <code><strong>Add...</strong></code> button, then right-click the link(s) below, copy the link(s), and paste them into Eclipse one by one as needed.
+ </p>
+
+ <ul>
+ <li><a href="http://download.jboss.org/jbosstools/updates/indigo/M7">JBoss Tools Requirements - Composite Mirror - Indigo M7</a></li>
+ <li><a href="http://download.jboss.org/jbosstools/updates/development/indigo/">JBoss Tools Core Updates - Stable Milestone - Indigo</a></li>
+ </ul>
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">You can also download JBoss Tools as
+ individual zips for offline installation. See <a class="link"
+ href="http://www.jboss.org/tools/download">JBoss Tools
+ Downloads</a>.</p>
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">For more information, see <a
+ href="http://www.jboss.org/tools/download/installation">Installation
+ methods</a>.</p>
+ </td>
+ </tr>
+ <tr>
+ <td class="spacer"><br />
+ </td>
+ <td class="spacer"><br />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <table width="100%">
+ <tr class="header">
+ <td class="sub-header" width="100%"><span> Installation
+ Types</span></td>
+ </tr>
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <p class="bodyText">Depending on how close to the bleeding edge
+ you like to be, there are several types of releases available.</p>
+ <br />
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Stable Releases</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/stable.html">Stable
+ releases</a> are - as indicated by their name - stable.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="light-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Development Milestones</h4>
+
+ <p><a href="https://www.jboss.org/tools/download/dev.html">Development
+ builds</a>, released once per milestone and only a few times a year, are
+ fairly stable, but there may be some things which do not yet work.
+ If you would like to try one of these milestones, we'd greatly
+ appreciate the assistance in testing and <a
+ href="https://jira.jboss.org/jira/browse/JBIDE">reporting of
+ issues in our issue tracker</a>.</p><br/>
+
+ </td>
+ </tr>
+
+ <tr class="dark-row" style="height: 30px">
+ <td class="bodyText">
+ <h4>Nightly Builds</h4>
+
+ <p>The <a
+ href="https://www.jboss.org/tools/download/nightly.html">bleeding
+ edge</a> contains the latest and greatest new features, but nothing is
+ stable or guaranteed - yet. If you're using a Milestone and need a
+ fix, you can update to the latest Nightly, or wait for the next
+ Milestone.</p><br/>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</html>
Added: trunk/build/aggregate/soa-site/pom.xml
===================================================================
--- trunk/build/aggregate/soa-site/pom.xml (rev 0)
+++ trunk/build/aggregate/soa-site/pom.xml 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.site.aggregate</artifactId>
+ <name>JBoss Tools Aggregate Site</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>eclipse-update-site</packaging>
+
+ <properties>
+ <!-- add more inputRepos into the composite metadata at the URL below. Therefore need not edit this file and add dozens of URLs
+ which need to be called by Ant script later -->
+ <inputRepo1>http://download.jboss.org/jbosstools/builds/staging/_composite_/3.3.indigo/</inputRepo1>
+ <inputRepos>1</inputRepos>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven.antrun.plugin.version}</version>
+ <executions>
+ <execution>
+ <id>install</id>
+ <phase>install</phase>
+ <configuration>
+ <quiet>true</quiet>
+ <tasks>
+ <property name="inputRepo1" value="${inputRepo1}"/>
+ <property name="inputRepos" value="${inputRepos}"/>
+
+ <!-- called AFTER generating update site + zip to add in extra content -->
+ <ant antfile="build.xml"/>
+ </tasks>
+
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>commons-net</groupId>
+ <artifactId>commons-net</artifactId>
+ <version>1.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-nodeps</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-trax</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-commons-net</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant-apache-regexp</artifactId>
+ <version>1.7.1</version>
+ </dependency>
+ <dependency>
+ <groupId>ant-contrib</groupId>
+ <artifactId>ant-contrib</artifactId>
+ <version>1.0b3</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <!-- add more inputRepo# here, ref'd above; need variables so that these
+ can be referred to in Ant script later -->
+ <repository>
+ <id>inputRepo1</id>
+ <url>${inputRepo1}</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>jbosstools-requirements-composite-mirror</id>
+ <url>http://download.jboss.org/jbosstools/updates/indigo/</url>
+ <layout>p2</layout>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+</project>
Added: trunk/build/aggregate/soa-site/remove-uncategorized.xsl
===================================================================
--- trunk/build/aggregate/soa-site/remove-uncategorized.xsl (rev 0)
+++ trunk/build/aggregate/soa-site/remove-uncategorized.xsl 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
+
+<xsl:template match="/">
+ <xsl:apply-templates select="*"/>
+</xsl:template>
+
+
+<xsl:template match="*">
+ <xsl:copy >
+ <xsl:for-each select="@*">
+ <xsl:copy />
+ </xsl:for-each>
+ <xsl:apply-templates />
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="unit[contains(@id,'site.xml.Default')]" />
+
+</xsl:stylesheet>
\ No newline at end of file
Added: trunk/build/aggregate/soa-site/site.xml
===================================================================
--- trunk/build/aggregate/soa-site/site.xml (rev 0)
+++ trunk/build/aggregate/soa-site/site.xml 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <!-- This file is only used when building with Tycho.
+ If building with Ant (trunk/build/build.xml), see category.*.xml -->
+ <description>
+ JBoss Tools - SOA Tooling 3.3 Updates
+ </description>
+
+ <feature url="features/org.jboss.tools.esb.feature_0.0.0.jar" id="org.jboss.tools.esb.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.jboss.tools.smooks.feature_0.0.0.jar" id="org.jboss.tools.smooks.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ <category name="DataTools" />
+ <category name="GeneralTools" />
+ </feature>
+
+ <feature url="features/org.jboss.tools.jbpm4.feature_0.0.0.jar" id="org.jboss.tools.jbpm4.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.jboss.tools.bpel.feature_0.0.0.jar" id="org.jboss.tools.bpel.feature" version="0.0.0">
+ <category name="SOATools" />
+ </feature>
+
+ <!-- jBPM Tools & Flow features -->
+ <feature url="features/org.jboss.tools.jbpm.convert.feature_0.0.0.jar" id="org.jboss.tools.jbpm.convert.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.jboss.tools.jbpm.common.feature_0.0.0.jar" id="org.jboss.tools.jbpm.common.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.jboss.tools.jbpm3.feature_0.0.0.jar" id="org.jboss.tools.jbpm3.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+
+ <feature url="features/org.jboss.tools.modeshape.rest.feature_0.0.0.jar" id="org.jboss.tools.modeshape.rest.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="GeneralTools" />
+ </feature>
+
+ <category-def name="AllTools" label="All JBoss Tools - SOA Tooling 3.3">
+ <description>
+ Contains ALL the plugins that are available from
+ JBoss Tools - SOA Tooling - except those
+ related to integration with 3rd party
+ plugins. Selecting this
+ category will give you all tools needed for
+ SOA Development.
+ </description>
+ </category-def>
+
+ <category-def name="SOATools" label="SOA Development">
+ <description>
+ Tools to help create SOA applications. Use these if you
+ work with jBPM,
+ Drools, JBoss ESB, JBoss WebServices or Smooks.
+ </description>
+ </category-def>
+
+ <category-def name="GeneralTools" label="Application Development">
+ <description>Tools for general application development.</description>
+ </category-def>
+
+ <category-def name="DataTools" label="Data Services">
+ <description>Tools related to data services such as persistence and
+ transformation.</description>
+ </category-def>
+
+ <!-- aggregated from other sources; only in JBT -->
+ <feature url="features/org.pi4soa.core.feature_0.0.0.jar" id="org.pi4soa.core.feature" version="0.0.0">
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.savara.tools.feature_0.0.0.jar" id="org.savara.tools.feature" version="0.0.0">
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.jboss.savara.tools.feature_0.0.0.jar" id="org.jboss.savara.tools.feature" version="0.0.0">
+ <category name="SOATools" />
+ </feature>
+ <!-- scribble.protocol.feature no longer exists in Savara/Scribble 2.0 -->
+ <!-- <feature url="features/org.scribble.protocol.feature_0.0.0.jar" id="org.scribble.protocol.feature" version="0.0.0">
+ </feature> -->
+
+ <!-- aggregated from other sources -->
+ <feature url="features/org.drools.eclipse.feature_0.0.0.jar" id="org.drools.eclipse.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ <category name="GeneralTools" />
+ </feature>
+ <feature url="features/org.drools.eclipse.task.feature_0.0.0.jar" id="org.drools.eclipse.task.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+ <feature url="features/org.guvnor.tools.feature_0.0.0.jar" id="org.guvnor.tools.feature" version="0.0.0">
+ <category name="AllTools" />
+ <category name="SOATools" />
+ </feature>
+
+ <feature url="features/org.teiid.datatools.connectivity.feature_0.0.0.jar" id="org.teiid.datatools.connectivity.feature" version="0.0.0">
+ <category name="DataTools" />
+ </feature>
+ <feature url="features/org.teiid.designer.feature_0.0.0.jar" id="org.teiid.designer.feature" version="0.0.0">
+ <category name="DataTools" />
+ </feature>
+ <feature url="features/org.teiid.designer.runtime.feature_0.0.0.jar" id="org.teiid.designer.runtime.feature" version="0.0.0">
+ <category name="DataTools" />
+ </feature>
+</site>
Added: trunk/build/aggregate/soa-site/web/site.css
===================================================================
--- trunk/build/aggregate/soa-site/web/site.css (rev 0)
+++ trunk/build/aggregate/soa-site/web/site.css 2011-05-26 16:10:20 UTC (rev 31516)
@@ -0,0 +1,66 @@
+<
+STYLE type ="text/css">td.spacer {
+ padding-bottom: 10px;
+ padding-top: 10px;
+}
+
+.title {
+ font-family: sans-serif;
+ color: #1778be;
+}
+
+.bodyText {
+ font-family: sans-serif;
+ font-size: 9pt;
+ color: #000000;
+}
+
+.sub-header {
+ font-family: sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 9pt;
+ color: white;
+}
+
+.log-text {
+ font-family: sans-serif;
+ font-style: normal;
+ font-weight: lighter;
+ font-size: 8pt;
+ color: black;
+}
+
+.big-header {
+ font-family: sans-serif;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 9pt;
+ color: white;
+ border-top: 10px solid white;
+}
+
+.light-row {
+ background: #FFFFFF
+}
+
+.dark-row {
+ background: #EEEEEE
+}
+
+.header {
+ background: #445562
+}
+
+#indent {
+ word-wrap: break-word;
+ width: 300px;
+ text-indent: 10px;
+}
+
+.link {
+ color: #187dc6;
+}
+</
+STYLE
+>
\ No newline at end of file
13 years, 1 month
JBoss Tools SVN: r31515 - trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2011-05-26 12:08:40 -0400 (Thu, 26 May 2011)
New Revision: 31515
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml
Log:
https://issues.jboss.org/browse/JBIDE-8576
Modified: trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml 2011-05-26 15:39:13 UTC (rev 31514)
+++ trunk/cdi/tests/org.jboss.tools.cdi.seam.faces.core.test/pom.xml 2011-05-26 16:08:40 UTC (rev 31515)
@@ -10,4 +10,18 @@
<artifactId>org.jboss.tools.cdi.seam.faces.core.test</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
-</project>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <configuration>
+ <explodedBundles>
+ <bundle>org.jboss.tools.cdi.seam.faces.core.test</bundle>
+ </explodedBundles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
13 years, 1 month
JBoss Tools SVN: r31514 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-05-26 11:39:13 -0400 (Thu, 26 May 2011)
New Revision: 31514
Added:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
Log:
updated with boilerplate text for beginning of JBDS 4.1.0 and JBT 3.2.1 releases. Also uploading fixed issues file that was -forsomereason- not in svn
Added: trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml (rev 0)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues.xml 2011-05-26 15:39:13 UTC (rev 31514)
@@ -0,0 +1,280 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<section id="Issues-fixed-in-this-release">
+ <title>
+ Features added and issues fixed in version 4.1.0
+ </title>
+<!-- <para>
+ The following list highlights new features that have been added to this release, as well as listing notable bug fixes. You can find a complete list of bug fixes <ulink url="https://issues.jboss.org/browse/JBIDE">here</ulink>.
+ </para> -->
+ <formalpara>
+ <title>Contexts and Dependency Injection (CDI)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <!-- Deltacloud is only shipped with JBoss.org -->
+ <!--
+ <formalpara>
+ <title>Deltacloud</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <formalpara>
+ <title>Drools</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>ESB</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <!-- Google Web Toolkit is only shipped with JBoss.org -->
+ <!--
+ <formalpara>
+ <title>Google Web Toolkit</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+ <formalpara>
+ <title>Hibernate</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>jBPM</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>JBoss Enterprise Portal Platform</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>JavaServer Faces (JSF)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>JBoss Application Server</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <!-- Include in JBT Release Notes only!!! -->
+ <!--
+ <formalpara>
+ <title>Maven</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara> -->
+
+ <formalpara>
+ <title>Portlet</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>RichFaces</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Seam</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Smooks</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Struts</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Usage</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Visual Page Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>Web Tools Platform</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>XHTML Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>XML Structured Editor</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>General Issues</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+</section>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 15:11:38 UTC (rev 31513)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 15:39:13 UTC (rev 31514)
@@ -2,70 +2,19 @@
<section id="Known_Issues_with_this_release">
<title>
Known Issues in version 4.1.0
- </title>
+ </title>
<para>
Following is a list of known issues at the time of release.
- </para>
+ </para>
<formalpara>
<title>General Known Issues</title>
<para>
<itemizedlist>
<listitem>
<para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1273">JBDS-1273</ulink>: Smooks Editor does not support mapping to Virtual Models.
- </para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>:
+ </para>
</listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1548">JBDS-1548</ulink>: JavaDoc and source locations can not be specified for a Drools classpath container.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1554">JBDS-1554</ulink>: The new project wizards do not display their associated Eclipse perspective. The workaround is to manually display the appropriate perspective by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem></menuchoice>. The following is a list of project types and their matching persepctives:
- <itemizedlist>
- <listitem>
- <para>JSF Project: Web Development</para>
- </listitem>
- <listitem>
- <para>Struts Project: Web Development</para>
- </listitem>
- <listitem>
- <para>Seam Web Project: Seam or Web Development</para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1528">JBDS-1528</ulink>: The JBDS uninstaller under Windows XP can leave some files behind.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1226">JBDS-1226</ulink>: The installation progress monitor incorrectly displays <guilabel>2 / 2</guilabel> when not adding a server, even though the installation is only 50% complete.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1230">JBDS-1230</ulink>: No icon is placed in the system <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming Tools</guimenuitem></menuchoice> menu when JBDS is installed under RHEL 5.4 until the system is rebooted.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1266">JBDS-1266</ulink>: The credentials used when testing the jBPM deployment process are cached, and are used in place of any additional credentials that are specified.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1519">JBDS-1519</ulink>: The "Could not initialize NSS" error is generated by the Visual Editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1509">JBDS-1509</ulink>: JBDS thread can get caught in a loop when interacting with the new connection profile process.
- </para>
- </listitem>
</itemizedlist>
</para>
</formalpara>
13 years, 1 month
JBoss Tools SVN: r31513 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-05-26 11:11:38 -0400 (Thu, 26 May 2011)
New Revision: 31513
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent
trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Author_Group.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/New_Features.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml
Log:
updated with new information
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent 2011-05-26 15:11:38 UTC (rev 31513)
@@ -1,4 +1,4 @@
<!ENTITY PRODUCT "JBoss Developer Studio">
-<!ENTITY BOOKID "4.0.0_Release_Notes">
+<!ENTITY BOOKID "4.1.0_Release_Notes">
<!ENTITY YEAR "2011">
<!ENTITY HOLDER "Red Hat">
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -3,7 +3,7 @@
<!-- Modify the title tag to change which book will be built -->
<articleinfo>
- <title>4.0.1 Release Notes</title>
+ <title>4.1.0 Release Notes</title>
<subtitle>Information about the changes made for this release of the JBoss Developer Studio.</subtitle>
<productname>JBoss Developer Studio</productname>
<productnumber>4.1</productnumber>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Author_Group.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Author_Group.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Author_Group.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -7,9 +7,4 @@
<surname>Rooskov</surname>
<email>irooskov(a)redhat.com</email>
</author>
- <author>
- <firstname>Matthew</firstname>
- <surname>Casperson</surname>
- <email>mcaspers(a)redhat.com</email>
- </author>
</authorgroup>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Component_Versions.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -12,7 +12,7 @@
</listitem>
<listitem>
<para>
- JBoss Tools 3.2.0
+ JBoss Tools 3.2.1
</para>
</listitem>
<listitem>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Known_Issues_with_this_release">
<title>
- Known Issues in version 4.0.0
+ Known Issues in version 4.1.0
</title>
<para>
Following is a list of known issues at the time of release.
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/New_Features.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/New_Features.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/New_Features.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="New_Features">
- <title>New Features in JBoss Developer Studio 3.0</title>
+ <title>New Features in JBoss Developer Studio 4.1</title>
<para>
New product information to go here
</para>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -2,14 +2,26 @@
<section id="Overview">
<title>Overview</title>
<para>
- JBoss Developer Studio 4 (JBDS4) is a major release of the Eclipse based IDE developed and supported by Red Hat (the visual tooling components are supported for 3 years, and the runtime platform for 5 years). The IDE, which is available for Windows, Linux and OS X, provides tooling that allows for rapid Web 2.0 application development on the JBoss Enterprise Application Platform. This release also introduces additional support for SOA application development with JBoss Enterprise SOA Platform.
+ JBoss Developer Studio 4.1 is a major release of the Eclipse based IDE developed and supported by Red Hat (the visual tooling components are supported for 3 years, and the runtime platform for 5 years). The IDE, which is available for Windows, Linux and OS X, provides tooling that allows for rapid Web 2.0 application development on the JBoss Enterprise Application Platform. This release also improves support for SOA application development with the JBoss Enterprise SOA Platform.
</para>
<para>
- JBDS4 includes many new features including:
+ JBoss Developer Studio 4.1 contains many new features, including:
</para>
<itemizedlist>
<listitem>
+ Scriptble install of JBoss Developer Studio 4.1. When installing JBoss Developer Studio 4.1, you can now pass the installation a <filename>InstallConfigRecord.xml</filename> file to install with pre-defined settings, ensuring no user interaction is required. See the release note for JBDS-1268 in the new and fixed issues section of this document for further details.
+ </listitem>
+ <listitem>
<para>
+ Full BPEL Editor support through the JBoss Developer Studio Extras site. The BPEL Editor is now fully supported as an add-on to your basic install of JBoss Developer Studio 4.1. To access this plug-in, add the JBoss Developer Studio Extras site <!-- (insert site here) --> to your installation; see the BPEL User Guide for further information.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <!-- Old 'new' feature list for JBDS 4.0.0 left as a guide -->
+ <!-- <itemizedlist>
+ <listitem>
+ <para>
<emphasis role="bold">Improved Eclipse Integration:</emphasis> The installed IDE is now a native Eclipse application, which results in a more streamlined installation and update process, and a smaller download size since unused plugins are no longer included. In addition, the IDE is now based on Eclipse 3.6 (Helios), which is the latest stable release provided by the Eclipse Foundation.
</para>
</listitem>
@@ -94,5 +106,5 @@
<emphasis role="bold">And More:</emphasis> JBDS supports many more libraries and technologies including: Contexts and Dependency Injection (CDI), JBoss Drools, JBoss ESB, JBoss jBPM, JBoss Portal, JBoss Seam, Smooks
</para>
</listitem>
- </itemizedlist>
+ </itemizedlist> -->
</section>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Revision_History.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -4,23 +4,9 @@
<title>Revision History</title>
<simpara>
<revhistory>
- <revision>
- <revnumber>0-1</revnumber>
- <date>Wed Feb 16 2011</date>
- <author>
- <firstname>Matthew</firstname>
- <surname>Casperson</surname>
- <email>mcaspers(a)redhat.com</email>
- </author>
- <revdescription>
- <simplelist>
- <member>Updated for JBDS 4.0 release</member>
- </simplelist>
- </revdescription>
- </revision>
<revision>
<revnumber>0-0</revnumber>
- <date>Tue Nov 09 2010</date>
+ <date>Fri May 27 2011</date>
<author>
<firstname>Isaac</firstname>
<surname>Rooskov</surname>
@@ -28,7 +14,7 @@
</author>
<revdescription>
<simplelist>
- <member>Initial creation of book by publican</member>
+ <member>Initial creation of release notes document</member>
</simplelist>
</revdescription>
</revision>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml 2011-05-26 15:02:04 UTC (rev 31512)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/master.xml 2011-05-26 15:11:38 UTC (rev 31513)
@@ -21,18 +21,12 @@
<email>irooskov(a)redhat.com</email>
</author>
<copyright>
- <year>2010</year>
+ <year>2011</year>
<holder>JBoss by Red Hat</holder>
</copyright>
<releaseinfo>
- Version: 3.2.0.GA
+ Version: 3.2.1.GA
</releaseinfo>
-<!--<abstract>
- <title/>
- <para>
- <ulink url="http://download.jboss.org/jbosstools/nightly-docs/en/jboss_bpmn_convert_r...">PDF version</ulink>
- </para>
-</abstract> -->
</articleinfo>
13 years, 1 month
JBoss Tools SVN: r31512 - branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-26 11:02:04 -0400 (Thu, 26 May 2011)
New Revision: 31512
Modified:
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSEDeploymentPreferenceUI.java
Log:
[JBIDE-8190] replaced SWT style bits for buttons from SWT.DEFAULT to SWT.NONE for new host and rse browse button
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSEDeploymentPreferenceUI.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSEDeploymentPreferenceUI.java 2011-05-26 14:18:21 UTC (rev 31511)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.rse.ui/src/org/jboss/ide/eclipse/as/rse/ui/RSEDeploymentPreferenceUI.java 2011-05-26 15:02:04 UTC (rev 31512)
@@ -129,7 +129,7 @@
private void handleJBossServer(Composite composite) {
Label serverHomeLabel = new Label(this, SWT.NONE);
serverHomeLabel.setText("Remote Server Home: ");
- rseBrowse = new Button(this, SWT.DEFAULT);
+ rseBrowse = new Button(this, SWT.NONE);
rseBrowse.setText("Browse...");
rseBrowse.setLayoutData(UIUtil.createFormData2(composite, 5, null,
0, null, 0, 100, -5));
@@ -484,7 +484,7 @@
setLayout(new FormLayout());
Label l = new Label(this, SWT.NONE);
l.setText("Host");
- newHost = new Button(this, SWT.DEFAULT);
+ newHost = new Button(this, SWT.NONE);
newHost.setText("New Host...");
newHost.setLayoutData(UIUtil.createFormData2(0, 0, null, 0, null, 0, 100, -5));
newHost.addSelectionListener(new SelectionListener() {
13 years, 1 month
JBoss Tools SVN: r31511 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2011-05-26 10:18:21 -0400 (Thu, 26 May 2011)
New Revision: 31511
Added:
trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent
trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.xml
Removed:
trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent
trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Feedback.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues_4_0_0.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent
trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Updating_to_the_new_Web_Tools_Platform_packages.xml
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
Log:
cleaning up the release notes source files and starting release notes for 4.1.0.GA
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.ent 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,4 +0,0 @@
-<!ENTITY PRODUCT "JBoss Developer Studio">
-<!ENTITY BOOKID "4.0.0_Release_Notes">
-<!ENTITY YEAR "2011">
-<!ENTITY HOLDER "Red Hat">
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/4.0.0_Release_Notes.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,12 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<!-- This article will dsplay the release notes for version 4.0.0, and be found at http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/... -->
-
-<article>
- <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Fixed_Issues_4_0_0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Known_Issues_4_0_0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-</article>
Added: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent (rev 0)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent 2011-05-26 14:18:21 UTC (rev 31511)
@@ -0,0 +1,4 @@
+<!ENTITY PRODUCT "JBoss Developer Studio">
+<!ENTITY BOOKID "4.0.0_Release_Notes">
+<!ENTITY YEAR "2011">
+<!ENTITY HOLDER "Red Hat">
Property changes on: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.ent
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.xml (rev 0)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+<!-- This article will dsplay the release notes for version 4.0.0, and be found at http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/... -->
+
+<article>
+ <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Fixed_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Known_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+ <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
+</article>
Property changes on: trunk/documentation/guides/JBDS_Release_Notes/en-US/4.1.0_Release_Notes.xml
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Article_Info.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -3,16 +3,15 @@
<!-- Modify the title tag to change which book will be built -->
<articleinfo>
- <!--title>4.0.0 Release Notes</title-->
- <title>Release Notes</title>
+ <title>4.0.1 Release Notes</title>
<subtitle>Information about the changes made for this release of the JBoss Developer Studio.</subtitle>
<productname>JBoss Developer Studio</productname>
- <productnumber>4.0</productnumber>
+ <productnumber>4.1</productnumber>
<edition>0</edition>
- <pubsnumber>21</pubsnumber>
+ <pubsnumber>1</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.
+ These release notes contain important information related to the JBoss Developer Studio. New features, known issues, resources, and other current issues are addressed here.
</para>
</abstract>
<corpauthor>
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/Feedback.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Feedback.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Feedback.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -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 against JBoss Developer Studio: <ulink url="https://jira.jboss.org/jira/secure/CreateIssue.jspa?pid=12310500&issu...">https://jira.jboss.org/jira/secure/CreateIssue.jspa?pid=12310500&issu...</ulink>
- </para>
- <para>
- When submitting a bug report, be sure to mention the manual's name and to select the "documentation" component.
- </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/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-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Fixed_Issues_4_0_0.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,1447 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<section id="Issues-fixed-in-this-release">
- <title>
- Features added and issues fixed in version 4.0.0
- </title>
-
- <para>
- 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>
- <!--
-
- BIRT is no longer shipped with JBDS 4.0
-
- <formalpara>
- <title>BIRT</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6041">JBIDE-6041</ulink>: When creating a BIRT report that included the <property>EnumType</property> property, an error would be generated. This bug has been corrected by modifying the <filename>DataTypes.java</filename> file.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <formalpara>
- <title>Contexts and Dependency Injection (CDI)</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7796">JBIDE-7796</ulink>: Previously the CDI Bean XML schemas were accessed from the Internet by default. This could cause delays as the files were downloaded. Now the CDI Bean XML schemas are included in the <guilabel>XML Catalog</guilabel>. You can access the <guilabel>XML Catalog</guilabel> by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>XML</guimenuitem><guimenuitem>XML Catalog</guimenuitem></menuchoice>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-8124">JBIDE-8124</ulink>: The <guilabel>New CDI Bean</guilabel> wizard has been added to provide a convenient way to create new CDI Java classes with the <code>@Named</code>, <code>@Scope</code> and <code>@Qualifier</code> annotations. The wizard can be accessed by selecting <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>CDI (Context and Dependency Injection)</guimenuitem><guimenuitem>Bean</guimenuitem></menuchoice>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7875">JBIDE-7875</ulink>: It is recommended that developers create an Annotation Literal class for every qualifier in their public API. However, writing these classes by hand can be time consuming. To address this the new <guilabel>Annotation Literal Type</guilabel> wizard provides a streamlined way to create these classes. This wizard can be accessed by selecting <menuchoice>
- <guimenuitem>File</guimenuitem>
- <guimenuitem>New</guimenuitem>
- <guimenuitem>Other</guimenuitem>
- <guimenuitem>CDI (Context and Dependency Injection)</guimenuitem>
- <guimenuitem>Annotation Literal Type</guimenuitem>
- </menuchoice>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-7674">JBIDE-7674</ulink>: If a non-static field of a session bean class is annotated <property>@Produces</property>, <productname>CDI Tools</productname> detects the problem and treats it as a definition error in accordance with <ulink url="http://docs.jboss.org/cdi/spec/1.0/html/implementation.html#d0e2226">JSR-299 §3.4.2</ulink>. If this situation is encountered, a new <guilabel>Quick Fix</guilabel> has been implemented that provides a way to make such a field <code>static</code>.
- </para>
- </listitem>
-
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7802">JBIDE-7802</ulink>: Previously CDI related wizards (such as <guilabel>Injection Scoped Bean</guilabel>) could not be found in the <guilabel>New</guilabel> wizard by searching for the keyword "CDI". This issue has been resolved, resulting in CDI related wizards being listed against the search keyword "CDI".
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7891">JBIDE-7891</ulink>: Weld is now used in place of Seam for Contexts and Dependency Injection, and this change is reflected in the icons and banners shown in the CDI wizards, which now display the Weld icon instead of the Seam icon.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7897">JBIDE-7897</ulink>: Stereotypes that were declared with <property>@Target(type)</property> annotation could not be applied to stereotypes where the <property>@Target</property> annotation only accepted values of <property>type, method, field</property>, <property>method</property>, <property>field</property> or <property>method, field</property>. This has been corrected for this release. A stereotype allows a developer to use the same recurring bean role within a framework.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7895">JBIDE-7895</ulink>: A bug existed that would cause interceptor binding types that were declared using the <property>@Target(type)</property> annotation to not be applied correctly to interceptor binding types declared using <property>@Target({type, method})</property> annotation. This bug has now been corrected by modifying the following files: <filename>CDICoreValidator.java</filename>, <filename>AnnotationValidationDelegate.java</filename> and <filename>CDIValidationMessages.java</filename>. This now allows interceptor binding types that are declared using the <property>@Target(type)</property> annotation to be applied correctly to interceptor binding types declared using <property>@Target({type, method})</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7894">JBIDE-7894</ulink>: Stereotype declaration has been improved for this release. If the stereotype role declares interceptor bindings it must also be defined using the <property>@Target(type)</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7842">JBIDE-7842</ulink>: A new wizard has been added for the <filename>beans.xml</filename> file. This new wizard uses the <guilabel>New File</guilabel> wizard as a foundation, setting the <guilabel>File Name</guilabel> input field set to <filename>beans.xml</filename> and the <guilabel>Parent Folder</guilabel> to the projects <filename>beans.xml</filename> default location (if determinable).
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-7823">JBIDE-7823</ulink>: A new option has been added to the <guilabel>Dynamic Web Project</guilabel> wizard which enables support for <productname>CDI</productname>. The new option can be accessed using the following steps:
- <orderedlist>
- <listitem>
- <para> In Eclipse navigate to <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem></menuchoice>
- </para>
- </listitem>
- <listitem>
- <para>
- Select the <option>Dynamic Web Project</option> option from the <option>Web</option> group, and click the <guibutton>Next</guibutton> button.
- </para>
- </listitem>
- <listitem>
- <para>
- Select any Java EE 6 application server (e.g. JBoss AS 6) in the <guilabel>Target runtime</guilabel> section.
- </para>
- </listitem>
- <listitem>
- <para>
- Select the <option>Dynamic Web Project with CDI (Context and Dependency Injection)</option> in the <guilabel>Configuration</guilabel> section.
- </para>
- </listitem>
- </orderedlist>
- </para>
- <para>
- When the <option>Dynamic Web Project with CDI (Context and Dependency Injection)</option> option is selected the <productname>CDI Facet</productname> will be installed along with all required and preferred dependencies such as JSF 2, Java 6 and Servlets 3.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7803">JBIDE-7803</ulink>: After creating a project for the Web Tools Platform (WTP), a user would have to manually create the <filename>beans.xml</filename> file that will located at <filename>WEB-INF/beans.xml</filename> for WAR files and <filename>META-INF/beans.xml</filename> for EJB files. The CDI facet has now been updated to ensure that an empty <filename>beans.xml</filename> file is generated in the correct locations during the creation of a WTP project when the <guilabel>Generate beans.xml</guilabel> box is checked. This update helps to ensure the necessary CDI file exists for the WTP project.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-7721">JBIDE-7721</ulink>: It is possible to declare custom decorators and interceptors without using the @Decorator and @Interceptor annotations, like so:
-<screen>class CustomDecoratorImplementation implements Decorator<VehicleDecorator> {
- ...
-}</screen>
- and
-<screen>class VehicleDecorator implements Vehicle {
- @Inject @Delegate Vehicle delegate;
- ...
-}</screen>
- </para>
- <para>
- Previously, <productname>CDI Tools</productname> did not recognize these custom decorators and interceptors, which caused issues including injection points in classes not annotated using <property>@Decorator</property> being flagged as a definition error and problems with the <productname>OpenOn</productname> feature. <productname>CDI Tools</productname> now correctly recognizes these custom decorators/interceptors.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7675">JBIDE-7675</ulink>: The quick fix for the error <errorname>Bean class has more than one constructor annotated @Inject</errorname> has been updated to show the various injected constructors. It then asks the user to select only one constructor, removing the <property>@Inject</property> annotation from all others.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7673">JBIDE-7673</ulink>: The quick fix for the error <errorname>There are multiple disposer methods for a single producer method</errorname> has been updated to show the various disposer methods. It then asks the user to select only one method, removing the <property>@Disposes</property> annotation from all others.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7672">JBIDE-7672</ulink>: The quick fix for session bean and EJB non-static methods has been updated. This update ensures that when the method is annotated with <property>@Disposes</property> or <property>@Observes</property> respectively, the quick fix changes the method to correctly be, a business method.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7669">JBIDE-7669</ulink>: The quick fix for <property>@Produces</property> annotation has been updated to suggest the addition of <property>@LocalBean</property> annotation when used in a session bean class. When specified, the <property>@LocalBean</property> annotation ensures the current class and subsequent methods are private instead of public (unless a method is specifically annotated otherwise).
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7025">JBIDE-7025</ulink>: OpenOn support has been added for the <filename>beans.xml</filename> editor. OpenOn support allows you to easily navigate around your project without the use of the <guilabel>Package Explorer</guilabel> or <guilabel>Project Explorer</guilabel>. This is achieved by using the class and method names in your code as links to those code segments.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6998">JBIDE-6998</ulink>: The <productname>Weld</productname> project extensions (beans_1_1.xsd) are now supported by the <filename>beans.xml</filename> editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6983">JBIDE-6983</ulink>: The <filename>beans.xml</filename> editor now correctly supports elements in other namespaces. This has been achieved by supporting any child element of the <beans> root element and providing dynamic extensions to <filename>beans.xml</filename> in order to support different namespaces.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6742">JBIDE-6742</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6743">JBIDE-6743</ulink>: Error messages have been rewritten to clarify the error that occurred. For example, the error message <errorname>Session bean with a parameterized bean class declares any scope other than @Dependent</errorname> has been rewritten to say <errorname>Session bean with a parameterized bean class must have @Dependent scope</errorname>. For a list of all error messages affected view the associated JIRAs.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6728">JBIDE-6728</ulink>: Each field injection point that includes an <parameter>Event</parameter> type is now provided with a default bean. For example the injection field <code>@Inject @Any @Tame @Role("Master") Event<TamingCommand> tamingEvent</code> will now have a bean for injection.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6704">JBIDE-6704</ulink>: It is now possible to enable and disable the CDI validator at the project level. To enable project validator settings navigate to
- <menuchoice>
- <guimenuitem>Project</guimenuitem><guimenuitem>Properties</guimenuitem><guimenuitem>CDI Settings</guimenuitem><guimenuitem>Validator</guimenuitem><guimenuitem>Enable project specific settings</guimenuitem>
- </menuchoice>
- .
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6642">JBIDE-6642</ulink>: Validation has been added to ensure that <property>@Stereotype</property> annotation has the following annotation components: <property>@Target({TYPE, METHOD, FIELD})</property>, <property>@Target(TYPE)</property>, <property>@Target(METHOD)</property>, <property>@Target(FIELD)</property> or <property>@Target({METHOD, FIELD})</property>, and <property>@Retention(RUNTIME)</property>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6641">JBIDE-6641</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6640">JBIDE-6640</ulink>: The OpenOn menu for injection points has been upgraded to present more information concerning eligible beans and indicates the class or classes that will be injected.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6639">JBIDE-6639</ulink>: Validation has been added to ensure that <property>@Scope</property> and <property>@NormalScope</property> annotation have the following annotation components: <property>@Target({TYPE, METHOD, FIELD})</property> and <property>@Retention(RUNTIME)</property>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6637">JBIDE-6637</ulink>: Validation has been added to ensure that <property>@Qualifier</property> and <property>@NormalScope</property> annotation have the following annotation components: <property>@Target({METHOD, FIELD, PARAMETER, TYPE})</property> and <property>@Retention(RUNTIME)</property>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6636">JBIDE-6636</ulink>: Errors in the <property>@Typed</property> annotation applied to the <classname>Bean</classname> class, <methodname>Producer</methodname> method and the <property>Producer</property> field were not reported on. If <property>@Typed</property> annotation errors are present in these circumstances, the errors are now reported to the user.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6635">JBIDE-6635</ulink>: A bug existed that would ignore the decorator of a class and take a user straight to the bean when choosing the <guimenuitem>Open Injected Class</guimenuitem> option. This issue has been corrected by expanding on the list of options to choose from. New options include <guimenuitem>Open Decorator NAME</guimenuitem> and <guimenuitem>Open Interceptor NAME</guimenuitem>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6574">JBIDE-6574</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6505">JBIDE-6505</ulink>: The Java Specification Request 299 (JSR-299) specifies context and dependency injection for the Java EE platform. To cater for this more than 70 validation rules have been added that reference the specific section of the JSR-299 specification each validation error relates to. This functionality ensures that written annotations will compile correctly.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6523">JBIDE-6523</ulink>: Validation has been added for all classes and annotation names.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6446">JBIDE-6446</ulink>: It is possible to declare two different methods in the one class that have the same annotation. Circumstances such as this would cause confusion when a user clicked on an injection point and went to select one of the methods from the generated list, since both would display the same class name only. This bug has been fixed by including the method or field name along with the class name in the generated list.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6445">JBIDE-6445</ulink>: A bug existed that would cause Eclipse to hang for an unstipulated amount of time when OpenOn for injection points was utilized. This error has now been fixed by modifying the <classname>ProducerDisposerHyperlinkDetector</classname>, <classname>CDIUtil</classname> and <classname>InjectedPointHyperlinkDetector</classname> classes.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6418">JBIDE-6418</ulink>: When matching injections to CDI injection points, there was occasion when no injections existed or those that did exist were ambiguous, however no feedback was provided to the user indicating this. This has been rectified in this release by adding validation tests for CDI injection points where no matching injections exist or those that match are ambiguous. In these circumstances validation tests will mark these injection points with an error or warning based on user preferences.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6416">JBIDE-6416</ulink>: A new wizard has been added for easy creation of a Scope Java file. The <guilabel>Scope Annotation Type</guilabel> wizard can be found under the <guilabel>CDI</guilabel> folder in the wizard selection dialog.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6415">JBIDE-6415</ulink>: A new wizard has been added for easy creation of an Interceptor Binding Java file. The <guilabel>Interceptor Binding Annotation Type</guilabel> wizard can be found under the <guilabel>CDI</guilabel> folder in the wizard selection dialog.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6414">JBIDE-6414</ulink>: A new wizard has been added for easy creation of a Stereotype Java file. The <guilabel>Stereotype Annotation Type</guilabel> wizard can be found under the <guilabel>CDI</guilabel> folder in the wizard selection dialog.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6413">JBIDE-6413</ulink>: A new wizard has been added for easy creation of a Qualifier Java file. The <guilabel>Qualifier Annotation Type</guilabel> wizard can be found under the <guilabel>CDI</guilabel> folder in the wizard selection dialog.
- </para>
- </listitem>
- <!-- Only for JBT Release Notes -->
- <!-- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6412">JBIDE-6412</ulink>: A new feature has been added, the CDI Maven configurator. The configurator allows you to configure the Maven CDI settings for your project.
- </para>
- </listitem> -->
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6251">JBIDE-6251</ulink>: OpenOn support has been added for <methodname>Disposer</methodname> and <methodname>Producer</methodname> methods.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5927">JBIDE-5927</ulink>: A new feature has been added allowing for CDI <property>@Named</property> annotated beans to be renamed through refactoring. This change appears when using the <guilabel>Find References</guilabel> functionality for EL expressions. The <guimenuitem>Rename</guimenuitem> action is available from the context menu for a <property>@Named</property> annotation in the Java Source editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-3136">JBIDE-3136</ulink>: A new decorator wizard has been added. To create a new decorator type with the decorator wizard, navigate to
- <menuchoice>
- <guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>CDI</guimenuitem><guimenuitem>Decorator Type</guimenuitem>
- </menuchoice>
- and press <guibutton>Next</guibutton>. The decorator wizard creates a decorator for an existing web bean, and implements <property>@Decorates</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-3124">JBIDE-3124</ulink>: A new feature has been added that allows a user to locate <methodname>Observer</methodname> methods for an <methodname>Event</methodname> and also locate <methodname>Event</methodname> methods for an <methodname>Observer</methodname>. To locate the <methodname>Observer</methodname> methods for an <methodname>Event</methodname>, click on the <guimenuitem>Open CDI Observer Methods</guimenuitem> from the content assist menu for an <methodname>Event</methodname>. Likewise, select <guimenuitem>Open CDI Events</guimenuitem> from the content assist menu for an <methodname>Observer</methodname> method to find the relevant <methodname>Event</methodname> methods.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-3122">JBIDE-3122</ulink>: A new <classname>Interceptor</classname> class wizard has been added. To create a new interceptor type with the interceptor wizard, navigate to <menuchoice>
- <guimenuitem>File</guimenuitem>
- <guimenuitem>New</guimenuitem>
- <guimenuitem>Other</guimenuitem>
- <guimenuitem>CDI</guimenuitem>
- <guimenuitem>Interceptor Type</guimenuitem>
- </menuchoice>
- and press <guibutton>Next</guibutton>. The interceptor wizard declares an interceptor for an existing web bean, and implements <property>@Interceptor</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-2708">JBIDE-2708</ulink>: The <productname>CDI Validator</productname> now implements all the definitions, non-portable behaviors and deployment problems mentioned in <ulink url="http://docs.jboss.org/cdi/spec/1.0/html/index.html">JSR-299</ulink> with the exception of those that can not be tracked at design time. You can view the complete list of implemented rules in the <ulink url="https://anonsvn.jboss.org/repos/jbosstools/trunk/cdi/plugins/org.jboss.to...">errorList.txt</ulink> file.
- </para>
- <para>
- The severity levels for optional CDI Validation rules can be set 2 ways:
- <itemizedlist>
- <listitem>
- <para>
- Globally for all projects by selecting <menuchoice>
- <guimenuitem>JBoss Tools</guimenuitem>
- <guimenuitem>Web</guimenuitem>
- <guimenuitem>CDI</guimenuitem>
- <guimenuitem>Validator</guimenuitem>
- </menuchoice>
- </para>
- </listitem>
- <listitem>
- <para>
- At the project level, overriding the global preferences, by selecting <menuchoice>
- <guimenuitem>Project</guimenuitem>
- <guimenuitem>Properties</guimenuitem>
- <guimenuitem>CDI Settings</guimenuitem>
- <guimenuitem>Validator</guimenuitem>
- </menuchoice>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-2704">JBIDE-2704</ulink>: The CDI tool set has been enhanced with code completion added for relevant types and annotations in <filename>beans.xml</filename>.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <!-- Include in JBT Release Notes only!!! -->
- <!-- <formalpara>
- <title>Deltacloud</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7761">JBIDE-7761</ulink>: The <guimenuitem>Show in Remote System Explorer...</guimenuitem> option is now available in the <guilabel>Cloud Viewer<guilabel> context menu.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7186">JBIDE-7186</ulink>: Previously when publishing to a remote server the progress bar and percentage indicator provided insufficient information on the actions that were being undertaken during what could be a time consuming process. In this version the progress monitor now shows more detailed information such as the name of the individual file that is being uploaded or the name of the directory that is currently being created.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7554">JBIDE-7554</ulink>: When the <guilabel>Cloud Viewer</guilabel> View was refreshed there was previously no indication that the View was being repopulated. This made it difficult to judge the progress of the refresh operation. To address this the list of instances and images are cleared from the <guilabel>Cloud Viewer</guilabel> View before they are refreshed, and a pop-up progress dialog box is now displayed.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7569">JBIDE-7569</ulink>: When expanding the <guilabel>Instances</guilabel> tree in the <guilabel>Cloud Viewer</guilabel> View, there was no indication that the tree was currently being populated. To indicate that the tree is being populated a temporary entry labeled <guilabel>Loading...</guilabel> will now be visible while no instances have been added.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7774">JBIDE-7774</ulink>: The <guilabel>Deltacloud Cloud Connection</guilabel> wizard, accessible by selecting
- <menuchoice>
- <guimenuitem>File</guimenuitem>
- <guimenuitem>New</guimenuitem>
- <guimenuitem>Other</guimenuitem>
- <guimenuitem>Deltacloud</guimenuitem>
- <guimenuitem>Cloud Connection</guimenuitem>
- </menuchoice>, will now display the last used URL.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7911">JBIDE-7911</ulink>: Support for Deltacloud Server 0.1.2 has been added.
- </para>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6837">JBIDE-6837</ulink>: Deltacloud tooling has been added for this release.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <formalpara>
- <title>Drools</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6459">JBIDE-6459</ulink>: Functionality has been added that allows a user to right-click on a Fact or POJO and add it to their BRMS or Govnor instance without going through the process of exporting a JAR file and then importing it.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4646">JBIDE-4646</ulink>: A new wizard is now available that allows for a user to update an existing Drools Guvnor repository connection. Through this wizard a user can update the repository location and security information. To open the wizard, select <guimenuitem>Edit Connection</guimenuitem> from the context menu of your connection in the <guilabel>Guvnor Repositories</guilabel> view.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>ESB</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7193">JBIDE-7193</ulink>: New optional parameters <parameter>ruleMultithreadEvaluation</parameter> and <parameter>ruleMaxThreads</parameter> have been added to the <classname>BussinessRulesProcessor</classname> class. <parameter>ruleMultithreadEvaluation</parameter> enables or disables <classname>KnowledgeBase</classname> partitioning. <parameter>ruleMaxThreads</parameter> defines the number of threads to use when <classname>KnowledgeBase</classname> partitioning is enabled. The default values for these parameters is null, disabling them by default.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7235">JBIDE-7235</ulink>: The ESB validator has been extended to cover the <classname>BussinessRulesProcessor</classname> class. This ensures that only one <methodname>ruleSet</methodname> is specified by the <classname>BussinessRulesProcessor</classname>, inhibiting conflicts.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7055">JBIDE-7055</ulink>: Eclipse Helios provides a new view called the <guilabel>Annotation Properties</guilabel> view that is focused on JAXB and JAX-WS annotations. The new view is now extended with support for ESB annotations for action definitions.
- </para>
- <para>
- To open the new <guilabel>Annotation Properties</guilabel> view, navigate to
- <menuchoice>
- <guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>JAX-WS</guimenuitem><guimenuitem>Annotation Properties</guimenuitem>
- </menuchoice>
- and clicking <guibutton>OK</guibutton>. The view can be filtered to display only ESB annotations by selecting the <guimenuitem>Filters</guimenuitem> option from the <guilabel>Annotation Properties</guilabel> view menu and then selecting all annotation categories except for <guilabel>JBoss ESB</guilabel> and clicking <guibutton>OK</guibutton>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6908">JBIDE-6908</ulink>: Support for ESB 4.9 has been added to the ESB project editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6758">JBIDE-6758</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6160">JBIDE-6160</ulink>: An existing <parameter>service</parameter> element without a child <parameter>security</parameter> element would not be be able to have the <parameter>security</parameter> element added through the user interface. To fix this issue, each <parameter>service</parameter> element now has a <parameter>security</parameter> element and a subsequent <guimenuitem>Security</guimenuitem> form automatically attached in the ESB editor. The <parameter>security</parameter> element can safely be deleted from the <parameter>service</parameter> element code without the <guimenuitem>Security</guimenuitem> form being removed in the ESB editor. This ensures that if a user wishes to re-add a <parameter>security</parameter> element at a later stage, the functionality will exist to do so within the user interface.
- </para>
- <para>
- In fixing this issue the new value of <property>org.jboss.soa.esb.services.security.auth.login.JBossSTSIssueCallbackHandler</property> was also added to the Callback Handler drop-down box. This new value enables the ability to retrieve user and password information from an authentication request.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6616">JBIDE-6616</ulink>: Support for ESB actions through annotations has been added to the ESB editor. When creating the configuration for a new ESB action, you can now create a new Annotated POJO class as well as a class that extends the <classname>AbstractActionPipelinedProcessor</classname> class.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6615">JBIDE-6615</ulink>: ESB 4.9 includes a new router for utilizing the Camel runtime; support for this new router has been added to the ESB tooling.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6614">JBIDE-6614</ulink>: Support for the new Complex Event Processing (CEP) functionality in ESB 4.9 has been added. The new feature means that CEP can now use the <classname>BusinessRulesProcessor</classname> action, and this has been added to the ESB tooling.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6609">JBIDE-6609</ulink>: The ESB Editor did not support the <methodname>BPELInvoke</methodname> action, causing error with Riftsaw and ESB integration.To correct this bug the option <menuchoice>
- <guimenuitem>New</guimenuitem>
- <guimenuitem>BPELInvoke Action</guimenuitem>
- </menuchoice>
- is available from the ESB editor's menu when the <classname>org.jboss.soa.esb.actions.bpel.BPELInvoke</classname> class is apart of the project classpath. This ensures that the <methodname>BPELInvoke</methodname> action is only enabled when the Riftsaw runtime is installed.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5551">JBIDE-5551</ulink>: Language property support has been corrected in the ESB editor. When specifying a <property>ScriptingAction</property> a user can now set a <property>language</property> property instead of allowing the <property>ScriptingAction</property> to determine the language based on the extension of the file.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <!-- Google Web Toolkit is only shipped with JBoss.org
-
- <formalpara>
- <title>Google Web Toolkit</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7092">JBIDE-7092</ulink>: Support has been added for the Google Web Toolkit (GWT) Designer. To use this functionality do the following:
- </para>
- <orderedlist>
- <listitem>
- <para>
- Install the GWT Designer from <ulink url="http://dl.google.com/eclipse/inst/d2gwt/latest ">http://dl.google.com/eclipse/inst/d2gwt/latest</ulink>
- </para>
- </listitem>
- <listitem>
- <para>
- Create a dynamic web project and active the GWT facet
- </para>
- </listitem>
- <listitem>
- <para>
- Build the included GWT examples
- </para>
- </listitem>
- <listitem>
- <para>
- Right-click on <filename>Gwt_jboss.java</filename> and choose
- <menuchoice>
- <guimenuitem>Open with</guimenuitem><guimenuitem>WindowBuilder Editor</guimenuitem>
- </menuchoice>
- from the menu
- </para>
- </listitem>
- <listitem>
- <para>
- Switch the editor to the <guilabel>Designer</guilabel> tab
- </para>
- </listitem>
- </orderedlist>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <formalpara>
- <title>Hibernate</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-7771">JBIDE-7771</ulink>: In previous versions the HQL <guilabel>Query Parameters</guilabel> view showed only the first entry from a list of parameter values. To view the full list of parameters the ellipsis button in the <guilabel>Value</guilabel> field had to be clicked to display the <guilabel>Parameter Values</guilabel> dialog. The new <guilabel>Query Parameters</guilabel> view shows all parameters separated by the pipe (|) character when the <guilabel>Value</guilabel> field is not being edited, and reverts back to showing only the first parameter when the <guilabel>Value</guilabel> field is being edited.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7990">JBIDE-7990</ulink>: The <guilabel>Properties</guilabel> View was empty when a <guilabel>Configuration</guilabel> node was selected in the <guilabel>Hibernate Configurations</guilabel> View. The properties defined in the XML configuration file were expected to be shown in the <guilabel>Properties</guilabel> View.
- </para>
- <para>
- The expect behavior has been implemented by listing the properties and values defined in the Hibernate XML configuration file in the <guilabel>Properties</guilabel> View.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6988">JBIDE-6988</ulink>: Console configuration would not take into account the schema and catalog being specified for a JPA project. This meant that if two schemas existed for one database when a user opened the created console configuration, it would error indicating there was two database schemas. The expected result is that the schema that has been set for the project would be used.
- </para>
- <para>
- Expected behavior has been implemented by setting a <property>default_schema</property> property in the properties for the project as if this was being set in the <filename>hibernate.properties</filename> file. However properties in the <filename>hibernate.properties</filename> file will overwrite project properties.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6974">JBIDE-6974</ulink>: Support for comments in the HQL editor has been added for this release. Comments are annotated with <emphasis>--</emphasis> at the beginning of each comment line.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6727">JBIDE-6727</ulink>: When a JPA project is created with Hibernate a console configuration is automatically created for it. However if a Hibernate JPA project did not have a console configuration associated with it an exception would occur due to the tooling assuming a console configuration existed. To avoid this situation, Hibernate JPA projects are now tested for an associated console configuration. If a console configuration is not found an error will appear in the <guilabel>Problems</guilabel> view.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6703">JBIDE-6703</ulink>: The <classname>QueryExporter</classname> has been added to the exporters for use in Hibernate code generation configurations. This is accomplished by allowing all Ant export tasks to be executed from the user interface.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6686">JBIDE-6686</ulink>: An error existed where the Hibernate platform to be used was not filtered based on the version of JPA being used. This meant that selecting the JPA version to use would present all Hibernate platforms to the user, with indistinct names. This issue has been corrected by only displaying the Hibernate platform that corresponds to the specified JPA version, and renaming these platforms for easier identification.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6621">JBIDE-6621</ulink>: In previous versions, when a user selected Ingres from the list of databases or database dialects the <guilabel>Driver Name</guilabel> and <guilabel>Connection URL</guilabel> fields would not be auto-populated as they are for other databases in the list. This has lead to concerns of the compatibility of Ingres with JBoss Enterprise Application Platform. To correct this issue the new Ingres dialects <filename>Ingres9Dialect</filename> and <filename>Ingres10Dialect</filename> have been added, ensuring the aforementioned fields are auto-populated for both versions 9 and 10 of Hibernate core.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6518">JBIDE-6518</ulink>: A new feature has been added that makes it possible to export a Hibernate code generation configuration to an Ant build file. To use this feature navigate to
- <menuchoice>
- <guimenuitem>File</guimenuitem><guimenuitem>Export</guimenuitem><guimenuitem>Hibernate</guimenuitem><guimenuitem>Ant Code Generation</guimenuitem>
- </menuchoice>
- .
- </para>
- </listitem>
- <listitem>
- <para>
- <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>
- <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>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6115">JBIDE-6115</ulink>: The <guibutton>Schema Export (.ddl)</guibutton> exporter would apply any changes made by a user to the database during the export process. This was unexpected behavior and had the ability to cause unwanted data loss. This issue has been corrected by ensuring that the script is not exported to the database by default, thus no changes are applied to the database by default now when using the <guibutton>Schema Export (.ddl)</guibutton> functionality.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5847">JBIDE-5847</ulink>: New functionality has been added that allows for Dali 2.3 support in Hibernate Tools. Dali 2.3 is the latest release of the Eclipse Web Tools Platform, part of the larger Eclipse Helios release that this JBoss release is built upon.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5805">JBIDE-5805</ulink>: Usability has been improved with this release by including matching bracket highlighting within the Hibernate Query Language (HQL) editor. When a user has the cursor beside a bracket in their code, the paired bracket will be highlighted. This functionality is useful for debuging applications.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5411">JBIDE-5411</ulink>: Packages without Java classes are now correctly filtered from being shown in the <guilabel>New Hibernate hbm.xml</guilabel> wizard. This wizard is used to create a new Hibernate XML mapping file.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4663">JBIDE-4663</ulink>: <property>@DiscriminatorFormula</property> annotation has been fixed so that the assigned value appears in the <guilabel>Formula</guilabel> field of the <guilabel>JPA Details</guilabel> tab.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4202">JBIDE-4202</ulink>: In previous releases a user was not able to enter a parameter list using the Hibernate Query Editor. For this release the <guilabel>Query Parameters</guilabel> view has been improved to allow a user to select a parameter type from a list, if more than one parameter exists. To achieve this a user can click on the <guibutton>...</guibutton> button in the <guilabel>Value</guilabel> field of the <guilabel>Query Parameters</guilabel> view. If the button does not appear then there is only one parameter available.
- </para>
- </listitem>
- <!-- JBIDE-5960 was included in the JBDS 3.0.1 and JBT 3.1.1 releases. Mentioned in 3.0.1 Release Notes -->
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>jBPM</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6104">JBIDE-6104</ulink>: An error existed that meant local and deployment server settings were not saved and upon reopening the jBPM Process Definition Language (JPDL) all the settings would need to be reconfigured. With this release changes made to local and deployment server settings are made persistent across JPDL sessions.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5911">JBIDE-5911</ulink>: Previously it was only possible to have one jBPM process definition in a package (folder). Support has been added in this version that allows for multiple process definitions to exist in the one package.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
-
-
- <formalpara>
- <title>JBoss Enterprise Portal Platform</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-6382">JBIDE-6382</ulink>: Previously when creating a Dynamic Web Project targeting the EPP 5.x runtime, and then modifying the project to include support for Richfaces, the resulting project did not reference any Richfaces libraries. This forced the developer to manually reference the Richfaces library files. More information on this bug can be found in <ulink url="https://issues.jboss.org/browse/JBIDE-7702">JBIDE-7702</ulink>. In this version when creating a Dynamic Web Project targeting the EPP 5.x runtime that references the Portletbridge and Seam libraries, the Portletbridge and Richfaces libraries are automatically referenced by the resulting project from the appropriate directories in the EPP distribution. This new process is described in <ulink url="https://issues.jboss.org/browse/JBDS-1410">JBDS-1410</ulink>.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
-
-
- <formalpara>
- <title>JavaServer Faces (JSF)</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7439">JBIDE-7439</ulink>: Code completion has been added for the <property>name</property> attribute based on the associated <property>type</property>. For example: Code completion is now available for <code><cc:attribute name="myattr" type="java.lang.String" /></code>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7433">JBIDE-7433</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7424">JBIDE-7424</ulink>: Palette tools have been added to the JSF tooling that support RichFaces 4.0.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7422">JBIDE-7422</ulink>: Templates have been created and are included that combine JSF 2.0 and RichFaces 4.0.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7265">JBIDE-7265</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7264">JBIDE-7264</ulink>: Refactoring speed has been improved. Previously when a user would perform a refactoring action, every Expression Language (EL) parameter would be checked, even if the Java class was not used in an Expression Language. Speed has been improved for this release by containing EL parameter checking to only those of relevance; this is achieved by using the <classname>ValidationContext</classname> class.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7147">JBIDE-7147</ulink>: The validators create a marker for each problem found when conducting validation. An issue would arise where system performance would be dramatically decreased when an excessive amount of problems were discovered and subsequently marked. To ensure a system does not receive a performance hit, the <guimenuitem>Validator</guimenuitem> preferences screen now includes the ability to set the maximum number of problems reported per file. If there are more issues in a file than the maximum number to be reported, once the reported issues are corrected the others will be reported in subsequent validation attempts.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7086">JBIDE-7086</ulink>: MyFaces uses the library <filename>myfaces-metadata.xml</filename> to enable tag auto-completion, a plug-in that was not supported. MyFaces plug-in library support has been added, allowing for MyFaces tag auto-completion.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7021">JBIDE-7021</ulink>: Low performance issues existed for validation of web pages. Performance issues were caused by the XHTML syntax validator performing to slow if a DOCTYPE was not declared at the top of XHTML files, the <methodname>PageContextFactory.createPageContext</methodname> method created a SSE model for non-facelet pages, if a page contained Expression Language (EL) errors or warnings, a memory leak appeared in the <methodname>PageContextFactory.getSheetForTagAttribute</methodname> method by registering <classname>ExtendedLinkElementAdapter</classname> and never releasing the memory allocated to it. These issues have been addressed in this release and the <classname>PageContextFactory</classname> class has been removed from the resource listeners since resources can be modified without changing their context in other places apart from the included validators.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6816">JBIDE-6816</ulink>: A template page for RichFaces has been added to the list of available XHTML templates.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6815">JBIDE-6815</ulink>: A template page has been added that does not incorporate Facelets.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6732">JBIDE-6732</ulink>: New functionality has been added that allows a user to refactor a JSF 2 composite components directory. This means that a user can rename the directory and every reference to the folder within namespace definitions of web pages will be updated accordingly, through the refactoring process.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6285">JBIDE-6285</ulink>: Previously when a user would insert a start and ending tag (for example, <tag><tag>), code assistance would turn on when the cursor was placed between the tags. This behavior was not an assistance to the user under normal circumstances as when a user pressed the <keycode>Enter</keycode> key, to separate the tags, the first code assist proposal would be inserted instead. For this release Code assistance has been improved by realizing that in the mentioned circumstance no assistance is required.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6276">JBIDE-6276</ulink>: The ability to preview refactoring changes made to JSF 2 components has been added.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6266">JBIDE-6266</ulink>: Content Assist now includes support for Web Standards Tools (WST) categories. A further two categories have been added: JBoss JSF/Seam EL and JBoss JSF/Seam Tag Proposals.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6259">JBIDE-6259</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6025">JBIDE-6025</ulink>: A new option has been added to the <guilabel>Preferences</guilabel> page allowing a user to <option>enable</option> or <option>disable</option> code assist of <methodname>get</methodname> and <methodname>set</methodname> methods in the expression language.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5946">JBIDE-5946</ulink>: A new XHTML template called <guilabel>JSF Composite Component</guilabel> has been added to the new XHTML page wizard that assists in the creation of JSF2 composite components.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5943">JBIDE-5943</ulink>: The possibility to rename a JSF component attribute name now exists. To rename a component name right-click on the name in your XHTML editor and navigate to
- <menuchoice>
- <guimenuitem>Refactor</guimenuitem><guimenuitem>Rename</guimenuitem>
- </menuchoice>
- and input a new name in the <guilabel>Rename Composite Attribute</guilabel> dialog.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5942">JBIDE-5942</ulink>: The ability to refactor a JSF component has been added. This allows for a user to change the name of a component file and for this change to persist in the project the component is a part of.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5941">JBIDE-5941</ulink>: Content assist support has been added for composite attributes. To support this functionality the <classname>JSF2CCAttrsELCompletionEngine</classname> class has been added.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5937">JBIDE-5937</ulink>: If a custom element attribute does not exist then a user can perform a quick fix to create it.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5930">JBIDE-5930</ulink>: When creating a custom JSF2 page and a coded element name does not exist, the user will be presented with a quick fix option. To select the quick fix option navigate to the <guilabel>Problems</guilabel> window where the <guiicon>Warnings</guiicon> information appears and rick-click on the warning specifying that the element name does not exist. From the displayed menu, navigate to
- <menuchoice>
- <guimenuitem>Quick Fix</guimenuitem>
- </menuchoice>
- .The <guilabel>Quick Fix</guilabel> dialog will then display with a list of fixes for the problem. Select one from the list and click <guibutton>Finish</guibutton> to apply the quick fix.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5922">JBIDE-5922</ulink>: When referencing a resource that does not exist (for example, having the following code at the top of a HTML page <code>xmlns:newResource="http://java.sun.com/jsf/composite/newResource"</code>), the user can now select the <guimenuitem>Quick Fix</guimenuitem> option from the context menu that will create a folder for this resource under the <guimenuitem>resources</guimenuitem> folder for your project.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5888">JBIDE-5888</ulink>: The <guilabel>Add JSF Capabilities</guilabel> wizard has been updated to support the new Servlet 3.0 standard. A user can select to use Servlet 3.0 from the <guilabel>Servlet Version</guilabel> drop-down list on the <guilabel>Project Folders</guilabel> page of the wizard.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5677">JBIDE-5677</ulink>: JSF 2 is now supported for web projects. When a user is configuring Project Facets and selects to add JSF support, JSF 2 is now an available option.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5661">JBIDE-5661</ulink>: JavaServer Pages Standard Tag Library (JSTL) functions (<code>fn:*</code>) were not supported and an empty panel would appear in a users workspace after attempting to add a JSTL function to a project. Support has been added for JSTL functions with this release. Support has been achieved through the modification of the following files: <filename>TLDToPaletteHelper.java</filename>, <filename>JSPAdopt.java</filename> and <filename>JSPPaletteInsertHelper.java</filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5219">JBIDE-5219</ulink>: The JSF 2 kick start project template has been added and is now available within the <guilabel>New JSF Project Wizard</guilabel>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4990">JBIDE-4990</ulink>: When performing an Expression Language (EL) variable refactoring (renaming), all occurrences of the specific variable are renamed accordingly. The refactoring action is available from the context menu of an Expression Language (EL) variable in the JSP and XHTML editors.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4947">JBIDE-4947</ulink>: A new feature has been added that produces a tool tip for any Expression Language (EL) element that a user hovers the mouse cursor over. The tool tip displays information about the EL element.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4876">JBIDE-4876</ulink>: The quick fix operation has been enhanced, now offering to add the corresponding tag library definition to the JSP or XHTML header for any tags without a corresponding XML Namespace (XMLNS) in the document header.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>JBoss Application Server</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7412">JBIDE-7412</ulink>: The Eclipse server editor has been modified to present only the relevant options in the <guilabel>Server Behaviour</guilabel> section, depending on the value selected in the combobox. When you select <guilabel>Local</guilabel> from the combobox, no additional options are presented in the <guilabel>Server Behaviour</guilabel> section. When you select <guilabel>Remote System Deployment</guilabel> from the combobox a number of options are made available in the <guilabel>Server Behaviour</guilabel> section. Selecting either <guilabel>Local</guilabel> or <guilabel>Remote System Deployment</guilabel> will also now enable or disable the appropriate options in the <guilabel>Deployment</guilabel> tab.
- </para>
- </listitem>
-
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7019">JBIDE-7019</ulink>: A <guibutton>Test</guibutton> button has been added to the <guilabel>Server Behaviour</guilabel> section in the JBoss Application Server configuration Editor which will verify that:
- <orderedlist>
- <listitem><para>The RSE connection works,</para></listitem>
- <listitem><para>The server home folder exists,</para></listitem>
- <listitem><para>The serverHome/server/{configName} folder exists.</para></listitem>
- </orderedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6973">JBIDE-6973</ulink>: A HTTP poller has been added for JBoss servers to detect if the server is running. This added feature will be useful for remote and local servers, being less resource-intensive than polling with JMX.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6796">JBIDE-6796</ulink>: Launch configuration of the server can now be altered to perform different tasks based on the server mode; sample modes include local and Remote System Explorer (RSE). This added functionality has been achieved by separating launch behavior into separate classes.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6707">JBIDE-6707</ulink>: The ability to <option>Explore</option> a specific resource on a server has now been expanded to encapsulate the entire server, allowing the deploy directory to be explored.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6612">JBIDE-6612</ulink>: The new version of Eclipse would not recognize JBoss Application Server 6 as a valid JEE6 environment. To rectify this bug, Java EE6 has been configured to support JBoss Application Server 6 by modifying <filename>/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml </filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5109">JBIDE-5109</ulink>: JBoss Application Server tooling as been improved to now allow regular JBoss servers to use remote deployment instead of just SSH Server deployment. Previously remote deployment was only available to JBoss EC2 servers, and not regular remote hosts.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <!-- Include in JBT Release Notes only!!! -->
- <!-- <formalpara>
- <title>Maven</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6576">JBIDE-6576</ulink>: Maven configurators have been moved to be individual features.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6487">JBIDE-6487</ulink>: The Maven Hibernate Configurator has been added. This insures that if a maven project contains a dependency with <property>groupId=org.hibernate</property> and an <property>artifactId</property> starting with <property>hibernate</property>, the Maven Hibernate Configurator will enable Hibernate 3 support.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6293">JBIDE-6293</ulink>: The final version of Maven Portletbridge 2.0.0 libraries have been added to the tool set.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <!-- <formalpara>
- <title>Portlet</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
-
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <!-- <formalpara>
- <title>RichFaces</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <formalpara>
- <title>Seam</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://jira.jboss.org/browse/JBIDE-7616">JBIDE-7616</ulink>: In previous versions the <productname>Seam Validator</productname> did not take into account <property>@Import</property> annotations when resolving context variable names for bijections. This resulted in the generation of <errorname>unknown context variable name</errorname> warnings when an unqualified context variable name was used in the injection.
- </para>
- <para>
- The <productname>Seam Validator</productname> resolving mechanism has now been fixed to take <property>@Import</property> annotations into account.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7245">JBIDE-7245</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6360">JBIDE-6360</ulink>:Previously only <property>view-id</property> entries in the <code>redirect</code> tag were checked for validity. Error checking for this parameter has been extended to include occurrences of the attribute within all tags.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6877">JBIDE-6877</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6875">JBIDE-6875</ulink>: When a user writes code for the Seam component that won't compile, new quick fixes are now presented through annotations. Quick fixes include the ability to quickly add a <property>Name</property> annotation to the class and delete a <property>Create</property>, <property>Unwrap</property> or <property>Observer</property> annotation from the method.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6876">JBIDE-6876</ulink>: The quick fix annotation suggestions for the <methodname>Destroy</methodname> method have been updated to remove <guimenuitem>Set Seam properties</guimenuitem> option. This option should not have been presented in this situation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6874">JBIDE-6874</ulink>: Quick fix now offers to delete any <property>Remove</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6873">JBIDE-6873</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6871">JBIDE-6871</ulink>: For <property>Scope</property> annotation, quick fix now offers to change a component's scope.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6872">JBIDE-6872</ulink>: Quick fix has added functionality that offers to create <methodname>setter</methodname> and <methodname>getter</methodname> methods for component class property if the methods do not exist.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6870">JBIDE-6870</ulink>: Quick fix now offers to create a new method with <property>Remove</property> or <property>Destroy</property> annotation. These annotations are also offered as additions to existing methods.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6869">JBIDE-6869</ulink>: Quick fix now offers to rename a component if it is a duplicate and to delete <property>Name</property> annotation.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6610">JBIDE-6610</ulink>: Components defined in a custom <filename>component.xml</filename> file were not recognized. This bug has been corrected through the modification of <filename>XMLScanner.java</filename>, <filename>SeamComponentsEntityRecognizer.java</filename> and <filename>SeamResourceVisitor.java</filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5231">JBIDE-5231</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5198">JBIDE-5198</ulink>: Content assist has been improved to suggest attributes of Seam PDF and Seam mail components to the user, when appropriate.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5134">JBIDE-5134</ulink>: When implementing a <guimenuitem>Quick Fix</guimenuitem> from the context menu of a
- <errorname>
- Seam Runtime <replaceable>NAME</replaceable> does not exist
- </errorname>
- error the <guilabel>Name</guilabel> and <guilabel>Version</guilabel> fields are now automatically filled in. The name field is editable in case a runtime already exists with the generated name, however the version is locked to the version used in the Seam project settings.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5007">JBIDE-5007</ulink>: When using the <guilabel>Generate Seam Entities</guilabel> wizard, the option to <guilabel>Use existing reveng</guilabel> file has been added. Once this checkbox has been checked, a user can use the <guibutton>Browse</guibutton> button beside the <guilabel>reveng.xml</guilabel> field to navigate to the existing file. By importing a
- <filename>
- <replaceable>NAME</replaceable>.reveng.xml
- </filename>
- file a user can regenerate the entities for use in the new Seam project.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4064">JBIDE-4064</ulink>: Numerious <guimenuitem>Quick Fix</guimenuitem> operations within the Seam tooling have been improved. These improvements are detailed within this Seam section of the release notes.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-2809">JBIDE-2809</ulink>: A new feature has been added to the <guilabel>New Seam Project</guilabel> wizard. The wizard now allows a user to specify unique names for each project deployment type of WAR, EJB and EAR. This means that the one project can now be named differently depending on the deployment type.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <!-- <formalpara>
- <title>Smooks</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <!-- <formalpara>
- <title>Struts</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
-
- <!-- Only for JBT Release Notes -->
- <!-- <formalpara>
- <title>Usage</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7144">JBIDE-7144</ulink>: A preference page is provided that details all settings currently being reported.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7142">JBIDE-7142</ulink>: Originally usage reporting only reported an operating system version if it was either Macintosh or Windows, missing Linux. Support for reporting Linux operating system versions was added through completion of this issue.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7082">JBIDE-7082</ulink>: Originally usage reporting would only report on components that started with <filename>org.jboss.tools</filename>, excluding components such as the application server and Hibernate. Reporting of these components has been achieved by the modification of the <filename>JBossToolsComponents.java</filename> file.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7041">JBIDE-7041</ulink>: Originally usage reporting would not report on the version of the application being used. This information is useful to us as it gives an indication of how fast users move to a newly released version. Functionality for this is now included in the usage plug-in.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7034">JBIDE-7034</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>: New reporting fields were added to the usage plug-in for the gathering of user data. See the individual JIRAs for specific field details.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6376">JBIDE-6376</ulink>: Usage reporting component based on Google Analytics has been added.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
-
- <formalpara>
- <title>Visual Page Editor</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7434">JBIDE-7434</ulink>: Templates with support for RichFaces 4.0 have been added to the Visual Page Editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7383">JBIDE-7383</ulink>: When using the Visual Page Editor (VPE), a new option has been introduced that allows a user to select where the editor toolbar icons should be displayed. The icons can now be displayed either as part of the general VPE toolbar or as part of the main Eclipse toolbar. To choose between these options navigate to
- <menuchoice>
- <guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>Web</guimenuitem><guimenuitem>Editors</guimenuitem><guimenuitem>Visual Page Editor</guimenuitem>
- </menuchoice>
- .By default the editor icons are included as part of the main Eclipse toolbar.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7059">JBIDE-7059</ulink>: XulRunner (XR) has become an optional install of the Visual Page Editor. This decision has meant that the buttons of the Visual Page Editor plug-in have been moved to be apart of the Eclipse icon bar.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6981">JBIDE-6981</ulink>: Functionality has been added that provides a drop-down menu in the tag breadcrumbs that enables easy selection of any child element to the selected tag. If there are no children to be expanded, the last tag will remain highlighted.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6805">JBIDE-6805</ulink>: New templates have been added, supporting most docbook tags.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6721">JBIDE-6721</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6711">JBIDE-6711</ulink>: Spring support has been added to the Visual Page Editor through the addition of a new plug-in. The plug-in is available as <filename>org.jboss.tools.vpe.spring</filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6631">JBIDE-6631</ulink>: Previously the only way to export a template was by navigating to
- <menuchoice>
- <guimenuitem>File</guimenuitem><guimenuitem>Export</guimenuitem><guimenuitem>Unknown</guimenuitem>
- </menuchoice>
- .This process was not intuitive and so <guibutton>Import</guibutton> and <guibutton>Export</guibutton> buttons have been added to the <guilabel>Visual Templates Preferences</guilabel> page. Due to Java prohibiting the extension of more than one class, extra classes have been written for this added functionality.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6600">JBIDE-6600</ulink>: The Visual Page Editor would use all available template libraries regardless of the opened content. This caused conflicts between templates; an example of this is the <property>head</property> tag appearing in both the docbook and HTML templates. The solution has been to create a separate editor for docbook.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6385">JBIDE-6385</ulink>: The icon for the <guiicon>Externalize Strings</guiicon> action in the Visual Page Editor toolbar has been updated.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6333">JBIDE-6333</ulink>: When resizing an image, a caption now appears at the users cursor to indicate the current size an image will be resized to.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6288">JBIDE-6288</ulink>: When hovering over a button created in the Visual Page Editor, the button would not be highlighted on Linux operating systems. This issue has been corrected by modifying the following files: <filename>VpeController.java</filename>, <filename>VpeDnD.java</filename>, <filename>MozillaEventAdapter.java</filename>, <filename>VisualDomUtil.java</filename> and <filename>MozillaDndListener.java</filename>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6114">JBIDE-6114</ulink>: A new template has been added to the Visual Page Editor, enabling improved rendering of the jBPM task forms.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6092">JBIDE-6092</ulink>: New features have been added to the Visual Page Editor that allow for items in a table to be moved by select CSS classes and for all items in a CSS tree node to be moved through the CSS class viewer.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5970">JBIDE-5970</ulink>: A new feature has been added that indicates the drop actions available to a user while they are dragging an element. Available actions are displayed to the user in a text caption.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5101">JBIDE-5101</ulink>: A bug existed within the resizer tool, which meant that it was not shown correctly for buttons, input fields and controls. This readability and usability issue has been resolved by adjusting the padding for the body of a Visual Page Editor page, allowing space for resizer elements.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5042">JBIDE-5042</ulink>: Drag and drop actions have been improved to be more reliable and easier to use. The list of improvements is as follows:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- The drop indicator is now shown in all drop locations available
- </para>
- </listitem>
- <listitem>
- <para>
- The four arrow resize icon is shown for any selected element that is draggable
- </para>
- </listitem>
- <listitem>
- <para>
- The drop container is now highlighted blue, making it easier to see what the result of a drop action will be
- </para>
- </listitem>
- <listitem>
- <para>
- When an element is being dragged, an image of the element appears under the mouse cursor
- </para>
- </listitem>
- <listitem>
- <para>
- Drop targets of any move event are marked by sold black lines that may appear before or after any other object
- </para>
- </listitem>
- <listitem>
- <para>
- The current drop target is highlighted red
- </para>
- </listitem>
- </itemizedlist>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-3875">JBIDE-3875</ulink>: Content assist has been added for the <property>facet name</property> tag.The content assist for this tag is based on the metadata of the parent JSF tag.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-3288">JBIDE-3288</ulink>: The CSS class wizard user interface has been improved. Improvements include a new <guilabel>Preview</guilabel> view that allows a user to observe the selected CSS class and real-time alterations and a file tree panel for easy class selection.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-2795">JBIDE-2795</ulink>: A new feature has been added that allows templates created using the Visual Page Editor to be exported to a file. This functionality is useful for sharing custom templates between users.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara id="Fixed_Issues-Web_Tools_Platform">
- <title>Web Tools Platform</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7106">JBIDE-7106</ulink>: Annotations have been added for JAX-RS (Java API for RESTful Web Services). This addition has been accomplished by modifying the <guilabel>Annotation Properties</guilabel> view.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6904">JBIDE-6904</ulink>: A new wizard is available for creating JAX-WS and JAX-RS services from annotated class files. If the classes do not exist upon creation of the services, they will be created during service creation, the same as if the user had used the <guilabel>Create a Sample Web Service</guilabel> or <guilabel>Create a Sample RESTful Web Service</guilabel> wizards.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6851">JBIDE-6851</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6850">JBIDE-6850</ulink>: A new feature has been added providing the ability to read Web Service Definition Language (WSDL) over HTTPS. This ensures that secured <methodname>GET</methodname> and <methodname>POST</methodname> methods are usable and will not produce a <exceptionname>com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException</exceptionname> exception.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6797">JBIDE-6797</ulink>: A new <guimenuitem>Options</guimenuitem> menu item has been added to the Web Services interface for JAX-RS. The <guimenuitem>Options</guimenuitem> menu item allows a user to test RESTful web services for allowed HTTP methods such as <methodname>POST</methodname> and <methodname>GET</methodname>. Results from the <guimenuitem>Options</guimenuitem> operation are viewable in the <property>Response Headers</property> list.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6753">JBIDE-6753</ulink>: In JBoss Application Server 6 no entries are required in the <filename>web.xml</filename> file, however entries remain mandatory for earlier releases. To reflect this upgrade, the <guilabel>Generate a Sample RESTful Web Service</guilabel> wizard now contains a checkbox to <guilabel>Update web.xml</guilabel>. By default the update option is enabled. If a user is aware that JBoss Application Server 6 is being utilized and they do not wish to update the <filename>web.xml</filename> file, this checkbox can be unchecked.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6660">JBIDE-6660</ulink>: A bug existed in the Web Services tooling such that when a user attempted to connect with a password protected URL (for example, a deltacloud) a dialog would appear requesting a username and password combination, however when the information was submitted it would not persist; this ensured the user would be asked for login details continually. This issue has been fixed by the creation of a new dialog that remembers the authentication information last used, however login information is not currently persisted between sessions (for example, closing and then reopening a workbench).
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6589">JBIDE-6589</ulink>: In previous releases a JAX-WS invocation could not be canceled. Support for canceling a long-running invocation has been implemented and improved for this release.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5723">JBIDE-5723</ulink>: A new wizard has been added called <guilabel>Create a Sample Web Service</guilabel>. This wizard allows a user to get a web service up and running quickly. The wizard adds the RestEasy code to the <filename>web.xml</filename> file, creates the application class and JAX-RS annotated resource class, and adds the required RestEast JAR files from the runtime. Once created, the new web service project can be tested using the <guilabel>Web Service Tester</guilabel>.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <!-- <formalpara>
- <title>XHTML Editor</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-0000">JBIDE-0000</ulink>
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara> -->
- <formalpara>
- <title>XML Structured Editor</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5975">JBIDE-5975</ulink>: The <filename>web.xml</filename> editor did not support the JavaEE 6 Servlet 3.0 specification. The <filename>web.xml</filename> editor has now been updated to support the new Servlet specification version.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
- <formalpara>
- <title>General Issues</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- JBoss Developer Studio is certified to run on the following platforms:
- <itemizedlist>
- <listitem>
- <para>Windows XP (i386 and x86_64) running 32-bit Sun JDK 6</para>
- </listitem>
- <listitem>
- <para>Windows XP (i386 and x86_64) running 64-bit Sun JDK 6 (*)</para>
- </listitem>
- <listitem>
- <para>MacOS X 10.6 running 32-bit Apple JDK 6</para>
- </listitem>
- <listitem>
- <para>MacOS X 10.5 running 64-bit Apple JDK 6 (*)</para>
- </listitem>
- <listitem>
- <para>RHEL5 i386 running 32-bit Sun JDK 6 and OpenJDK 6</para>
- </listitem>
- <listitem>
- <para>RHEL5 x86_64 running 64-bit Sun JDK 6 and OpenJDK 6</para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para> (*) The visual component of the Visual Page Editor is not supported in these configurations.</para>
-
- <para>
- The minimum requirements are:
- <itemizedlist>
- <listitem>
- <para>1 GB RAM</para>
- </listitem>
- <listitem>
- <para>450 MB of hard disk space for the non-EAP version</para>
- </listitem>
- <listitem>
- <para>800 MB of hard disk space for the EAP version</para>
- </listitem>
- </itemizedlist>
- </para>
-
- <para>
- The recommended requirements are:
- <itemizedlist>
- <listitem>
- <para>4 GB RAM</para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/TOOLSDOC-134">TOOLSDOC-134</ulink>: Common typographical conventions that were listed at the beginning of each JBoss Developer Studio book have been moved into a seperate book called Document Conventions. JBoss Developer Studio books now link to the Document Conventions book in their preface.
- </para>
- </listitem>
-
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBIDE-7527">JBIDE-7527</ulink>: The the new JBoss Tools Runtime Detection feature provides a way for JBoss runtime components such as jBPM, Drools, JBoss Server and Seam to be discovered when a workspace is created or when Eclipse is started. These runtime components can be found within a user definable list of directories, which can be defined in <menuchoice><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>JBoss Tools Runtime Detection</guimenuitem></menuchoice>.
- </para>
- </listitem>
-
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1150">JBDS-1150</ulink>: The Java Virtual Machine used by the JBoss Developer Studio installer will also be used as the default VM for JBDS. This can casuse problems if a 64 bit Java VM is used to install a 32 bit JBDS distribution, as the two are incompatible. This can be fixed by editing the <filename>eclipse.ini</filename> file and modifying the <property>vm</property> argument, or by using the appropiate Java VM when installing JBDS.
- </para>
- </listitem>
-
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7830">JBIDE-7830</ulink>: The wizard that would display available attributes for JSP and HTML tags has been updated to improve usability. In the past the wizard would show a complete list of attributes for a tag, in one list. This could potentially overwhelm a user with options and make it hard to define the necessary attribute items for a tag. This update for the wizard ensures that required and preferable attributes are separated from the others by placing them under a <guilabel>General</guilabel> tab, with the rest being listed under the <guilabel>Advanced</guilabel> tab.
- </para>
- </listitem>
- <!-- These two issues only in release notes for JBT -->
- <!-- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7435">JBIDE-7435</ulink>: RichFaces 4.0 and JSF 2.0 project examples with Maven are now available at <ulink url="http://download.jboss.org/jbosstools/examples/ ">http://download.jboss.org/jbosstools/examples/</ulink>.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6836">JBIDE-6836</ulink> and <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6695">JBIDE-6695</ulink>: Google Web Toolkit features are available for JBoss Tools through the update site as experimental.
- </para>
- </listitem> -->
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-7393">JBIDE-7393</ulink>: The search functionality has been upgraded for the tooling set. This upgrade now allows a user to search using the special characters <code>*</code> and <code>\</code>, for any string and any character respectively. To perform a literal search for these characters, append a <code>\</code> following the character in the search parameter.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6507">JBIDE-6507</ulink>: Support has been added for enabling and disabling project validators based on the JBoss KB (Knowledge Base) project validator. Validators that can be enabled or disabled include those for JSF, Seam and CDI.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6238">JBIDE-6238</ulink>: When a user accesses example projects some of the sites used by the examples may not be reachable due to no network access, proxy or firewall settings. Previously the user would not be informed of this issue. In this release the user is now informed when a site attempting to be accessed by an example project is unreachable.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6183">JBIDE-6183</ulink>: Library files for RichFaces have been updated to the latest version, supporting RichFaces 3.3.3.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6131">JBIDE-6131</ulink>: Previously the specification of XHTML templates was handled by navigating to
- <menuchoice>
- <guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>JSF</guimenuitem><guimenuitem>JSF Pages</guimenuitem>
- </menuchoice>
- .This process was not intuitive for users as the standard Eclipse method of specifying templates is by navigating to
- <menuchoice>
- <guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem>
- <guimenuitem>
- <replaceable>COMPONENT_NAME</replaceable>
- </guimenuitem>
- <guimenuitem>Editor</guimenuitem><guimenuitem>Templates</guimenuitem>
- </menuchoice>
- .Specification of XHTML templates is now handled using the standard Eclipse user interface approach, improving usability.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6119">JBIDE-6119</ulink>: When installing the tool set, the included installer has the ability to find, detect and configure JBoss server runtimes for use; this functionality however was never extended past the initial installation. A new feature has been added that now allows a user to find, detect and configure installed JBoss server runtimes after installation. This new functionality can be found by navigating to
- <menuchoice>
- <guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss Tools</guimenuitem><guimenuitem>JBoss Runtimes</guimenuitem>
- </menuchoice>
- .
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-6083">JBIDE-6083</ulink>: Functionality has been added to all editors that allow for them to be placed vertically side by side, rather than just horizontally. This new feature is available through the
- <menuchoice>
- <guimenuitem>Window</guimenuitem>
- </menuchoice>
- menu of Eclipse.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5950">JBIDE-5950</ulink>: Additional runtime checks have been added to the ESB and BPEL project examples. This ensures that the ability to specify required components is available, as it is for other project examples.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="http://jira.jboss.com/jira/browse/JBIDE-4858">JBIDE-4858</ulink>: A new feature has been added that allows for message bundles to be refactored from within the JSF and Seam editors. To refactor messages from within the JSF editor, highlight the message and select <guimenuitem>EL Refactor</guimenuitem> from the context menu. Refactoring messages from within the Seam editor is accomplished by selecting the message through the <guilabel>Package Explorer</guilabel> and navigating to <guimenuitem>Refactor</guimenuitem> from the context menu.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
-</section>
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,17 +1,72 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Known_Issues_with_this_release">
- <title>
- Known Issues with this release
+ <title>
+ Known Issues in version 4.0.0
</title>
- <para>
+ <para>
Following is a list of known issues at the time of release.
</para>
- <formalpara>
- <title>General Known Issues</title>
- <para>
- <itemizedlist>
-
- </itemizedlist>
- </para>
- </formalpara>
+ <formalpara>
+ <title>General Known Issues</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1273">JBDS-1273</ulink>: Smooks Editor does not support mapping to Virtual Models.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1548">JBDS-1548</ulink>: JavaDoc and source locations can not be specified for a Drools classpath container.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1554">JBDS-1554</ulink>: The new project wizards do not display their associated Eclipse perspective. The workaround is to manually display the appropriate perspective by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem></menuchoice>. The following is a list of project types and their matching persepctives:
+ <itemizedlist>
+ <listitem>
+ <para>JSF Project: Web Development</para>
+ </listitem>
+ <listitem>
+ <para>Struts Project: Web Development</para>
+ </listitem>
+ <listitem>
+ <para>Seam Web Project: Seam or Web Development</para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1528">JBDS-1528</ulink>: The JBDS uninstaller under Windows XP can leave some files behind.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1226">JBDS-1226</ulink>: The installation progress monitor incorrectly displays <guilabel>2 / 2</guilabel> when not adding a server, even though the installation is only 50% complete.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1230">JBDS-1230</ulink>: No icon is placed in the system <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming Tools</guimenuitem></menuchoice> menu when JBDS is installed under RHEL 5.4 until the system is rebooted.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1266">JBDS-1266</ulink>: The credentials used when testing the jBPM deployment process are cached, and are used in place of any additional credentials that are specified.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1519">JBDS-1519</ulink>: The "Could not initialize NSS" error is generated by the Visual Editor.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="https://issues.jboss.org/browse/JBDS-1509">JBDS-1509</ulink>: JBDS thread can get caught in a loop when interacting with the new connection profile process.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
</section>
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues_4_0_0.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues_4_0_0.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Known_Issues_4_0_0.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,72 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<section id="Known_Issues_with_this_release">
- <title>
- Known Issues in version 4.0.0
- </title>
- <para>
- Following is a list of known issues at the time of release.
- </para>
- <formalpara>
- <title>General Known Issues</title>
- <para>
- <itemizedlist>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1273">JBDS-1273</ulink>: Smooks Editor does not support mapping to Virtual Models.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1548">JBDS-1548</ulink>: JavaDoc and source locations can not be specified for a Drools classpath container.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1554">JBDS-1554</ulink>: The new project wizards do not display their associated Eclipse perspective. The workaround is to manually display the appropriate perspective by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Open Perspective</guimenuitem></menuchoice>. The following is a list of project types and their matching persepctives:
- <itemizedlist>
- <listitem>
- <para>JSF Project: Web Development</para>
- </listitem>
- <listitem>
- <para>Struts Project: Web Development</para>
- </listitem>
- <listitem>
- <para>Seam Web Project: Seam or Web Development</para>
- </listitem>
- </itemizedlist>
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1528">JBDS-1528</ulink>: The JBDS uninstaller under Windows XP can leave some files behind.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1226">JBDS-1226</ulink>: The installation progress monitor incorrectly displays <guilabel>2 / 2</guilabel> when not adding a server, even though the installation is only 50% complete.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1230">JBDS-1230</ulink>: No icon is placed in the system <menuchoice><guimenuitem>Applications</guimenuitem><guimenuitem>Programming Tools</guimenuitem></menuchoice> menu when JBDS is installed under RHEL 5.4 until the system is rebooted.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1266">JBDS-1266</ulink>: The credentials used when testing the jBPM deployment process are cached, and are used in place of any additional credentials that are specified.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1519">JBDS-1519</ulink>: The "Could not initialize NSS" error is generated by the Visual Editor.
- </para>
- </listitem>
- <listitem>
- <para>
- <ulink url="https://issues.jboss.org/browse/JBDS-1509">JBDS-1509</ulink>: JBDS thread can get caught in a loop when interacting with the new connection profile process.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </formalpara>
-</section>
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.ent 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,4 +0,0 @@
-<!ENTITY PRODUCT "JBoss Developer Studio">
-<!ENTITY BOOKID "Release_Notes">
-<!ENTITY YEAR "2011">
-<!ENTITY HOLDER "Red Hat">
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Release_Notes.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-
-<!-- This article will dsplay the release notes for all releases, and be found at http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/... -->
-
-<article>
- <xi:include href="Article_Info.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
- <xi:include href="Overview.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="New_Features.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Component_Versions.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="Updating_to_the_new_Web_Tools_Platform_packages.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Fixed_Issues_4_0_0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="Fixed_Issues_4_0_1.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
-<xi:include href="Known_Issues_4_0_0.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-<!-- <xi:include href="Known_Issues.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include> -->
- <xi:include href="Revision_History.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
-</article>
Deleted: trunk/documentation/guides/JBDS_Release_Notes/en-US/Updating_to_the_new_Web_Tools_Platform_packages.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Updating_to_the_new_Web_Tools_Platform_packages.xml 2011-05-26 13:11:47 UTC (rev 31510)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Updating_to_the_new_Web_Tools_Platform_packages.xml 2011-05-26 14:18:21 UTC (rev 31511)
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<section id="Updating-to-the-new-Web-Tools-Platform-packages">
- <title>Updating to the new Web Tools Platform packages</title>
- <para>
- In order to receive the updated Web Tools Platform packages for the JBoss Developer Studio 3.0.1 (<xref linkend="Fixed_Issues-Web_Tools_Platform" />) the following location needs to be added or enabled as part of the update process: <ulink url="http://download.eclipse.org/webtools/updates/">http://download.eclipse.org/webtools/updates/</ulink>. From this location install the two patches that appear under the <guimenuitem>Patches</guimenuitem> menu and labeled as <filename>Patches 2010 04 13</filename>.
- </para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/WTP_Update_Site.png"/>
- </imageobject>
- <caption>Selecting the Web Tools Platform patches from the update site</caption>
- </mediaobject>
- <important>
- <para>
- You can only use the update method if the JBoss Developer Studio 3.0 is currently installed.
- </para>
- <para>
- If the JBoss Developer Studio 3.0.1 will be a new installation, the Web Tools Platform patches are included with the install and no extra update or patches are necessary.
- </para>
- </important>
-</section>
\ No newline at end of file
13 years, 1 month
JBoss Tools SVN: r31510 - in trunk: as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3 and 13 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-26 09:11:47 -0400 (Thu, 26 May 2011)
New Revision: 31510
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerContentProvider.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
Log:
[JBIDE-8434] replace e.printStackTrace() by logging statements
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -9,6 +9,7 @@
public static String ClientAllRuntimeClasspathProvider_wrong_runtime_type;
public static String DirectoryLibraryContainerInitializer_libraries_found_in_dir;
public static String DirectoryLibraryContainerInitializer_libraries_found_no_dir;
+ public static String EJB3ClasspathContainer_could_not_determine_home;
public static String EJB3ClasspathContainer_ejb3_description;
public static String EJB3ClasspathContainer_ejb30_description;
public static String J2EE13ClasspathContainerInitializer_description;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -16,9 +16,11 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.QualifiedName;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IClasspathContainer;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
@@ -26,6 +28,7 @@
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.ServerCore;
import org.jboss.ide.eclipse.as.classpath.core.ClasspathConstants;
+import org.jboss.ide.eclipse.as.classpath.core.ClasspathCorePlugin;
import org.jboss.ide.eclipse.as.classpath.core.Messages;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
@@ -72,7 +75,10 @@
try {
homePath = jbossServer.getServer().getRuntime().getLocation();
configPath = new Path(jbossServer.getConfigDirectory());
- } catch( Exception e ) { e.printStackTrace(); }
+ } catch( Exception e ) {
+ IStatus status = new Status(IStatus.ERROR, ClasspathCorePlugin.PLUGIN_ID,Messages.EJB3ClasspathContainer_could_not_determine_home, e);
+ ClasspathCorePlugin.getDefault().getLog().log(status);
+ }
break;
}
}
@@ -207,7 +213,7 @@
}
protected static IClasspathEntry getEntry(IPath path) throws FileNotFoundException {
- System.out.println("ls " + path.toOSString().substring(45));
+ System.out.println("ls " + path.toOSString().substring(45)); //$NON-NLS-1$
if( !path.toFile().exists())
throw new FileNotFoundException();
return JavaRuntime.newArchiveRuntimeClasspathEntry(path).getClasspathEntry();
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties 2011-05-26 13:11:47 UTC (rev 31510)
@@ -3,6 +3,7 @@
ClientAllRuntimeClasspathProvider_wrong_runtime_type=Runtime {0} is not of the proper type
DirectoryLibraryContainerInitializer_libraries_found_no_dir=Libraries found in [No directory specified]
DirectoryLibraryContainerInitializer_libraries_found_in_dir=Libraries found in {0}
+EJB3ClasspathContainer_could_not_determine_home=Could not determine server home and config locations
EJB3ClasspathContainer_ejb3_description=JBoss EJB3 Libraries
EJB3ClasspathContainer_ejb30_description=JBoss EJB 3.x Libraries
J2EE13ClasspathContainerInitializer_description=J2EE 1.3 Libraries (JBoss Tools)
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -24,6 +24,8 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionRegistry;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.IServer;
@@ -189,7 +191,11 @@
} catch( NumberFormatException nfe) {}
publishers.add(new PublisherWrapper(p, zipDelegate, (IJBossServerPublisher)clazz, cf[i]));
} catch( CoreException e ) {
- e.printStackTrace();
+ IStatus status = new MultiStatus(
+ JBossServerCorePlugin.PLUGIN_ID, IStatus.ERROR,
+ new IStatus[] { e.getStatus() },
+ Messages.ExtensionManager_could_not_load_publishers, e);
+ JBossServerCorePlugin.getDefault().getLog().log(status);
} catch( ClassCastException cce ) {
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -28,6 +28,8 @@
public static String saveXMLDocumentFailed;
public static String loadJMXClassesFailed;
public static String securityException;
+ public static String JBoss7ServerBehavior_could_not_stop;
+
public static String JMXPoller;
public static String XPathLoadFailure;
@@ -83,6 +85,7 @@
public static String JMXScannerCanceled;
public static String ConnectingToServerViaJMX;
public static String CannotSaveServersStartArgs;
+ public static String ExtensionManager_could_not_load_publishers;
public static String PublishRenameFailure;
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/Messages.properties 2011-05-26 13:11:47 UTC (rev 31510)
@@ -5,6 +5,7 @@
serverCountName={0} ({1})
runtime=Runtime
securityException=Security Exception: {0}
+JBoss7ServerBehavior_could_not_stop=Could not stop server adapter {}
JMXPoller=JMX Poller
loadJMXClassesFailed=Could not load JMX classes for server {0}
PollingStartupSuccess=Server Startup Succeeded
@@ -63,4 +64,5 @@
JMXPauseScannerError=JBossTools was unable to pause the JBoss deployment scanner. Your deployment may not be recognized by the server. Please ensure your version of JBoss includes an unsecured JMX adapter.
JMXResumeScannerError=JBossTools was unable to resume the JBoss deployment scanner. Your deployment may not be recognized by the server. Please ensure your version of JBoss includes an unsecured JMX adapter.
JMXScannerCanceled=JBossTools was unable to contact the JBoss deployment scanner in a reasonable amount of time. This step has been skipped.
-ConnectingToServerViaJMX=Connecting to {0} via JMX
\ No newline at end of file
+ConnectingToServerViaJMX=Connecting to {0} via JMX
+ExtensionManager_could_not_load_publishers=Could not load publishers
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ServerBehavior.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server.internal.v7;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
@@ -172,7 +173,8 @@
}
}
} catch (Exception e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerCorePlugin.PLUGIN_ID, MessageFormat.format(Messages.JBoss7ServerBehavior_could_not_stop, getServer().getName()), e);
+ JBossServerCorePlugin.getDefault().getLog().log(status);
}
setServerStopped();
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -39,10 +39,12 @@
public static String wf_JRELabel;
public static String wf_ConfigLabel;
+ public static String J2EEModuleExportOperation_could_not_export_module;
public static String J2EEModuleExportOperation_DestinationFileIsDirectoryError;
public static String J2EEModuleExportOperation_ErrorExportingArchive;
public static String JBAS_version;
public static String JBEAP_version;
+ public static String JBoss7ServerWizardFragment_could_not_create_ui;
public static String JBossRuntimeWizardFragment_AllFieldsRequired;
public static String JBossRuntimeWizardFragment_CopyAConfigShellText;
public static String JBossRuntimeWizardFragment_DeleteConfigConfirmation;
@@ -113,6 +115,8 @@
public static String ActionDelegateFileResourcesOnly;
public static String ActionDelegateSelectServer;
+ public static String ChangePortDialog_could_not_change_port_interrupted;
+ public static String ChangePortDialog_could_not_determine_port;
public static String ChangePortDialog_LoadingTaskName;
/* Console */
public static String ConsoleResourceNotFound;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2011-05-26 13:11:47 UTC (rev 31510)
@@ -20,10 +20,10 @@
rwf_homeDirBlank=The directory field must not be blank
rwf_NoVMSelected=No VM selected
rwf_jre6NotFound=No Java 6 runtime environment found
-J2EEModuleExportOperation_DestinationFileIsDirectoryError=The specified file: {0} exists and is a directory
-J2EEModuleExportOperation_ErrorExportingArchive=Error Exporting {0}
+J2EEModuleExportOperation_could_not_export_module=Could not export module {1} to {0}.
JBAS_version=JBoss Application Server {0}
JBEAP_version=JBoss Enterprise Application Platform {0}
+JBoss7ServerWizardFragment_could_not_create_ui=Could not create UI for runtime {0}
JBossRuntimeWizardFragment_AllFieldsRequired=All fields must be completed.
JBossRuntimeWizardFragment_CopyAConfigShellText=Copy a Configuration
JBossRuntimeWizardFragment_DeleteConfigConfirmation=Are you sure you want to delete this folder? This cannot be undone.
@@ -85,6 +85,8 @@
ActionDelegateSelectServer=Select a server to publish to
# Console
+ChangePortDialog_could_not_change_port_interrupted=Could not change port: task was interrupted.
+ChangePortDialog_could_not_determine_port=Could not determine port to change
ChangePortDialog_LoadingTaskName=Loading...
ConsoleResourceNotFound=Resource not found
ConsoleCouldNotLocateInWorkspace=Could not locate {0} in workspace.
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -29,7 +29,6 @@
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.BaseLabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ITreeContentProvider;
@@ -42,7 +41,6 @@
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.dialogs.CheckedTreeSelectionDialog;
-import org.eclipse.ui.dialogs.ElementListSelectionDialog;
import org.eclipse.wst.common.componentcore.ComponentCore;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
@@ -54,8 +52,9 @@
import org.eclipse.wst.server.core.ServerCore;
import org.eclipse.wst.server.core.ServerUtil;
import org.eclipse.wst.server.core.internal.ServerType;
+import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
-import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
public class ChangeTimeStampActionDelegate implements IWorkbenchWindowActionDelegate {
@@ -318,8 +317,8 @@
server.publish(IServer.PUBLISH_INCREMENTAL, monitor);
}
} catch (CoreException e) {
- e.printStackTrace();
-// WebModelPlugin.getPluginLog().logError(e);
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID,MessageFormat.format(ServerActionMessages.ChangeTimeStampActionDelegate_cannot_unregister, server.getName(), project.getName()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
return true;
}
@@ -329,7 +328,7 @@
IProject project;
IServer[] servers;
public RegisterServerJob(IProject p, IServer[] servers) {
- super("Touch");
+ super("Touch"); //$NON-NLS-1$
this.project = p;
this.servers = servers;
}
@@ -338,7 +337,8 @@
try {
ResourcesPlugin.getWorkspace().run(new WR(), monitor);
} catch (CoreException e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, MessageFormat.format(ServerActionMessages.ChangeTimeStampActionDelegate_could_not_register_project, project.getName()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
return Status.OK_STATUS;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -18,4 +18,6 @@
public static String STOP_SERVER;
public static String CHANGE_TIME_STAMP;
public static String CHANGE_TIME_STAMP_DEFAULT;
+ public static String ChangeTimeStampActionDelegate_cannot_unregister;
+ public static String ChangeTimeStampActionDelegate_could_not_register_project;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties 2011-05-26 13:11:47 UTC (rev 31510)
@@ -6,4 +6,6 @@
SelectServerActionDelegate_NewServerMenuItem=New server...
STOP_SERVER=Shutdown {0}
CHANGE_TIME_STAMP=Change Timestamp of {0}
-CHANGE_TIME_STAMP_DEFAULT=Touch descriptors
\ No newline at end of file
+CHANGE_TIME_STAMP_DEFAULT=Touch descriptors
+ChangeTimeStampActionDelegate_cannot_unregister=Cannot unregister project {0} from server {1}
+ChangeTimeStampActionDelegate_could_not_register_project=Could not register project {0}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -5,7 +5,9 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -30,6 +32,7 @@
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathFileResult;
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel;
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
import org.jboss.ide.eclipse.as.ui.dialogs.XPathDialogs.XPathDialog;
@@ -180,9 +183,11 @@
});
} });
} catch( InvocationTargetException ite) {
- ite.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, Messages.ChangePortDialog_could_not_determine_port, ite);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
} catch(InterruptedException ie ) {
- ie.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, Messages.ChangePortDialog_could_not_change_port_interrupted, ie);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
} else {
selectionChanged2();
@@ -199,7 +204,7 @@
if(currentQuery != null) {
editXPathButton.setEnabled(true);
String result = currentQuery.getFirstResult();
- currentValueText.setText(result == null ? "" : result);
+ currentValueText.setText(result == null ? "" : result); //$NON-NLS-1$
} else {
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBoss7ServerWizardFragment.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -1,14 +1,18 @@
package org.jboss.ide.eclipse.as.ui.wizards;
import java.io.File;
+import java.text.MessageFormat;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.wst.server.core.IRuntime;
import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
import org.eclipse.wst.server.core.TaskModel;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
public class JBoss7ServerWizardFragment extends JBossRuntimeWizardFragment {
@@ -37,7 +41,8 @@
fillNameWidgets(rt);
fillHomeDir(rt);
} catch (Exception e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, MessageFormat.format(Messages.JBoss7ServerWizardFragment_could_not_create_ui, rt.getName()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -52,6 +52,7 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.core.runtime.jobs.MultiRule;
@@ -73,6 +74,7 @@
import org.eclipse.wst.server.core.model.IModuleFolder;
import org.eclipse.wst.server.core.model.IModuleResource;
import org.eclipse.wst.server.core.model.ModuleDelegate;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
public abstract class J2EEModuleExportOperation extends AbstractDataModelOperation {
@@ -317,7 +319,7 @@
/* Prepare the streams */
if (dest.exists() && dest.isDirectory()) {
throw new IOException(MessageFormat.format(
- Messages.J2EEModuleExportOperation_DestinationFileIsDirectoryError,
+ "",
dest.getAbsolutePath()));
}
if (parent != null)
@@ -330,7 +332,8 @@
addChildren(saver, module, moduleDelegate.getChildModules());
saver.finish();
} catch( Exception e ) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, MessageFormat.format(Messages.J2EEModuleExportOperation_could_not_export_module, module.getName(), getDestinationPath().toString()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
throw new SaveFailureException();
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -127,7 +127,7 @@
IServer server = (IServer) data;
ServerUIPlugin.editServer(server);
} catch (Exception e) {
- //Trace.trace(Trace.SEVERE, org.jboss.ide.eclipse.as.ui.Messages.ServerActionProvider_CouldNotOpenServerError, e);
+ Trace.trace(Trace.STRING_SEVERE, org.jboss.ide.eclipse.as.ui.Messages.ServerActionProvider_CouldNotOpenServerError, e);
}
}
});
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerContentProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerContentProvider.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerContentProvider.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -349,7 +349,7 @@
}
}
} catch (Exception e) {
- //Trace.trace(Trace.FINEST, Messages.ServerContentProvider_ErrorInServersViewAnimation, e);
+ Trace.trace(Trace.STRING_FINEST, Messages.ServerContentProvider_ErrorInServersViewAnimation, e);
}
display.timerExec(SLEEP, animator[0]);
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -34,6 +34,7 @@
/* XML service editor */
public static String ServiceXMLAddAttributeTags;
+ public static String ServiceXMLCorrectionAssistantProvider_could_not_access_mbean;
public static String ServiceXMLEditorConfiguration_OccurrenceNameWithAttributes;
public static String ServiceXMLEditorConfiguration_UnableToDisplayInEditor;
@@ -61,6 +62,9 @@
public static String NewSessionBeanWizardRemoteInterfaceNameLabel;
public static String NewSessionBeanWizardMessage;
public static String NewSessionBeanWizardDescription;
+ public static String NewSessionBeanWizardPage_could_not_create_type;
+ public static String NewSessionBeanWizardPage_could_not_update_remoteinterface_value;
+ public static String NewMBeanWizard_could_not_create_files;
public static String NewMBeanWizard_CreatingTaskName;
public static String NewMBeanWizard_WindowTitle;
public static String NewMBeanWizard_XMLTaskName;
@@ -69,6 +73,7 @@
public static String NewMessageDrivenBeanWizardPage_Name;
+ public static String ServiceXMLEditorUtil_could_not_get_methods;
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties 2011-05-26 13:11:47 UTC (rev 31510)
@@ -12,6 +12,7 @@
# service xml
ServiceXMLAddAttributeTags=Add missing attribute tags
+ServiceXMLCorrectionAssistantProvider_could_not_access_mbean=Could not access mbean {0}
ServiceXMLEditorConfiguration_OccurrenceNameWithAttributes={0} (with attributes)
ServiceXMLEditorConfiguration_UnableToDisplayInEditor=Unable to display element in editor.
@@ -29,9 +30,15 @@
NewSessionBeanWizardRemoteInterfaceNameLabel=Remote Interface Name:
NewSessionBeanWizardMessage=Create a new EJB3 Session Bean
NewSessionBeanWizardDescription=Create a new EJB3 Session Bean
+NewSessionBeanWizardPage_could_not_create_type=Could not create {0}
+NewSessionBeanWizardPage_could_not_update_remoteinterface_value=Could not update remote interface values for {0}
NewMessageBeanWizardMessage=Create a new Message-Driven Bean
NewMessageBeanWizardDescription=Create a new Message-Driven Bean
NewMessageDrivenBeanWizardPage_Name=New Message Driven Bean Page
+NewMBeanWizard_could_not_create_files=Could not create files
NewMBeanWizard_CreatingTaskName=Creating Files
NewMBeanWizard_WindowTitle=New MBean Wizard
NewMBeanWizard_XMLTaskName=XMLDescriptor
+
+ServiceXMLEditorUtil_could_not_get_methods=Could not determine methods for {0}
+
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -21,13 +21,16 @@
*/
package org.jboss.ide.eclipse.as.ui.mbeans.editors;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionRegistry;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jface.text.contentassist.CompletionProposal;
@@ -172,7 +175,8 @@
String attName = t.getNodeValue();
attributeNames.remove(attName);
} catch( Exception e ) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.ServiceXMLCorrectionAssistantProvider_could_not_access_mbean, mbeanChildren.item(j).getTextContent()), e);
+ Activator.getDefault().getLog().log(status);
}
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -41,6 +41,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Preferences;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.jdt.core.ICompilationUnit;
@@ -85,6 +86,7 @@
import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
import org.eclipse.wst.xml.ui.internal.wizards.NewModelWizard;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
/**
@@ -220,7 +222,8 @@
xmlMonitor.worked(1);
xmlMonitor.done();
} catch( Throwable jme) {
- jme.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.NewMBeanWizard_could_not_create_files, jme);
+ Activator.getDefault().getLog().log(status);
}
monitor.done();
@@ -229,7 +232,8 @@
try {
new ProgressMonitorDialog(new Shell()).run(false, true, op);
} catch( Exception e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.NewMBeanWizard_could_not_create_files, e);
+ Activator.getDefault().getLog().log(status);
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -21,10 +21,13 @@
*/
package org.jboss.ide.eclipse.as.ui.mbeans.wizards.pages;
+import java.text.MessageFormat;
+
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IPackageFragment;
@@ -69,6 +72,7 @@
import org.eclipse.text.edits.TextEdit;
import org.eclipse.text.edits.UndoEdit;
import org.eclipse.ui.help.WorkbenchHelp;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
public class NewSessionBeanWizardPage extends NewTypeWizardPage
@@ -337,11 +341,11 @@
beanUnit.getBuffer().save(monitor, true);
} catch (MalformedTreeException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.NewSessionBeanWizardPage_could_not_create_type, beanUnit.getElementName()), e);
+ Activator.getDefault().getLog().log(status);
} catch (BadLocationException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.NewSessionBeanWizardPage_could_not_create_type, beanUnit.getElementName()), e); //$NON-NLS-1$
+ Activator.getDefault().getLog().log(status);
}
}
@@ -563,7 +567,8 @@
}
catch (CoreException e)
{
- //e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.NewSessionBeanWizardPage_could_not_update_remoteinterface_value, remoteInterfaceName), e);
+ Activator.getDefault().getLog().log(status);
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -21,12 +21,17 @@
*/
package org.jboss.ide.eclipse.as.ui.util;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
+import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
import org.jboss.ide.eclipse.as.ui.util.PackageTypeSearcher.ResultFilter;
/**
@@ -68,7 +73,8 @@
methods.addAll(Arrays.asList(getAllMethods(parentType)));
}
} catch( JavaModelException jme ) {
- jme.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.ServiceXMLEditorUtil_could_not_get_methods, type.getElementName()), jme);
+ Activator.getDefault().getLog().log(status);
}
return (IMethod[]) methods.toArray(new IMethod[methods.size()]);
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-05-26 13:06:15 UTC (rev 31509)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-05-26 13:11:47 UTC (rev 31510)
@@ -227,7 +227,8 @@
monitor.done();
return status;
} catch (Exception e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, DeltaCloudIntegrationPlugin.PLUGIN_ID, MessageFormat.format("Could not connect to {0}.", service.getHostName()), e);
+ DeltaCloudIntegrationPlugin.getDefault().getLog().log(status);
// odd behavior: service reports connection failure even if
// things seem to work (view opens up with connection in it)
// ignore errors since things work
13 years, 1 month
JBoss Tools SVN: r31509 - in branches/jbosstools-3.2.x/as/plugins: org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3 and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-05-26 09:06:15 -0400 (Thu, 26 May 2011)
New Revision: 31509
Modified:
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java
branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java
Log:
[JBIDE-8434] replace e.printStackTrace() by logging statements
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -9,6 +9,7 @@
public static String ClientAllRuntimeClasspathProvider_wrong_runtime_type;
public static String DirectoryLibraryContainerInitializer_libraries_found_in_dir;
public static String DirectoryLibraryContainerInitializer_libraries_found_no_dir;
+ public static String EJB3ClasspathContainer_could_not_determine_home;
public static String EJB3ClasspathContainer_ejb3_description;
public static String EJB3ClasspathContainer_ejb30_description;
public static String J2EE13ClasspathContainerInitializer_description;
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/ejb3/EJB3ClasspathContainer.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -16,9 +16,11 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.QualifiedName;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IClasspathContainer;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
@@ -26,6 +28,7 @@
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.ServerCore;
import org.jboss.ide.eclipse.as.classpath.core.ClasspathConstants;
+import org.jboss.ide.eclipse.as.classpath.core.ClasspathCorePlugin;
import org.jboss.ide.eclipse.as.classpath.core.Messages;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
@@ -72,7 +75,10 @@
try {
homePath = jbossServer.getServer().getRuntime().getLocation();
configPath = new Path(jbossServer.getConfigDirectory());
- } catch( Exception e ) { e.printStackTrace(); }
+ } catch( Exception e ) {
+ IStatus status = new Status(IStatus.ERROR, ClasspathCorePlugin.PLUGIN_ID,Messages.EJB3ClasspathContainer_could_not_determine_home, e);
+ ClasspathCorePlugin.getDefault().getLog().log(status);
+ }
break;
}
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.classpath.core/src/org/jboss/ide/eclipse/as/classpath/core/messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
@@ -3,6 +3,7 @@
ClientAllRuntimeClasspathProvider_wrong_runtime_type=Runtime {0} is not of the proper type
DirectoryLibraryContainerInitializer_libraries_found_no_dir=Libraries found in [No directory specified]
DirectoryLibraryContainerInitializer_libraries_found_in_dir=Libraries found in {0}
+EJB3ClasspathContainer_could_not_determine_home=Could not determine server home and config locations
EJB3ClasspathContainer_ejb3_description=JBoss EJB3 Libraries
EJB3ClasspathContainer_ejb30_description=JBoss EJB 3.x Libraries
J2EE13ClasspathContainerInitializer_description=J2EE 1.3 Libraries (JBoss Tools)
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -39,6 +39,7 @@
public static String wf_JRELabel;
public static String wf_ConfigLabel;
+ public static String J2EEModuleExportOperation_could_not_export_module;
public static String J2EEModuleExportOperation_DestinationFileIsDirectoryError;
public static String J2EEModuleExportOperation_ErrorExportingArchive;
public static String JBAS_version;
@@ -112,6 +113,8 @@
public static String ActionDelegateFileResourcesOnly;
public static String ActionDelegateSelectServer;
+ public static String ChangePortDialog_could_not_change_port_interrupted;
+ public static String ChangePortDialog_could_not_determine_port;
public static String ChangePortDialog_LoadingTaskName;
/* Console */
public static String ConsoleResourceNotFound;
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
@@ -1,3 +1,4 @@
+
browse=Browse...
serverName=Server Name
copy=Copy...
@@ -19,6 +20,7 @@
rwf_homeDirBlank=The directory field must not be blank
rwf_NoVMSelected=No VM selected
rwf_jre6NotFound=No Java 6 runtime environment found
+J2EEModuleExportOperation_could_not_export_module=Could not export module {1} to {0}.
J2EEModuleExportOperation_DestinationFileIsDirectoryError=The specified file: {0} exists and is a directory
J2EEModuleExportOperation_ErrorExportingArchive=Error Exporting {0}
JBAS_version=JBoss Application Server {0}
@@ -84,6 +86,8 @@
ActionDelegateSelectServer=Select a server to publish to
# Console
+ChangePortDialog_could_not_change_port_interrupted=Could not change port: task was interrupted.
+ChangePortDialog_could_not_determine_port=Could not determine port to change
ChangePortDialog_LoadingTaskName=Loading...
ConsoleResourceNotFound=Resource not found
ConsoleCouldNotLocateInWorkspace=Could not locate {0} in workspace.
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ChangeTimeStampActionDelegate.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -318,8 +318,8 @@
server.publish(IServer.PUBLISH_INCREMENTAL, monitor);
}
} catch (CoreException e) {
- e.printStackTrace();
-// WebModelPlugin.getPluginLog().logError(e);
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID,MessageFormat.format(ServerActionMessages.ChangeTimeStampActionDelegate_cannot_unregister, server.getName(), project.getName()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
return true;
}
@@ -338,7 +338,8 @@
try {
ResourcesPlugin.getWorkspace().run(new WR(), monitor);
} catch (CoreException e) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, MessageFormat.format(ServerActionMessages.ChangeTimeStampActionDelegate_could_not_register_project, project.getName()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
return Status.OK_STATUS;
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/ServerActionMessages.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -18,4 +18,7 @@
public static String STOP_SERVER;
public static String CHANGE_TIME_STAMP;
public static String CHANGE_TIME_STAMP_DEFAULT;
+ public static String ChangeTimeStampActionDelegate_cannot_unregister;
+ public static String ChangeTimeStampActionDelegate_could_not_register_project;
+
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/actions/messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
@@ -6,4 +6,6 @@
SelectServerActionDelegate_NewServerMenuItem=New server...
STOP_SERVER=Shutdown {0}
CHANGE_TIME_STAMP=Change Timestamp of {0}
-CHANGE_TIME_STAMP_DEFAULT=Touch descriptors
\ No newline at end of file
+CHANGE_TIME_STAMP_DEFAULT=Touch descriptors
+ChangeTimeStampActionDelegate_cannot_unregister=Cannot unregister project {0} from server {1}
+ChangeTimeStampActionDelegate_could_not_register_project=Could not register project {0}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/ChangePortDialog.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -5,7 +5,9 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -30,6 +32,7 @@
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathFileResult;
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel;
import org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
import org.jboss.ide.eclipse.as.ui.dialogs.XPathDialogs.XPathDialog;
@@ -180,9 +183,11 @@
});
} });
} catch( InvocationTargetException ite) {
- ite.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, Messages.ChangePortDialog_could_not_determine_port, ite);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
} catch(InterruptedException ie ) {
- ie.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, Messages.ChangePortDialog_could_not_change_port_interrupted, ie);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
}
} else {
selectionChanged2();
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/J2EEModuleExportOperation.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -52,6 +52,7 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.core.runtime.jobs.MultiRule;
@@ -73,6 +74,7 @@
import org.eclipse.wst.server.core.model.IModuleFolder;
import org.eclipse.wst.server.core.model.IModuleResource;
import org.eclipse.wst.server.core.model.ModuleDelegate;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
import org.jboss.ide.eclipse.as.ui.Messages;
public abstract class J2EEModuleExportOperation extends AbstractDataModelOperation {
@@ -330,7 +332,8 @@
addChildren(saver, module, moduleDelegate.getChildModules());
saver.finish();
} catch( Exception e ) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, JBossServerUIPlugin.PLUGIN_ID, MessageFormat.format(Messages.J2EEModuleExportOperation_could_not_export_module, module.getName(), getDestinationPath().toString()), e);
+ JBossServerUIPlugin.getDefault().getLog().log(status);
throw new SaveFailureException();
}
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/xpl/ServerActionProvider.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -57,7 +57,6 @@
import org.eclipse.wst.server.ui.internal.view.servers.PasteAction;
import org.eclipse.wst.server.ui.internal.view.servers.PropertiesAction;
import org.eclipse.wst.server.ui.internal.view.servers.PublishAction;
-import org.eclipse.wst.server.ui.internal.view.servers.PublishCleanAction;
import org.eclipse.wst.server.ui.internal.view.servers.RemoveModuleAction;
import org.eclipse.wst.server.ui.internal.view.servers.RenameAction;
import org.eclipse.wst.server.ui.internal.view.servers.RestartModuleAction;
@@ -67,7 +66,6 @@
import org.eclipse.wst.server.ui.internal.view.servers.StartModuleAction;
import org.eclipse.wst.server.ui.internal.view.servers.StopAction;
import org.eclipse.wst.server.ui.internal.view.servers.StopModuleAction;
-import org.jboss.ide.eclipse.as.ui.actions.ExploreAction;
/**
* @deprecated
*/
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -34,6 +34,7 @@
/* XML service editor */
public static String ServiceXMLAddAttributeTags;
+ public static String ServiceXMLCorrectionAssistantProvider_could_not_access_mbean;
public static String ServiceXMLEditorConfiguration_OccurrenceNameWithAttributes;
public static String ServiceXMLEditorConfiguration_UnableToDisplayInEditor;
@@ -48,8 +49,10 @@
public static String MBeanClassDescription;
public static String MBeanServiceXML;
+ public static String NewSessionBeanWizardPage_could_not_create_type;
+ public static String NewSessionBeanWizardPage_could_not_update_remoteinterface_value;
+ public static String NewMBeanWizard_could_not_create_files;
public static String NewSessionBeanWizard_WindowTitle;
-
public static String NewSessionBeanWizardTitle;
public static String NewSessionBeanWizardBeanTypeLabel;
public static String NewSessionBeanWizardStatefulButtonLabel;
@@ -69,6 +72,7 @@
public static String NewMessageDrivenBeanWizardPage_Name;
+ public static String ServiceXMLEditorUtil_could_not_get_methods;
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/Messages.properties 2011-05-26 13:06:15 UTC (rev 31509)
@@ -11,6 +11,7 @@
MBeanServiceXML=Create -service.xml file?
# service xml
+ServiceXMLCorrectionAssistantProvider_could_not_access_mbean=Could not access mbean {0}
ServiceXMLAddAttributeTags=Add missing attribute tags
ServiceXMLEditorConfiguration_OccurrenceNameWithAttributes={0} (with attributes)
ServiceXMLEditorConfiguration_UnableToDisplayInEditor=Unable to display element in editor.
@@ -29,9 +30,15 @@
NewSessionBeanWizardRemoteInterfaceNameLabel=Remote Interface Name:
NewSessionBeanWizardMessage=Create a new EJB3 Session Bean
NewSessionBeanWizardDescription=Create a new EJB3 Session Bean
+NewSessionBeanWizardPage_could_not_create_type=Could not create {0}
+NewSessionBeanWizardPage_could_not_update_remoteinterface_value=Could not update remote interface values for {0}
NewMessageBeanWizardMessage=Create a new Message-Driven Bean
NewMessageBeanWizardDescription=Create a new Message-Driven Bean
NewMessageDrivenBeanWizardPage_Name=New Message Driven Bean Page
+NewMBeanWizard_could_not_create_files=Could not create files
NewMBeanWizard_CreatingTaskName=Creating Files
NewMBeanWizard_WindowTitle=New MBean Wizard
NewMBeanWizard_XMLTaskName=XMLDescriptor
+
+ServiceXMLEditorUtil_could_not_get_methods=Could not determine methods for {0}
+
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/editors/ServiceXMLCorrectionAssistantProvider.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -21,13 +21,16 @@
*/
package org.jboss.ide.eclipse.as.ui.mbeans.editors;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionRegistry;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jface.text.contentassist.CompletionProposal;
@@ -172,7 +175,8 @@
String attName = t.getNodeValue();
attributeNames.remove(attName);
} catch( Exception e ) {
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.ServiceXMLCorrectionAssistantProvider_could_not_access_mbean, mbeanChildren.item(j).getTextContent()), e);
+ Activator.getDefault().getLog().log(status);
}
}
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/NewMBeanWizard.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -41,6 +41,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Preferences;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.core.runtime.jobs.ISchedulingRule;
import org.eclipse.jdt.core.ICompilationUnit;
@@ -85,6 +86,7 @@
import org.eclipse.wst.sse.core.internal.encoding.CommonEncodingPreferenceNames;
import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
import org.eclipse.wst.xml.ui.internal.wizards.NewModelWizard;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
/**
@@ -220,7 +222,8 @@
xmlMonitor.worked(1);
xmlMonitor.done();
} catch( Throwable jme) {
- jme.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.NewMBeanWizard_could_not_create_files, jme);
+ Activator.getDefault().getLog().log(status);
}
monitor.done();
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/wizards/pages/NewSessionBeanWizardPage.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -21,10 +21,13 @@
*/
package org.jboss.ide.eclipse.as.ui.mbeans.wizards.pages;
+import java.text.MessageFormat;
+
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IPackageFragment;
@@ -69,6 +72,7 @@
import org.eclipse.text.edits.TextEdit;
import org.eclipse.text.edits.UndoEdit;
import org.eclipse.ui.help.WorkbenchHelp;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
public class NewSessionBeanWizardPage extends NewTypeWizardPage
@@ -337,11 +341,11 @@
beanUnit.getBuffer().save(monitor, true);
} catch (MalformedTreeException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.NewSessionBeanWizardPage_could_not_create_type, beanUnit.getElementName()), e);
+ Activator.getDefault().getLog().log(status);
} catch (BadLocationException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.NewSessionBeanWizardPage_could_not_create_type, beanUnit.getElementName()), e); //$NON-NLS-1$
+ Activator.getDefault().getLog().log(status);
}
}
Modified: branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java
===================================================================
--- branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java 2011-05-26 08:08:46 UTC (rev 31508)
+++ branches/jbosstools-3.2.x/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/util/ServiceXMLEditorUtil.java 2011-05-26 13:06:15 UTC (rev 31509)
@@ -21,12 +21,17 @@
*/
package org.jboss.ide.eclipse.as.ui.util;
+import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.JavaModelException;
+import org.jboss.ide.eclipse.as.ui.mbeans.Activator;
+import org.jboss.ide.eclipse.as.ui.mbeans.Messages;
import org.jboss.ide.eclipse.as.ui.util.PackageTypeSearcher.ResultFilter;
/**
@@ -68,7 +73,8 @@
methods.addAll(Arrays.asList(getAllMethods(parentType)));
}
} catch( JavaModelException jme ) {
- jme.printStackTrace();
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.ServiceXMLEditorUtil_could_not_get_methods, type.getElementName()), jme);
+ Activator.getDefault().getLog().log(status);
}
return (IMethod[]) methods.toArray(new IMethod[methods.size()]);
}
13 years, 1 month
JBoss Tools SVN: r31507 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-05-25 21:04:29 -0400 (Wed, 25 May 2011)
New Revision: 31507
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
JBIDE-8674
https://issues.jboss.org/browse/JBIDE-8674
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 2011-05-26 00:48:04 UTC (rev 31506)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2011-05-26 01:04:29 UTC (rev 31507)
@@ -68,7 +68,6 @@
import org.jboss.tools.cdi.core.IInterceptorBinded;
import org.jboss.tools.cdi.core.IInterceptorBinding;
import org.jboss.tools.cdi.core.IInterceptorBindingDeclaration;
-import org.jboss.tools.cdi.core.IObserverMethod;
import org.jboss.tools.cdi.core.IParametedType;
import org.jboss.tools.cdi.core.IParameter;
import org.jboss.tools.cdi.core.IProducer;
@@ -800,11 +799,14 @@
}
private void validateObserves(IClassBean bean) {
- Set<IObserverMethod> observes = bean.getObserverMethods();
+ Set<IBeanMethod> observes = bean.getAllMethods();
if (observes.isEmpty()) {
return;
}
- for (IObserverMethod observer : observes) {
+ for (IBeanMethod observer : observes) {
+ if(!observer.isObserver()) {
+ continue;
+ }
List<IParameter> params = observer.getParameters();
Set<ITextSourceReference> declarations = new HashSet<ITextSourceReference>();
for (IParameter param : params) {
13 years, 1 month