Skip to content

Commit 229e707

Browse files
committed
JBDS-3612 refactor 'jbds' and 'jbdevstudio' to 'devstudio'
JBDS-3606 wrong uninstall icon filename; fix .gitignores; fix DEVSTUDIO_LOCATION in Unpacker.java another place to switch from jbdevstudio to devstudio
1 parent 7b80e5f commit 229e707

File tree

66 files changed

+207
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+207
-207
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workspace
2-
jbds-echoproperties.txt
2+
*echoproperties.txt
33
.DS_Store
44
target*/
55
bin

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ After a successful build, three artifacts are produced:
4444
* an update site (also known as a p2 repository)
4545

4646

47-
Installer jar(s) will be produced in installer/target/ and can be installed using 'java -jar jbdevstudio-*.jar'
47+
Installer jar(s) will be produced in installer/target/ and can be installed using 'java -jar devstudio-*.jar'
4848

4949
Sources zip can be found in results/target/; you can build from the source zip in there by unpacking it, then using the same instructions above.
5050

@@ -53,7 +53,7 @@ An unpacked update site, which can be used to perform an initial install or to i
5353
The installer jar can be used as an archived update site. Launch Eclipse or Red Hat Developer Studio, then select:
5454

5555
Help > Install New Software... > Add... > Archive... > Browse for the Red Hat Developer Studio installer jar > OK >
56-
Work with: jar:file:/path/to/jbdevstudio-product-*.jar!/ > Install the Red Hat Developer Studio feature(s) >
56+
Work with: jar:file:/path/to/devstudio-product-*.jar!/ > Install the Red Hat Developer Studio feature(s) >
5757
Restart when prompted.
5858

5959

Diff for: features/com.jboss.devstudio.core.feature/feature.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<import feature="org.eclipse.tm.terminal.connector.ssh.feature" version="4.0.0" match="greaterOrEqual"/>
178178
<import feature="org.eclipse.tm.terminal.connector.telnet.feature" version="4.0.0" match="greaterOrEqual"/>
179179

180-
<!-- JBDS-3495 add plugins instead of feature to avoid p2.inf instruction which forces JBDS to include Docker nightly update site in disabled state -->
180+
<!-- JBDS-3495 add plugins instead of feature to avoid p2.inf instruction which forces devstudio to include Docker nightly update site in disabled state -->
181181
<import plugin="org.eclipse.linuxtools.docker.core" version="1.1.0" match="greaterOrEqual"/>
182182
<import plugin="org.eclipse.linuxtools.docker.ui" version="1.1.0" match="greaterOrEqual"/>
183183
<!-- do we actually need this? -->

Diff for: features/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<groupId>com.jboss.devstudio.core</groupId>
1111
<artifactId>features</artifactId>
1212
<version>10.0.0-SNAPSHOT</version>
13-
<name>JBDS - Product Features - Core</name>
13+
<name>devstudio - Product Features - Core</name>
1414
<packaging>pom</packaging>
1515
<modules>
1616
<module>com.jboss.devstudio.core.feature</module>

Diff for: installer/build.xml

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- A build file to create an IzPack (http://www.izforge.com/izpack/) installer.
22
$Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
33
-->
4-
<project name="JBDS Installer" default="installer">
4+
<project name="Red Hat Developer Studio Installer" default="installer">
55
<taskdef resource="net/sf/antcontrib/antlib.xml" />
66

77
<property file="local.properties" />
@@ -15,7 +15,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
1515
<property name="build.id" value="${build.number}" />
1616

1717
<!-- Manifest version info -->
18-
<property name="specification.title" value="JBDS Installer" />
18+
<property name="specification.title" value="Red Hat Developer Studio Installer" />
1919

2020
<property name="implementation.vendor" value="JBoss by Red Hat (http://www.jboss.com/)" />
2121
<property name="implementation.vendor.id" value="${implementation.url}" />
@@ -28,7 +28,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
2828
<property name="thirdparty.root" value="${basedir}/../thirdparty" />
2929

3030
<property name="project.root" value="${basedir}/" />
31-
<property name="izpack.home" value="${project.root}/../releng/jbds-build/IzPack-4.3.4" />
31+
<property name="izpack.home" value="${project.root}/../releng/devstudio-build/IzPack-4.3.4" />
3232
<property name="izpack.langpacks" value="${basedir}/etc/local-izpack/bin/langpacks/installer" />
3333

3434
<property name="distribution.dir" location="${build.dir}/distribution" />
@@ -53,8 +53,8 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
5353

5454
<target name="buildcustompanels">
5555
<echo message="Building panels ..." />
56-
<echoproperties destfile="${build.dir}/../../jbds-echoproperties.txt" />
57-
<echo>Build properties written to ${build.dir}/../../jbds-echoproperties.txt</echo>
56+
<echoproperties destfile="${build.dir}/../../devstudio-echoproperties.txt" />
57+
<echo>Build properties written to ${build.dir}/../../devstudio-echoproperties.txt</echo>
5858
<mkdir dir="${build.dir}/classes" />
5959
<mkdir dir="${build.dir}/izpack-panels" />
6060

@@ -204,7 +204,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
204204
</if>
205205
</target>
206206

207-
<target name="prepare-jbds" depends="prepare-distribution-properties">
207+
<target name="prepare-devstudio" depends="prepare-distribution-properties">
208208
<delete includeemptydirs="true" defaultexcludes="false" failonerror="false">
209209
<fileset dir="${studio.dist}" />
210210
</delete>
@@ -237,7 +237,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
237237
</macrodef>
238238

239239
<target name="prepare-distribution"
240-
depends="prepare-distribution-properties, prepare-jbosseap, prepare-jbds"
240+
depends="prepare-distribution-properties, prepare-jbosseap, prepare-devstudio"
241241
description="Copies the needed files into the distribution dir as needed by install.xml">
242242

243243
<condition property="nightly_build_qualifier" value="" else="-${buildQualifier}">
@@ -321,24 +321,24 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
321321
<property name="installer.name" value="jboss-devstudio-${specification.version}-installer-standalone" />
322322
<property name="installer.eap.name" value="jboss-devstudio-${specification.version}-installer-eap" />
323323

324-
<property name="implementation.title" value="JBDS Installer [${update.site.version}]" />
324+
<property name="implementation.title" value="Red Hat Developer Studio Installer [${update.site.version}]" />
325325
<property name="implementation.url" value="http://www.jboss.org/" />
326326
<property name="implementation.version" value="${update.site.version}.${buildQualifier}" />
327327

328-
<property name="artifacts.jbds.update" value="${project.build.directory}/jbdevstudio-product-installer-Update-${buildQualifier}.zip" />
328+
<property name="artifacts.devstudio.update" value="${project.build.directory}/devstudio-product-installer-Update-${buildQualifier}.zip" />
329329
</target>
330330

331331
<target name="create-temp-update-sites">
332332
<!-- this update site zip is only used to produce the installer -->
333333
<echo>Prepare update site zip </echo>
334-
<zip destfile="${artifacts.jbds.update}" whenempty="fail">
335-
<zipfileset dir="${project.build.directory}/repository" prefix="jbds"/>
334+
<zip destfile="${artifacts.devstudio.update}" whenempty="fail">
335+
<zipfileset dir="${project.build.directory}/repository" prefix="devstudio"/>
336336
</zip>
337337
</target>
338338

339339
<target name="installer" depends="init, init-properties, create-temp-update-sites, buildcustompanels, prepare-distribution">
340340

341-
<echo message="Building JBDS Installers with nightly_build_qualifier=${nightly_build_qualifier}"/>
341+
<echo message="Building Red Hat Developer Studio Installers with nightly_build_qualifier=${nightly_build_qualifier}"/>
342342
<taskdef name="izpack" classname="com.izforge.izpack.ant.IzPackTask" classpathref="izpack.classpath" />
343343

344344
<mkdir dir="${build.dir}" />
@@ -349,7 +349,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
349349
<then>
350350
<var name="install.group" value="jbosseap" />
351351
<!-- Now call the izpack compiler -->
352-
<echo message="Building JBDS Installer (EAP Bundle): ${installer.eap.name}.jar"/>
352+
<echo message="Building Red Hat Developer Studio Installer (EAP Bundle): ${installer.eap.name}.jar"/>
353353
<izpack input="${src.dir}/config/install.xml"
354354
output="${destination.dir}/${installer.eap.name}.jar"
355355
installerType="standard"
@@ -371,9 +371,9 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
371371
<var name="install.group" unset="true" />
372372
</then>
373373
</if>
374-
<var name="install.group" value="jbds" />
374+
<var name="install.group" value="devstudio" />
375375
<!-- Now call the izpack compiler -->
376-
<echo message="Building JBDS Installer (Standalone): ${installer.name}.jar"/>
376+
<echo message="Building Red Hat Developer Studio Installer (Standalone): ${installer.name}.jar"/>
377377
<izpack input="${src.dir}/config/install.xml"
378378
output="${destination.dir}/${installer.name}.jar"
379379
installerType="standard"
@@ -392,15 +392,15 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
392392
<isset property="skipTests" />
393393
</not>
394394
<then>
395-
<loadfile srcfile="${basedir}/jbdevstudio-test-install.xml" property="jbdevstudio-test-install.xml.updated">
395+
<loadfile srcfile="${basedir}/devstudio-test-install.xml" property="devstudio-test-install.xml.updated">
396396
<filterchain>
397397
<expandproperties/>
398398
</filterchain>
399399
</loadfile>
400-
<echo file="${project.build.directory}/jbdevstudio-test-install.xml">${jbdevstudio-test-install.xml.updated}</echo>
400+
<echo file="${project.build.directory}/devstudio-test-install.xml">${devstudio-test-install.xml.updated}</echo>
401401

402402
<java jar="${destination.dir}/${installer.name}.jar" fork="true" failonerror="true" maxmemory="512m" jvmargs="-DTRACE=true -Djava.security.manager -Djava.security.policy=${basedir}/java.policy">
403-
<arg line="${project.build.directory}/jbdevstudio-test-install.xml"/>
403+
<arg line="${project.build.directory}/devstudio-test-install.xml"/>
404404
</java>
405405
</then>
406406
</if>
@@ -419,7 +419,7 @@ $Id: build.xml,v 1.1.2.14 2006/03/31 07:47:31 starksm Exp $
419419
<!-- clean up build-time artifacts so they won't be published -->
420420
<delete includeEmptyDirs="true" quiet="true">
421421
<fileset dir="${project.build.directory}/update"/>
422-
<fileset file="${artifacts.jbds.update}"/>
422+
<fileset file="${artifacts.devstudio.update}"/>
423423
</delete>
424424
</target>
425425

Diff for: installer/category.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<site>
33
<description>Red Hat Developer Studio Installer P2 Repository</description>
4-
<category-def name="jbds" label="Red Hat Developer Studio">
4+
<category-def name="devstudio" label="Red Hat Developer Studio">
55
<description>Red Hat Developer Studio Features</description>
66
</category-def>
77
<bundle id="com.jboss.devstudio.core.package">
8-
<category name="jbds" />
8+
<category name="devstudio" />
99
</bundle>
1010
<feature id="org.testng.eclipse">
11-
<category name="jbds" />
11+
<category name="devstudio" />
1212
</feature>
1313
</site>

Diff for: installer/jbdevstudio-test-install.xml renamed to installer/devstudio-test-install.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<com.jboss.devstudio.core.installer.HTMLInfoPanelWithRootWarning id="introduction"/>
44
<com.izforge.izpack.panels.HTMLLicencePanel id="licence"/>
55
<com.jboss.devstudio.core.installer.PathInputPanel id="target">
6-
<installpath>${project.build.directory}/jbdevstudio-install-test</installpath>
6+
<installpath>${project.build.directory}/devstudio-install-test</installpath>
77
</com.jboss.devstudio.core.installer.PathInputPanel>
88
<com.jboss.devstudio.core.installer.JREPathPanel id="jre"/>
99
<com.jboss.devstudio.core.installer.JBossAsSelectPanel id="as">
10-
<installgroup>jbds</installgroup>
10+
<installgroup>devstudio</installgroup>
1111
</com.jboss.devstudio.core.installer.JBossAsSelectPanel>
1212
<com.jboss.devstudio.core.installer.UpdatePacksPanel id="updatepacks"/>
1313
<com.jboss.devstudio.core.installer.DiskSpaceCheckPanel id="diskspacecheck"/>

Diff for: installer/rootfiles/compositeArtifacts.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<property name='p2.timestamp' value='1424269905000'/>
77
</properties>
88
<children size='1'>
9-
<child location='jbds/'/>
9+
<child location='devstudio/'/>
1010
</children>
1111
</repository>

Diff for: installer/rootfiles/compositeContent.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<property name='p2.timestamp' value='1424269905000'/>
77
</properties>
88
<children size='1'>
9-
<child location='jbds/'/>
9+
<child location='devstudio/'/>
1010
</children>
1111
</repository>

Diff for: installer/src/config/install-pack-installer.xml

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!DOCTYPE installation PUBLIC "//IzPack/4.3.3" "resources/installation.dtd">
44
<installation version="1.0">
55
<packs>
6-
<pack name="P2 Director Application" id="jbds-installer" installGroups="jbds,jbosseap" required="yes">
6+
<pack name="P2 Director Application" id="devstudio-installer" installGroups="devstudio,jbosseap" required="yes">
77
<description>
88
P2 Director to install Red Hat Developer Studio @{specification.version.presentstring}
99
</description>
@@ -14,26 +14,26 @@
1414
<fileset dir="studio" targetdir="$INSTALL_PATH/studio">
1515
</fileset>
1616

17-
<singlefile src="config/resources/jbdevstudio-unity" target="$INSTALL_PATH/jbdevstudio-unity" condition="izpack.linuxinstall" />
18-
<executable targetfile="$INSTALL_PATH/jbdevstudio-unity" condition="izpack.linuxinstall" />
17+
<singlefile src="config/resources/devstudio-unity" target="$INSTALL_PATH/devstudio-unity" condition="izpack.linuxinstall" />
18+
<executable targetfile="$INSTALL_PATH/devstudio-unity" condition="izpack.linuxinstall" />
1919
<singlefile src="config/resources/icons/48-devstudio.icon.png" target="$INSTALL_PATH/studio/48-devstudio.icon.png" condition="izpack.linuxinstall" />
2020
<singlefile src="config/resources/icons/48-uninstall.icon.png" target="$INSTALL_PATH/studio/48-uninstall.icon.png" condition="izpack.linuxinstall" />
2121
<singlefile src="config/resources/icons/devstudio.ico" target="$INSTALL_PATH/studio/devstudio.ico" os="windows" />
2222
<singlefile src="config/resources/icons/uninstall.ico" target="$INSTALL_PATH/studio/uninstall.ico" os="windows" />
2323

24-
<singlefile src="config/resources/jbdevstudio.bat" target="$INSTALL_PATH/jbdevstudio.bat" os="windows" />
25-
<parsable targetfile="$INSTALL_PATH/jbdevstudio.bat" os="windows" />
26-
<executable targetfile="$INSTALL_PATH/jbdevstudio.bat" os="windows" />
24+
<singlefile src="config/resources/devstudio.bat" target="$INSTALL_PATH/devstudio.bat" os="windows" />
25+
<parsable targetfile="$INSTALL_PATH/devstudio.bat" os="windows" />
26+
<executable targetfile="$INSTALL_PATH/devstudio.bat" os="windows" />
2727

2828
<singlefile src="config/resources/runtimes-readme.txt" target="$INSTALL_PATH/runtimes/readme.txt" />
2929

3030
</pack>
31-
<pack name="Red Hat Developer Studio @{specification.version.presentstring}" id="jbds.update" installGroups="jbosseap,jbds" required="no">
31+
<pack name="Red Hat Developer Studio @{specification.version.presentstring}" id="devstudio.update" installGroups="jbosseap,devstudio" required="no">
3232
<description>
3333
Red Hat Developer Studio @{specification.version.presentstring} Update
3434
</description>
3535
</pack>
36-
<pack name="Red Hat Developer Studio @{specification.version.presentstring} Metadata Generation" id="jbds.generate" installGroups="jbosseap,jbds" required="no">
36+
<pack name="Red Hat Developer Studio @{specification.version.presentstring} Metadata Generation" id="devstudio.generate" installGroups="jbosseap,devstudio" required="no">
3737
<description>
3838
Red Hat Developer Studio @{specification.version.presentstring} Metadata Generation
3939
</description>

Diff for: installer/src/config/install.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<appversion>
99
@{specification.version}, JBoss AS @{jboss.version}
1010
</appversion>
11-
<appsubpath>jbdevstudio</appsubpath>
11+
<appsubpath>devstudio</appsubpath>
1212
<authors>
1313
<author name="JBoss by Red Hat" email="[email protected]" />
1414
</authors>
@@ -145,7 +145,7 @@
145145
<!-- Do the install -->
146146
<panel classname="InstallPanel" id="install" />
147147

148-
<!-- This panel creates links folder in Eclipse home directory and creates jbds.link file -->
148+
<!-- This panel creates links folder in Eclipse home directory and creates devstudio.link file -->
149149
<panel classname="CreateLinkPanel" id="createlink"/>
150150

151151
<!-- This panel creates shortcuts -->
@@ -165,7 +165,7 @@
165165
<!-- disabled to fix issue with windows -->
166166
<!-- installer on windows vista is not asking
167167
for privilege lifting which leads to errors
168-
during addin JBDS installation to the registry-->
168+
during addin devstudio installation to the registry-->
169169
<!-- listener installer="RegistryInstallerListener"
170170
uninstaller="RegistryUninstallerListener" >
171171
<os name="Windows 7"/>
@@ -195,5 +195,5 @@
195195
<jar src="../../tools/lib/ant.jar" />
196196
<jar src="../../tools/lib/ant-launcher.jar" />
197197
<jar src="../../tools/lib/gson-2.3.1.jar" />
198-
<jar src="@{artifacts.jbds.update}" />
198+
<jar src="@{artifacts.devstudio.update}" />
199199
</installation>

Diff for: installer/src/config/resources/DevstudioFeaturesSpec.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[
22
{
33
"id" :"com.jboss.devstudio.core.package",
4-
"path" :"jbds",
4+
"path" :"devstudio",
55
"label" :"Red Hat Developer Studio Product",
66
"description":"",
77
"selected" :"true"
88
},
99
{
1010
"id" :"org.testng.eclipse.feature.group",
11-
"path" :"jbds",
11+
"path" :"devstudio",
1212
"label" :"TestNG",
1313
"description":"",
1414
"selected" :"true"

0 commit comments

Comments
 (0)