Git Clone Tasks not triggert when using own index [message #1707791] |
Wed, 09 September 2015 11:52 |
Stefan Nöbauer Messages: 3 Registered: September 2015 |
Junior Member |
|
|
Hi,
First of all .... great tool to provide Installation of an Eclipse IDE.
So ... I would like to use Oomph to provide our inhouse development environment. I set up a project configurtation and several project-configurations.
As I tryed them using the default Oomph Installer they worked fine. But then I moved these configuration (,setup) files to our webserver and used these configurations within an own index.
After that none of the git clone tasks are triggered anymore.
What am I doing wrong? Any ideas?
Is it also possible to add a git clone task to the product.setup?
Here are my Configuration files:
org.eclipse.setup:
<?xml version="1.0" encoding="UTF-8"?>
<setup:Index
xmi:version="2.0"
xmlns:xmi="..."
xmlns:setup="..."
name="index"
label="Index">
<productCatalog
href="catalog:/self-product-catalog.setup#/"/>
<productCatalog
href="kgu.products.setup#/"/>
<projectCatalog
href="kgu.tps.projects.setup#/"/>
</setup:Index>
kgu.products.setup:
<?xml version="1.0" encoding="UTF-8"?>
<setup:ProductCatalog
xmi:version="2.0"
xmlns:xmi="..."
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="kgu.products"
label="KGU">
<product href="ide.setup#/"/>
</setup:ProductCatalog>
ide.setup:
<?xml version="1.0" encoding="UTF-8"?>
<setup:Product
xmi:version="2.0"
xmlns:xmi="..."
xmlns:xsi="..."
xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore"
name="tps.ide"
label="TPS IDE">
<annotation
source="http://www.eclipse.org/oomph/setup/BrandingInfo">
<detail
key="folderName">
<value>eclipse</value>
</detail>
<detail
key="folderName.macosx">
<value>Eclipse</value>
</detail>
</annotation>
<setupTask
xsi:type="setup:InstallationTask"
id="installation"/>
<setupTask
xsi:type="setup:VariableTask"
name="workspace.location"
label="Workspace location rule">
<annotation
source="ImpliedVariable">
<reference
href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/'workspace'"/>
<reference
href="http://www.eclipse.org/oomph/setup/1.0#//WorkspaceTask/location"/>
</annotation>
<choice
value="${installation.location/workspaces/workspace}"
label="Located in a folder named 'ws' within the installation folder"/>
<description>The rule for the absolute folder location where the workspace is located</description>
</setupTask>
<setupTask
xsi:type="setup:VariableTask"
id="global.repo.location"
name="global.repo.location"
value="${installation.location/GITRepo/}"/>
<version name="latest.released"
label="Latest Release (Mars)"
requiredJavaVersion="1.7">
<setupTask
xsi:type="setup:EclipseIniTask"
option="-Xmx"
value="2024m"
vm="true">
<description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
</setupTask>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-showLocation"
value=""/>
<setupTask
xsi:type="git:GitCloneTask"
id="git.clone.developTools"
excludedTriggers="MANUAL"
location="${installation.location/}${git.clone.developTools.remoteURI|gitRepository}"
remoteURI="ssh://git:22000/DevelopmentTools"
pushURI=""
checkoutBranch="develop">
<description></description>
</setupTask>
<setupTask
xsi:type="setup.p2:P2Task"
label="Eclipse for RCP and RAP Developers (Mars)">
<requirement
name="epp.package.rcp"
versionRange="[4.5.0,4.6.0)"/>
<requirement
name="org.eclipse.platform.feature.group"
versionRange="[4.5.0,4.6.0)"/>
<requirement
name="org.eclipse.rcp.feature.group"
versionRange="[4.5.0,4.6.0)"/>
<requirement
name="org.eclipse.jdt.feature.group"
versionRange="[3.11.0,3.12.0)"/>
<requirement
name="org.eclipse.pde.feature.group"
versionRange="[3.11.0,3.12.0)"/>
<requirement
name="com.essiembre.eclipse.rbe.feature.group"
versionRange="[1.0.4,2.0.0)"/>
<requirement
name="org.eclipse.wst.web_ui.feature.feature.group"/>
<requirement
name="org.jboss.ide.eclipse.as.feature.feature.group"/>
<requirement
name="org.jboss.ide.eclipse.freemarker.feature.feature.group"/>
<requirement
name="de.kgucms.ddmtooling.resources.feature.feature.group"/>
<requirement
name="edu.umd.cs.findbugs.plugin.eclipse.feature.group"/>
<requirement
name="net.sf.eclipsecs.feature.group"/>
<requirement
name="org.eclipse.regexp.feature.feature.group"/>
<requirement
name="org.eclipse.wst.jsdt.feature.feature.group"/>
<repository
url="http://download.eclipse.org/technology/epp/packages/mars/R"/>
<repository
url="http://download.eclipse.org/releases/mars/201506241002"/>
</setupTask>
</version>
<description>A complete set of tools for developers who want to create Eclipse plug-ins, Rich Client Applications or Remote Application Platform (RCP+RAP), plus Mylyn, the m2e Maven integration, and an XML editor. It contains the EGit tooling for accessing Git version control systems.</description>
</setup:Product>
Greetings
Stefan
|
|
|
Re: Git Clone Tasks not triggert when using own index [message #1707834 is a reply to message #1707791] |
Wed, 09 September 2015 15:00 |
|
Am 09.09.2015 um 15:15 schrieb Stefan Nöbauer:
> Hi,
> First of all .... great tool to provide Installation of an Eclipse IDE.
>
> So ... I would like to use Oomph to provide our inhouse development environment. I set up a project configurtation and
> several project-configurations.
>
> As I tryed them using the default Oomph Installer they worked fine. But then I moved these configuration (,setup)
> files to our webserver and used these configurations within an own index.
> After that none of the git clone tasks are triggered anymore.
Are you sure they're not triggered and not just unneeded? You can check that with the "Show all triggered tasks" button.
Are you sure they don't rely on any VariableTaks that are defined in the project catalog where they lived formerly?
Are there any errors in the setup.log or in Eclipse's error log? Can you attach the setup.log file? (Navigate -> Open
Setup Log)
To me your remoteURI "ssh://git:22000/DevelopmentTools" looks weird, but I assume that used to work when the task was
still in the project catalog?
>
> What am I doing wrong? Any ideas?
>
> Is it also possible to add a git clone task to the product.setup?
Generally there are no limitations regarding the scope a sepcific task can live in. Task type and scope type are orthogonal.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
>
> Here are my Configuration files:
> org.eclipse.setup:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:Index
> xmi:version="2.0"
> xmlns:xmi="..."
> xmlns:setup="..."
> name="index"
> label="Index">
> <productCatalog
> href="catalog:/self-product-catalog.setup#/"/>
> <productCatalog
> href="kgu.products.setup#/"/>
> <projectCatalog
> href="kgu.tps.projects.setup#/"/>
> </setup:Index>
>
>
> kgu.products.setup:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:ProductCatalog
> xmi:version="2.0"
> xmlns:xmi="..."
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> name="kgu.products"
> label="KGU">
> <product href="ide.setup#/"/>
> </setup:ProductCatalog>
>
>
> ide.setup:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <setup:Product
> xmi:version="2.0"
> xmlns:xmi="..."
> xmlns:xsi="..."
> xmlns:git="http://www.eclipse.org/oomph/setup/git/1.0"
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
> xsi:schemaLocation="http://www.eclipse.org/oomph/setup/git/1.0
> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Git.ecore"
> name="tps.ide"
> label="TPS IDE">
> <annotation
> source="http://www.eclipse.org/oomph/setup/BrandingInfo">
> <detail
> key="folderName">
> <value>eclipse</value>
> </detail>
> <detail
> key="folderName.macosx">
> <value>Eclipse</value>
> </detail>
> </annotation>
> <setupTask
> xsi:type="setup:InstallationTask"
> id="installation"/>
> <setupTask
> xsi:type="setup:VariableTask"
> name="workspace.location"
> label="Workspace location rule">
> <annotation
> source="ImpliedVariable">
> <reference
> href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']/'workspace'"/>
> <reference
> href="http://www.eclipse.org/oomph/setup/1.0#//WorkspaceTask/location"/>
> </annotation>
> <choice
> value="${installation.location/workspaces/workspace}"
> label="Located in a folder named 'ws' within the installation folder"/>
> <description>The rule for the absolute folder location where the workspace is located</description>
> </setupTask>
> <setupTask
> xsi:type="setup:VariableTask"
> id="global.repo.location"
> name="global.repo.location"
> value="${installation.location/GITRepo/}"/>
> <version name="latest.released"
> label="Latest Release (Mars)"
> requiredJavaVersion="1.7">
> <setupTask
> xsi:type="setup:EclipseIniTask"
> option="-Xmx"
> value="2024m"
> vm="true">
> <description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
> </setupTask>
> <setupTask
> xsi:type="setup:EclipseIniTask"
> option="-showLocation"
> value=""/>
> <setupTask
> xsi:type="git:GitCloneTask"
> id="git.clone.developTools"
> excludedTriggers="MANUAL"
> location="${installation.location/}${git.clone.developTools.remoteURI|gitRepository}"
> remoteURI="ssh://git:22000/DevelopmentTools"
> pushURI=""
> checkoutBranch="develop">
> <description></description>
> </setupTask>
> <setupTask
> xsi:type="setup.p2:P2Task"
> label="Eclipse for RCP and RAP Developers (Mars)">
> <requirement
> name="epp.package.rcp"
> versionRange="[4.5.0,4.6.0)"/>
> <requirement
> name="org.eclipse.platform.feature.group"
> versionRange="[4.5.0,4.6.0)"/>
> <requirement
> name="org.eclipse.rcp.feature.group"
> versionRange="[4.5.0,4.6.0)"/>
> <requirement
> name="org.eclipse.jdt.feature.group"
> versionRange="[3.11.0,3.12.0)"/>
> <requirement
> name="org.eclipse.pde.feature.group"
> versionRange="[3.11.0,3.12.0)"/>
> <requirement
> name="com.essiembre.eclipse.rbe.feature.group"
> versionRange="[1.0.4,2.0.0)"/>
> <requirement
> name="org.eclipse.wst.web_ui.feature.feature.group"/>
> <requirement
> name="org.jboss.ide.eclipse.as.feature.feature.group"/>
> <requirement
> name="org.jboss.ide.eclipse.freemarker.feature.feature.group"/>
> <requirement
> name="de.kgucms.ddmtooling.resources.feature.feature.group"/>
> <requirement
> name="edu.umd.cs.findbugs.plugin.eclipse.feature.group"/>
> <requirement
> name="net.sf.eclipsecs.feature.group"/>
> <requirement
> name="org.eclipse.regexp.feature.feature.group"/>
> <requirement
> name="org.eclipse.wst.jsdt.feature.feature.group"/>
> <repository
> url="http://download.eclipse.org/technology/epp/packages/mars/R"/>
> <repository
> url="http://download.eclipse.org/releases/mars/201506241002"/>
> </setupTask>
> </version>
> <description>A complete set of tools for developers who want to create Eclipse plug-ins, Rich Client Applications or
> Remote Application Platform (RCP+RAP), plus Mylyn, the m2e Maven integration, and an XML editor. It contains the EGit
> tooling for accessing Git version control systems.</description>
> </setup:Product>
>
>
>
> Greetings
> Stefan
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Re: Git Clone Tasks not triggert when using own index [message #1707842 is a reply to message #1707838] |
Wed, 09 September 2015 16:05 |
|
Am 09.09.2015 um 17:35 schrieb Stefan Nöbauer:
> Hi Eike,
>
> Quote:
>> Are you sure they're not triggered and not just unneeded? You can check that with the "Show all triggered tasks" button.
> I do not see the git task even if i check the button.
Just to be clear, the GitCloneTask cannot run in the installer (i.e., on boostrap trigger). Have you used that button on
the manual trigger (Help -> Perform Setup Tasks) *in* the installed IDE?
>
> Quote:
>> Are you sure they don't rely on any VariableTaks that are defined in the project catalog where they lived formerly?
> No ... I just use the ${installation.location} Variable in the product configuration
Ok.
> I added the setup.log file
Hm, it ends where the interesting part starts: "Executing startup tasks...". Does that mean there are none? Or did you
truncate the log?
> The remoteURI is working fine ... we use an alias for our git server.
>
> I do not select any projects just to test the installation of the product itselfs.
It's unclear to me why you want the GitCloneTask in the product setup and not in a project setup, but AFAICT it should work.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03526 seconds