IDEMPIERE-4719 Create Oomph project setup model (#610)

* IDEMPIERE-4719 Create Oomph project setup model

add oomph setup files and mvn verify launch configuration

* IDEMPIERE-4719 Create Oomph project setup model

Fix project setup model.
This commit is contained in:
hengsin 2021-03-05 17:45:14 +08:00 committed by GitHub
parent b0a1841dde
commit 9d6500672d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 19 deletions

View File

@ -24,6 +24,46 @@
<value>https://www.idempiere.org/</value>
</detail>
</annotation>
<setupTask
xsi:type="setup:VariableTask"
name="github.remoteURIs"
label="Github repository">
<choice
value="git@github.com:@{remoteURI}.git"
label="Git (read-write)"/>
<choice
value="https://${github.user.id|username}@github.com/@{remoteURI}.git"
label="HTTPS (read-write)">
<annotation
source="http://www.eclipse.org/oomph/setup/MatchChoice"/>
</choice>
<choice
value="https://github.com/@{remoteURI}.git"
label="HTTPS (read-only, anonymous)"/>
<description>Choose from the available Github URIs</description>
</setupTask>
<setupTask
xsi:type="setup:WorkspaceTask"
id="workspace"/>
<setupTask
xsi:type="setup:ResourceCreationTask"
targetURL="configuration:/.settings/org.eclipse.ui.ide.prefs">
<content>
MAX_RECENT_WORKSPACES=5
RECENT_WORKSPACES=${workspace.location|property}
RECENT_WORKSPACES_PROTOCOL=3
SHOW_WORKSPACE_SELECTION_DIALOG=true
eclipse.preferences.version=1
</content>
</setupTask>
<setupTask
xsi:type="setup:TextModifyTask"
url="configuration:/config.ini">
<modification
pattern="osgi\.instance\.area\.default=(@user\.home/workspace)">
<substitution>${workspace.location|path}</substitution>
</modification>
</setupTask>
<project href="idempiere.setup#/"/>
<description>iDempiere Projects at Github</description>
</setup:ProjectCatalog>

View File

@ -12,37 +12,23 @@
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 http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/launching/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Launching.ecore http://www.eclipse.org/oomph/setup/maven/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Maven.ecore http://www.eclipse.org/oomph/setup/pde/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/PDE.ecore http://www.eclipse.org/oomph/setup/projects/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Projects.ecore"
name="idempiere.2021.03.04"
label="iDempiere 2021-03-04">
<setup:VariableTask
name="github.remoteURIs"
label="Github repository">
<choice
value="git@github.com:@{remoteURI}.git"
label="Git (read-write)"/>
<choice
value="https://${github.user.id|username}@github.com/@{remoteURI}.git"
label="HTTPS (read-write)"/>
<choice
value="https://github.com/@{remoteURI}.git"
label="HTTPS (read-only, anonymous)"/>
<description>Choose from the available Github URIs</description>
</setup:VariableTask>
name="idempiere.2021.03.05"
label="iDempiere Master">
<setupTask
xsi:type="setup:VariableTask"
name="github.repository"
label="Github repository"
defaultValue="idempiere/idempiere"/>
value="idempiere/idempiere"/>
<setupTask
xsi:type="setup:VariableTask"
name="git.clone.branch"
label="Git clone branch"
defaultValue="master"/>
value="master"/>
<setupTask
xsi:type="setup:VariableTask"
name="idempiere.target.platform"
label="Target Platform"
defaultValue="idempiere-201101"/>
value="idempiere-201101"/>
<setupTask
xsi:type="jdt:JRETask"
version="JavaSE-11"