[jbosstools-issues] [JBoss JIRA] (JBDS-3071) JBDS Installer shouldn't contain source features/plugins

Nick Boldt (JIRA) issues at jboss.org
Mon Jun 16 18:43:24 EDT 2014


    [ https://issues.jboss.org/browse/JBDS-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976772#comment-12976772 ] 

Nick Boldt commented on JBDS-3071:
----------------------------------

Did a quick test to see if we could simply exclude the IUs from the installer jar...
{code}
diff --git a/installer/pom.xml b/installer/pom.xml
index 0ca122d..53decb0 100644
--- a/installer/pom.xml
+++ b/installer/pom.xml
@@ -130,7 +130,7 @@
                 </artifactItem>
               </artifactItems>
               <outputDirectory>${project.build.directory}/update/jbds</outputDirectory>
-              <excludes>**/*.pack.gz</excludes>
+              <excludes>**/*.source_*.jar, **/*.pack.gz</excludes>
{code}

... and YES, that works... until someone tries to install the source features that are listed in the installer jar (but which don't exist). For this to work we'd need to regen the metadata.

Therefore a better solution is probably to build an actual update site w/ Tycho which excludes source features, and another which includes them (for use in the update site).

Might even be able to transform one category.xml into another so we don't have to maintain two nearly-identical copies of the same file.





> JBDS Installer shouldn't contain source features/plugins
> --------------------------------------------------------
>
>                 Key: JBDS-3071
>                 URL: https://issues.jboss.org/browse/JBDS-3071
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: installer
>    Affects Versions: 8.0.0.Beta2
>            Reporter: Fred Bricon
>             Fix For: 8.0.0.Beta3
>
>
> {quote}
> So the basic JBDS installer is 70MB fatter. From my understanding it's because we now ship a *huge* forge2 runtime (50MB), Tern, the JVM Monitor and probably some other minor stuff.
> Fair enough. But do we *really* need to add all the source features/plugins to the installer? *If* we're legally bound to provide sources for JBoss plugins, couldn't we provide them via an other way? (p2 only).
> I reckon we could save ~37 MB by not shipping sources in the installer. I know storage is cheap and d/l speeds are faster but that's not an excuse.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list