JBoss Tools SVN: r44540 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:52:20 -0400 (Tue, 16 Oct 2012)
New Revision: 44540
Modified:
trunk/build/aggregate/site/site.xml
Log:
JBIDE-12389 to hide central.discovery plugin and feature, exclude source feature too
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2012-10-16 20:52:13 UTC (rev 44539)
+++ trunk/build/aggregate/site/site.xml 2012-10-16 20:52:20 UTC (rev 44540)
@@ -257,8 +257,7 @@
<feature url="features/org.jboss.tools.community.central.feature.source_0.0.0.jar" id="org.jboss.tools.community.central.feature.source" version="0.0.0">
<category name="AllSources" />
</feature>
- <feature url="features/org.jboss.tools.central.discovery.feature.source_0.0.0.jar" id="org.jboss.tools.central.discovery.feature.source" version="0.0.0">
- </feature>
+ <!-- JBIDE-12389 to hide central.discovery plugin and feature, exclude source feature too <feature url="features/org.jboss.tools.central.discovery.feature.source_0.0.0.jar" id="org.jboss.tools.central.discovery.feature.source" version="0.0.0"/> -->
<feature url="features/org.jboss.tools.richfaces.feature.source_0.0.0.jar" id="org.jboss.tools.richfaces.feature.source" version="0.0.0">
<category name="AllSources" />
</feature>
12 years, 2 months
JBoss Tools SVN: r44539 - trunk/central/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:52:13 -0400 (Tue, 16 Oct 2012)
New Revision: 44539
Modified:
trunk/central/site/category.xml
Log:
JBIDE-12389 to hide central.discovery plugin and feature, exclude source feature too
Modified: trunk/central/site/category.xml
===================================================================
--- trunk/central/site/category.xml 2012-10-16 20:12:36 UTC (rev 44538)
+++ trunk/central/site/category.xml 2012-10-16 20:52:13 UTC (rev 44539)
@@ -15,8 +15,7 @@
</feature>
<feature url="features/org.jboss.tools.central.discovery.feature_0.0.0.jar" id="org.jboss.tools.central.discovery.feature" version="0.0.0">
</feature>
- <feature url="features/org.jboss.tools.central.discovery.feature.source_0.0.0.jar" id="org.jboss.tools.central.discovery.feature.source" version="0.0.0">
- </feature>
+ <!-- JBIDE-12389 to hide central.discovery plugin and feature, exclude source feature too <feature url="features/org.jboss.tools.central.discovery.feature.source_0.0.0.jar" id="org.jboss.tools.central.discovery.feature.source" version="0.0.0"/> -->
<feature id="org.jboss.tools.central.themes.feature" version="0.0.0"/>
<feature id="org.jboss.tools.central.themes.feature.source" version="0.0.0"/>
12 years, 2 months
JBoss Tools SVN: r44537 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:12:29 -0400 (Tue, 16 Oct 2012)
New Revision: 44537
Modified:
trunk/build/aggregate/build.xml
Log:
use {update.site.source.dir} instead of {project.build.directory}/site so we're targeting the correct folder; simplify if check
Modified: trunk/build/aggregate/build.xml
===================================================================
--- trunk/build/aggregate/build.xml 2012-10-16 20:12:22 UTC (rev 44536)
+++ trunk/build/aggregate/build.xml 2012-10-16 20:12:29 UTC (rev 44537)
@@ -488,7 +488,7 @@
<if>
<available file="${project.build.directory}/category.xml" type="file"/>
<then>
- <move file="${project.build.directory}/category.xml" tofile="${project.build.directory}/site/category.xml" />
+ <move file="${project.build.directory}/category.xml" tofile="${update.site.source.dir}/category.xml" />
</then>
</if>
<!-- support eclipse-repository (new) and eclipse-update-site (old): rename central.site-1.1.0-SNAPSHOT.zip to site_assembly.zip to be compatible with publish.sh script -->
@@ -503,21 +503,15 @@
<if>
<not>
- <or>
- <and> <!-- Old school eclipse-update-site -->
- <available file="${project.build.directory}/site" type="dir" />
- <available file="${project.build.directory}/site_assembly.zip" type="file" />
- </and>
- <and> <!-- eclipse-repository -->
- <available file="${project.build.directory}/repository" type="dir"/>
- <available file="${project.build.directory}/site_assembly.zip" type="file" />
- </and>
- </or>
+ <and>
+ <available file="${update.site.source.dir}" type="dir" />
+ <available file="${project.build.directory}/site_assembly.zip" type="file" />
+ </and>
</not>
<then>
<fail>
--
-Could not find ${project.build.directory}/site and one of ${project.build.directory}/site_assembly.zip or ${project.build.directory}/*.zip
+Could not find ${update.site.source.dir} and one of ${project.build.directory}/site_assembly.zip
Cannot adjust an update site w/o first building it!
--
Using maven: mvn3 clean install -U -B -fae -q -e
12 years, 2 months
JBoss Tools SVN: r44536 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:12:22 -0400 (Tue, 16 Oct 2012)
New Revision: 44536
Modified:
trunk/build/aggregate/remove-uncategorized.xsl
Log:
removing the default category should be done whether we're starting from site.xml or category.xml
Modified: trunk/build/aggregate/remove-uncategorized.xsl
===================================================================
--- trunk/build/aggregate/remove-uncategorized.xsl 2012-10-16 20:12:16 UTC (rev 44535)
+++ trunk/build/aggregate/remove-uncategorized.xsl 2012-10-16 20:12:22 UTC (rev 44536)
@@ -15,6 +15,6 @@
</xsl:copy>
</xsl:template>
-<xsl:template match="unit[contains(@id,'site.xml.Default')]" />
+<xsl:template match="unit[contains(@id,'.Default')]" />
</xsl:stylesheet>
\ No newline at end of file
12 years, 2 months
JBoss Tools SVN: r44535 - trunk/central/plugins/org.jboss.tools.central.discovery.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:12:16 -0400 (Tue, 16 Oct 2012)
New Revision: 44535
Modified:
trunk/central/plugins/org.jboss.tools.central.discovery/plugin.properties
Log:
JBIDE-12389 label central.discovery plugin with 'do not install this plugin'
Modified: trunk/central/plugins/org.jboss.tools.central.discovery/plugin.properties
===================================================================
--- trunk/central/plugins/org.jboss.tools.central.discovery/plugin.properties 2012-10-16 20:12:09 UTC (rev 44534)
+++ trunk/central/plugins/org.jboss.tools.central.discovery/plugin.properties 2012-10-16 20:12:16 UTC (rev 44535)
@@ -1,3 +1,3 @@
BundleVendor = JBoss by Red Hat
-BundleName = JBoss Central Discovery
+BundleName = JBoss Central Discovery - do not install this plugin
12 years, 2 months
JBoss Tools SVN: r44534 - trunk/central/plugins/org.jboss.tools.central.discovery/META-INF.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:12:09 -0400 (Tue, 16 Oct 2012)
New Revision: 44534
Modified:
trunk/central/plugins/org.jboss.tools.central.discovery/META-INF/MANIFEST.MF
Log:
switch name and vendor labels
Modified: trunk/central/plugins/org.jboss.tools.central.discovery/META-INF/MANIFEST.MF
===================================================================
--- trunk/central/plugins/org.jboss.tools.central.discovery/META-INF/MANIFEST.MF 2012-10-16 20:12:02 UTC (rev 44533)
+++ trunk/central/plugins/org.jboss.tools.central.discovery/META-INF/MANIFEST.MF 2012-10-16 20:12:09 UTC (rev 44534)
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: %BundleVendor
+Bundle-Name: %BundleName
Bundle-SymbolicName: org.jboss.tools.central.discovery;singleton:=true
Bundle-Version: 1.1.0.qualifier
Require-Bundle: org.eclipse.core.runtime,
@@ -8,4 +8,4 @@
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-Localization: plugin
-Bundle-Vendor: %BundleName
+Bundle-Vendor: %BundleVendor
12 years, 2 months
JBoss Tools SVN: r44533 - trunk/central/features/org.jboss.tools.central.discovery.feature.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:12:02 -0400 (Tue, 16 Oct 2012)
New Revision: 44533
Modified:
trunk/central/features/org.jboss.tools.central.discovery.feature/feature.properties
Log:
JBIDE-12389 label central.discovery.feature with 'do not install this feature'
Modified: trunk/central/features/org.jboss.tools.central.discovery.feature/feature.properties
===================================================================
--- trunk/central/features/org.jboss.tools.central.discovery.feature/feature.properties 2012-10-16 20:11:54 UTC (rev 44532)
+++ trunk/central/features/org.jboss.tools.central.discovery.feature/feature.properties 2012-10-16 20:12:02 UTC (rev 44533)
@@ -15,7 +15,7 @@
# This file should be translated.
# "featureName" property - name of the feature
-featureName=JBoss Central Discovery
+featureName=JBoss Central Discovery - do not install this feature
# "providerName" property - name of the company that provides the feature
providerName=JBoss by Red Hat
12 years, 2 months
JBoss Tools SVN: r44532 - trunk/build/aggregate.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-10-16 16:11:54 -0400 (Tue, 16 Oct 2012)
New Revision: 44532
Added:
trunk/build/aggregate/remove-uninstallable.xsl
Modified:
trunk/build/aggregate/build.xml
Log:
fix build.xml so it can be called by central site builder w/o extra processing in the pom.xml; JBIDE-12389: exclude features/plugins with 'do not install' in their name or description
Modified: trunk/build/aggregate/build.xml
===================================================================
--- trunk/build/aggregate/build.xml 2012-10-16 20:05:22 UTC (rev 44531)
+++ trunk/build/aggregate/build.xml 2012-10-16 20:11:54 UTC (rev 44532)
@@ -26,8 +26,13 @@
<tempfile property="tmpdir" destDir="${java.io.tmpdir}" prefix="aggregate-site-build"/>
<mkdir dir="${tmpdir}" />
- <property name="update.site.source.dir" value="${output.dir}/target/site" />
+ <property name="project.build.directory" value="${output.dir}/target"/>
+ <!-- look for target/repository (new) or target/site (old) -->
+ <condition property="update.site.source.dir" value="${project.build.directory}/site" else="${project.build.directory}/repository">
+ <available file="${project.build.directory}/site" type="dir" />
+ </condition>
+
<!-- load properties from file -->
<condition property="associate.properties" value="${output.dir}/associate.properties">
<available file="${output.dir}/associate.properties" type="file" />
@@ -39,7 +44,7 @@
<echo level="verbose">Loaded associate sites from ${associate.properties}</echo>
<property name="web.content.files" value="index.html, web/*.css, README*, *directory.xml, site.xml, site.properties" />
- <property name="target.zip" value="${output.dir}/target/repository.zip"/>
+ <property name="target.zip" value="${project.build.directory}/site_assembly.zip"/>
<target name="init">
<echo>
@@ -61,7 +66,7 @@
<antcall target="get.saxon" />
</target>
- <target name="basic.build" description="JBT aggregate update site extra processing steps" depends="init,check.target,add.repo.properties,unpack.content.jar,remove.references,add.associate.sites,remove.uncategorized.category,add.web.content,pack.content.jar,pack.zip,cleanup" />
+ <target name="basic.build" description="JBT aggregate update site extra processing steps" depends="init,check.target,add.repo.properties,unpack.content.jar,remove.references,add.associate.sites,remove.uncategorized.category,remove.uninstallable,add.web.content,pack.content.jar,pack.zip,cleanup" />
<target name="custom.build" description="JBT aggregate update site extra processing steps" depends="basic.build,collect.zips,collect.metadata,create.summary.file,cleanup" />
<target name="get.ant-contrib" unless="ant-contrib.jar.exists">
@@ -448,6 +453,11 @@
<xslt style="remove-uncategorized.xsl" in="${update.site.source.dir}/content.old.xml" out="${update.site.source.dir}/content.xml" />
</target>
+ <target name="remove.uninstallable">
+ <copy file="${update.site.source.dir}/content.xml" tofile="${update.site.source.dir}/content.old.xml" overwrite="true" />
+ <xslt style="remove-uninstallable.xsl" in="${update.site.source.dir}/content.old.xml" out="${update.site.source.dir}/content.xml" />
+ </target>
+
<target name="unpack.content.jar">
<if>
<available file="${update.site.source.dir}/content.jar" type="file" />
@@ -473,30 +483,41 @@
</target>
<target name="check.target">
+
+ <!-- support eclipse-repository (new) and eclipse-update-site (old): put category.xml in correct folder -->
<if>
- <or>
- <and> <!-- Old school eclipse-update-site -->
- <available file="${output.dir}/target/site" type="dir" />
- <available file="${output.dir}/target/site_assembly.zip" type="file" />
- </and>
- <and> <!-- eclipse-repository -->
- <available file="${output.dir}/target/repository" type="dir"/>
- <available file="${output.dir}/target/repository.zip" type="file" />
- </and>
- </or>
+ <available file="${project.build.directory}/category.xml" type="file"/>
<then>
- <if>
- <available file="${output.dir}/target/site_assembly.zip" type="file" />
- <then>
- <var name="target.zip" unset="true"/>
- <var name="target.zip" value="${output.dir}/target/site_assembly.zip"/>
- </then>
- </if>
+ <move file="${project.build.directory}/category.xml" tofile="${project.build.directory}/site/category.xml" />
</then>
- <else>
+ </if>
+ <!-- support eclipse-repository (new) and eclipse-update-site (old): rename central.site-1.1.0-SNAPSHOT.zip to site_assembly.zip to be compatible with publish.sh script -->
+ <if>
+ <not><available file="${project.build.directory}/site_assembly.zip" type="file"/></not>
+ <then>
+ <move tofile="${project.build.directory}/site_assembly.zip">
+ <fileset dir="${project.build.directory}" includes="*.zip" excludes="site.zip, site_assembly.zip"/>
+ </move>
+ </then>
+ </if>
+
+ <if>
+ <not>
+ <or>
+ <and> <!-- Old school eclipse-update-site -->
+ <available file="${project.build.directory}/site" type="dir" />
+ <available file="${project.build.directory}/site_assembly.zip" type="file" />
+ </and>
+ <and> <!-- eclipse-repository -->
+ <available file="${project.build.directory}/repository" type="dir"/>
+ <available file="${project.build.directory}/site_assembly.zip" type="file" />
+ </and>
+ </or>
+ </not>
+ <then>
<fail>
--
-Could not find ${output.dir}/target/site and one of ${output.dir}/target/site_assembly.zip or ${output.dir}/target/repository.zip
+Could not find ${project.build.directory}/site and one of ${project.build.directory}/site_assembly.zip or ${project.build.directory}/*.zip
Cannot adjust an update site w/o first building it!
--
Using maven: mvn3 clean install -U -B -fae -q -e
@@ -504,7 +525,7 @@
Using ant: ant basic.build -f ../build.xml -Doutput.dir=`pwd`
Using ant: ant custom.build -f ../build.xml -Doutput.dir=`pwd` -DinputRepo=http://download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk/
</fail>
- </else>
+ </then>
</if>
</target>
Added: trunk/build/aggregate/remove-uninstallable.xsl
===================================================================
--- trunk/build/aggregate/remove-uninstallable.xsl (rev 0)
+++ trunk/build/aggregate/remove-uninstallable.xsl 2012-10-16 20:11:54 UTC (rev 44532)
@@ -0,0 +1,27 @@
+<?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>
+
+<!-- remove uninstallable features/plugins based on their names/descriptions
+<properties>
+<property name="df_LT.bundleName" value="... do not install ..."/>
+<property name="df_LT.featureName" value="... do not install ..."/>
+<property name="df_LT.description" value="... do not install ..."/>
+</properties>
+-->
+<xsl:template match="unit[*/property[contains(@value,'do not install')]]" />
+
+</xsl:stylesheet>
\ No newline at end of file
12 years, 2 months
JBoss Tools SVN: r44531 - in trunk/documentation/whatsnew: core and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-10-16 16:05:22 -0400 (Tue, 16 Oct 2012)
New Revision: 44531
Added:
trunk/documentation/whatsnew/core/core-news-4.0.0.Beta1.html
trunk/documentation/whatsnew/core/images/newjava.png
trunk/documentation/whatsnew/core/images/registerService.png
trunk/documentation/whatsnew/core/images/registerServiceMenu.png
trunk/documentation/whatsnew/core/images/serviceProvider.png
Modified:
trunk/documentation/whatsnew/index.html
Log:
https://issues.jboss.org/browse/JBIDE-12883 Core/General Component N&N
Added: trunk/documentation/whatsnew/core/core-news-4.0.0.Beta1.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-4.0.0.Beta1.html (rev 0)
+++ trunk/documentation/whatsnew/core/core-news-4.0.0.Beta1.html 2012-10-16 20:05:22 UTC (rev 44531)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Core/Common 3.3.0.M5 What's New</title>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-17645367-5']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+</script></head>
+<body>
+<h1>Core/Common 4.0.0.Beta1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a>
+<a href="../jst/jst-news-4.0.0.Beta1.html">JST/JSF Tools ></a>
+</p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>General</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
+ <a name="itemnam1e" id="itemname1"></a><b>New Service Provider Class Wizard</b>
+ </td>
+ <td width="70%" valign="top">
+ <p>
+ There is a new a new service provider class wizard in JBoss Tools 4.0.0.Beta1. This wizard creates a new java class with specific service type and create a service file in the 'META-INF/services' directory.
+ If the service file already exists, the class is added to it on a new line.
+ </p>
+ <br/>
+ <img src="images/newjava.png" /><br/><br/>
+ <img src="images/serviceProvider.png" />
+
+ <p>
+ It's also possible to register an existing class as a service provider in META-INF/services.
+ </p>
+
+ <br/>
+ <img src="images/registerServiceMenu.png" /><br/><br/>
+ <img src="images/registerService.png" />
+
+ <p>
+ <small>
+ Related Jiras : <a href="https://issues.jboss.org/browse/JBIDE-9443">JBIDE-9443</a>,
+ <a href="https://issues.jboss.org/browse/JBIDE-12793">JBIDE-12793</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
Property changes on: trunk/documentation/whatsnew/core/core-news-4.0.0.Beta1.html
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/documentation/whatsnew/core/images/newjava.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/core/images/newjava.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/core/images/registerService.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/core/images/registerService.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/core/images/registerServiceMenu.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/core/images/registerServiceMenu.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/core/images/serviceProvider.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/core/images/serviceProvider.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2012-10-16 17:52:09 UTC (rev 44530)
+++ trunk/documentation/whatsnew/index.html 2012-10-16 20:05:22 UTC (rev 44531)
@@ -50,6 +50,13 @@
<tr>
<td valign="top" align="left">
+ <p align="right"><b>4.0.0.Beta1</b>
+ <td valign="top">
+ <p><a href="core/core-news-4.0.0.Beta1.html">Core/General</a></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
<p align="right"><b>4.0.0.Alpha2</b>
<td valign="top">
<p><a href="as/as-news-4.0.0.Alpha2.html">Server Tools</a></p>
12 years, 2 months