[jbosstools-issues] [JBoss JIRA] (JBDS-2456) JBDS should be buildable from source zip (or at least document the limitations)

Nick Boldt (JIRA) jira-events at lists.jboss.org
Tue Apr 16 15:05:53 EDT 2013


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

Nick Boldt commented on JBDS-2456:
----------------------------------

2 things need to exist/persist for this to work:

a) root pom has to point to a parent pom that exists in JBoss Nexus (releases or snapshots)

Currently, root pom in Alpha2x branch points to 

{code}
    <groupId>org.jboss.tools</groupId>
    <artifactId>parent</artifactId>
    <version>4.1.0.Alpha2-SNAPSHOT</version>
{code}

b) parent pom has to point to a target platform version that exists in JBoss Nexus (releases or snapshots), and that site must exist on a server which can be accessed by the user. 

Currently, parent pom in Alpha2x branch points to 4.30.5.Alpha3:

https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/targetplatforms/jbdevstudio-unified/4.30.5.Alpha3/ (refers to internal server, which is only accessible via VPN)
https://repository.jboss.org/nexus/content/repositories/releases/org/jboss/tools/targetplatforms/jbdevstudio-multiple/4.30.5.Alpha3/ (refers to download.jboss.org mirrors)

-----

3 commandline flags are therefore needed to run the build:

* multiple.target :: use jbdevstudio-multiple instead of jbdevstudio-unified, so that content can be resolved w/o need for VPN
* maximum :: use latest stable target platform version, rather than minimum version
* jboss-requirements-composite-extras-mirror :: resolve 3rd party extras 

Thus, after fetching the source zip, you should be able to build like this:

{code}
unzip jbdevstudio-product-sources-7.0.0.Alpha2-v20130415-1444-B156.zip -d /tmp/jbds-sources/
cd /tmp/jbds-sources/devstudio/product
mvn clean install -P multiple.target,maximum,jboss-requirements-composite-extras-mirror
{code}

                
> JBDS should be buildable from source zip (or at least document the limitations)
> -------------------------------------------------------------------------------
>
>                 Key: JBDS-2456
>                 URL: https://issues.jboss.org/browse/JBDS-2456
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build
>    Affects Versions: 6.0.0.GA, 7.0.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 7.0.0.Alpha2
>
>
> As reported here: http://stackoverflow.com/questions/12807472/how-build-jboss-developer-studio-from-source/ it would be nice if one could build JBDS from the sources zip. [~mmurray] reports that it sort of works but izPack is missing:
> {quote}it failed to find the devstudio/product/installer/IzPack-4.3.4.zip{quote}
> It should be noted that JBT can be built from github sources (but I don't think we've ever tried to build it from the source zip either). 
> Ref: https://community.jboss.org/wiki/HowtoBuildJBossToolswithMaven3

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list